summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2007-04-01 12:45:12 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2007-04-01 12:45:12 +0000
commit2e043ff3fdc8a45a44c4fc026769d1301d231314 (patch)
tree3b527ae6d71390036a5d04e49eda222b32fe14da
parentnew upstream release. (diff)
downloadgentoo-2-2e043ff3fdc8a45a44c4fc026769d1301d231314.tar.gz
gentoo-2-2e043ff3fdc8a45a44c4fc026769d1301d231314.tar.bz2
gentoo-2-2e043ff3fdc8a45a44c4fc026769d1301d231314.zip
added block if needed imlib2 is compiled without jpeg gif support
(Portage version: 2.1.2.2)
-rw-r--r--media-plugins/vdr-weatherng/ChangeLog6
-rw-r--r--media-plugins/vdr-weatherng/vdr-weatherng-0.0.8_pre3.ebuild13
2 files changed, 17 insertions, 2 deletions
diff --git a/media-plugins/vdr-weatherng/ChangeLog b/media-plugins/vdr-weatherng/ChangeLog
index 7532f3e6fbde..23c5c9ddfece 100644
--- a/media-plugins/vdr-weatherng/ChangeLog
+++ b/media-plugins/vdr-weatherng/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/vdr-weatherng
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-weatherng/ChangeLog,v 1.12 2007/01/05 17:05:12 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-weatherng/ChangeLog,v 1.13 2007/04/01 12:45:12 hd_brummy Exp $
+
+ 01 Apr 2007; Joerg Bornkessel <hd_brummy@gentoo.org>
+ vdr-weatherng-0.0.8_pre3.ebuild:
+ added block if needed imlib2 is compiled without jpeg gif support
05 Jan 2007; Joerg Bornkessel <hd_brummy@gentoo.org>
vdr-weatherng-0.0.5.ebuild, vdr-weatherng-0.0.8_pre2.ebuild,
diff --git a/media-plugins/vdr-weatherng/vdr-weatherng-0.0.8_pre3.ebuild b/media-plugins/vdr-weatherng/vdr-weatherng-0.0.8_pre3.ebuild
index 536c5a8624f8..09172930a77b 100644
--- a/media-plugins/vdr-weatherng/vdr-weatherng-0.0.8_pre3.ebuild
+++ b/media-plugins/vdr-weatherng/vdr-weatherng-0.0.8_pre3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-weatherng/vdr-weatherng-0.0.8_pre3.ebuild,v 1.2 2007/01/05 17:05:12 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-weatherng/vdr-weatherng-0.0.8_pre3.ebuild,v 1.3 2007/04/01 12:45:12 hd_brummy Exp $
inherit vdr-plugin
@@ -24,6 +24,17 @@ S="${WORKDIR}/weatherng-${MY_PV}"
VDR_CONFD_FILE="${FILESDIR}/confd-0.0.8"
VDR_RCADDON_FILE="${FILESDIR}/rc-addon-0.0.8.sh"
+pkg_setup() {
+
+ if ! built_with_use media-libs/imlib2 jpeg gif ; then
+ echo
+ eerror "Please recompile media-libs/imlib2 with"
+ eerror "USE=\"jpeg gif\""
+ die "media-libs/imlib2 need jpeg and gif support"
+ fi
+}
+
+
src_unpack() {
vdr-plugin_src_unpack