app-i18n/im-chooser: new upstream release
authorAkinori Hattori <hattya@gentoo.org>
Sun, 23 Jul 2017 14:07:54 +0000 (23:07 +0900)
committerAkinori Hattori <hattya@gentoo.org>
Sun, 23 Jul 2017 14:10:13 +0000 (23:10 +0900)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

app-i18n/im-chooser/Manifest
app-i18n/im-chooser/im-chooser-1.7.0.ebuild [new file with mode: 0644]
app-i18n/im-chooser/metadata.xml

index 1ce6d4309a70470d6014b9f5fa9644fa59044284..22d2f06778fcf06262d177d229e2ab0d9b9a086e 100644 (file)
@@ -1 +1,2 @@
 DIST im-chooser-1.6.2.tar.bz2 515776 SHA256 0df444df86a60ff2534eea58c51a5e8bcc343c13a6b3d87356d9c5da3e4867b1 SHA512 86ed483ccdeb045f2b96df443ffbccb4d66bd11dac215e52d10eabb983fbbcecc848b074f7771c76bab311db04ec982865f2cce27d6274144068361aa04f42b9 WHIRLPOOL 3280243d859cd53ddf5d3cd64c7acbbc74718e751c0ca756315a2a3966b7db9215cb5d174cc5bcf25c5ecee653cd6c6019ddbdf62b4906d470710e8455d7b2cf
+DIST im-chooser-1.7.0.tar.bz2 509630 SHA256 5b5f4eff3f57b2b85b679d2079d56db507342ba4db189b3881bd75bf42fe125c SHA512 2a01488062b5a4dc1e4cd0815dda5a6bcef205dc50ed75d58836c5b46e3f86be79aac70eb5d6753e5f569ccc05015dd6d8de59029e94dc407cc613160d3ac61c WHIRLPOOL f80472e6c373ae29425e4bf6988088b2917ec1ecf936ac996ed0ae540d4a79fb39c5313c1f09c141e26a83444130993e981c2654c5de0c123e0fb3dbdece6d57
diff --git a/app-i18n/im-chooser/im-chooser-1.7.0.ebuild b/app-i18n/im-chooser/im-chooser-1.7.0.ebuild
new file mode 100644 (file)
index 0000000..61443d0
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit autotools ltprune
+
+DESCRIPTION="Desktop Input Method configuration tool"
+HOMEPAGE="https://pagure.io/im-chooser"
+SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk2 xfce"
+
+RDEPEND="app-i18n/imsettings
+       virtual/libintl
+       x11-libs/libSM
+       gtk2? ( x11-libs/gtk+:2 )
+       !gtk2? ( x11-libs/gtk+:3 )
+       xfce? ( xfce-base/libxfce4util )"
+DEPEND="${RDEPEND}
+       dev-util/intltool
+       sys-devel/autoconf-archive
+       sys-devel/gettext
+       virtual/pkgconfig"
+
+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/" \
+               configure.ac
+
+       default
+       eautoreconf
+}
+
+src_install() {
+       default
+       prune_libtool_files
+}
index 0768ad75d6ff644341b79729570c2cdf66d52901..434bdd89ac27e7c30f635023862b04b300e3a909 100644 (file)
@@ -1,13 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer type="project">
-       <email>cjk@gentoo.org</email>
-       <name>Cjk</name>
-</maintainer>
-<longdescription lang="en">
-IM Chooser is a GUI configuration tool for IMSettings to
-choose Input Method you want to use or disable it entirely
-on the desktop.
-</longdescription>
+  <maintainer type="project">
+    <email>cjk@gentoo.org</email>
+    <name>Cjk</name>
+  </maintainer>
+  <longdescription lang="en">
+    IM Chooser is a GUI configuration tool for IMSettings to choose Input
+    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>