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