summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2014-03-12 18:17:13 +0000
committerJulian Ospald <hasufell@gentoo.org>2014-03-12 18:17:13 +0000
commita187486bbfa2196be4682bcd8df05b0e8ef6bf30 (patch)
tree5eff882bb431eee0985e6e9af3fde5884b43dfd8 /media-tv/freevo
parentVersion bump. Bug #504330 (diff)
downloadhistorical-a187486bbfa2196be4682bcd8df05b0e8ef6bf30.tar.gz
historical-a187486bbfa2196be4682bcd8df05b0e8ef6bf30.tar.bz2
historical-a187486bbfa2196be4682bcd8df05b0e8ef6bf30.zip
convert to distutils-r1
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xBDEED020
Diffstat (limited to 'media-tv/freevo')
-rw-r--r--media-tv/freevo/ChangeLog7
-rw-r--r--media-tv/freevo/Manifest31
-rw-r--r--media-tv/freevo/freevo-1.9.0-r1.ebuild190
3 files changed, 212 insertions, 16 deletions
diff --git a/media-tv/freevo/ChangeLog b/media-tv/freevo/ChangeLog
index 0cd8956c2c05..d7c2899aa443 100644
--- a/media-tv/freevo/ChangeLog
+++ b/media-tv/freevo/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-tv/freevo
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/freevo/ChangeLog,v 1.82 2014/03/09 13:09:53 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/freevo/ChangeLog,v 1.83 2014/03/12 18:17:08 hasufell Exp $
+
+*freevo-1.9.0-r1 (12 Mar 2014)
+
+ 12 Mar 2014; Julian Ospald <hasufell@gentoo.org> +freevo-1.9.0-r1.ebuild:
+ convert to distutils-r1
09 Mar 2014; Julian Ospald <hasufell@gentoo.org> freevo-1.9.0.ebuild,
+files/freevo-1.9.0-PIL.patch:
diff --git a/media-tv/freevo/Manifest b/media-tv/freevo/Manifest
index f7b5d39a17d1..4519ed4f8e39 100644
--- a/media-tv/freevo/Manifest
+++ b/media-tv/freevo/Manifest
@@ -10,25 +10,26 @@ AUX xbox-lircrc 1690 SHA256 91e726a9a99c705067931d1361352a8200a03cebb0d9e1e79187
DIST freevo-1.7.6.1.tar.gz 20856412 SHA256 1a0392a858ef428b3a511107322921eb9f45ad0ed02f7f05543486aafba0221e SHA512 f8562990ac4137042bfd9657bffb3b5f38bc02c3809a528cb798de67fbfa0c6fe2ba87b3cc0a6a2f65fbc11bc456ebba4dd27b4975202859835858893414f9b8 WHIRLPOOL 44019711a03a8736ff05518f1bbd3f0173facbe3ebf2f104e4f1b3820ccdca6e8be6785bc3d6b18569e334b2512fcaf00f64225b4dfa04d2b32b6837afc2e0df
DIST freevo-1.9.0.tar.gz 27182867 SHA256 e3c97e1404bc5a171350d0c0edf8decaa6d4eb3eaa9e42112a903d375aaf8722 SHA512 4dc722efbf81101bda1ab4437516faa6d4471d4106553617d30dd6de860bb7ca5a3c7bfc9865f4a7589d6726c7ef838161213f86c679889e1cd086362921ebac WHIRLPOOL 16abf397c20b9dd18271c5933e343c846746cbbbf5bef8a126a364ce945c820e8e0f164e66fb56a61d86f256e6d7b98ba110a39395d8d26c278c6e54ede8a543
EBUILD freevo-1.7.6.1.ebuild 5409 SHA256 f363bd407c7c7cdf016586c6e95ecd12ffa7bdb1553126e91fd165ba9ff6e300 SHA512 6168a8d2c8a496557c1601409b5270a16ed3ac4f6be33d215111679931a1c4d392966ff1e9d6c7ea132cfeca16d3632aeaa95b88ab54179097f764e9d98c5c06 WHIRLPOOL cb8691fe0fa5d8bb80cf41861a42bfeaddc3e37e99cbeb0e3b5cbfd6e8d7583dbd4bf3668bf703768dd0e4e3e6ab3c17d8b53b8075292890c0a160f47a3ab05c
+EBUILD freevo-1.9.0-r1.ebuild 5958 SHA256 b9a9daea76420b2a26677fc35b1fc84c7b2a6f09be9cd4b5dd80f83c5e6dcd9e SHA512 3f6c0799bd9f4ddb088da726b3aa62a5004761a6f54b2ea3a6c8acb7e0736225dff3f63d4b784ea9ee9c726cbf980d16f4da9d3b04be0b0bea9290f62762ce67 WHIRLPOOL 9a1ee65322614dc65f654011f4567ce443b87e37598074e5f69655ae5124a0d2f2417c7dcc2bb161d5b0a9d30c841872a885d212bd97eeb352005e6c38c420d7
EBUILD freevo-1.9.0.ebuild 5816 SHA256 13875f730854aaabdebf3a4a753c3042528777e3694b4155ea7b7235f2cf1b51 SHA512 fcc5b7fb2dbd0bb540edbbe735a37f0956c0ce216bb94c3cc93eaaf06a3ce9cac43e6689f5fd5477deb96d21b59ebcabc65be96473483f13bef9a888ecb04ada WHIRLPOOL e5fc232ff018f83b18f11afedebedaa2eede524f309ae740f5495c612613dfb925ce0763ff58765eece3a8cb68d1bd80b7994a27983921161c513ca4c476fe12
-MISC ChangeLog 12896 SHA256 1fcda3083ea35c9d8a66b061abf1eb1a00c29e53068058f60606480b6b22c00a SHA512 aa4daaad56462b8e18bcfdeea3079dfd73bdc2813390f67563c08667fd4f1c62087984850bdd75665a1c59cb9f5efcfccccfbc38cd4ad889743468467fb24c5e WHIRLPOOL 9498a3dca72f2922f4589d8ebd557425437876d3314f39001ebb8e413dcfb9674632f166e48f11ca0ee31329ef2e5e57d71a97dc9042a8a942e1b7268b549ecf
+MISC ChangeLog 13031 SHA256 dd492008f038d23cd3a20fa7d20126364512cfe89f5d0ffc2c65eebdee3ffa66 SHA512 4a95a8f006ef82eaae945e4e4d972204d08365be60a3081127d6dc985a68f54cf4eaa04039b1db11c393120e67ef7a42b58650411f156f9044f1466e35e7f498 WHIRLPOOL bac369e73357ca168508b1b3fed89f8d4f467e7223a49711b178636bd0c2dc090065fd22be00cdd803915a2046eafaaec29f9be021cff51e07a5e8f48659b996
MISC metadata.xml 798 SHA256 b7ebe5b40248cb8bd1aad4533cec8430c73a0734a378b679d5a1c5f0fd799674 SHA512 be9be1db80da67a6e6284fd314eaaab92c03335454a663dc8a4664194b52ff06bcced552556e8ac9ce78c05b8dd64100eeb4dc9f7d93b3fec6c2906e4de083c0 WHIRLPOOL 5eb59bf2c9b7014672e83991c6629849a16df97a7a7cad79a949d254b41f5afb808c619c34ce56665af176f0bc8e57edb90e9f80a378405dc5ff15203a070779
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQJ8BAEBCABmBQJTHGgkXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+iQJ8BAEBCABmBQJTIKSoXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzMDlCNDQ4NjEyNDI4NjA5REVEMDI3MzIy
-MjBDRDFDNUJERUVEMDIwAAoJECIM0cW97tAgZdQP/3/ucLbTY95qR9tAz6/zpvIb
-xUqnwyYD8lPKiGBaBrJIRtMx2e1soouBlNP1TIGBbU4Vu46YWbseZtAE4zj/8axP
-bL5pSB7rnH9eGV52Oee+3J+d/rZViKUKzBG3QlFOOLL8bKoDR/Q1FSAyaKuj6iRD
-SZoNDy6zflZZdRyUdIme/dDLMSs9RpXYsL6xCiTI/sFU4Dd0oiDxr29CVhLLb5Vj
-vOgx/VkfSoULO43e3E2Nv6QdO6y/z9BPoB4iilcUUlFKm1oLb9WJLlDUPs2Em7ti
-ZYi2IjgQWymwtwmBD94d4S00K9UQTbXXHc1JW1rjYFroayyuE7NRJPHlfkH5eeVS
-JbknJke83lwCdXl3xBdeImYZ60USehYs6P8QtTbmLZ/GxDLFj85/YNzDD0Ih6tjk
-K2ES/t3XfZ6EpeCKZOUtyp2ciXLaM7olI0op1GDK/Pew9ujM7mhpgI/uEdYKJP9k
-uU2Icc4e2a3m0tyT1T5RifHL9oBl2Qa4ndbjzVe7xqQBv9S9HqGl2p0ixLdlLkya
-l/9GiW5DRLn6EeqC3G3nHoMj4hmckGjtezFHEAzP/pRUEjR4/mgdXULVqQMt8YlS
-74RvMkLI8QTAi8QNHVbbElvtDM5QlulnHQ7cnjNjnO8BYWiJvToXmtKzJu7N72WT
-WlM+Z64YwqRgpv/vYrSk
-=3H72
+MjBDRDFDNUJERUVEMDIwAAoJECIM0cW97tAg9O8QALoYRNaiyYSC+bDxQmzpxLCI
+5PY0F5IDv5q0efVlzA+zaNPCV7aTMIvvG296Z5cpmDLklSHU2XbYV1eqOe0QM5Ra
+hN3GTuB09a85ZBNe7beOzwTPqD5myZB3YVPLr/se6EASYPFl77uq4AsdS6zxiy24
+RDGpY4Mo7ZnLdV0vgYBhg+5QOgRTZ5SCmTuq9GEHZO8OBhNLZRLsrf7asgc+dUXU
+szNwz9UwqBrbZ+DvQ0efZUouHO0OvYnGo5OdqDtTlEyFI4YUjySH87CaaRylBYil
+mAaWG+TmUATxVMitvdEuf9mwM6kQTpzk2RWZwamS4eGjVq9rQ+VdlpTG60S0Og+Y
+f3HHZHClYRFNLo033urQaYHN2ZlwpvpvQLko7lnUQOGShyj5ehSK2AKgz+5R93gQ
+j2E8hbyYrOukynp5SX4Y8WDDtEHvM6qNFY2H4KHYq47kVyunhC1Or4G6+MOMzwRV
+Q8jx0RVHVQ+R3Z5m21R37ZJ6F23NwJ1+7QQl3ioI7Qn7dR+VFtyaF18/QmxXvQxt
+E5bdCP1O/ahgoiwHiDRY6JrPuScgy8i1wwJB7ETfg/qtXLh9jUELW0SIwP3HxyiS
+K+rfYYhSSDG0+thtf1SMfOYyHU5QvfkUoBONUMALkSvbmQ6K4cSC8viUhMzz04mN
+x2o3cqgvP3wJYOKALDe8
+=MjnH
-----END PGP SIGNATURE-----
diff --git a/media-tv/freevo/freevo-1.9.0-r1.ebuild b/media-tv/freevo/freevo-1.9.0-r1.ebuild
new file mode 100644
index 000000000000..c2fbe7950a8e
--- /dev/null
+++ b/media-tv/freevo/freevo-1.9.0-r1.ebuild
@@ -0,0 +1,190 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/freevo/freevo-1.9.0-r1.ebuild,v 1.1 2014/03/12 18:17:09 hasufell Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_6 python2_7 )
+PYTHON_REQ_USE="xml"
+DISTUTILS_SINGLE_IMPL=1
+inherit eutils distutils-r1
+
+DESCRIPTION="Digital video jukebox (PVR, DVR)."
+HOMEPAGE="http://www.freevo.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="directfb cdparanoia doc dvd encode fbcon flac gphoto2 jpeg lame lirc matrox mixer nls tv vorbis xine X"
+
+RDEPEND="dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]
+ virtual/python-imaging[${PYTHON_USEDEP}]
+ dev-python/pygame[${PYTHON_USEDEP}]
+ >=dev-python/twisted-core-2.5[${PYTHON_USEDEP}]
+ >=dev-python/twisted-web-0.6[${PYTHON_USEDEP}]
+ net-zope/zope-interface[${PYTHON_USEDEP}]
+
+ >=dev-python/kaa-base-0.6.0[${PYTHON_USEDEP}]
+ >=dev-python/kaa-metadata-0.7.3[${PYTHON_USEDEP}]
+ >=dev-python/kaa-imlib2-0.2.3[${PYTHON_USEDEP}]
+ dev-python/kaa-display[${PYTHON_USEDEP}]
+
+ media-video/mplayer[directfb?,fbcon?]
+ >=media-libs/libsdl-1.2.5[directfb?,fbcon?]
+ media-libs/sdl-image[jpeg,png]
+ x11-apps/xset
+
+ cdparanoia? ( media-sound/cdparanoia )
+ dvd? (
+ >=media-video/lsdvd-0.10
+ directfb? ( media-libs/xine-lib[directfb] )
+ fbcon? ( media-libs/xine-lib[fbcon] )
+ encode? ( media-video/dvdbackup )
+ )
+ flac? ( media-libs/flac )
+ gphoto2? ( media-libs/libgphoto2 )
+ jpeg? ( virtual/jpeg )
+ lame? ( media-sound/lame )
+ lirc? ( app-misc/lirc >=dev-python/pylirc-0.0.3 )
+ matrox? ( >=media-video/matroxset-0.3 )
+ mixer? ( media-sound/aumix )
+ tv? ( media-tv/xmltv )
+ xine? ( media-video/xine-ui )
+ vorbis? ( media-sound/vorbis-tools )"
+
+PATCHES=( "${FILESDIR}"/${P}-PIL.patch )
+
+pkg_setup() {
+ if ! { use X || use directfb || use fbcon || use matrox ; } ; then
+ echo
+ ewarn "WARNING - no video support specified in USE flags."
+ ewarn "Please be sure that media-libs/libsdl supports whatever video"
+ ewarn "support (X11, fbcon, directfb, etc) you plan on using."
+ echo
+ fi
+
+ python-single-r1_pkg_setup
+}
+
+src_install() {
+ distutils-r1_src_install
+
+ insinto /etc/freevo
+ newins local_conf.py.example local_conf.py
+
+ if [[ "${PROFILE_ARCH}" == "xbox" ]]; then
+ sed -i \
+ -e "s/# MPLAYER_AO_DEV.*/MPLAYER_AO_DEV='alsa1x'/" \
+ "${D}"/etc/freevo/local_conf.py || die
+ newins "${FILESDIR}"/xbox-lircrc lircrc
+ fi
+
+ if use X; then
+ echo "#!/bin/bash" > freevo
+ echo "/usr/bin/freevoboot startx" >> freevo
+ exeinto /etc/X11/Sessions/
+ doexe freevo
+
+ #insinto /etc/X11/dm/Sessions
+ #doins "${FILESDIR}/freevo.desktop"
+
+ insinto /usr/share/xsessions
+ doins "${FILESDIR}/freevo.desktop"
+ fi
+
+ exeinto /usr/bin
+ newexe "${FILESDIR}"/${PN}-1.8.2.boot freevoboot
+ newconfd "${FILESDIR}/freevo.conf" freevo
+
+ rm -rf "${D}/usr/share/doc"
+
+ dodoc ChangeLog FAQ RELEASE_NOTES README TODO \
+ Docs/{CREDITS,NOTES,*.txt,plugins/*.txt}
+ use doc &&
+ cp -r Docs/{installation,html,plugin_writing} "${D}/usr/share/doc/${PF}"
+
+ use nls || rm -rf "${D}"/usr/share/locale
+
+ # Create a default freevo setup
+ cd "${S}/src"
+ if [ "${PROFILE_ARCH}" == "xbox" ]; then
+ myconf="${myconf} --geometry=640x480 --display=x11"
+ elif use matrox && use directfb; then
+ myconf="${myconf} --geometry=768x576 --display=dfbmga"
+ elif use matrox ; then
+ myconf="${myconf} --geometry=768x576 --display=mga"
+ elif use directfb; then
+ myconf="${myconf} --geometry=768x576 --display=directfb"
+ elif use X ; then
+ myconf="${myconf} --geometry=800x600 --display=x11"
+ else
+ myconf="${myconf} --geometry=800x600 --display=fbdev"
+ fi
+ sed -i \
+ "s:/etc/freevo/freevo.conf:${D}/etc/freevo/freevo.conf:g" \
+ setup_freevo.py || die "Could not fix setup_freevo.py"
+ "${EPYTHON}" setup_freevo.py ${myconf} || die "Could not create new freevo.conf"
+}
+
+pkg_postinst() {
+ echo
+ einfo "Please check /etc/freevo/freevo.conf and"
+ einfo "/etc/freevo/local_conf.py before starting Freevo."
+ einfo "To rebuild freevo.conf with different parameters,"
+ einfo "please run:"
+ einfo " # freevo setup"
+
+ ewarn "To update from existing installations, please run"
+ ewarn " # freevo convert_config /etc/freevo/local_conf.py -w"
+ ewarn "If you are using the recordserver, be sure to"
+ ewarn "read the RELEASE_NOTES in /usr/share/doc/${P}"
+
+ echo
+ einfo "To build a freevo-only system, please use the freevoboot"
+ einfo "wrapper to be run it as a user. It can be configured in /etc/conf.d/freevo"
+
+ if use X ; then
+ echo
+ ewarn "If you're using a Freevo-only system with X, you'll need"
+ ewarn "to setup the autologin (as user) and choose freevo as"
+ ewarn "default session. If you need to run recordserver/webserver"
+ ewarn "at boot, please use /etc/conf.d/freevo"
+ echo
+ ewarn "Should you decide to personalize your freevo.desktop"
+ ewarn "session, keep the definition for '/usr/bin/freevoboot startx'"
+ else
+ echo
+ ewarn "If you want Freevo to start automatically,you'll need"
+ ewarn "to follow instructions at :"
+ ewarn "http://doc.freevo.org/BootFreevo"
+ echo
+ ewarn "*NOTE: you can use mingetty or provide a login"
+ ewarn "program for getty to autologin as a user with limited privileges."
+ ewarn "A tutorial for getty is at:"
+ ewarn "http://ubuntuforums.org/showthread.php?t=152274"
+ fi
+
+ if [ -e "${ROOT}/etc/init.d/freevo" ] ; then
+ echo
+ ewarn "Please remove /etc/init.d/freevo as it is a security"
+ ewarn "threat. To set autostart read above."
+ fi
+
+ if [ -e "${ROOT}/opt/freevo" ] ; then
+ echo
+ ewarn "Please remove ${ROOT}/opt/freevo because it is no longer used."
+ fi
+ if [ -e "${ROOT}/etc/freevo/freevo_config.py" ] ; then
+ echo
+ ewarn "Please remove ${ROOT}/etc/freevo/freevo_config.py."
+ fi
+ if [ -e "${ROOT}/etc/init.d/freevo-record" ] ; then
+ echo
+ ewarn "Please remove ${ROOT}/etc/init.d/freevo-record"
+ fi
+ if [ -e "${ROOT}/etc/init.d/freevo-web" ] ; then
+ echo
+ ewarn "Please remove ${ROOT}/etc/init.d/freevo-web"
+ fi
+}