summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-05-31 16:05:16 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-05-31 16:05:16 +0000
commit482a5a9e9ec9c2d5cfbd7735c49013a7647e992a (patch)
treee9c852b06904a1ec8b7f9b18a3734a6fb5f71bb6 /x11-themes/gtk-engines-nimbus
parentamd64/x86 stable, bug #271840 (diff)
downloadgentoo-2-482a5a9e9ec9c2d5cfbd7735c49013a7647e992a.tar.gz
gentoo-2-482a5a9e9ec9c2d5cfbd7735c49013a7647e992a.tar.bz2
gentoo-2-482a5a9e9ec9c2d5cfbd7735c49013a7647e992a.zip
Fix src_test because of missing file in POTFILES.skip and disable static libs which doesn't make sense for engine.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'x11-themes/gtk-engines-nimbus')
-rw-r--r--x11-themes/gtk-engines-nimbus/ChangeLog7
-rw-r--r--x11-themes/gtk-engines-nimbus/gtk-engines-nimbus-0.1.2.ebuild40
2 files changed, 22 insertions, 25 deletions
diff --git a/x11-themes/gtk-engines-nimbus/ChangeLog b/x11-themes/gtk-engines-nimbus/ChangeLog
index 5b7960ed503c..ff60a6c5a529 100644
--- a/x11-themes/gtk-engines-nimbus/ChangeLog
+++ b/x11-themes/gtk-engines-nimbus/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-themes/gtk-engines-nimbus
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-nimbus/ChangeLog,v 1.19 2009/02/12 13:06:33 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-nimbus/ChangeLog,v 1.20 2009/05/31 16:05:16 ssuominen Exp $
+
+ 31 May 2009; Samuli Suominen <ssuominen@gentoo.org>
+ gtk-engines-nimbus-0.1.2.ebuild:
+ Fix src_test because of missing file in POTFILES.skip and disable static
+ libs which doesn't make sense for engine.
*gtk-engines-nimbus-0.1.2 (12 Feb 2009)
diff --git a/x11-themes/gtk-engines-nimbus/gtk-engines-nimbus-0.1.2.ebuild b/x11-themes/gtk-engines-nimbus/gtk-engines-nimbus-0.1.2.ebuild
index 726e4d009ff7..cb3dcebd38d0 100644
--- a/x11-themes/gtk-engines-nimbus/gtk-engines-nimbus-0.1.2.ebuild
+++ b/x11-themes/gtk-engines-nimbus/gtk-engines-nimbus-0.1.2.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-nimbus/gtk-engines-nimbus-0.1.2.ebuild,v 1.1 2009/02/12 13:06:33 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-nimbus/gtk-engines-nimbus-0.1.2.ebuild,v 1.2 2009/05/31 16:05:16 ssuominen Exp $
+EAPI=2
inherit gnome2-utils
-MY_PN=nimbus
-MY_P=${MY_PN}-${PV}
+MY_P=nimbus-${PV}
DESCRIPTION="Nimbus GTK+ Engine from Sun JDS"
HOMEPAGE="http://dlc.sun.com/osol/jds/downloads/extras/nimbus/"
@@ -16,38 +16,30 @@ SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
IUSE=""
-RDEPEND=">=x11-libs/gtk+-2.6"
+RDEPEND=">=x11-libs/gtk+-2.6:2"
DEPEND="${RDEPEND}
- dev-util/pkgconfig
>=x11-misc/icon-naming-utils-0.8.1
+ dev-util/pkgconfig
dev-util/intltool"
S=${WORKDIR}/${MY_P}
-src_unpack() {
- unpack ${A}
- # Fix src_test.
- echo dark-index.theme.in >> "${S}"/po/POTFILES.skip
+src_prepare() {
+ echo light-index.theme.in >> po/POTFILES.skip
+ echo dark-index.theme.in >> po/POTFILES.skip
}
-src_compile() {
- econf --disable-dependency-tracking
- emake || die "emake failed."
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ --disable-static
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed."
+ emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog
}
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
+pkg_preinst() { gnome2_icon_savelist; }
+pkg_postinst() { gnome2_icon_cache_update; }
+pkg_postrm() { gnome2_icon_cache_update; }