-# 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/"
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"
$(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
}
# 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"
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}
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() {
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"
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}
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() {