diff options
author | Akinori Hattori <hattya@gentoo.org> | 2017-07-23 23:07:54 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2017-07-23 23:10:13 +0900 |
commit | b908eeeab367c292fc87c5e76278acd8fd4dce5f (patch) | |
tree | 671e683267afbb6aed36fda213c72523846664ef /app-i18n/im-chooser | |
parent | net-analyzer/nagios-plugins: version bump 2.2.0 -> 2.2.1. (diff) | |
download | gentoo-b908eeeab367c292fc87c5e76278acd8fd4dce5f.tar.gz gentoo-b908eeeab367c292fc87c5e76278acd8fd4dce5f.tar.bz2 gentoo-b908eeeab367c292fc87c5e76278acd8fd4dce5f.zip |
app-i18n/im-chooser: new upstream release
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-i18n/im-chooser')
-rw-r--r-- | app-i18n/im-chooser/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/im-chooser/im-chooser-1.7.0.ebuild | 44 | ||||
-rw-r--r-- | app-i18n/im-chooser/metadata.xml | 23 |
3 files changed, 59 insertions, 9 deletions
diff --git a/app-i18n/im-chooser/Manifest b/app-i18n/im-chooser/Manifest index 1ce6d4309a70..22d2f06778fc 100644 --- a/app-i18n/im-chooser/Manifest +++ b/app-i18n/im-chooser/Manifest @@ -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 index 000000000000..61443d0add9b --- /dev/null +++ b/app-i18n/im-chooser/im-chooser-1.7.0.ebuild @@ -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 +} diff --git a/app-i18n/im-chooser/metadata.xml b/app-i18n/im-chooser/metadata.xml index 0768ad75d6ff..434bdd89ac27 100644 --- a/app-i18n/im-chooser/metadata.xml +++ b/app-i18n/im-chooser/metadata.xml @@ -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> |