From b908eeeab367c292fc87c5e76278acd8fd4dce5f Mon Sep 17 00:00:00 2001 From: Akinori Hattori Date: Sun, 23 Jul 2017 23:07:54 +0900 Subject: [PATCH] app-i18n/im-chooser: new upstream release Package-Manager: Portage-2.3.6, Repoman-2.3.1 --- app-i18n/im-chooser/Manifest | 1 + app-i18n/im-chooser/im-chooser-1.7.0.ebuild | 44 +++++++++++++++++++++ app-i18n/im-chooser/metadata.xml | 23 ++++++----- 3 files changed, 59 insertions(+), 9 deletions(-) create mode 100644 app-i18n/im-chooser/im-chooser-1.7.0.ebuild 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 @@ - - cjk@gentoo.org - Cjk - - -IM Chooser is a GUI configuration tool for IMSettings to -choose Input Method you want to use or disable it entirely -on the desktop. - + + cjk@gentoo.org + Cjk + + + IM Chooser is a GUI configuration tool for IMSettings to choose Input + Method you want to use or disable it entirely on the desktop. + + + + Build with x11-libs/gtk+:2 instead of x11-libs/gtk+:3 + + Enable support for XFCE panel + -- 2.26.2