Skip to content

Commit

Permalink
app-i18n/im-chooser: new upstream release
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.1
  • Loading branch information
hattya committed Jul 23, 2017
1 parent f2dc092 commit b908eee
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 9 deletions.
1 change: 1 addition & 0 deletions app-i18n/im-chooser/Manifest
Original file line number Diff line number Diff line change
@@ -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
44 changes: 44 additions & 0 deletions app-i18n/im-chooser/im-chooser-1.7.0.ebuild
Original file line number Diff line number Diff line change
@@ -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
}
23 changes: 14 additions & 9 deletions app-i18n/im-chooser/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</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>[email protected]</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>

0 comments on commit b908eee

Please sign in to comment.