Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/pmount-gui/
Date: Sat, 31 Jul 2021 05:20:04
Message-Id: 1627707640.a065f6c4b00b60c2b7d01e417370693afae03c11.sam@gentoo
1 commit: a065f6c4b00b60c2b7d01e417370693afae03c11
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 31 05:00:40 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 31 05:00:40 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a065f6c4
7
8 sys-apps/pmount-gui: update EAPI 5 -> 7
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 sys-apps/pmount-gui/pmount-gui-0_pre20130806.ebuild | 16 +++++++---------
13 1 file changed, 7 insertions(+), 9 deletions(-)
14
15 diff --git a/sys-apps/pmount-gui/pmount-gui-0_pre20130806.ebuild b/sys-apps/pmount-gui/pmount-gui-0_pre20130806.ebuild
16 index e43bb34fb1a..2fa0665d5f7 100644
17 --- a/sys-apps/pmount-gui/pmount-gui-0_pre20130806.ebuild
18 +++ b/sys-apps/pmount-gui/pmount-gui-0_pre20130806.ebuild
19 @@ -1,9 +1,9 @@
20 -# Copyright 1999-2016 Gentoo Foundation
21 +# Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 +EAPI=7
26
27 -if [ ${PV} = 9999* ]; then
28 +if [[ ${PV} == 9999* ]]; then
29 EGIT_REPO_URI="git://git.tdb.fi/pmount-gui"
30 inherit git-2
31 else
32 @@ -18,17 +18,15 @@ HOMEPAGE="http://git.tdb.fi/?p=pmount-gui.git;a=summary"
33
34 LICENSE="BSD-2"
35 SLOT="0"
36 -IUSE=""
37
38 -COMMON_DEPEND="x11-libs/gtk+:2"
39 -RDEPEND="${COMMON_DEPEND}
40 +DEPEND="x11-libs/gtk+:2"
41 +RDEPEND="${DEPEND}
42 sys-apps/pmount
43 virtual/udev"
44 -DEPEND="${COMMON_DEPEND}
45 - virtual/pkgconfig"
46 +BDEPEND="virtual/pkgconfig"
47
48 src_compile() {
49 - emake CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}"
50 + emake CC="$(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}"
51 }
52
53 src_install() {