1 |
zzam 08/04/18 20:34:54 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: vdr-softdevice-0.5.0.ebuild |
5 |
Log: |
6 |
Version bumped. |
7 |
(Portage version: 2.1.5_rc4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.54 media-plugins/vdr-softdevice/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-softdevice/ChangeLog?rev=1.54&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-softdevice/ChangeLog?rev=1.54&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-softdevice/ChangeLog?r1=1.53&r2=1.54 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-plugins/vdr-softdevice/ChangeLog,v |
19 |
retrieving revision 1.53 |
20 |
retrieving revision 1.54 |
21 |
diff -u -r1.53 -r1.54 |
22 |
--- ChangeLog 20 Jan 2008 21:54:37 -0000 1.53 |
23 |
+++ ChangeLog 18 Apr 2008 20:34:54 -0000 1.54 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for media-plugins/vdr-softdevice |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-softdevice/ChangeLog,v 1.53 2008/01/20 21:54:37 zzam Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-softdevice/ChangeLog,v 1.54 2008/04/18 20:34:54 zzam Exp $ |
29 |
+ |
30 |
+*vdr-softdevice-0.5.0 (18 Apr 2008) |
31 |
+ |
32 |
+ 18 Apr 2008; Matthias Schwarzott <zzam@g.o> |
33 |
+ +vdr-softdevice-0.5.0.ebuild: |
34 |
+ Version bumped. |
35 |
|
36 |
20 Jan 2008; Matthias Schwarzott <zzam@g.o> |
37 |
vdr-softdevice-0.4.0.ebuild, vdr-softdevice-0.4.0.20070711.ebuild, |
38 |
|
39 |
|
40 |
|
41 |
1.1 media-plugins/vdr-softdevice/vdr-softdevice-0.5.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-softdevice/vdr-softdevice-0.5.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-softdevice/vdr-softdevice-0.5.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: vdr-softdevice-0.5.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-softdevice/vdr-softdevice-0.5.0.ebuild,v 1.1 2008/04/18 20:34:54 zzam Exp $ |
51 |
|
52 |
inherit vdr-plugin versionator |
53 |
|
54 |
DESCRIPTION="VDR Plugin: Software output-Device" |
55 |
HOMEPAGE="http://softdevice.berlios.de/" |
56 |
|
57 |
# Detect snapshots |
58 |
SNAP_V="$(get_version_component_range 4)" |
59 |
if [[ "$SNAP_V" ]]; then |
60 |
MY_P="${PN}-cvs-${SNAP_V}" |
61 |
S="${WORKDIR}/${MY_P#vdr-}" |
62 |
SRC_URI="mirror://gentoo/${MY_P}.tar.bz2 |
63 |
http://dev.gentoo.org/~zzam/distfiles/${MY_P}.tar.bz2" |
64 |
else |
65 |
SRC_URI="mirror://berlios/${PN#vdr-}/${P}.tgz" |
66 |
fi |
67 |
|
68 |
LICENSE="GPL-2" |
69 |
SLOT="0" |
70 |
KEYWORDS="~amd64 ~x86" |
71 |
IUSE="xv fbcon directfb mmx mmxext xinerama" |
72 |
|
73 |
RDEPEND=">=media-video/vdr-1.3.36 |
74 |
>=media-video/ffmpeg-0.4.9_pre1 |
75 |
directfb? ( |
76 |
dev-libs/DirectFB |
77 |
dev-libs/DFB++ |
78 |
) |
79 |
media-libs/alsa-lib |
80 |
xv? ( x11-libs/libX11 |
81 |
x11-libs/libXext |
82 |
x11-libs/libXi |
83 |
x11-libs/libXv |
84 |
xinerama? ( x11-libs/libXinerama ) |
85 |
)" |
86 |
|
87 |
DEPEND="${RDEPEND} |
88 |
xv? ( x11-proto/xproto |
89 |
x11-proto/xextproto |
90 |
x11-libs/libXv |
91 |
xinerama? ( x11-proto/xineramaproto ) |
92 |
) |
93 |
fbcon? ( sys-kernel/linux-headers ) |
94 |
dev-util/pkgconfig" |
95 |
# Make sure the assembler USE flags are unmasked on amd64 |
96 |
# Remove this once default-linux/amd64/2006.1 is deprecated |
97 |
DEPEND="${DEPEND} amd64? ( >=sys-apps/portage-2.1.2 )" |
98 |
|
99 |
PATCHES=("${FILESDIR}/patches-0.4.0/shm-fullscreen-parameter.diff") |
100 |
|
101 |
pkg_setup() { |
102 |
vdr-plugin_pkg_setup |
103 |
|
104 |
if use !xv && use !fbcon && use !directfb; then |
105 |
ewarn "You need to set at least one of these use-flags: xv fbcon directfb" |
106 |
die "no output-method enabled" |
107 |
fi |
108 |
|
109 |
COMPILE_SHM=0 |
110 |
if has_version ">=media-video/vdr-1.3.0"; then |
111 |
if use xv; then |
112 |
COMPILE_SHM=1 |
113 |
else |
114 |
elog "SHM does only support xv at the moment" |
115 |
fi |
116 |
else |
117 |
elog "SHM not supported on vdr-1.2" |
118 |
fi |
119 |
case ${COMPILE_SHM} in |
120 |
0) elog "SHM support will not be compiled." ;; |
121 |
1) elog "SHM support will be compiled." ;; |
122 |
esac |
123 |
|
124 |
# Check for ffmpeg relying on libtheora without pkg-config-file |
125 |
# Bug #142250 |
126 |
if built_with_use media-video/ffmpeg theora && \ |
127 |
has_version "<media-libs/libtheora-1.0_alpha4"; then |
128 |
|
129 |
eerror "This package will not work when using ffmpeg with" |
130 |
eerror "USE=\"theora\" combined with media-libs/libtheora" |
131 |
eerror "older than version 1.0_alpha4." |
132 |
eerror "Please update to at least media-libs/libtheora-1.0_alpha4." |
133 |
die "Please update to at least media-libs/libtheora-1.0_alpha4." |
134 |
fi |
135 |
} |
136 |
|
137 |
src_compile() { |
138 |
local MYOPTS="" |
139 |
MYOPTS="${MYOPTS} --disable-vidix" |
140 |
use xv || MYOPTS="${MYOPTS} --disable-xv" |
141 |
use fbcon || MYOPTS="${MYOPTS} --disable-fb" |
142 |
use directfb || MYOPTS="${MYOPTS} --disable-dfb" |
143 |
|
144 |
use mmx || MYOPTS="${MYOPTS} --disable-mmx" |
145 |
use mmxext || MYOPTS="${MYOPTS} --disable-mmx2" |
146 |
|
147 |
if use !mmx && use !mmxext; then |
148 |
ewarn "${PN}"' does not compile with USE="-mmx -mmxext".' |
149 |
ewarn 'Please enable at least one of these two use-flags.' |
150 |
die "${PN}"' does not compile with USE="-mmx -mmxext".' |
151 |
fi |
152 |
|
153 |
use xinerama || MYOPTS="${MYOPTS} --disable-xinerama" |
154 |
|
155 |
[[ ${COMPILE_SHM} == 1 ]] || MYOPTS="${MYOPTS} --disable-shm" |
156 |
|
157 |
cd "${S}" |
158 |
elog configure ${MYOPTS} |
159 |
./configure ${MYOPTS} || die "configure failed" |
160 |
|
161 |
vdr-plugin_src_compile |
162 |
} |
163 |
|
164 |
src_install() { |
165 |
vdr-plugin_src_install |
166 |
|
167 |
cd "${S}" |
168 |
|
169 |
insinto "${VDR_PLUGIN_DIR}" |
170 |
doins libsoftdevice-*.so.* |
171 |
|
172 |
if [[ "${COMPILE_SHM}" = "1" ]]; then |
173 |
exeinto "/usr/bin" |
174 |
doexe ShmClient |
175 |
fi |
176 |
|
177 |
insinto /usr/include/vdr-softdevice |
178 |
doins *.h |
179 |
} |
180 |
|
181 |
|
182 |
|
183 |
-- |
184 |
gentoo-commits@l.g.o mailing list |