summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2009-11-21 05:28:37 +0000
committerDoug Goldstein <cardoe@gentoo.org>2009-11-21 05:28:37 +0000
commit56014375284086e9eb200ab79ed0b6b395d52636 (patch)
tree60f4c9f820b85ccc6f68330bd48fd0933f59a20b /media-plugins
parentadd initial version to the tree. bug #109719 (diff)
downloadhistorical-56014375284086e9eb200ab79ed0b6b395d52636.tar.gz
historical-56014375284086e9eb200ab79ed0b6b395d52636.tar.bz2
historical-56014375284086e9eb200ab79ed0b6b395d52636.zip
update upstream JAMU version. Improve JAMU support by installing depends (which are now in the tree) and optionally installing default cronjobs to do the right things with JAMU
Package-Manager: portage-2.1.7.5/cvs/Linux x86_64
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/mythvideo/ChangeLog11
-rw-r--r--media-plugins/mythvideo/Manifest17
-rw-r--r--media-plugins/mythvideo/files/mtd.init.d3
-rw-r--r--media-plugins/mythvideo/files/mythvideo.daily7
-rw-r--r--media-plugins/mythvideo/files/mythvideo.hourly7
-rw-r--r--media-plugins/mythvideo/files/mythvideo.weekly6
-rw-r--r--media-plugins/mythvideo/metadata.xml4
-rw-r--r--media-plugins/mythvideo/mythvideo-0.22_p22864.ebuild49
8 files changed, 97 insertions, 7 deletions
diff --git a/media-plugins/mythvideo/ChangeLog b/media-plugins/mythvideo/ChangeLog
index 8815d8173d35..7aa051eff449 100644
--- a/media-plugins/mythvideo/ChangeLog
+++ b/media-plugins/mythvideo/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for media-plugins/mythvideo
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythvideo/ChangeLog,v 1.81 2009/11/18 00:22:47 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythvideo/ChangeLog,v 1.82 2009/11/21 05:28:37 cardoe Exp $
+
+*mythvideo-0.22_p22864 (21 Nov 2009)
+
+ 21 Nov 2009; Doug Goldstein <cardoe@gentoo.org>
+ +mythvideo-0.22_p22864.ebuild, files/mtd.init.d, +files/mythvideo.daily,
+ +files/mythvideo.hourly, +files/mythvideo.weekly, metadata.xml:
+ update upstream JAMU version. Improve JAMU support by installing depends
+ (which are now in the tree) and optionally installing default cronjobs to
+ do the right things with JAMU
18 Nov 2009; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
replace media-tv herd for MythTV
diff --git a/media-plugins/mythvideo/Manifest b/media-plugins/mythvideo/Manifest
index d0fe4651efe1..32cfb0253810 100644
--- a/media-plugins/mythvideo/Manifest
+++ b/media-plugins/mythvideo/Manifest
@@ -1,18 +1,23 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX mtd.init.d 577 RMD160 6e59a47874ece47bdac7b9dc7e0f2e1f03348429 SHA1 ed7b161ba64453946a6ccbbb05ee206cc52b006c SHA256 a4c958b689b99177baf486907f0d83b2d8ff8b72cd371fc29d1ff1f3636a512e
+AUX mtd.init.d 654 RMD160 9ce507cc9a854134a3b1d75ba44efe90c8ab41d1 SHA1 a214f1d5ad9101b004304af3341ebc308bfc4f66 SHA256 00101811522323f5f372e08ff80b863d893e2fdc045187ccd1b8a21aab69dd25
AUX mythvideo-0.19-gcc41.patch 983 RMD160 3cba67719e65bdc5171f7d10d9b5e4ee81d619b2 SHA1 ceaac0b0fa4df7b98599032e0b91c77000105caa SHA256 1d9c5d25d9595fb6f3b6f81bdfa9bd8f1c8655b9955c69a7e9e6c2c498f99de8
+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.21_p20563.zip 20915899 RMD160 98779d0ce6cc86011bc16ef4ccb53a57e0595630 SHA1 2cd3a69aae7b774b31601b67dd21cd5948845297 SHA256 3483335becbb2d3eb03c9dd730951533fef30f3e9d196bdb8e705e83f2945456
DIST mythplugins-0.22_p22821.zip 21787015 RMD160 2d845823cdcb2b85ac83247b24c6151c26408cc3 SHA1 f52cccecefa7e435675b092c9121873c5019cf0d SHA256 a434e9bd20adc55df5dfacd5621bf38fbe29882e82dc8b1199919d75068329bb
+DIST mythplugins-0.22_p22864.zip 21788353 RMD160 3a6351e6985e68db7d0007b395ec3a73d8c907d4 SHA1 a3e31fa3cd1d87f26b2e99f0e0f498d81eca9b3c SHA256 145b9184b4040be1d5e756747747671606f57f33c757e292542ed542a21c9d29
EBUILD mythvideo-0.21_p20563.ebuild 1027 RMD160 43e90570ae2908fac712973c10b02183c721da69 SHA1 145bb5baa625d7866725753077ff8c97d31a6b4e SHA256 16a82ca28a7678087f4b2ab5270510590c5e5fe64f4fce34e450894102e3e908
EBUILD mythvideo-0.22_p22821.ebuild 1101 RMD160 fd0baae162e883430a985612bf29babd6dd3a1db SHA1 77d6ca8e843390f35b756d68c7c75d7c19ab6beb SHA256 80b55353f296953311d8a3c88d24542b6b61a400e6c544c47c3cb9db45fe5e12
-MISC ChangeLog 13843 RMD160 c34f472eec0ee410fec3134ae6322a51ef9fd5a0 SHA1 de25152cd6c9cc717b70fd74f1ae110400c43413 SHA256 0f51bee56ac71287989286043fa3ca396f8d16988df22f3adc768345df8458bb
-MISC metadata.xml 269 RMD160 33e64a5afa2c6e71c9950596ff6e8638b3de9cdf SHA1 f50da859ff1f88373ac693d6f5142b3d186d73bc SHA256 6bbb451e1977103f3dbe853a436dadfdb6cedbc6a9c3638210931f0a62bdc02b
+EBUILD mythvideo-0.22_p22864.ebuild 1402 RMD160 439b82cf2a72d73412a2710a4acf5a9fa119002c SHA1 d6858ba0effb4fa68b356b5c4e11cb2f7c10e805 SHA256 ea2291e6678633663a096f0d7c2f61c764ae3652dc199aa3e5fd02f2cd64e16e
+MISC ChangeLog 14256 RMD160 c34c0e35f3230b5ddaf2344223be28958c1fbc66 SHA1 d1cb58d8cac69ec5cc90c2e411955d7ddf9647cf SHA256 61eb872601dfa05e84b8d19561cacc94544a2e509b228a99e2208fee19a7c123
+MISC metadata.xml 373 RMD160 05acea7e4c69fbd58eafb28f10a497296823999c SHA1 aab6a890c56de74837892c73ec18ca602417962d SHA256 f7a69a86f3b5e27b762f5e0b7ece83be23742ee35626509271f618066ea389de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (GNU/Linux)
-iEYEARECAAYFAksDPlwACgkQoeSe8B0zEfwG4gCfdEiBXzN4qAbZ2xXiU9DO4z5P
-cw0AnigSzn7QeD07UtQvTVXW7+vwrHMa
-=lbrO
+iEYEARECAAYFAksHeowACgkQoeSe8B0zEfwbXgCZAaGzVVOnODFdOwYdSEhqhQ11
+F00An0a6Lpqj3mhuNjhCpPm56zKsKB13
+=Dw/N
-----END PGP SIGNATURE-----
diff --git a/media-plugins/mythvideo/files/mtd.init.d b/media-plugins/mythvideo/files/mtd.init.d
index ada7cadb94ef..65a4d9c4eeb5 100644
--- a/media-plugins/mythvideo/files/mtd.init.d
+++ b/media-plugins/mythvideo/files/mtd.init.d
@@ -9,6 +9,9 @@ depend() {
start() {
+ # necessary so it can read the correct mysql.txt
+ export HOME=/etc/mythtv/
+
ebegin "Starting MythTV Transcoding Daemon"
start-stop-daemon --start --quiet \
--exec /usr/bin/mtd \
diff --git a/media-plugins/mythvideo/files/mythvideo.daily b/media-plugins/mythvideo/files/mythvideo.daily
new file mode 100644
index 000000000000..865cc7228769
--- /dev/null
+++ b/media-plugins/mythvideo/files/mythvideo.daily
@@ -0,0 +1,7 @@
+#!/bin/sh
+#Daily maintenance mode for Jamu
+DIRECTORY=$(grep ^mythtv /etc/passwd | awk -F : '{print $6}')
+if [ -f "$DIRECTORY/.mythtv/config.xml" ]; then
+ su mythtv -c "/usr/bin/python /usr/share/mythtv/mythvideo/scripts/jamu.py -M >> '/var/log/mythtv/jamu.log'"
+fi
+
diff --git a/media-plugins/mythvideo/files/mythvideo.hourly b/media-plugins/mythvideo/files/mythvideo.hourly
new file mode 100644
index 000000000000..ecb035d6b7a8
--- /dev/null
+++ b/media-plugins/mythvideo/files/mythvideo.hourly
@@ -0,0 +1,7 @@
+#!/bin/sh
+#Hourly massive update to ensure users see graphics coming in for upcoming recordings and current recordings
+DIRECTORY=$(grep ^mythtv /etc/passwd | awk -F : '{print $6}')
+if [ -f "$DIRECTORY/.mythtv/config.xml" ]; then
+ su mythtv -c "/usr/bin/python /usr/share/mythtv/mythvideo/scripts/jamu.py -MW >> '/var/log/mythtv/jamu.log'"
+fi
+
diff --git a/media-plugins/mythvideo/files/mythvideo.weekly b/media-plugins/mythvideo/files/mythvideo.weekly
new file mode 100644
index 000000000000..9a27d1bbd9b0
--- /dev/null
+++ b/media-plugins/mythvideo/files/mythvideo.weekly
@@ -0,0 +1,6 @@
+#!/bin/sh
+#Janitor mode to clean up stale stuff
+DIRECTORY=$(grep ^mythtv /etc/passwd | awk -F : '{print $6}')
+if [ -f "$DIRECTORY/.mythtv/config.xml" ]; then
+ su mythtv -c "/usr/bin/python /usr/share/mythtv/mythvideo/scripts/jamu.py -MJ >> '/var/log/mythtv/jamu.log'"
+fi
diff --git a/media-plugins/mythvideo/metadata.xml b/media-plugins/mythvideo/metadata.xml
index 43b06e4af630..4d8b60dc2b76 100644
--- a/media-plugins/mythvideo/metadata.xml
+++ b/media-plugins/mythvideo/metadata.xml
@@ -6,4 +6,8 @@
<email>cardoe@gentoo.org</email>
<description>Do not CC me on bugs</description>
</maintainer>
+<use>
+ <flag name='jamu'>Use and configure the Just Another Metadata Utility by
+ default</flag>
+</use>
</pkgmetadata>
diff --git a/media-plugins/mythvideo/mythvideo-0.22_p22864.ebuild b/media-plugins/mythvideo/mythvideo-0.22_p22864.ebuild
new file mode 100644
index 000000000000..ad7c9855714f
--- /dev/null
+++ b/media-plugins/mythvideo/mythvideo-0.22_p22864.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythvideo/mythvideo-0.22_p22864.ebuild,v 1.1 2009/11/21 05:28:37 cardoe Exp $
+
+EAPI=2
+
+inherit qt4 mythtv-plugins
+
+DESCRIPTION="Video player module for MythTV."
+IUSE="+jamu"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="dev-perl/libwww-perl
+ dev-perl/HTML-Parser
+ dev-perl/URI
+ dev-perl/XML-Simple
+ sys-apps/eject
+ dev-python/imdbpy"
+DEPEND=""
+
+src_install() {
+ mythtv-plugins_src_install
+
+ newinitd "${FILESDIR}"/mtd.init.d mtd
+
+ # correct permissions so MythVideo is actually usable
+ fperms 755 /usr/share/mythtv/mythvideo/scripts/*.pl
+ fperms 755 /usr/share/mythtv/mythvideo/scripts/*.py
+
+ # setup JAMU cron jobs
+ if use jamu; then
+ exeinto /etc/cron.daily
+ newexe "${FILESDIR}/mythvideo.daily" mythvideo
+ exeinto /etc/cron.hourly
+ newexe "${FILESDIR}/mythvideo.hourly" mythvideo
+ exeinto /etc/cron.weekly
+ newexe "${FILESDIR}/mythvideo.weekly" mythvideo
+ fi
+}
+
+pkg_postinst() {
+ elog "MythVideo can use any media player to playback files if you"
+ elog "are *NOT* using Storage Groups. If you are using Storage"
+ elog "Groups, you *MUST* use the Internal player."
+ elog
+ elog "Otherwise, you can install mplayer, xine or any other video"
+ elog "player and use that instead by configuring the player to use."
+ elog "The default is 'Internal'."
+}