1 |
cardoe 12/06/22 03:30:50 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: mythtv-0.25.1.ebuild |
5 |
Log: |
6 |
Version bump to 0.25.1. This is still very much a Work In Progress ebuild and as such its masked. |
7 |
|
8 |
(Portage version: 2.1.10.49/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.15 media-tv/mythtv/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/metadata.xml?rev=1.15&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/metadata.xml?rev=1.15&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/metadata.xml?r1=1.14&r2=1.15 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-tv/mythtv/metadata.xml,v |
20 |
retrieving revision 1.14 |
21 |
retrieving revision 1.15 |
22 |
diff -u -r1.14 -r1.15 |
23 |
--- metadata.xml 18 Dec 2011 04:15:55 -0000 1.14 |
24 |
+++ metadata.xml 22 Jun 2012 03:30:49 -0000 1.15 |
25 |
@@ -15,25 +15,24 @@ |
26 |
will only give you /dev/dsp devices in the drop down.</flag> |
27 |
<flag name="altivec">Builds ffmpeg's codec libraries with altivec |
28 |
support.</flag> |
29 |
+ <flag name="ass">Use the ASS/SSA subtitle render</flag> |
30 |
<flag name="autostart">Uses a custom autostart configuration gleaned from |
31 |
experience with MythTV since its early versions and discussed with |
32 |
other MythTV maintainers and users. Does not rely on KDE being installed |
33 |
like most methods do.</flag> |
34 |
<flag name="bluray">Pulls in libbluray for BluRay support.</flag> |
35 |
+ <flag name="cec">Allows you to control CEC enabled TVs via HDMI. Currently |
36 |
+ requires a USB based CEC -> HDMI injector between your TV and video |
37 |
+ card since no graphics drivers support CEC natively.</flag> |
38 |
+ <flag name="crystalhd">Allows you to utilize a Broadcom CrystalHD hardware |
39 |
+ based video decoder to improve the performance of video decode.</flag> |
40 |
<flag name="debug">Instructs Qt to use the 'debug' target instead of |
41 |
'release' target. If your MythTV is crashing or you need a backtrace, |
42 |
you need to compile it with this option otherwise the debugging data is |
43 |
useless.</flag> |
44 |
- <flag name="directv">Installs the DirecTV channel changing script so that |
45 |
- you can configure MythTV to use it to change the channels on your |
46 |
- DirecTV box.</flag> |
47 |
<flag name="dvb">Enables support for Linux DVB cards. These include all |
48 |
cards that work with digital signals such as ATSC, DVB-T, DVB-C, and |
49 |
DVB-S, QAM-64, and QAM-256.</flag> |
50 |
- <flag name='faad'>Uses external faad library for AAC decoding instead of |
51 |
- internal libavcodec for decoding AAC. The faad library supports |
52 |
- additional AAC types like AAC-LATM that libavcodec does not |
53 |
- support</flag> |
54 |
<flag name="ieee1394">Allows MythTV to communicate and use Firewire enabled |
55 |
Cable boxes. These are typically found in the United States, where such |
56 |
support is required by law. This will also install Firewire test |
57 |
@@ -47,16 +46,15 @@ |
58 |
that LCD.</flag> |
59 |
<flag name="lirc">Adds LIRC support directly to MythTV allowing for built in |
60 |
control via a LIRC device.</flag> |
61 |
- <flag name="mmx">Builds ffmpeg's codec libraries with mmx support.</flag> |
62 |
<flag name="perl">Builds the perl bindings for MythTV. Allows you to write |
63 |
scripts in Perl to control your MythTV setup or communicate with |
64 |
it.</flag> |
65 |
- <flag name='tiff'>Add support for tiff loading and rendering which is only |
66 |
- used by <pkg>media-plugins/mythgallery</pkg></flag> |
67 |
<flag name="xvmc">Instructs MythTV to use XvMC for its video output. By |
68 |
default, this will use the generic XvMC wrapper unless a specific video |
69 |
card driver is enabled via their VIDEO_CARDS USE flags.</flag> |
70 |
- <flag name="vdpau">enable support of NVIDIA's VDPAU for video |
71 |
+ <flag name="vaapi">Enables VAAPI (Video Acceleration API) for |
72 |
+ hardware decoding</flag> |
73 |
+ <flag name="vdpau">Enable support of NVIDIA's VDPAU for video |
74 |
playback</flag> |
75 |
</use> |
76 |
</pkgmetadata> |
77 |
|
78 |
|
79 |
|
80 |
1.342 media-tv/mythtv/ChangeLog |
81 |
|
82 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/ChangeLog?rev=1.342&view=markup |
83 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/ChangeLog?rev=1.342&content-type=text/plain |
84 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/ChangeLog?r1=1.341&r2=1.342 |
85 |
|
86 |
Index: ChangeLog |
87 |
=================================================================== |
88 |
RCS file: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v |
89 |
retrieving revision 1.341 |
90 |
retrieving revision 1.342 |
91 |
diff -u -r1.341 -r1.342 |
92 |
--- ChangeLog 10 Jun 2012 20:33:35 -0000 1.341 |
93 |
+++ ChangeLog 22 Jun 2012 03:30:49 -0000 1.342 |
94 |
@@ -1,6 +1,13 @@ |
95 |
# ChangeLog for media-tv/mythtv |
96 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
97 |
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.341 2012/06/10 20:33:35 rich0 Exp $ |
98 |
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.342 2012/06/22 03:30:49 cardoe Exp $ |
99 |
+ |
100 |
+*mythtv-0.25.1 (21 Jun 2012) |
101 |
+ |
102 |
+ 21 Jun 2012; Doug Goldstein <cardoe@g.o> +mythtv-0.25.1.ebuild, |
103 |
+ +files/mythbackend.conf, +files/mythbackend.init: |
104 |
+ Version bump to 0.25.1. This is still very much a Work In Progress ebuild and |
105 |
+ as such its masked. |
106 |
|
107 |
10 Jun 2012; Richard Freeman <rich0@g.o> |
108 |
-files/mythtv-0.21-ldconfig-sanxbox-fix.patch, |
109 |
|
110 |
|
111 |
|
112 |
1.1 media-tv/mythtv/mythtv-0.25.1.ebuild |
113 |
|
114 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/mythtv-0.25.1.ebuild?rev=1.1&view=markup |
115 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/mythtv-0.25.1.ebuild?rev=1.1&content-type=text/plain |
116 |
|
117 |
Index: mythtv-0.25.1.ebuild |
118 |
=================================================================== |
119 |
# Copyright 1999-2012 Gentoo Foundation |
120 |
# Distributed under the terms of the GNU General Public License v2 |
121 |
# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.25.1.ebuild,v 1.1 2012/06/22 03:30:49 cardoe Exp $ |
122 |
|
123 |
EAPI=4 |
124 |
|
125 |
inherit flag-o-matic multilib eutils python user |
126 |
|
127 |
PYTHON_DEPEND="2" |
128 |
|
129 |
#MYTHTV_VERSION="v${PV}-15-g${MYTHTV_SREV}" |
130 |
#MYTHTV_BRANCH="fixes/0.25" |
131 |
#MYTHTV_REV="c29d36f1634cd837276b4fd8cfea5d5d75304da8" |
132 |
#MYTHTV_SREV="c29d36f" |
133 |
|
134 |
DESCRIPTION="Homebrew PVR project" |
135 |
HOMEPAGE="http://www.mythtv.org" |
136 |
SRC_URI="ftp://ftp.osuosl.org/pub/mythtv/mythtv-0.25.1.tar.bz2" |
137 |
SLOT="0" |
138 |
LICENSE="GPL-2" |
139 |
KEYWORDS="~amd64 ~x86" |
140 |
|
141 |
IUSE_INPUT_DEVICES="input_devices_joystick" |
142 |
IUSE="alsa altivec ass autostart bluray cec crystalhd debug dvb dvd \ |
143 |
ieee1394 jack lcd lirc perl pulseaudio python xvmc vaapi vdpau \ |
144 |
${IUSE_INPUT_DEVICES}" |
145 |
|
146 |
SDEPEND=" |
147 |
>=media-sound/lame-3.93.1 |
148 |
x11-libs/libX11 |
149 |
x11-libs/libXext |
150 |
x11-libs/libXinerama |
151 |
x11-libs/libXv |
152 |
x11-libs/libXrandr |
153 |
x11-libs/libXxf86vm |
154 |
x11-libs/qt-core:4[qt3support] |
155 |
x11-libs/qt-gui:4[qt3support] |
156 |
x11-libs/qt-sql:4[qt3support,mysql] |
157 |
x11-libs/qt-opengl:4[qt3support] |
158 |
x11-libs/qt-webkit:4 |
159 |
virtual/mysql |
160 |
virtual/opengl |
161 |
virtual/glu |
162 |
alsa? ( >=media-libs/alsa-lib-0.9 ) |
163 |
ass? ( media-libs/libass ) |
164 |
cec? ( dev-libs/libcec ) |
165 |
dvb? ( media-libs/libdvb virtual/linuxtv-dvb-headers ) |
166 |
ieee1394? ( >=sys-libs/libraw1394-1.2.0 |
167 |
>=sys-libs/libavc1394-0.5.3 |
168 |
>=media-libs/libiec61883-1.0.0 ) |
169 |
jack? ( media-sound/jack-audio-connection-kit ) |
170 |
lcd? ( app-misc/lcdproc ) |
171 |
lirc? ( app-misc/lirc ) |
172 |
perl? ( dev-perl/DBD-mysql |
173 |
dev-perl/Net-UPnP |
174 |
dev-perl/LWP-Protocol-https |
175 |
dev-perl/HTTP-Message |
176 |
dev-perl/IO-Socket-INET6 |
177 |
>=dev-perl/libwww-perl-5 ) |
178 |
pulseaudio? ( media-sound/pulseaudio ) |
179 |
python? ( dev-python/mysql-python |
180 |
dev-python/lxml |
181 |
dev-python/urlgrabber ) |
182 |
vaapi? ( x11-libs/libva ) |
183 |
vdpau? ( x11-libs/libvdpau ) |
184 |
xvmc? ( x11-libs/libXvMC ) |
185 |
!media-tv/mythtv-bindings |
186 |
!x11-themes/mythtv-themes |
187 |
" |
188 |
|
189 |
RDEPEND="${SDEPEND} |
190 |
media-fonts/corefonts |
191 |
media-fonts/dejavu |
192 |
>=media-libs/freetype-2.0 |
193 |
x11-apps/xinit |
194 |
|| ( >=net-misc/wget-1.12-r3 >=media-tv/xmltv-0.5.43 ) |
195 |
autostart? ( net-dialup/mingetty |
196 |
x11-wm/evilwm |
197 |
x11-apps/xset ) |
198 |
bluray? ( media-libs/libbluray ) |
199 |
dvd? ( media-libs/libdvdcss ) |
200 |
vdpau? ( >=x11-drivers/nvidia-drivers-256 ) |
201 |
" |
202 |
|
203 |
DEPEND="${SDEPEND} |
204 |
dev-lang/yasm |
205 |
x11-proto/xineramaproto |
206 |
x11-proto/xf86vidmodeproto |
207 |
" |
208 |
|
209 |
MYTHTV_GROUPS="video,audio,tty,uucp" |
210 |
|
211 |
pkg_setup() { |
212 |
einfo "This ebuild now uses a heavily stripped down version of your CFLAGS" |
213 |
|
214 |
python_set_active_version 2 |
215 |
python_pkg_setup |
216 |
|
217 |
enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS} |
218 |
usermod -a -G ${MYTHTV_GROUPS} mythtv |
219 |
} |
220 |
|
221 |
src_prepare() { |
222 |
# upstream wants the revision number in their version.cpp |
223 |
# since the subversion.eclass strips out the .svn directory |
224 |
# svnversion in MythTV's build doesn't work |
225 |
# sed -e "s#\${SOURCE_VERSION}#${MYTHTV_VERSION}#g" \ |
226 |
# -e "s#\${BRANCH}#${MYTHTV_BRANCH}#g" \ |
227 |
# -i "${S}"/version.sh |
228 |
|
229 |
# Perl bits need to go into vender_perl and not site_perl |
230 |
sed -e "s:pure_install:pure_install INSTALLDIRS=vendor:" \ |
231 |
-i "${S}"/bindings/perl/Makefile |
232 |
|
233 |
epatch_user |
234 |
} |
235 |
|
236 |
src_configure() { |
237 |
local myconf="--prefix=/usr" |
238 |
myconf="${myconf} --mandir=/usr/share/man" |
239 |
myconf="${myconf} --libdir-name=$(get_libdir)" |
240 |
|
241 |
myconf="${myconf} --enable-pic" |
242 |
myconf="${myconf} --enable-symbol-visibility" |
243 |
|
244 |
use alsa || myconf="${myconf} --disable-audio-alsa" |
245 |
use altivec || myconf="${myconf} --disable-altivec" |
246 |
use jack || myconf="${myconf} --disable-audio-jack" |
247 |
use pulseaudio || myconf="${myconf} --disable-audio-pulseoutput" |
248 |
|
249 |
myconf="${myconf} $(use_enable dvb)" |
250 |
myconf="${myconf} $(use_enable ieee1394 firewire)" |
251 |
myconf="${myconf} $(use_enable lirc)" |
252 |
myconf="${myconf} --dvb-path=/usr/include" |
253 |
myconf="${myconf} --enable-xrandr" |
254 |
myconf="${myconf} --enable-xv" |
255 |
myconf="${myconf} --enable-x11" |
256 |
|
257 |
if use perl && use python; then |
258 |
myconf="${myconf} --with-bindings=perl,python" |
259 |
elif use perl; then |
260 |
myconf="${myconf} --without-bindings=python" |
261 |
myconf="${myconf} --with-bindings=perl" |
262 |
elif use python; then |
263 |
myconf="${myconf} --without-bindings=perl" |
264 |
myconf="${myconf} --with-bindings=python" |
265 |
else |
266 |
myconf="${myconf} --without-bindings=perl,python" |
267 |
fi |
268 |
|
269 |
use python && myconf="${myconf} --python=$(PYTHON)" |
270 |
|
271 |
if use debug; then |
272 |
myconf="${myconf} --compile-type=debug" |
273 |
else |
274 |
myconf="${myconf} --compile-type=profile" |
275 |
myconf="${myconf} --enable-proc-opt" |
276 |
fi |
277 |
|
278 |
use vdpau && myconf="${myconf} --enable-vdpau" |
279 |
use vaapi && myconf="${myconf} --enable-vaapi" |
280 |
use crystalhd && myconf="${myconf} --enable-crystalhd" |
281 |
|
282 |
use input_devices_joystick || myconf="${myconf} --disable-joystick-menu" |
283 |
|
284 |
# Clean up DSO load times |
285 |
myconf="${myconf} --enable-symbol-visibility" |
286 |
|
287 |
## CFLAG cleaning so it compiles |
288 |
strip-flags |
289 |
|
290 |
has distcc ${FEATURES} || myconf="${myconf} --disable-distcc" |
291 |
has ccache ${FEATURES} || myconf="${myconf} --disable-ccache" |
292 |
|
293 |
# let MythTV come up with our CFLAGS. Upstream will support this |
294 |
CFLAGS="" |
295 |
CXXFLAGS="" |
296 |
|
297 |
chmod +x ./external/FFmpeg/version.sh |
298 |
|
299 |
einfo "Running ./configure ${myconf}" |
300 |
./configure ${myconf} || die "configure died" |
301 |
} |
302 |
|
303 |
src_compile() { |
304 |
emake || die "emake failed" |
305 |
} |
306 |
|
307 |
src_install() { |
308 |
einstall INSTALL_ROOT="${ED}" || die "install failed" |
309 |
dodoc AUTHORS FAQ UPGRADING README |
310 |
|
311 |
insinto /usr/share/mythtv/database |
312 |
doins database/* |
313 |
|
314 |
exeinto /usr/share/mythtv |
315 |
|
316 |
newinitd "${FILESDIR}"/mythbackend.init mythbackend |
317 |
newconfd "${FILESDIR}"/mythbackend.conf mythbackend |
318 |
|
319 |
dodoc keys.txt docs/*.{txt,pdf} |
320 |
dohtml docs/*.html |
321 |
|
322 |
keepdir /etc/mythtv |
323 |
chown -R mythtv "${ED}"/etc/mythtv |
324 |
keepdir /var/log/mythtv |
325 |
chown -R mythtv "${ED}"/var/log/mythtv |
326 |
|
327 |
insinto /etc/logrotate.d |
328 |
newins "${FILESDIR}"/mythtv.logrotate.d-r1 mythtv |
329 |
|
330 |
insinto /usr/share/mythtv/contrib |
331 |
doins -r contrib/* |
332 |
|
333 |
dobin "${FILESDIR}"/runmythfe |
334 |
|
335 |
if use autostart; then |
336 |
dodir /etc/env.d/ |
337 |
echo 'CONFIG_PROTECT="/home/mythtv/"' > "${D}"/etc/env.d/95mythtv |
338 |
|
339 |
insinto /home/mythtv |
340 |
newins "${FILESDIR}"/bash_profile .bash_profile |
341 |
newins "${FILESDIR}"/xinitrc .xinitrc |
342 |
fi |
343 |
|
344 |
for file in `find "${ED}" -type f -name \*.py`; do chmod a+x "${file}"; done |
345 |
for file in `find "${ED}" -type f -name \*.sh`; do chmod a+x "${file}"; done |
346 |
for file in `find "${ED}" -type f -name \*.pl`; do chmod a+x "${file}"; done |
347 |
} |
348 |
|
349 |
pkg_preinst() { |
350 |
export CONFIG_PROTECT="${CONFIG_PROTECT} ${ROOT}/home/mythtv/" |
351 |
} |
352 |
|
353 |
pkg_postinst() { |
354 |
use python && python_mod_optimize |
355 |
|
356 |
elog "To have this machine operate as recording host for MythTV, " |
357 |
elog "mythbackend must be running. Run the following:" |
358 |
elog "rc-update add mythbackend default" |
359 |
elog |
360 |
elog "Your recordings folder must be owned 'mythtv'. e.g." |
361 |
elog "chown -R mythtv /var/lib/mythtv" |
362 |
|
363 |
elog "Want mythfrontend to start automatically?" |
364 |
elog "Set USE=autostart. Details can be found at:" |
365 |
elog "http://dev.gentoo.org/~cardoe/mythtv/autostart.html" |
366 |
} |
367 |
|
368 |
pkg_info() { |
369 |
if [[ -f "${EROOT}"/usr/bin/mythfrontend ]]; then |
370 |
"${EROOT}"/usr/bin/mythfrontend --version |
371 |
fi |
372 |
} |
373 |
|
374 |
pkg_config() { |
375 |
echo "Creating mythtv MySQL user and mythconverg database if it does not" |
376 |
echo "already exist. You will be prompted for your MySQL root password." |
377 |
"${ROOT}"/usr/bin/mysql -u root -p < "${ROOT}"/usr/share/mythtv/database/mc.sql |
378 |
} |