summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Boshell <leonardop@gentoo.org>2005-08-03 03:20:10 +0000
committerLeonardo Boshell <leonardop@gentoo.org>2005-08-03 03:20:10 +0000
commit2b479131194066b1d2838c70b0df8f0e7685d2c7 (patch)
treea95fbc3af75281d46ff432ba7a2a04ea37c69da9 /x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r1.ebuild
parentVersion Bump. Add support for ssl. Fix RDEPEND/DEPEND. (diff)
downloadgentoo-2-2b479131194066b1d2838c70b0df8f0e7685d2c7.tar.gz
gentoo-2-2b479131194066b1d2838c70b0df8f0e7685d2c7.tar.bz2
gentoo-2-2b479131194066b1d2838c70b0df8f0e7685d2c7.zip
Moving from x11-themes/qtpixmap. Don't inherit from gtk-engines2.eclass.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r1.ebuild')
-rw-r--r--x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r1.ebuild52
1 files changed, 52 insertions, 0 deletions
diff --git a/x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r1.ebuild b/x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r1.ebuild
new file mode 100644
index 000000000000..4f60da9e5e78
--- /dev/null
+++ b/x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r1.ebuild,v 1.1 2005/08/03 03:20:10 leonardop Exp $
+
+inherit eutils
+
+MY_P="QtPixmap-${PV}"
+
+DESCRIPTION="A modified version of the original GTK pixmap engine which follows the KDE color scheme"
+HOMEPAGE="http://www.kde-look.org/content/show.php?content=7043"
+SRC_URI="http://www.cpdrummond.freeuk.com/${MY_P}.tar.gz"
+KEYWORDS="alpha ~amd64 ~mips ppc sparc x86"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="gtk2"
+
+RDEPEND="!gtk2? (
+ >=media-libs/imlib-1.8
+ =x11-libs/gtk+-1.2* )
+ gtk2? ( >=x11-libs/gtk+-2 )"
+
+DEPEND="${RDEPEND}
+ gtk2? ( dev-util/pkgconfig )"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # Add switches to enable/disable gtk1 and gtk2 engines in the configure
+ # script.
+ epatch ${FILESDIR}/${P}-gtk_switches.patch
+
+ autoconf || die "autoconf failed"
+}
+
+src_compile() {
+ local myconf="$(use_enable gtk2)"
+
+ use gtk2 && myconf="${myconf} --disable-gtk1"
+ use gtk2 || myconf="${myconf} --enable-gtk1"
+
+ econf $myconf || die "Configuration failed"
+ emake || die "Compilation failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "Installation failed"
+
+ dodoc AUTHORS ChangeLog README
+}