summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-07-31 06:00:40 +0100
committerSam James <sam@gentoo.org>2021-07-31 06:00:40 +0100
commita065f6c4b00b60c2b7d01e417370693afae03c11 (patch)
tree9e7b915bbf9fab72eff043b455048203d21f7c78 /sys-apps/pmount-gui
parentsys-apps/progress: port to EAPI 7 (diff)
downloadgentoo-a065f6c4b00b60c2b7d01e417370693afae03c11.tar.gz
gentoo-a065f6c4b00b60c2b7d01e417370693afae03c11.tar.bz2
gentoo-a065f6c4b00b60c2b7d01e417370693afae03c11.zip
sys-apps/pmount-gui: update EAPI 5 -> 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/pmount-gui')
-rw-r--r--sys-apps/pmount-gui/pmount-gui-0_pre20130806.ebuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/sys-apps/pmount-gui/pmount-gui-0_pre20130806.ebuild b/sys-apps/pmount-gui/pmount-gui-0_pre20130806.ebuild
index e43bb34fb1ae..2fa0665d5f77 100644
--- a/sys-apps/pmount-gui/pmount-gui-0_pre20130806.ebuild
+++ b/sys-apps/pmount-gui/pmount-gui-0_pre20130806.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-if [ ${PV} = 9999* ]; then
+if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="git://git.tdb.fi/pmount-gui"
inherit git-2
else
@@ -18,17 +18,15 @@ HOMEPAGE="http://git.tdb.fi/?p=pmount-gui.git;a=summary"
LICENSE="BSD-2"
SLOT="0"
-IUSE=""
-COMMON_DEPEND="x11-libs/gtk+:2"
-RDEPEND="${COMMON_DEPEND}
+DEPEND="x11-libs/gtk+:2"
+RDEPEND="${DEPEND}
sys-apps/pmount
virtual/udev"
-DEPEND="${COMMON_DEPEND}
- virtual/pkgconfig"
+BDEPEND="virtual/pkgconfig"
src_compile() {
- emake CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}"
+ emake CC="$(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}"
}
src_install() {