1 |
aballier 09/01/31 15:32:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gpac-0.4.5.ebuild |
5 |
Log: |
6 |
version bump |
7 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.66 media-video/gpac/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/gpac/ChangeLog?rev=1.66&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/gpac/ChangeLog?rev=1.66&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/gpac/ChangeLog?r1=1.65&r2=1.66 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-video/gpac/ChangeLog,v |
19 |
retrieving revision 1.65 |
20 |
retrieving revision 1.66 |
21 |
diff -u -r1.65 -r1.66 |
22 |
--- ChangeLog 5 Oct 2008 12:48:02 -0000 1.65 |
23 |
+++ ChangeLog 31 Jan 2009 15:32:32 -0000 1.66 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for media-video/gpac |
26 |
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/ChangeLog,v 1.65 2008/10/05 12:48:02 aballier Exp $ |
28 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/ChangeLog,v 1.66 2009/01/31 15:32:32 aballier Exp $ |
30 |
+ |
31 |
+*gpac-0.4.5 (31 Jan 2009) |
32 |
+ |
33 |
+ 31 Jan 2009; Alexis Ballier <aballier@g.o> +gpac-0.4.5.ebuild: |
34 |
+ version bump |
35 |
|
36 |
05 Oct 2008; Alexis Ballier <aballier@g.o> |
37 |
-files/gpac-0.4.2-DESTDIR.patch, -files/gpac-0.4.2-bsd.patch, |
38 |
|
39 |
|
40 |
|
41 |
1.1 media-video/gpac/gpac-0.4.5.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/gpac/gpac-0.4.5.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/gpac/gpac-0.4.5.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: gpac-0.4.5.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/gpac-0.4.5.ebuild,v 1.1 2009/01/31 15:32:32 aballier Exp $ |
51 |
|
52 |
inherit eutils wxwidgets flag-o-matic multilib toolchain-funcs |
53 |
|
54 |
DESCRIPTION="GPAC is an implementation of the MPEG-4 Systems standard developed from scratch in ANSI C." |
55 |
HOMEPAGE="http://gpac.sourceforge.net/" |
56 |
NBV="610" |
57 |
WBV="600" |
58 |
PATCHLEVEL="1" |
59 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz |
60 |
mirror://gentoo/${P}-patches-${PATCHLEVEL}.tar.bz2" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
65 |
IUSE="a52 aac alsa amr debug ffmpeg ipv6 jack jpeg jpeg2k javascript mad ogg opengl oss png pulseaudio sdl ssl theora truetype vorbis wxwindows xml xvid" |
66 |
|
67 |
S="${WORKDIR}/${PN}" |
68 |
|
69 |
RDEPEND=" |
70 |
a52? ( media-libs/a52dec ) |
71 |
aac? ( >=media-libs/faad2-2.0 ) |
72 |
alsa? ( media-libs/alsa-lib ) |
73 |
amr? ( media-libs/amrnb media-libs/amrwb ) |
74 |
ffmpeg? ( media-video/ffmpeg ) |
75 |
jack? ( media-sound/jack-audio-connection-kit ) |
76 |
jpeg? ( media-libs/jpeg ) |
77 |
javascript? ( >=dev-lang/spidermonkey-1.5 ) |
78 |
mad? ( >=media-libs/libmad-0.15.1b ) |
79 |
opengl? ( virtual/opengl virtual/glut ) |
80 |
ogg? ( >=media-libs/libogg-1.1 ) |
81 |
png? ( >=media-libs/libpng-1.2.5 ) |
82 |
vorbis? ( >=media-libs/libvorbis-1.1 ) |
83 |
theora? ( media-libs/libtheora ) |
84 |
truetype? ( >=media-libs/freetype-2.1.4 ) |
85 |
wxwindows? ( =x11-libs/wxGTK-2.8* ) |
86 |
xml? ( >=dev-libs/libxml2-2.6.0 ) |
87 |
xvid? ( >=media-libs/xvid-1.0.1 ) |
88 |
sdl? ( media-libs/libsdl ) |
89 |
jpeg2k? ( media-libs/openjpeg ) |
90 |
ssl? ( dev-libs/openssl ) |
91 |
pulseaudio? ( media-sound/pulseaudio ) |
92 |
x11-libs/libXt |
93 |
x11-libs/libX11 |
94 |
x11-libs/libXv |
95 |
x11-libs/libXext" |
96 |
|
97 |
DEPEND="${RDEPEND}" |
98 |
|
99 |
my_use() { |
100 |
local flag="$1" pflag="${2:-$1}" |
101 |
if use ${flag}; then |
102 |
echo "--use-${pflag}=system" |
103 |
else |
104 |
echo "--use-${pflag}=no" |
105 |
fi |
106 |
} |
107 |
|
108 |
src_unpack() { |
109 |
unpack ${A} |
110 |
cd "${S}" |
111 |
|
112 |
EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" |
113 |
|
114 |
sed -ie '/ldconfig / d' "${S}/Makefile" |
115 |
|
116 |
cd "${S}" |
117 |
|
118 |
chmod +x configure |
119 |
# make sure configure looks for wx-2.6 |
120 |
if use wxwindows; then |
121 |
WX_GTK_VER=2.8 |
122 |
need-wxwidgets unicode |
123 |
sed -i -e "s:wx-config:${WX_CONFIG}:g" configure |
124 |
else |
125 |
sed -i -e 's:^has_wx="yes:has_wx="no:' configure |
126 |
fi |
127 |
|
128 |
use sdl || sed -i 's:^has_sdl=yes:has_sdl=no:' configure |
129 |
use alsa || sed -i 's:^has_alsa="yes":has_alsa=no:' configure |
130 |
|
131 |
# make sure mozilla won't be used |
132 |
sed -i -e 's/osmozilla//g' applications/Makefile |
133 |
|
134 |
# use this to cut down on the warnings noise |
135 |
append-flags -fno-strict-aliasing |
136 |
|
137 |
# multilib libdir fix |
138 |
sed -i -e 's:$(prefix)/lib:$(prefix)/'$(get_libdir)':' Makefile src/Makefile |
139 |
sed -i -e 's:/lib/gpac:/'$(get_libdir)'/gpac:' configure |
140 |
} |
141 |
|
142 |
src_compile() { |
143 |
if use ogg; then |
144 |
myconf="${myconf} --use-ogg=system" |
145 |
if use vorbis; then |
146 |
myconf="${myconf} --use-vorbis=system" |
147 |
fi |
148 |
if use theora; then |
149 |
myconf="${myconf} --use-theora=system" |
150 |
fi |
151 |
else |
152 |
myconf="${myconf} --use-ogg=no" |
153 |
fi |
154 |
|
155 |
tc-export CC CXX |
156 |
|
157 |
econf \ |
158 |
--enable-svg \ |
159 |
--enable-pic \ |
160 |
$(use_enable amr) \ |
161 |
$(use_enable debug) \ |
162 |
$(use_enable opengl) \ |
163 |
$(use_enable oss oss-audio) \ |
164 |
$(use_enable ssl) \ |
165 |
$(use_enable ipv6) \ |
166 |
$(use_enable jack)=yes \ |
167 |
$(use_enable pulseaudio)=yes \ |
168 |
$(my_use ffmpeg) \ |
169 |
$(my_use aac faad) \ |
170 |
$(my_use jpeg) \ |
171 |
$(my_use mad) \ |
172 |
$(my_use javascript js) \ |
173 |
$(my_use png) \ |
174 |
$(my_use truetype ft) \ |
175 |
$(my_use xvid) \ |
176 |
$(my_use jpeg2k openjpeg) \ |
177 |
$(my_use a52) \ |
178 |
--cc="$(tc-getCC)" \ |
179 |
${myconf} || die "configure died" |
180 |
|
181 |
emake -j1 OPTFLAGS="${CFLAGS}" || die "emake failed." |
182 |
} |
183 |
|
184 |
src_install() { |
185 |
emake OPTFLAGS="${CFLAGS}" DESTDIR="${D}" install || die |
186 |
emake OPTFLAGS="${CFLAGS}" DESTDIR="${D}" install-lib || die |
187 |
dodoc AUTHORS BUGS Changelog README TODO |
188 |
dodoc doc/*.txt |
189 |
dohtml doc/*.html |
190 |
} |