/[gentoo-x86]/x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r2.ebuild
Gentoo

Contents of /x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Sat May 5 04:10:06 2012 UTC (2 years, 3 months ago) by jdhore
Branch: MAIN
Changes since 1.10: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r2.ebuild,v 1.10 2011/03/27 13:04:24 nirbheek Exp $
4
5 EAPI="1"
6
7 inherit autotools eutils
8
9 MY_P="QtPixmap-${PV}"
10
11 DESCRIPTION="A modified version of the original GTK pixmap engine which follows the KDE color scheme"
12 HOMEPAGE="http://www.kde-look.org/content/show.php?content=7043"
13 SRC_URI="http://www.cpdrummond.freeuk.com/${MY_P}.tar.gz"
14
15 KEYWORDS="alpha amd64 ia64 ~mips ppc sparc x86"
16 LICENSE="GPL-2"
17 SLOT="0"
18
19 IUSE=""
20
21 RDEPEND="x11-libs/gtk+:2"
22 DEPEND="${RDEPEND}
23 virtual/pkgconfig"
24
25 S=${WORKDIR}/${MY_P}
26
27 src_unpack() {
28 unpack ${A}
29 cd "${S}"
30
31 # Add switches to enable/disable gtk1 and gtk2 engines in the configure
32 # script.
33 epatch "${FILESDIR}/${P}-gtk_switches.patch"
34 sed -i \
35 -e 's/AC_CHECK_COMPILERS/AC_PROG_CC/' \
36 configure.in
37 rm acinclude.m4
38 eautoreconf
39 }
40
41 src_compile() {
42 local myconf="--enable-gtk2 --disable-gtk1"
43
44 econf $myconf || die "Configuration failed"
45 emake || die "Compilation failed"
46 }
47
48 src_install() {
49 emake DESTDIR="${D}" install || die "Installation failed"
50
51 dodoc AUTHORS ChangeLog README
52 }

  ViewVC Help
Powered by ViewVC 1.1.20