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