diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-11-03 06:47:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-11-03 06:47:15 +0000 |
commit | fc2f1018fc323ef2c6572734a9b130427cba76a6 (patch) | |
tree | f834bdc9a67923ce75297c09d00d1e7b90791d26 /app-i18n/im-chooser/im-chooser-1.7.3.ebuild | |
parent | 162945d2a91899b637bbb9e163b406350de12906 (diff) |
gentoo resync : 03.11.2021
Diffstat (limited to 'app-i18n/im-chooser/im-chooser-1.7.3.ebuild')
-rw-r--r-- | app-i18n/im-chooser/im-chooser-1.7.3.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/app-i18n/im-chooser/im-chooser-1.7.3.ebuild b/app-i18n/im-chooser/im-chooser-1.7.3.ebuild new file mode 100644 index 000000000000..32ca7804c6d7 --- /dev/null +++ b/app-i18n/im-chooser/im-chooser-1.7.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit autotools xdg + +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+ LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="xfce" + +RDEPEND=">=app-i18n/imsettings-1.8 + virtual/libintl + x11-libs/gtk+:3 + x11-libs/libSM + xfce? ( xfce-base/libxfce4util )" +DEPEND="${RDEPEND}" +BDEPEND="sys-devel/autoconf-archive + sys-devel/gettext + virtual/pkgconfig" + +src_prepare() { + sed -i \ + -e "/PKG_CHECK_MODULES/s/\(libxfce4util-1\.0\)/$(usex xfce '\1' _)/" \ + -e "/^GNOME_/d" \ + -e "/^CFLAGS/s/\$WARN_CFLAGS/-Wall -Wmissing-prototypes/" \ + configure.ac + sed -i "s/Applications;//" src/app/${PN}.desktop.in.in + + default + eautoreconf +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |