summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2007-02-28 16:45:29 +0000
committerSimon Stelling <blubb@gentoo.org>2007-02-28 16:45:29 +0000
commitf306ce7e9fea3a32cca5ec6692691c1f29dad661 (patch)
tree742662b31f9512d14c356305a01671bacaa0505e /app-emulation/emul-linux-x86-gtklibs
parentmask net-irc/nikibot for removal (diff)
downloadgentoo-2-f306ce7e9fea3a32cca5ec6692691c1f29dad661.tar.gz
gentoo-2-f306ce7e9fea3a32cca5ec6692691c1f29dad661.tar.bz2
gentoo-2-f306ce7e9fea3a32cca5ec6692691c1f29dad661.zip
only depend on qtlibs if USE=qt is given
(Portage version: 2.1.2-r9)
Diffstat (limited to 'app-emulation/emul-linux-x86-gtklibs')
-rw-r--r--app-emulation/emul-linux-x86-gtklibs/ChangeLog9
-rw-r--r--app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-10.0-r1.ebuild56
-rw-r--r--app-emulation/emul-linux-x86-gtklibs/files/digest-emul-linux-x86-gtklibs-10.0-r1 (renamed from app-emulation/emul-linux-x86-gtklibs/files/digest-emul-linux-x86-gtklibs-10.0)0
3 files changed, 64 insertions, 1 deletions
diff --git a/app-emulation/emul-linux-x86-gtklibs/ChangeLog b/app-emulation/emul-linux-x86-gtklibs/ChangeLog
index 11097e5b2552..f8e49e33e5ac 100644
--- a/app-emulation/emul-linux-x86-gtklibs/ChangeLog
+++ b/app-emulation/emul-linux-x86-gtklibs/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-emulation/emul-linux-x86-gtklibs
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/ChangeLog,v 1.39 2007/02/27 12:18:26 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/ChangeLog,v 1.40 2007/02/28 16:45:29 blubb Exp $
+
+*emul-linux-x86-gtklibs-10.0-r1 (28 Feb 2007)
+
+ 28 Feb 2007; Simon Stelling <blubb@gentoo.org>
+ -emul-linux-x86-gtklibs-10.0.ebuild,
+ +emul-linux-x86-gtklibs-10.0-r1.ebuild:
+ only depend on qtlibs if USE=qt is given
27 Feb 2007; Simon Stelling <blubb@gentoo.org>
emul-linux-x86-gtklibs-10.0.ebuild:
diff --git a/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-10.0-r1.ebuild b/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-10.0-r1.ebuild
new file mode 100644
index 000000000000..e524c8e0a094
--- /dev/null
+++ b/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-10.0-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-10.0-r1.ebuild,v 1.1 2007/02/28 16:45:29 blubb Exp $
+
+inherit emul-libs
+
+SRC_URI="mirror://gentoo/atk-1.12.3.tbz2
+ mirror://gentoo/cairo-1.2.4.tbz2
+ mirror://gentoo/gtk+-1.2.10-r12.tbz2
+ mirror://gentoo/gtk+-2.10.6.tbz2
+ mirror://gentoo/gtk-engines-2.8.2.tbz2
+ qt? ( mirror://gentoo/gtk-engines-qt-0.7-r1.tbz2 )
+ mirror://gentoo/gtk-engines-xfce-2.2.8-r1.tbz2
+ mirror://gentoo/imlib-1.9.14-r3.tbz2
+ mirror://gentoo/pango-1.14.9.tbz2"
+
+LICENSE="GPL-2 LGPL-2 LGPL-2.1 FTL || ( LGPL-2.1 MPL-1.1 )"
+KEYWORDS="-* ~amd64"
+
+IUSE="qt"
+
+DEPEND=""
+RDEPEND=">=app-emulation/emul-linux-x86-baselibs-10.2
+ qt? ( >=app-emulation/emul-linux-x86-qtlibs-10.0 )
+ >=app-emulation/emul-linux-x86-xlibs-10.0"
+
+src_unpack() {
+ query_tools="${S}/usr/bin/gtk-query-immodules-2.0|${S}/usr/bin/gdk-pixbuf-query-loaders|${S}/usr/bin/pango-querymodules"
+ ALLOWED="(${S}/etc/env.d|${S}/etc/gtk-2.0|${S}/etc/pango/i686-pc-linux-gnu|${query_tools})"
+ emul-libs_src_unpack
+
+ # these tools generate an index in /etc/{pango,gtk-2.0}/${CHOST}
+ mv -f "${S}/usr/bin/pango-querymodules"{,32}
+ mv -f "${S}/usr/bin/gtk-query-immodules-2.0"{,-32}
+ mv -f "${S}/usr/bin/gdk-pixbuf-query-loaders"{,32}
+
+ [[ -f ${S}/usr/lib32/kde3/kcm_kcmgtk.so ]] && rm -f ${S}/usr/lib32/kde3/kcm_kcmgtk.so
+}
+
+pkg_postinst() {
+ PANGO_CONFDIR="/etc/pango/i686-pc-linux-gnu"
+ if [[ ${ROOT} == "/" ]] ; then
+ einfo "Generating pango modules listing..."
+ mkdir -p ${PANGO_CONFDIR}
+ pango-querymodules32 > ${PANGO_CONFDIR}/pango.modules
+ else
+ ewarn "You'll have to run the following command after chrooting into ${ROOT}:"
+ ewarn "pango-querymodules32 > ${PANGO_CONFDIR}/pango.modules"
+ fi
+
+ GTK2_CONFDIR="/etc/gtk-2.0/i686-pc-linux-gnu"
+ einfo "Generating gtk+ immodules/gdk-pixbuf loaders listing..."
+ mkdir -p ${GTK2_CONFDIR}
+ gtk-query-immodules-2.0-32 > ${ROOT}${GTK2_CONFDIR}/gtk.immodules
+ gdk-pixbuf-query-loaders32 > ${ROOT}${GTK2_CONFDIR}/gdk-pixbuf.loaders
+}
diff --git a/app-emulation/emul-linux-x86-gtklibs/files/digest-emul-linux-x86-gtklibs-10.0 b/app-emulation/emul-linux-x86-gtklibs/files/digest-emul-linux-x86-gtklibs-10.0-r1
index 0e5c3079ae4c..0e5c3079ae4c 100644
--- a/app-emulation/emul-linux-x86-gtklibs/files/digest-emul-linux-x86-gtklibs-10.0
+++ b/app-emulation/emul-linux-x86-gtklibs/files/digest-emul-linux-x86-gtklibs-10.0-r1