summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Freeman <rich0@gentoo.org>2012-01-07 03:41:12 +0000
committerRichard Freeman <rich0@gentoo.org>2012-01-07 03:41:12 +0000
commit254110a5a153986c028e88b288313f1e857d9f2b (patch)
tree7a5c663a44fb7bf2bfb5c5c16f0eb8441b456f3a /media-plugins
parentUpdate gupnp-igd and add blocks for the older versions (diff)
downloadhistorical-254110a5a153986c028e88b288313f1e857d9f2b.tar.gz
historical-254110a5a153986c028e88b288313f1e857d9f2b.tar.bz2
historical-254110a5a153986c028e88b288313f1e857d9f2b.zip
bump - 346915
Package-Manager: portage-2.1.10.41/cvs/Linux x86_64
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/mythvideo/ChangeLog10
-rw-r--r--media-plugins/mythvideo/Manifest14
-rw-r--r--media-plugins/mythvideo/mythvideo-0.24.1_p20110524.ebuild193
3 files changed, 214 insertions, 3 deletions
diff --git a/media-plugins/mythvideo/ChangeLog b/media-plugins/mythvideo/ChangeLog
index 4a7d66b711a2..7f7da68faf9c 100644
--- a/media-plugins/mythvideo/ChangeLog
+++ b/media-plugins/mythvideo/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-plugins/mythvideo
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythvideo/ChangeLog,v 1.97 2011/07/28 21:13:02 cardoe Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythvideo/ChangeLog,v 1.98 2012/01/07 03:41:12 rich0 Exp $
+
+*mythvideo-0.24.1_p20110524 (07 Jan 2012)
+
+ 07 Jan 2012; Richard Freeman <rich0@gentoo.org>
+ +mythvideo-0.24.1_p20110524.ebuild:
+ bump - 346915
28 Jul 2011; Doug Goldstein <cardoe@gentoo.org>
-mythvideo-0.22_p22991.ebuild, -mythvideo-0.22_p23469.ebuild,
diff --git a/media-plugins/mythvideo/Manifest b/media-plugins/mythvideo/Manifest
index ea23f2d4696c..2afdf2bd55c6 100644
--- a/media-plugins/mythvideo/Manifest
+++ b/media-plugins/mythvideo/Manifest
@@ -1,8 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX mtd.init.d 654 RMD160 9ce507cc9a854134a3b1d75ba44efe90c8ab41d1 SHA1 a214f1d5ad9101b004304af3341ebc308bfc4f66 SHA256 00101811522323f5f372e08ff80b863d893e2fdc045187ccd1b8a21aab69dd25
AUX mythvideo.daily 269 RMD160 13431220b3cc91961d78266bf1251b48efba4657 SHA1 4a570ce4a9da838a156f57a05c1fb17a52e2a612 SHA256 42f4b3db5eedd93b820fd42180d1f061d6a2dbf11f477eed3a3519d5383caaa4
AUX mythvideo.hourly 346 RMD160 74a515538284f3fc3771e408ac232899190b3db1 SHA1 60489a161e214c805aac8eb23f19203766f859f7 SHA256 9df78982657ce87bf98400831b4c6501585c72615bcaee203e932341fc8626f9
AUX mythvideo.weekly 274 RMD160 a0797f10290341c7c5f2b2958882f67d1bdad84c SHA1 2b474efd248f46582ca41f2039aa4617cfe2b19d SHA256 e086ccaf37f3c53bc782502c969d89ac4961441b0e5d8aa0cf10f8ef24757520
DIST mythplugins-0.23.1_p26407.zip 38053004 RMD160 00a4d9cfcb535aeb7ae47dfc5dba7c0cb947d075 SHA1 e86ad436be0ce079078986316f75ab8ba08cf2aa SHA256 4ef57c62fd4d8db729511c04539462d4678d40bc22dea706da1a78598fb87edc
+DIST mythtv-0.24.1_p20110524.tar.gz 69756131 RMD160 e42fd2350d2b0199805e4f6e62646c8d835f353b SHA1 db7a91f237cd64c0604e7ee1672b041c37fe5e06 SHA256 ea3e37258f8596c9186865289ffd8f9ece9fc80d28a2ded80bd008544138a863
EBUILD mythvideo-0.23.1_p26407.ebuild 1726 RMD160 44361ed330ac4d3a199070b89faff406b48fd822 SHA1 da47630f24458e44cafd75e4673379fc81650fe3 SHA256 ab97a6de309ad2544f13a83b5fd20a9d2715ba99e152eb6e2da84fb710807ec9
-MISC ChangeLog 17170 RMD160 2964655534e32636d56ab4d143c83b8d22790fc7 SHA1 8bcb0fb9ab819b05d3c2f6d778abc36ff902ee55 SHA256 0a7e04cf1999db0e1fa8004d2cc35017d4f3b941535102726ade48cde4ebec0b
+EBUILD mythvideo-0.24.1_p20110524.ebuild 5055 RMD160 f920343255c3364cf665b9476cf90c32563d8a5e SHA1 8b31c9105e49779afcfc50d2d031730d29a13c0a SHA256 fb7c55adc7acd15c0de58e1a874fb2be109071a8c1d6cb60417d04142c64ddcf
+MISC ChangeLog 17317 RMD160 4a110d9a56513d6bd9fefb308a6675828d4a0716 SHA1 a72c09da4d07c9ed053f0635b424047300b80edb SHA256 1742523f6fa8d112e8857f90db09338791fa1240dfacd7e1006fc08e7bd5334a
MISC metadata.xml 373 RMD160 05acea7e4c69fbd58eafb28f10a497296823999c SHA1 aab6a890c56de74837892c73ec18ca602417962d SHA256 f7a69a86f3b5e27b762f5e0b7ece83be23742ee35626509271f618066ea389de
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk8HvucACgkQCMFw3lXsEjqhsQD+NijzPI4L1PEnWyiSk6GurMgX
+0cw+Z27Spbyq2xxwKVoBAL0RuyyUJUStKKMFm0arpyZ9TkFG3cHa/2CpfEPsnS1z
+=xgVW
+-----END PGP SIGNATURE-----
diff --git a/media-plugins/mythvideo/mythvideo-0.24.1_p20110524.ebuild b/media-plugins/mythvideo/mythvideo-0.24.1_p20110524.ebuild
new file mode 100644
index 000000000000..564fe2ecd120
--- /dev/null
+++ b/media-plugins/mythvideo/mythvideo-0.24.1_p20110524.ebuild
@@ -0,0 +1,193 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythvideo/mythvideo-0.24.1_p20110524.ebuild,v 1.1 2012/01/07 03:41:12 rich0 Exp $
+
+EAPI="2"
+
+MYTHTV_VERSION="v0.24.1-1-g347cd24"
+MYTHTV_BRANCH="fixes/0.24"
+MYTHTV_REV="347cd2477ad82a7aa75ebe7c686db77465f415dc"
+MYTHTV_SREV="347cd24"
+
+inherit eutils mythtv multilib versionator
+
+DESCRIPTION="Video player module for MythTV."
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="media-tv/mythtv[python]
+ jamu? ( >=dev-python/imdbpy-3.8
+ dev-python/imaging
+ dev-python/pyxml
+ >=dev-python/mysql-python-1.2.2
+ media-tv/mythtv[python] )
+ virtual/eject"
+
+# Extra configure options to pass to econf
+MTVCONF=${MTVCONF:=""}
+
+SLOT="0"
+IUSE="jamu profile debug"
+
+ if [[ -z $MYTHTV_NODEPS ]]
+ then
+ RDEPEND="${RDEPEND}
+ =media-tv/mythtv-${MY_PV}*"
+ DEPEND="${DEPEND}
+ =media-tv/mythtv-${MY_PV}*
+ >=sys-apps/sed-4"
+ fi
+
+ if use debug
+ then
+ myconf="${myconf} --compile-type=debug"
+ RESTRICT="strip"
+ elif use profile
+ then
+ myconf="${myconf} --compile-type=profile"
+ else
+ myconf="${myconf} --compile-type=release"
+# myconf="${myconf} --enable-proc-opt"
+ fi
+
+# Release version
+MY_PV="${PV%_*}"
+
+# what product do we want
+case "${PN}" in
+ mythtv)
+ REPO="mythtv"
+ MY_PN="mythtv"
+ S="${WORKDIR}/MythTV-${REPO}-${MYTHTV_SREV}/${MY_PN}"
+ ;;
+ mythtv-bindings)
+ REPO="mythtv"
+ MY_PN="mythtv"
+ S="${WORKDIR}/MythTV-${REPO}-${MYTHTV_SREV}/${MY_PN}"
+ ;;
+ mythweb)
+ REPO="mythweb"
+ MY_PN="mythweb"
+ S="${WORKDIR}/MythTV-${REPO}-${MYTHTV_SREV}/"
+ ;;
+ nuvexport)
+ REPO="nuvexport"
+ MY_PN="nuvexport"
+ MYTHTV_REV="$NUVEXPORT_REV"
+ S="${WORKDIR}/MythTV-${REPO}-${NUVEXPORT_SREV}/"
+ ;;
+ *)
+ REPO="mythtv"
+ MY_PN="mythplugins"
+ S="${WORKDIR}/MythTV-${REPO}-${MYTHTV_SREV}/${MY_PN}"
+ ;;
+esac
+
+# _pre is from SVN trunk while _p and _beta are from SVN ${MY_PV}-fixes
+# TODO: probably ought to do something smart if the regex doesn't match anything
+[[ "${PV}" =~ (_alpha|_beta|_pre|_rc|_p)([0-9]+) ]] || {
+ # assume a tagged release
+ MYTHTV_REV="v${PV}"
+}
+
+HOMEPAGE="http://www.mythtv.org"
+LICENSE="GPL-2"
+SRC_URI="https://github.com/MythTV/${REPO}/tarball/${MYTHTV_REV} -> ${REPO}-${PV}.tar.gz"
+
+pkg_setup() {
+# List of available plugins (needs to include ALL of them in the tarball)
+ MYTHPLUGINS=""
+ MYTHPLUGINS="${MYTHPLUGINS} mytharchive"
+ MYTHPLUGINS="${MYTHPLUGINS} mythbrowser"
+ MYTHPLUGINS="${MYTHPLUGINS} mythgallery"
+ MYTHPLUGINS="${MYTHPLUGINS} mythgame"
+ MYTHPLUGINS="${MYTHPLUGINS} mythmusic"
+ MYTHPLUGINS="${MYTHPLUGINS} mythnetvision"
+ MYTHPLUGINS="${MYTHPLUGINS} mythnews"
+ if [[ ${MY_PV} == "0.24.1" ]]; then
+ MYTHPLUGINS="${MYTHPLUGINS} mythvideo"
+ fi
+ MYTHPLUGINS="${MYTHPLUGINS} mythweather"
+ MYTHPLUGINS="${MYTHPLUGINS} mythzoneminder"
+}
+
+src_prepare() {
+ sed -e 's!PREFIX = /usr/local!PREFIX = /usr!' \
+ -i 'settings.pro' || die "fixing PREFIX to /usr failed"
+
+ sed -e "s!QMAKE_CXXFLAGS_RELEASE = -O3 -march=pentiumpro -fomit-frame-pointer!QMAKE_CXXFLAGS_RELEASE = ${CXXFLAGS}!" \
+ -i 'settings.pro' || die "Fixing QMake's CXXFLAGS failed"
+
+ sed -e "s!QMAKE_CFLAGS_RELEASE = \$\${QMAKE_CXXFLAGS_RELEASE}!QMAKE_CFLAGS_RELEASE = ${CFLAGS}!" \
+ -i 'settings.pro' || die "Fixing Qmake's CFLAGS failed"
+
+ find "${S}" -name '*.pro' -exec sed -i \
+ -e "s:\$\${PREFIX}/lib/:\$\${PREFIX}/$(get_libdir)/:g" \
+ -e "s:\$\${PREFIX}/lib$:\$\${PREFIX}/$(get_libdir):g" \
+ {} \;
+}
+
+src_configure() {
+ if has ${PN} ${MYTHPLUGINS} ; then
+ for x in ${MYTHPLUGINS} ; do
+ if [[ ${PN} == ${x} ]] ; then
+ myconf="${myconf} --enable-${x}"
+ else
+ myconf="${myconf} --disable-${x}"
+ fi
+ done
+ else
+ die "Package ${PN} is unsupported"
+ fi
+
+ chmod +x configure
+ econf ${myconf} ${MTVCONF}
+}
+
+src_compile() {
+ qmake mythplugins.pro || die "eqmake4 failed"
+ emake || die "make failed to compile"
+}
+
+src_install() {
+ for file in `find "${S}" -type f -name *.py`
+ do
+ fperms 755 "$file"
+ done
+
+ # setup JAMU cron jobs
+ if use jamu; then
+ exeinto /etc/cron.daily
+ newexe "${FILESDIR}/mythvideo.daily" mythvideo || die
+ exeinto /etc/cron.hourly
+ newexe "${FILESDIR}/mythvideo.hourly" mythvideo || die
+ exeinto /etc/cron.weekly
+ newexe "${FILESDIR}/mythvideo.weekly" mythvideo || die
+ insinto /home/mythtv/.mythtv/
+ newins mythvideo/scripts/jamu-example.conf jamu.conf || die
+ fi
+
+ if has ${PN} ${MYTHPLUGINS}
+ then
+ cd "${S}"/${PN}
+ else
+ die "Package ${PN} is unsupported"
+ fi
+
+ einstall INSTALL_ROOT="${D}"
+ for doc in AUTHORS COPYING FAQ UPGRADING ChangeLog README
+ do
+ test -e "${doc}" && dodoc ${doc}
+ done
+}
+
+pkg_postinst() {
+ elog "MythVideo can use any media player to playback files, since"
+ elog "it's a setting in the setup menu."
+ elog
+ elog "MythTV also has an 'Internal' player you can use, which will"
+ elog "be the default for new installs. If you want to use it,"
+ elog "set the player to 'Internal' (note spelling & caps)."
+ elog
+ elog "Otherwise, you can install mplayer, xine or any other video"
+ elog "player and use that instead by configuring the player to use."
+}