summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2008-01-05 10:17:03 +0000
committerDenis Dupeyron <calchan@gentoo.org>2008-01-05 10:17:03 +0000
commit9e13c54f79569d98847f3f549788230057a5560a (patch)
tree5b0cdda4023c99c35c551380116829bce1490ae5 /dev-embedded
parentamd64 stable wrt #203857 (diff)
downloadhistorical-9e13c54f79569d98847f3f549788230057a5560a.tar.gz
historical-9e13c54f79569d98847f3f549788230057a5560a.tar.bz2
historical-9e13c54f79569d98847f3f549788230057a5560a.zip
Added check on USE=gtk for dev-embedded/gpsim to fix bug #204375.
Package-Manager: portage-2.1.4_rc14
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/gpsim-lcd/ChangeLog7
-rw-r--r--dev-embedded/gpsim-lcd/Manifest16
-rw-r--r--dev-embedded/gpsim-lcd/gpsim-lcd-0.2.9.ebuild21
3 files changed, 26 insertions, 18 deletions
diff --git a/dev-embedded/gpsim-lcd/ChangeLog b/dev-embedded/gpsim-lcd/ChangeLog
index fb5dc1736e43..6a77d3ed20ee 100644
--- a/dev-embedded/gpsim-lcd/ChangeLog
+++ b/dev-embedded/gpsim-lcd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-embedded/gpsim-lcd
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpsim-lcd/ChangeLog,v 1.19 2007/06/07 10:48:36 calchan Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpsim-lcd/ChangeLog,v 1.20 2008/01/05 10:17:03 calchan Exp $
+
+ 05 Jan 2008; Denis Dupeyron <calchan@gentoo.org> gpsim-lcd-0.2.9.ebuild:
+ Added check on USE=gtk for dev-embedded/gpsim to fix bug #204375.
07 Jun 2007; Denis Dupeyron <calchan@gentoo.org>
-files/gpsim-lcd-0.1.1-display_fix.patch,
diff --git a/dev-embedded/gpsim-lcd/Manifest b/dev-embedded/gpsim-lcd/Manifest
index 91aada520e2d..c71430a291be 100644
--- a/dev-embedded/gpsim-lcd/Manifest
+++ b/dev-embedded/gpsim-lcd/Manifest
@@ -1,12 +1,12 @@
DIST lcd-0.2.9.tar.gz 276109 RMD160 fa028671cf55535bee46a8c621ba895af639b076 SHA1 ad831e3f7a880af120277a47239e6660364826ec SHA256 28f061f83a857f51752fd46203a8580ea231ce914fd8661b4097f2bc373fc1a5
-EBUILD gpsim-lcd-0.2.9.ebuild 1072 RMD160 9d8449d170e8c3e405885444646cc5f8c0545a37 SHA1 786c2d3bb5a1521620a30376ffd82d9e40e4fb58 SHA256 d3c028ce282974290333bad61f4d6559260d6e29c3dbd1a47b245480db4319c5
-MD5 221a6f68b846494f698210e35fd885d9 gpsim-lcd-0.2.9.ebuild 1072
-RMD160 9d8449d170e8c3e405885444646cc5f8c0545a37 gpsim-lcd-0.2.9.ebuild 1072
-SHA256 d3c028ce282974290333bad61f4d6559260d6e29c3dbd1a47b245480db4319c5 gpsim-lcd-0.2.9.ebuild 1072
-MISC ChangeLog 2442 RMD160 9d66ea5b6eaca34967d2e123791b4ba364bdf043 SHA1 c5ebc8765f730e16df87aaf47f82e799aaff0775 SHA256 11ee1fadc104b0fe11ded5ffa323c9ae9e3878c3b91512d8d34d0edf80452ad9
-MD5 6adc7690fd2931504b8ef6add1ddee65 ChangeLog 2442
-RMD160 9d66ea5b6eaca34967d2e123791b4ba364bdf043 ChangeLog 2442
-SHA256 11ee1fadc104b0fe11ded5ffa323c9ae9e3878c3b91512d8d34d0edf80452ad9 ChangeLog 2442
+EBUILD gpsim-lcd-0.2.9.ebuild 1214 RMD160 733afcb9cc27dad30fb0952b389ce8ba372dc40f SHA1 bc0497813f80100ffcc97d1ba61e3dee95c536e6 SHA256 13d8ad2deaa4fdb89b2f1f0e397ea3d60ba5841f245ef9c5e188bbe011b37762
+MD5 23a40966a96ec8f2cf4ee1d943dc3769 gpsim-lcd-0.2.9.ebuild 1214
+RMD160 733afcb9cc27dad30fb0952b389ce8ba372dc40f gpsim-lcd-0.2.9.ebuild 1214
+SHA256 13d8ad2deaa4fdb89b2f1f0e397ea3d60ba5841f245ef9c5e188bbe011b37762 gpsim-lcd-0.2.9.ebuild 1214
+MISC ChangeLog 2586 RMD160 6dca630907a46d11b1b0386d2bf48bab6732e8e2 SHA1 b3ea084860c9157494292b4e44a14475fb6cee66 SHA256 b71a000499dd371cc675108921fd9f7f4b9a64a31dbff204dc1673f0e5a1eb98
+MD5 c3a7f7543caf36e0a67e06b0aeab1e65 ChangeLog 2586
+RMD160 6dca630907a46d11b1b0386d2bf48bab6732e8e2 ChangeLog 2586
+SHA256 b71a000499dd371cc675108921fd9f7f4b9a64a31dbff204dc1673f0e5a1eb98 ChangeLog 2586
MISC metadata.xml 234 RMD160 2872823fe2ae2ddd9b62e05e95313f40519d8617 SHA1 f24d93a560ed821e1e634a86c45b1941199bf28a SHA256 10c28465825077587fb370076c44b0d16d013ae1b12b838f4e7d648c4a3b5a28
MD5 9dc9c88b5a3165e98cdcb06ee4a6d4fc metadata.xml 234
RMD160 2872823fe2ae2ddd9b62e05e95313f40519d8617 metadata.xml 234
diff --git a/dev-embedded/gpsim-lcd/gpsim-lcd-0.2.9.ebuild b/dev-embedded/gpsim-lcd/gpsim-lcd-0.2.9.ebuild
index cfb32c12905e..b090af86f226 100644
--- a/dev-embedded/gpsim-lcd/gpsim-lcd-0.2.9.ebuild
+++ b/dev-embedded/gpsim-lcd/gpsim-lcd-0.2.9.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpsim-lcd/gpsim-lcd-0.2.9.ebuild,v 1.3 2007/06/07 10:26:25 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpsim-lcd/gpsim-lcd-0.2.9.ebuild,v 1.4 2008/01/05 10:17:03 calchan Exp $
WANT_AUTOCONF=latest
WANT_AUTOMAKE=latest
@@ -19,10 +19,15 @@ SLOT="0"
KEYWORDS="amd64 ppc64 x86"
IUSE=""
-DEPEND=">=dev-embedded/gpsim-0.22.0"
+DEPEND=">=dev-embedded/gpsim-0.22.0
+ =x11-libs/gtk+-2*"
S=${WORKDIR}/${MY_P}
+pkg_setup() {
+ built_with_use dev-embedded/gpsim gtk || die "dev-embedded/gpsim must be built with USE=gtk"
+}
+
src_unpack() {
unpack ${A}
cd "${S}"
@@ -35,10 +40,10 @@ src_compile() {
}
src_install() {
- emake DESTDIR=${D} install || die
+ emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog INSTALL README
- cp -pPR ${S}/examples ${D}/usr/share/doc/${PF}
- find ${D}/usr/share/doc/${PF} -name 'Makefile*' -exec rm -f \{} \;
- chmod -R 644 ${D}/usr/share/doc/${PF}
- chmod 755 ${D}/usr/share/doc/${PF}/examples
+ cp -pPR "${S}"/examples "${D}"/usr/share/doc/${PF}
+ find "${D}"/usr/share/doc/${PF} -name 'Makefile*' -exec rm -f \{} \;
+ chmod -R 644 "${D}"/usr/share/doc/${PF}
+ chmod 755 "${D}"/usr/share/doc/${PF}/examples
}