summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2018-03-08 20:21:03 +0100
committerMike Gilbert <floppym@gentoo.org>2018-03-08 14:32:51 -0500
commita680b7ff0a201cfd7270f2d1cd41ca079967173c (patch)
treec6f24008d6e8c6b9a37cf9ec53425dce6bb11405 /app-i18n/scim
parentapp-i18n/scim: Update homepage. (diff)
downloadgentoo-a680b7ff0a201cfd7270f2d1cd41ca079967173c.tar.gz
gentoo-a680b7ff0a201cfd7270f2d1cd41ca079967173c.tar.bz2
gentoo-a680b7ff0a201cfd7270f2d1cd41ca079967173c.zip
app-i18n/scim: Fix automagic dependencies on Qt 4.
Bug: https://bugs.gentoo.org/574234
Diffstat (limited to 'app-i18n/scim')
-rw-r--r--app-i18n/scim/scim-1.4.14.ebuild13
-rw-r--r--app-i18n/scim/scim-1.4.17.ebuild13
-rw-r--r--app-i18n/scim/scim-1.4.18.ebuild13
3 files changed, 30 insertions, 9 deletions
diff --git a/app-i18n/scim/scim-1.4.14.ebuild b/app-i18n/scim/scim-1.4.14.ebuild
index d2595037a5c..ff91c1be7ca 100644
--- a/app-i18n/scim/scim-1.4.14.ebuild
+++ b/app-i18n/scim/scim-1.4.14.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
-inherit eutils flag-o-matic multilib gnome2-utils autotools-utils
+inherit eutils flag-o-matic multilib gnome2-utils autotools-utils qmake-utils
DESCRIPTION="Smart Common Input Method (SCIM) is an Input Method (IM) development platform"
HOMEPAGE="http://www.scim-im.org/"
@@ -11,12 +11,16 @@ SRC_URI="mirror://sourceforge/scim/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE="doc gtk3"
+IUSE="doc gtk3 qt4"
RDEPEND="x11-libs/libX11
dev-libs/glib:2
gtk3? ( x11-libs/gtk+:3 )
!gtk3? ( x11-libs/gtk+:2 )
+ qt4? (
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ )
>=dev-libs/atk-1
>=x11-libs/pango-1
!app-i18n/scim-cvs"
@@ -50,6 +54,9 @@ src_configure() {
$(use_with doc doxygen)
--enable-ld-version-script
$gtk_version
+ --disable-qt3-immodule
+ $(use_enable qt4 qt4-immodule)
+ --with-qt4-moc="$(qt4_get_bindir)/moc"
)
autotools-utils_src_configure
}
diff --git a/app-i18n/scim/scim-1.4.17.ebuild b/app-i18n/scim/scim-1.4.17.ebuild
index 3333549b69c..aab97c12033 100644
--- a/app-i18n/scim/scim-1.4.17.ebuild
+++ b/app-i18n/scim/scim-1.4.17.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit eutils flag-o-matic multilib gnome2-utils autotools
+inherit eutils flag-o-matic multilib gnome2-utils autotools qmake-utils
DESCRIPTION="Smart Common Input Method (SCIM) is an Input Method (IM) development platform"
HOMEPAGE="https://sourceforge.net/projects/scim"
@@ -11,12 +11,16 @@ SRC_URI="mirror://sourceforge/scim/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE="doc gtk3"
+IUSE="doc gtk3 qt4"
RDEPEND="x11-libs/libX11
dev-libs/glib:2
gtk3? ( x11-libs/gtk+:3 )
!gtk3? ( x11-libs/gtk+:2 )
+ qt4? (
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ )
>=dev-libs/atk-1
>=x11-libs/pango-1"
DEPEND="${RDEPEND}
@@ -44,7 +48,10 @@ src_configure() {
filter-flags -fvisibility-inlines-hidden -fvisibility=hidden
econf $(use_with doc doxygen) \
--enable-ld-version-script \
- $(usex gtk3 --with-gtk-version={3,2})
+ $(usex gtk3 --with-gtk-version={3,2}) \
+ --disable-qt3-immodule \
+ $(use_enable qt4 qt4-immodule) \
+ --with-qt4-moc="$(qt4_get_bindir)/moc"
}
src_compile() {
diff --git a/app-i18n/scim/scim-1.4.18.ebuild b/app-i18n/scim/scim-1.4.18.ebuild
index 775f3e68a13..e5b61f913af 100644
--- a/app-i18n/scim/scim-1.4.18.ebuild
+++ b/app-i18n/scim/scim-1.4.18.ebuild
@@ -3,7 +3,7 @@
EAPI="6"
-inherit eutils flag-o-matic multilib gnome2-utils autotools
+inherit autotools flag-o-matic gnome2-utils qmake-utils
DESCRIPTION="Smart Common Input Method (SCIM) is an Input Method (IM) development platform"
HOMEPAGE="https://github.com/scim-im/scim"
@@ -12,12 +12,16 @@ SRC_URI="https://github.com/scim-im/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE="doc gtk3"
+IUSE="doc gtk3 qt4"
RDEPEND="x11-libs/libX11
dev-libs/glib:2
gtk3? ( x11-libs/gtk+:3 )
!gtk3? ( x11-libs/gtk+:2 )
+ qt4? (
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ )
>=dev-libs/atk-1
>=x11-libs/pango-1"
DEPEND="${RDEPEND}
@@ -45,7 +49,10 @@ src_configure() {
filter-flags -fvisibility-inlines-hidden -fvisibility=hidden
econf $(use_with doc doxygen) \
--enable-ld-version-script \
- $(usex gtk3 --with-gtk-version={3,2})
+ $(usex gtk3 --with-gtk-version={3,2}) \
+ --disable-qt3-immodule \
+ $(use_enable qt4 qt4-immodule) \
+ --with-qt4-moc="$(qt4_get_bindir)/moc"
}
src_compile() {