summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2006-08-01 14:18:01 +0000
committerPatrick McLean <chutzpah@gentoo.org>2006-08-01 14:18:01 +0000
commitf2ab6f36326f0bd69c0125b7c058dd82fdcd9e20 (patch)
treed363ed7bcbbbeea398f2ff4436258d6b335537f0 /media-video
parentChange "js" USE flag to "javascript" for media-video/gpac (diff)
downloadgentoo-2-f2ab6f36326f0bd69c0125b7c058dd82fdcd9e20.tar.gz
gentoo-2-f2ab6f36326f0bd69c0125b7c058dd82fdcd9e20.tar.bz2
gentoo-2-f2ab6f36326f0bd69c0125b7c058dd82fdcd9e20.zip
Various fixups, change "js" USE flag to "javascript", fix up usage of "aac" USE flag.
(Portage version: 2.1.1_pre2-r8)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/gpac/ChangeLog7
-rw-r--r--media-video/gpac/gpac-0.4.1_pre20060122-r1.ebuild15
2 files changed, 14 insertions, 8 deletions
diff --git a/media-video/gpac/ChangeLog b/media-video/gpac/ChangeLog
index cd77da339237..ec20b7b2b880 100644
--- a/media-video/gpac/ChangeLog
+++ b/media-video/gpac/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-video/gpac
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/ChangeLog,v 1.21 2006/07/13 20:50:31 chutzpah Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/ChangeLog,v 1.22 2006/08/01 14:18:01 chutzpah Exp $
+
+ 01 Aug 2006; Patrick McLean <chutzpah@gentoo.org>
+ gpac-0.4.1_pre20060122-r1.ebuild:
+ Various fixups, change "js" USE flag to "javascript", fix up usage of "aac"
+ USE flag.
*gpac-0.4.1_pre20060122-r1 (13 Jul 2006)
diff --git a/media-video/gpac/gpac-0.4.1_pre20060122-r1.ebuild b/media-video/gpac/gpac-0.4.1_pre20060122-r1.ebuild
index 1c2d1e3bffe7..851d2c0129ca 100644
--- a/media-video/gpac/gpac-0.4.1_pre20060122-r1.ebuild
+++ b/media-video/gpac/gpac-0.4.1_pre20060122-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/gpac-0.4.1_pre20060122-r1.ebuild,v 1.1 2006/07/13 20:43:42 chutzpah Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/gpac-0.4.1_pre20060122-r1.ebuild,v 1.2 2006/08/01 14:18:01 chutzpah Exp $
inherit wxwidgets flag-o-matic multilib
@@ -11,13 +11,14 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="aac amr debug faad ffmpeg ft jpeg js mad ogg opengl oss png sdl ssl theora truetype vorbis wxwindows xml xvid"
+IUSE="aac amr debug ffmpeg ft jpeg javascript mad ogg opengl oss png sdl ssl theora truetype vorbis wxwindows xml xvid"
S="${WORKDIR}/${PN}"
RDEPEND="aac? ( media-libs/faad2 )
ffmpeg? ( media-video/ffmpeg )
jpeg? ( media-libs/jpeg )
+ javascript? ( dev-lang/spidermonkey )
mad? ( media-libs/libmad )
opengl? ( virtual/opengl )
ogg? ( media-libs/libogg )
@@ -38,11 +39,11 @@ RDEPEND="aac? ( media-libs/faad2 )
DEPEND="${RDEPEND}"
my_use() {
- local flag="$1"
+ local flag="$1" pflag="${2:-$1}"
if use ${flag}; then
- echo "--use-${flag}=system"
+ echo "--use-${pflag}=system"
else
- echo "--use-${flag}=no"
+ echo "--use-${pflag}=no"
fi
}
@@ -105,10 +106,10 @@ src_compile() {
$(use_enable oss oss-audio) \
$(use_enable ssl) \
$(my_use ffmpeg) \
- $(my_use faad) \
+ $(my_use aac faad) \
$(my_use jpeg) \
$(my_use mad) \
- $(my_use js) \
+ $(my_use javascript js) \
$(my_use png) \
$(my_use ft) \
$(my_use xvid) \