Skip to content

Commit

Permalink
x11-misc/slim: EAPI-6 bump
Browse files Browse the repository at this point in the history
Drop duplicate KEYWORDS line
Drop unused eutils

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Jan 12, 2019
1 parent 864b528 commit b8e40ee
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions x11-misc/slim/slim-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=5
EAPI=6

inherit cmake-utils pam eutils systemd versionator
inherit cmake-utils pam systemd versionator

if [[ ${PV} = 9999* ]]; then
EGIT_REPO_URI="https://github.com/axs-gentoo/slim-git.git"
inherit git-r3
KEYWORDS=""
else
SRC_URI="mirror://sourceforge/project/${PN}.berlios/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
Expand All @@ -31,7 +30,7 @@ RDEPEND="x11-libs/libXmu
x11-apps/sessreg
consolekit? ( sys-auth/consolekit
sys-apps/dbus )
pam? ( virtual/pam
pam? ( virtual/pam
!x11-misc/slimlock )"
DEPEND="${RDEPEND}
virtual/pkgconfig
Expand Down Expand Up @@ -59,8 +58,8 @@ src_prepare() {

src_configure() {
local mycmakeargs=(
$(cmake-utils_use pam USE_PAM)
$(cmake-utils_use consolekit USE_CONSOLEKIT)
-DUSE_PAM=$(usex pam)
-DUSE_CONSOLEKIT=$(usex consolekit)
)

cmake-utils_src_configure
Expand Down

0 comments on commit b8e40ee

Please sign in to comment.