summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2021-11-02 21:09:49 +0900
committerAkinori Hattori <hattya@gentoo.org>2021-11-02 21:13:48 +0900
commit5b4b12bfdd97dee82006520679f9ca0845a17584 (patch)
tree8b2bb5edbba884d64030c2d65ac4bd55cb15034a /app-i18n
parentapp-i18n/im-chooser: update to EAPI 8 (diff)
downloadgentoo-5b4b12bfdd97dee82006520679f9ca0845a17584.tar.gz
gentoo-5b4b12bfdd97dee82006520679f9ca0845a17584.tar.bz2
gentoo-5b4b12bfdd97dee82006520679f9ca0845a17584.zip
app-i18n/im-chooser: drop gtk2 USE flag
Closes: https://bugs.gentoo.org/769104 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/im-chooser/im-chooser-1.7.0.ebuild6
-rw-r--r--app-i18n/im-chooser/metadata.xml3
2 files changed, 2 insertions, 7 deletions
diff --git a/app-i18n/im-chooser/im-chooser-1.7.0.ebuild b/app-i18n/im-chooser/im-chooser-1.7.0.ebuild
index 607c2537d1c3..fd14fdca25dd 100644
--- a/app-i18n/im-chooser/im-chooser-1.7.0.ebuild
+++ b/app-i18n/im-chooser/im-chooser-1.7.0.ebuild
@@ -12,13 +12,12 @@ SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.bz2"
LICENSE="GPL-2+ LGPL-2+"
SLOT="0"
KEYWORDS="amd64 ~x86"
-IUSE="gtk2 xfce"
+IUSE="xfce"
RDEPEND="app-i18n/imsettings
virtual/libintl
+ x11-libs/gtk+:3
x11-libs/libSM
- gtk2? ( x11-libs/gtk+:2 )
- !gtk2? ( x11-libs/gtk+:3 )
xfce? ( xfce-base/libxfce4util )"
DEPEND="${RDEPEND}"
BDEPEND="dev-util/intltool
@@ -28,7 +27,6 @@ BDEPEND="dev-util/intltool
src_prepare() {
sed -i \
- -e "/PKG_CHECK_MODULES/s/\(gtk+-3\.0\)/$(usex !gtk2 '\1' _)/" \
-e "/PKG_CHECK_MODULES/s/\(libxfce4util-1\.0\)/$(usex xfce '\1' _)/" \
-e "/^GNOME_/d" \
-e "/^CFLAGS/s/\$WARN_CFLAGS/-Wall -Wmissing-prototypes/" \
diff --git a/app-i18n/im-chooser/metadata.xml b/app-i18n/im-chooser/metadata.xml
index 1ebdced7c5e8..1e89d4e6c916 100644
--- a/app-i18n/im-chooser/metadata.xml
+++ b/app-i18n/im-chooser/metadata.xml
@@ -10,9 +10,6 @@
Method you want to use or disable it entirely on the desktop.
</longdescription>
<use>
- <flag name="gtk2">
- Build with <pkg>x11-libs/gtk+</pkg>:2 instead of <pkg>x11-libs/gtk+</pkg>:3
- </flag>
<flag name="xfce">Enable support for XFCE panel</flag>
</use>
</pkgmetadata>