4 changes: 4 additions & 0 deletions Gentoo/media-plugins/mythnetvision/Manifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
DIST mythtv-0.24_p20101223.tar.gz 69745925 RMD160 f1f7c767d8e947f2c809da1bef4e6f99f7c5e1c8 SHA1 9b1662bd6bbd9eded951707722e2fdfcb9044735 SHA256 930a0c4438338bd5ef0408fb3423a3fc619ccc987fa2a7a206241f337b4e810d
DIST mythtv-0.24_p20110101.tar.gz 69750664 RMD160 0007e567a77d4905f75b87c2c83f3d0f7b287ce2 SHA1 bce1feed7aad6db40ecb6be538c6fcc61115cb3e SHA256 909d332de0307b37306cb2dc4fd5d32346d24ea890e1113016b7c1cc365af2fb
DIST mythtv-0.25_pre20101223.tar.gz 69752514 RMD160 0863a73f7a445030ca7507c11d4c3ba717bfa6a5 SHA1 ccbb751574cdad4d4c0b17e4f8f33a502322c296 SHA256 9f6ad263ab0da0ce85a98d017002db80d25dfbb5d648f355d82c163a69cad1ea
DIST mythtv-0.25_pre20101226.tar.gz 69756924 RMD160 48c4ee5a90d859986985b2f0a8a9fb405a175152 SHA1 87847e5d052dee6ffbb30716a1529651ab4a1374 SHA256 96116b474eb7c55786a8e53da706e4d5fcc59f50fcea322dad0a57773e4700f0
DIST mythtv-0.25_pre20110101.tar.gz 69763422 RMD160 2c2610b93b9427fbef67b14ebce14769c838f865 SHA1 5281da9cd6aabc0df0f8c5bbdc76125575948e50 SHA256 b117bb74652ddc530cf0371acc3a0e962fd56bdcab7010a0b89046010c30a2cb
EBUILD mythnetvision-0.24_p20101223.ebuild 769 RMD160 4cb8d52b3c64d099f07ebbf294a4086a728828f3 SHA1 717e6c6b6104d09a84b58fc63cec562315674e5c SHA256 922e1e83ef0d0336f8c0a037762fb8465fc74d57045dd6f2f4ff1b00306023dc
EBUILD mythnetvision-0.24_p20110101.ebuild 769 RMD160 1ffcab8f24c544a728ab627e745cbc2a03201c57 SHA1 55926569d247b8ad800581c8239e0efddcc4e019 SHA256 4b6d377c4dd448bcbbcb4c30f211a65055088444f82c5e56877a3427716a3c0d
EBUILD mythnetvision-0.25_pre20101223.ebuild 768 RMD160 57814cc3b954f42a5aa4acb6350b856e7ed8737f SHA1 051bedd2c161462286a4d6c4fae52f7ec04ab2a0 SHA256 9c2124e0e49020d556c2816251ef35bc951c27f7fb0305febe91ae4a3f668aae
EBUILD mythnetvision-0.25_pre20101226.ebuild 768 RMD160 524dcf8e114f1a5761c039773f95f9267370f4fa SHA1 3a0b1e91492c0f5466040ed1997358cee5d0b7e9 SHA256 4c43a99907abad37f8a8ad3155ffeea215deb3272920bfdcd1b58de85ea10d8e
EBUILD mythnetvision-0.25_pre20110101.ebuild 771 RMD160 f548d61240f3636f4f19d262ec67cfa24a8b0e69 SHA1 0d92266d9ecb49538118dc7db8873d259f7d41c5 SHA256 20f617c0b6809a9edabae27713c9930fc702a0120dc9d5c2c400930142c896ee
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythvideo/mythvideo-0.21_p17595.ebuild,v 1.1 2008/08/01 16:35:22 cardoe Exp $

EAPI="2"

MYTHTV_VERSION="v0.24-96-gf5e6f3d"
MYTHTV_BRANCH="fixes/0.24"
MYTHTV_REV="f5e6f3df7873b9aeaca42e5cfee0a5c50431ac10"
MYTHTV_SREV="f5e6f3d"

inherit mythtv-plugins eutils

DESCRIPTION="Video player module for MythTV."
IUSE=""
KEYWORDS="amd64 x86 ~ppc"

RDEPEND="media-tv/mythtv[python]
dev-python/mysql-python
dev-python/pycurl
dev-python/oauth
dev-python/lxml
"
DEPEND=""

src_prepare() {
if use experimental
then
true;
fi
}

src_install() {
mythtv-plugins_src_install
}

pkg_postinst() {
true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythvideo/mythvideo-0.21_p17595.ebuild,v 1.1 2008/08/01 16:35:22 cardoe Exp $

EAPI="2"

MYTHTV_VERSION="v0.25pre-672-gaaf8cd6"
MYTHTV_BRANCH="master"
MYTHTV_REV="aaf8cd6bac28c5a2f39793e1c8c1d7cd76e638a7"
MYTHTV_SREV="aaf8cd6"

inherit mythtv-plugins eutils

DESCRIPTION="Video player module for MythTV."
IUSE=""
KEYWORDS="~amd64 ~x86 ~ppc"

RDEPEND="media-tv/mythtv[python]
dev-python/mysql-python
dev-python/pycurl
dev-python/oauth
dev-python/lxml
"
DEPEND=""

src_prepare() {
if use experimental
then
true;
fi
}

src_install() {
mythtv-plugins_src_install
}

pkg_postinst() {
true
}
4 changes: 4 additions & 0 deletions Gentoo/media-plugins/mythnews/Manifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
DIST mythtv-0.24_p20101223.tar.gz 69745925 RMD160 f1f7c767d8e947f2c809da1bef4e6f99f7c5e1c8 SHA1 9b1662bd6bbd9eded951707722e2fdfcb9044735 SHA256 930a0c4438338bd5ef0408fb3423a3fc619ccc987fa2a7a206241f337b4e810d
DIST mythtv-0.24_p20110101.tar.gz 69750664 RMD160 0007e567a77d4905f75b87c2c83f3d0f7b287ce2 SHA1 bce1feed7aad6db40ecb6be538c6fcc61115cb3e SHA256 909d332de0307b37306cb2dc4fd5d32346d24ea890e1113016b7c1cc365af2fb
DIST mythtv-0.25_pre20101223.tar.gz 69752514 RMD160 0863a73f7a445030ca7507c11d4c3ba717bfa6a5 SHA1 ccbb751574cdad4d4c0b17e4f8f33a502322c296 SHA256 9f6ad263ab0da0ce85a98d017002db80d25dfbb5d648f355d82c163a69cad1ea
DIST mythtv-0.25_pre20101226.tar.gz 69756924 RMD160 48c4ee5a90d859986985b2f0a8a9fb405a175152 SHA1 87847e5d052dee6ffbb30716a1529651ab4a1374 SHA256 96116b474eb7c55786a8e53da706e4d5fcc59f50fcea322dad0a57773e4700f0
DIST mythtv-0.25_pre20110101.tar.gz 69763422 RMD160 2c2610b93b9427fbef67b14ebce14769c838f865 SHA1 5281da9cd6aabc0df0f8c5bbdc76125575948e50 SHA256 b117bb74652ddc530cf0371acc3a0e962fd56bdcab7010a0b89046010c30a2cb
EBUILD mythnews-0.24_p20101223.ebuild 545 RMD160 f05da25f96d50c0145c4ab84c34a7c2aa70be3ee SHA1 f85bbae11b0c2eaa40c806471a89e0d9f473fe6b SHA256 549a5cdd9d35f468e1d40b07786188f9e7f92557d5f09797bd339fea4fa55503
EBUILD mythnews-0.24_p20110101.ebuild 545 RMD160 01df053360c51a81436e0e7174ddbbd5f17f82e9 SHA1 9dd9ec86e01f178fd376d41e2dacf6cda58757a1 SHA256 7bd3b4ff603220dcc5ad758eee4bc81a46d32e287631beb2fe2567a9c6c3769f
EBUILD mythnews-0.25_pre20101223.ebuild 544 RMD160 6b83a8cfcb007308cebd912b9800b766ff968f00 SHA1 8de7ef846f73df96949e82e47bc5a3602e5e84fe SHA256 e3adc70c5f3a03ef004aace2373b31a053360a562b13cc26726132109fac0b6f
EBUILD mythnews-0.25_pre20101226.ebuild 544 RMD160 4c6e87521d1668c867f71589056666f191238025 SHA1 428437d61366a110f6c26762444928a9d1dca155 SHA256 88644845f8d8a978ec11797afc3c9b91d9607b4d32be73b242c25d46d0dff8ad
EBUILD mythnews-0.25_pre20110101.ebuild 547 RMD160 68b79aecd446c1a7dd42f383df5e58afe76108fa SHA1 6c022642ceb808d9a32673311d2bd3c6fad87c98 SHA256 c75263c09f4951a0cebf1ad46254d8ef8097dd180b53dd64d71607baf427c848
24 changes: 24 additions & 0 deletions Gentoo/media-plugins/mythnews/mythnews-0.24_p20110101.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythvideo/mythvideo-0.21_p17595.ebuild,v 1.1 2008/08/01 16:35:22 cardoe Exp $

EAPI="2"

MYTHTV_VERSION="v0.24-96-gf5e6f3d"
MYTHTV_BRANCH="fixes/0.24"
MYTHTV_REV="f5e6f3df7873b9aeaca42e5cfee0a5c50431ac10"
MYTHTV_SREV="f5e6f3d"

inherit mythtv-plugins

DESCRIPTION="Module for MythTV."
IUSE=""
KEYWORDS="amd64 x86 ~ppc"

RDEPEND=""
DEPEND=""

src_install() {
mythtv-plugins_src_install
}

24 changes: 24 additions & 0 deletions Gentoo/media-plugins/mythnews/mythnews-0.25_pre20110101.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythvideo/mythvideo-0.21_p17595.ebuild,v 1.1 2008/08/01 16:35:22 cardoe Exp $

EAPI="2"

MYTHTV_VERSION="v0.25pre-672-gaaf8cd6"
MYTHTV_BRANCH="master"
MYTHTV_REV="aaf8cd6bac28c5a2f39793e1c8c1d7cd76e638a7"
MYTHTV_SREV="aaf8cd6"

inherit mythtv-plugins

DESCRIPTION="Module for MythTV."
IUSE=""
KEYWORDS="~amd64 ~x86 ~ppc"

RDEPEND=""
DEPEND=""

src_install() {
mythtv-plugins_src_install
}

4 changes: 4 additions & 0 deletions Gentoo/media-plugins/mythvideo/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@ AUX 6158.patch 2846 RMD160 fbacaf969e8839e4a9e60adcd598d603ce15a14f SHA1 d53ab89
AUX 6346.patch 104054 RMD160 98e074199f583d94befda0d1ea9f7295c073eedf SHA1 a7a4cf7514b2919a81779bd63ef7c1928ae19336 SHA256 ae7032c32158ad0b227995b238ea946420dc2231a24c0304de6da62a197203f8
AUX metabrowse.diff 23117 RMD160 306973bbfb66ba35818bfaff6faee0329299d0e4 SHA1 dd865758fd20de982ddc2d96c97141d417ff44d0 SHA256 2eff2d8f28a73a8389f593b71c62aaf6bbb1b235967d027416c2fcbd7a990c95
DIST mythtv-0.24_p20101223.tar.gz 69745925 RMD160 f1f7c767d8e947f2c809da1bef4e6f99f7c5e1c8 SHA1 9b1662bd6bbd9eded951707722e2fdfcb9044735 SHA256 930a0c4438338bd5ef0408fb3423a3fc619ccc987fa2a7a206241f337b4e810d
DIST mythtv-0.24_p20110101.tar.gz 69750664 RMD160 0007e567a77d4905f75b87c2c83f3d0f7b287ce2 SHA1 bce1feed7aad6db40ecb6be538c6fcc61115cb3e SHA256 909d332de0307b37306cb2dc4fd5d32346d24ea890e1113016b7c1cc365af2fb
DIST mythtv-0.25_pre20101223.tar.gz 69752514 RMD160 0863a73f7a445030ca7507c11d4c3ba717bfa6a5 SHA1 ccbb751574cdad4d4c0b17e4f8f33a502322c296 SHA256 9f6ad263ab0da0ce85a98d017002db80d25dfbb5d648f355d82c163a69cad1ea
DIST mythtv-0.25_pre20101226.tar.gz 69756924 RMD160 48c4ee5a90d859986985b2f0a8a9fb405a175152 SHA1 87847e5d052dee6ffbb30716a1529651ab4a1374 SHA256 96116b474eb7c55786a8e53da706e4d5fcc59f50fcea322dad0a57773e4700f0
DIST mythtv-0.25_pre20110101.tar.gz 69763422 RMD160 2c2610b93b9427fbef67b14ebce14769c838f865 SHA1 5281da9cd6aabc0df0f8c5bbdc76125575948e50 SHA256 b117bb74652ddc530cf0371acc3a0e962fd56bdcab7010a0b89046010c30a2cb
EBUILD mythvideo-0.24_p20101223.ebuild 1218 RMD160 c7255ea0787d0bec848f2b2551c895a86c49069f SHA1 249b19252c52e37455abb4dc5c0579477bbc1795 SHA256 82397ff0f4d612cad196db962e8d9e67c5dbc0b103b90ffde440a38f1f572b5d
EBUILD mythvideo-0.24_p20110101.ebuild 1218 RMD160 57eaa4b3c430c376e6e1dcb69601847fe9707c4a SHA1 598d048372760b282e76b9417ba78bb1618e64b7 SHA256 b308b25e77de8c505767f1990554ed60a6b0e6400bd6f686edd1504a6eb72b79
EBUILD mythvideo-0.25_pre20101223.ebuild 1217 RMD160 1921ac441d900c297a2edcb34a14380de303d87c SHA1 85164bea6f612c733d572e1f6da1caf33ec2e9f6 SHA256 3838bae854c762c8cf3580b787e944e6ea64ab0f7038d047af0ecc8cb377c02d
EBUILD mythvideo-0.25_pre20101226.ebuild 1217 RMD160 f387a45134467b0cd81323467fbf2b370b3f4ede SHA1 5390436762c269ad4eb8df7610e0ac23b927bd15 SHA256 5984d86b6c46113f94bf0da8375f2df4bc543f6fd78148399aff45c0b86a6ceb
EBUILD mythvideo-0.25_pre20110101.ebuild 1220 RMD160 c44f9ff88d72e396bf5c86234ce390ff57e620dd SHA1 d094a8213cff62728b56ce06037d6d9353205238 SHA256 c4189f6a0543e0e75dbeb2b28f4b6e0f56e2173b518bc3e894b5eadfecfb721a
48 changes: 48 additions & 0 deletions Gentoo/media-plugins/mythvideo/mythvideo-0.24_p20110101.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythvideo/mythvideo-0.21_p17595.ebuild,v 1.1 2008/08/01 16:35:22 cardoe Exp $

EAPI="2"

MYTHTV_VERSION="v0.24-96-gf5e6f3d"
MYTHTV_BRANCH="fixes/0.24"
MYTHTV_REV="f5e6f3df7873b9aeaca42e5cfee0a5c50431ac10"
MYTHTV_SREV="f5e6f3d"

inherit mythtv-plugins eutils

DESCRIPTION="Video player module for MythTV."
IUSE=""
KEYWORDS="amd64 x86 ~ppc"

RDEPEND="media-tv/mythtv[python]
sys-apps/eject"
DEPEND=""

src_prepare() {
if use experimental
then
true;
fi
}

src_install() {
for file in `find ${S} -type f -name *.py`
do
chmod +x $file
done

mythtv-plugins_src_install
}

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."
}
48 changes: 48 additions & 0 deletions Gentoo/media-plugins/mythvideo/mythvideo-0.25_pre20110101.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythvideo/mythvideo-0.21_p17595.ebuild,v 1.1 2008/08/01 16:35:22 cardoe Exp $

EAPI="2"

MYTHTV_VERSION="v0.25pre-672-gaaf8cd6"
MYTHTV_BRANCH="master"
MYTHTV_REV="aaf8cd6bac28c5a2f39793e1c8c1d7cd76e638a7"
MYTHTV_SREV="aaf8cd6"

inherit mythtv-plugins eutils

DESCRIPTION="Video player module for MythTV."
IUSE=""
KEYWORDS="~amd64 ~x86 ~ppc"

RDEPEND="media-tv/mythtv[python]
sys-apps/eject"
DEPEND=""

src_prepare() {
if use experimental
then
true;
fi
}

src_install() {
for file in `find ${S} -type f -name *.py`
do
chmod +x $file
done

mythtv-plugins_src_install
}

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."
}
4 changes: 4 additions & 0 deletions Gentoo/media-plugins/mythweather/Manifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
DIST mythtv-0.24_p20101223.tar.gz 69745925 RMD160 f1f7c767d8e947f2c809da1bef4e6f99f7c5e1c8 SHA1 9b1662bd6bbd9eded951707722e2fdfcb9044735 SHA256 930a0c4438338bd5ef0408fb3423a3fc619ccc987fa2a7a206241f337b4e810d
DIST mythtv-0.24_p20110101.tar.gz 69750664 RMD160 0007e567a77d4905f75b87c2c83f3d0f7b287ce2 SHA1 bce1feed7aad6db40ecb6be538c6fcc61115cb3e SHA256 909d332de0307b37306cb2dc4fd5d32346d24ea890e1113016b7c1cc365af2fb
DIST mythtv-0.25_pre20101223.tar.gz 69752514 RMD160 0863a73f7a445030ca7507c11d4c3ba717bfa6a5 SHA1 ccbb751574cdad4d4c0b17e4f8f33a502322c296 SHA256 9f6ad263ab0da0ce85a98d017002db80d25dfbb5d648f355d82c163a69cad1ea
DIST mythtv-0.25_pre20101226.tar.gz 69756924 RMD160 48c4ee5a90d859986985b2f0a8a9fb405a175152 SHA1 87847e5d052dee6ffbb30716a1529651ab4a1374 SHA256 96116b474eb7c55786a8e53da706e4d5fcc59f50fcea322dad0a57773e4700f0
DIST mythtv-0.25_pre20110101.tar.gz 69763422 RMD160 2c2610b93b9427fbef67b14ebce14769c838f865 SHA1 5281da9cd6aabc0df0f8c5bbdc76125575948e50 SHA256 b117bb74652ddc530cf0371acc3a0e962fd56bdcab7010a0b89046010c30a2cb
EBUILD mythweather-0.24_p20101223.ebuild 681 RMD160 98204c5e7448a16434ec7c0f38819b74fe5b30ea SHA1 76ef2f789d1fd069034d00c49081ec98ca340b73 SHA256 36aa282627d7f5bece55aef41284f817b5de114060c110c4b801f9423b147e26
EBUILD mythweather-0.24_p20110101.ebuild 681 RMD160 044fd02cc4031e19bf37516da1937c469ce30757 SHA1 2aaa5a7943cb82876afd6c83a2f397c71d6e5a73 SHA256 351384a5992e2ac13bb3eee79d1756746df200b33e33e465c5ce020ebd2c1231
EBUILD mythweather-0.25_pre20101223.ebuild 680 RMD160 ba3fb03f97defe76211f43d8688e9aa37fc2bfce SHA1 cc7e223f1e3da8fec6a90806aba9ad4e8cac12cb SHA256 7e31f7bb9e6dd2c4bebc32b04be43925002031c85b6dd04cdd4416b6f3797538
EBUILD mythweather-0.25_pre20101226.ebuild 680 RMD160 79eebf5682fc4ea8cb54c5f31fb0c4a3380610e4 SHA1 8f391694b1c58a7be764c638662a89cfbb2b3d4e SHA256 b86b9327ed4c9c40c2f9b545ee7609b4f360a81243703c7eae10df0a0dfb6d9e
EBUILD mythweather-0.25_pre20110101.ebuild 683 RMD160 6de017fd868806a15731e5fba8514bd18e80661c SHA1 c482afc1e0b1d95e1fb3fced282497016df9d215 SHA256 27fb61b2b444b1ce8443f6cffd2d611f38f33febd176b93aeb131c8bcc2259af
26 changes: 26 additions & 0 deletions Gentoo/media-plugins/mythweather/mythweather-0.24_p20110101.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythweather/mythweather-0.21_p17719.ebuild,v 1.1 2008/08/12 23:56:11 cardoe Exp $

EAPI="2"

MYTHTV_VERSION="v0.24-96-gf5e6f3d"
MYTHTV_BRANCH="fixes/0.24"
MYTHTV_REV="f5e6f3df7873b9aeaca42e5cfee0a5c50431ac10"
MYTHTV_SREV="f5e6f3d"

inherit mythtv-plugins

DESCRIPTION="Weather forecast module for MythTV."
IUSE=""
KEYWORDS="amd64 x86 ~ppc"

DEPEND="dev-perl/DateManip
dev-perl/ImageSize
dev-perl/SOAP-Lite
dev-perl/XML-Simple
dev-perl/XML-Parser
dev-perl/XML-SAX
dev-perl/DateTime-Format-ISO8601
dev-perl/XML-XPath
"
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythweather/mythweather-0.21_p17719.ebuild,v 1.1 2008/08/12 23:56:11 cardoe Exp $

EAPI="2"

MYTHTV_VERSION="v0.25pre-672-gaaf8cd6"
MYTHTV_BRANCH="master"
MYTHTV_REV="aaf8cd6bac28c5a2f39793e1c8c1d7cd76e638a7"
MYTHTV_SREV="aaf8cd6"

inherit mythtv-plugins

DESCRIPTION="Weather forecast module for MythTV."
IUSE=""
KEYWORDS="~amd64 ~x86 ~ppc"

DEPEND="dev-perl/DateManip
dev-perl/ImageSize
dev-perl/SOAP-Lite
dev-perl/XML-Simple
dev-perl/XML-Parser
dev-perl/XML-SAX
dev-perl/DateTime-Format-ISO8601
dev-perl/XML-XPath
"
4 changes: 4 additions & 0 deletions Gentoo/media-plugins/mythzoneminder/Manifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
DIST mythtv-0.24_p20101223.tar.gz 69745925 RMD160 f1f7c767d8e947f2c809da1bef4e6f99f7c5e1c8 SHA1 9b1662bd6bbd9eded951707722e2fdfcb9044735 SHA256 930a0c4438338bd5ef0408fb3423a3fc619ccc987fa2a7a206241f337b4e810d
DIST mythtv-0.24_p20110101.tar.gz 69750664 RMD160 0007e567a77d4905f75b87c2c83f3d0f7b287ce2 SHA1 bce1feed7aad6db40ecb6be538c6fcc61115cb3e SHA256 909d332de0307b37306cb2dc4fd5d32346d24ea890e1113016b7c1cc365af2fb
DIST mythtv-0.25_pre20101223.tar.gz 69752514 RMD160 0863a73f7a445030ca7507c11d4c3ba717bfa6a5 SHA1 ccbb751574cdad4d4c0b17e4f8f33a502322c296 SHA256 9f6ad263ab0da0ce85a98d017002db80d25dfbb5d648f355d82c163a69cad1ea
DIST mythtv-0.25_pre20101226.tar.gz 69756924 RMD160 48c4ee5a90d859986985b2f0a8a9fb405a175152 SHA1 87847e5d052dee6ffbb30716a1529651ab4a1374 SHA256 96116b474eb7c55786a8e53da706e4d5fcc59f50fcea322dad0a57773e4700f0
DIST mythtv-0.25_pre20110101.tar.gz 69763422 RMD160 2c2610b93b9427fbef67b14ebce14769c838f865 SHA1 5281da9cd6aabc0df0f8c5bbdc76125575948e50 SHA256 b117bb74652ddc530cf0371acc3a0e962fd56bdcab7010a0b89046010c30a2cb
EBUILD mythzoneminder-0.24_p20101223.ebuild 546 RMD160 d9431fea26a9ad7a5df8c37981ea1522fa5c59cb SHA1 d2749dffd49d0881aacad4bdccdd551dcf6ed2b0 SHA256 a9c10456043fa7217ca2e66986622ecb3e1f4677b8c42cceb66d36f4055eaf71
EBUILD mythzoneminder-0.24_p20110101.ebuild 546 RMD160 7d1b594d5bf14b055a6466012ec8c674bacd580c SHA1 78615f9c74a3218afef65df76cfe23d9b696549b SHA256 a489d6c3a0ecbcb99ff69403db09f8602f51d23ea69237a6653d15db32a3eb4d
EBUILD mythzoneminder-0.25_pre20101223.ebuild 545 RMD160 7386838052caa28bb73221c41c64228319295f43 SHA1 ec26aa9d7c0a4a74d65bd0f09593937dc7e85dbf SHA256 af1290a88411a2b3d90848bd3a41df6f14a5cd47b5f0a42b6cc76f6779022e37
EBUILD mythzoneminder-0.25_pre20101226.ebuild 545 RMD160 d1b9ca1b394729802141885ccdcb8e3566d54753 SHA1 6cc1a52dcaf06362ad5154be55d492ceeb0aac3d SHA256 aafc0c7c0eccbc71e47a7d42722b5cb72b36064aa71aa9d2f296515b0b17f1f8
EBUILD mythzoneminder-0.25_pre20110101.ebuild 548 RMD160 9ff30df1a7451bd6a6f7c574e3855df76c68db59 SHA1 2cb5cb2494c4283435919f08b3bfb32c38fa9470 SHA256 f6a8a01811cefc19c0e4defb90230291e1c7ec9d60cc6ae0c05d8a6a07933f8d
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythvideo/mythvideo-0.21_p17595.ebuild,v 1.1 2008/08/01 16:35:22 cardoe Exp $

EAPI="2"

MYTHTV_VERSION="v0.24-96-gf5e6f3d"
MYTHTV_BRANCH="fixes/0.24"
MYTHTV_REV="f5e6f3df7873b9aeaca42e5cfee0a5c50431ac10"
MYTHTV_SREV="f5e6f3d"


inherit mythtv-plugins

DESCRIPTION="Module for MythTV."
IUSE=""
KEYWORDS="amd64 x86 ~ppc"

RDEPEND=""
DEPEND=""

src_install() {
mythtv-plugins_src_install
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythvideo/mythvideo-0.21_p17595.ebuild,v 1.1 2008/08/01 16:35:22 cardoe Exp $

EAPI="2"

MYTHTV_VERSION="v0.25pre-672-gaaf8cd6"
MYTHTV_BRANCH="master"
MYTHTV_REV="aaf8cd6bac28c5a2f39793e1c8c1d7cd76e638a7"
MYTHTV_SREV="aaf8cd6"


inherit mythtv-plugins

DESCRIPTION="Module for MythTV."
IUSE=""
KEYWORDS="~amd64 ~x86 ~ppc"

RDEPEND=""
DEPEND=""

src_install() {
mythtv-plugins_src_install
}

4 changes: 4 additions & 0 deletions Gentoo/media-tv/mythtv/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ AUX optimizeMFDBClearingBySource.patch 4659 RMD160 90b0d03f248ade34589f58938af98
AUX runmythfe 186 RMD160 e4b5bfeaecbf541e6cc45b6a9c0e5c048e3fccd0 SHA1 f5ec9dfd4781b28c0af8745c282ce242141590d8 SHA256 bebc665f37b21193be2f259cb8daf6863dfd4336e4e1424a7a989d6b679964fe
AUX xinitrc 240 RMD160 9c0c1030aa65c8fd3f20501f45757515a9208a61 SHA1 11795aa8be5bd668d91acdd61aa80d5cc8af5cac SHA256 770990183ce8df60bf3bcbc3a334558155aedd0a80357556261fb938b4254e94
DIST mythtv-0.24_p20101223.tar.gz 69745925 RMD160 f1f7c767d8e947f2c809da1bef4e6f99f7c5e1c8 SHA1 9b1662bd6bbd9eded951707722e2fdfcb9044735 SHA256 930a0c4438338bd5ef0408fb3423a3fc619ccc987fa2a7a206241f337b4e810d
DIST mythtv-0.24_p20110101.tar.gz 69750664 RMD160 0007e567a77d4905f75b87c2c83f3d0f7b287ce2 SHA1 bce1feed7aad6db40ecb6be538c6fcc61115cb3e SHA256 909d332de0307b37306cb2dc4fd5d32346d24ea890e1113016b7c1cc365af2fb
DIST mythtv-0.25_pre20101223.tar.gz 69752514 RMD160 0863a73f7a445030ca7507c11d4c3ba717bfa6a5 SHA1 ccbb751574cdad4d4c0b17e4f8f33a502322c296 SHA256 9f6ad263ab0da0ce85a98d017002db80d25dfbb5d648f355d82c163a69cad1ea
DIST mythtv-0.25_pre20101226.tar.gz 69756924 RMD160 48c4ee5a90d859986985b2f0a8a9fb405a175152 SHA1 87847e5d052dee6ffbb30716a1529651ab4a1374 SHA256 96116b474eb7c55786a8e53da706e4d5fcc59f50fcea322dad0a57773e4700f0
DIST mythtv-0.25_pre20110101.tar.gz 69763422 RMD160 2c2610b93b9427fbef67b14ebce14769c838f865 SHA1 5281da9cd6aabc0df0f8c5bbdc76125575948e50 SHA256 b117bb74652ddc530cf0371acc3a0e962fd56bdcab7010a0b89046010c30a2cb
EBUILD mythtv-0.24_p20101223.ebuild 8031 RMD160 f0c94105ac190d83303b9a9e1cdacdd2b1d3520e SHA1 add0f1e3eecd13f2b61d1b4b7cb019c517e39d45 SHA256 be6f0e651867520de5e434f2c5ce50b1147c49f42ae9c189ae054e53f6331848
EBUILD mythtv-0.24_p20110101.ebuild 8031 RMD160 37a73f84931e20f8ea5026065553b741be79b9c2 SHA1 17f946020e9db3a81c55c20b4a4070a84ae5a1a9 SHA256 c98be33a327e051f0b17248a554c16f7a950c50bfe7bf8d2bc2eb8909c9b5047
EBUILD mythtv-0.25_pre20101223.ebuild 6690 RMD160 7e89cd72cfa8d7ac2ff9c254a7853ccda8cb522d SHA1 dde6c2bb6bc736324e54960e6108fa6240972885 SHA256 35a037f1620823b63f08201e1f8ad23bbc3a910ba6c91bf70f1bfcf9db45a202
EBUILD mythtv-0.25_pre20101226.ebuild 6690 RMD160 99b3ba5e0ecb28ad5e9eb34030def3db75b97565 SHA1 97209b9cf376faef8adc838a45526c13f394c86e SHA256 bc71f77391ae37bab761d11be6f5736d2c929c59ca5d4ea2d37300718616a199
EBUILD mythtv-0.25_pre20110101.ebuild 6693 RMD160 5ab027fcdec6d3acb5a4a3dfceb68cbf5fe71373 SHA1 50bd75e3fb807adf47be5f89eb17f30e2d21c386 SHA256 2acf947ff127839abe8fe6fe085780dc1e892f8575dc51936fa6a07be1b7a089
306 changes: 306 additions & 0 deletions Gentoo/media-tv/mythtv/mythtv-0.24_p20110101.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,306 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.22_alpha18535.ebuild,v 1.4 2008/10/09 20:52:54 cardoe Exp $

EAPI=2
PYTHON_DEPEND="2"
MYTHTV_VERSION="v0.24-96-gf5e6f3d"
MYTHTV_BRANCH="fixes/0.24"
MYTHTV_REV="f5e6f3df7873b9aeaca42e5cfee0a5c50431ac10"
MYTHTV_SREV="f5e6f3d"

inherit flag-o-matic multilib eutils qt4 mythtv toolchain-funcs python

DESCRIPTION="Homebrew PVR project"
SLOT="0"
KEYWORDS="amd64 x86 ~ppc"

IUSE_VIDEO_CARDS="video_cards_nvidia"
IUSE="altivec autostart dvb \
dvd bluray \
ieee1394 jack lcd lirc \
alsa jack \
debug profile \
perl python \
xvmc vdpau \
experimental \
${IUSE_VIDEO_CARDS} \
input_devices_joystick \
"

RDEPEND=">=media-libs/freetype-2.0
>=media-sound/lame-3.93.1
x11-libs/libX11
x11-libs/libXext
x11-libs/libXinerama
x11-libs/libXv
x11-libs/libXrandr
x11-libs/libXxf86vm
x11-libs/qt-core:4[qt3support]
x11-libs/qt-gui:4[qt3support]
x11-libs/qt-sql:4[qt3support,mysql]
x11-libs/qt-opengl:4[qt3support]
x11-libs/qt-webkit:4
virtual/mysql
virtual/opengl
virtual/glu
|| ( >=net-misc/wget-1.9.1 >=media-tv/xmltv-0.5.43 )
alsa? ( >=media-libs/alsa-lib-0.9 )
autostart? ( net-dialup/mingetty
x11-wm/evilwm
x11-apps/xset )
dvb? ( media-libs/libdvb media-tv/linuxtv-dvb-headers )
dvd? ( media-libs/libdvdcss )
ieee1394? ( >=sys-libs/libraw1394-1.2.0
>=sys-libs/libavc1394-0.5.3
>=media-libs/libiec61883-1.0.0 )
jack? ( media-sound/jack-audio-connection-kit )
lcd? ( app-misc/lcdproc )
lirc? ( app-misc/lirc )
perl? ( dev-perl/DBD-mysql
dev-perl/Net-UPnP )
python? ( dev-python/mysql-python
dev-python/lxml )
xvmc? ( x11-libs/libXvMC )
bluray? ( media-libs/libbluray )
video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-180.06 )
"

DEPEND="${RDEPEND}
x11-proto/xineramaproto
x11-proto/xf86vidmodeproto
x11-apps/xinit"

MYTHTV_GROUPS="video,audio,tty,uucp"

pkg_setup() {
einfo "This ebuild now uses a heavily stripped down version of your CFLAGS"

if use xvmc && use video_cards_nvidia
then
elog
elog "For NVIDIA based cards, the XvMC renderer only works on"
elog "the NVIDIA 4, 5, 6 & 7 series cards."
fi

python_set_active_version 2

enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS}
usermod -a -G ${MYTHTV_GROUPS} mythtv
}

src_prepare() {
# upstream wants the revision number in their version.cpp
# since the subversion.eclass strips out the .svn directory
# svnversion in MythTV's build doesn't work
sed -e "s/\${SOURCE_VERSION}/${MYTHTV_VERSION}/g" -e "s/\${BRANCH}/${MYTHTV_BRANCH}/g" -i "${S}"/version.sh


# Perl bits need to go into vender_perl and not site_perl
sed -e "s:pure_install:pure_install INSTALLDIRS=vendor:" \
-i "${S}"/bindings/perl/Makefile

epatch "${FILESDIR}/ffmpeg-sync.patch"
epatch "${FILESDIR}/fixLdconfSandbox.patch"

if use experimental
then
epatch "${FILESDIR}/optimizeMFDBClearingBySource-3.patch"
true;
fi
}

src_configure() {
local myconf="--prefix=/usr"
myconf="${myconf} --mandir=/usr/share/man"
myconf="${myconf} --libdir-name=$(get_libdir)"

myconf="${myconf} --enable-pic"
myconf="${myconf} --enable-proc-opt"

use alsa || myconf="${myconf} --disable-audio-alsa"
use altivec || myconf="${myconf} --disable-altivec"
use jack || myconf="${myconf} --disable-audio-jack"

#from bug #220857
if use xvmc; then
myconf="${myconf} --enable-xvmc"
myconf="${myconf} --enable-xvmcw"
myconf="${myconf} --disable-xvmc-vld"
else
myconf="${myconf} --disable-xvmc"
myconf="${myconf} --disable-xvmcw"
fi

myconf="${myconf} $(use_enable dvb)"
myconf="${myconf} $(use_enable ieee1394 firewire)"
myconf="${myconf} $(use_enable lirc)"
myconf="${myconf} --disable-directfb"
myconf="${myconf} --dvb-path=/usr/include"
myconf="${myconf} --enable-opengl-vsync"
myconf="${myconf} --enable-xrandr"
myconf="${myconf} --enable-xv"
myconf="${myconf} --enable-x11"

if use perl && use python
then
myconf="${myconf} --with-bindings=perl,python"
elif use perl
then
myconf="${myconf} --without-bindings=python"
myconf="${myconf} --with-bindings=perl"
elif use python
then
myconf="${myconf} --without-bindings=perl"
myconf="${myconf} --with-bindings=python"
else
myconf="${myconf} --without-bindings=perl,python"
fi

if use debug
then
myconf="${myconf} --compile-type=debug"
elif use profile
then
myconf="${myconf} --compile-type=profile"
else
myconf="${myconf} --compile-type=release"
myconf="${myconf} --enable-proc-opt"
fi

if use xvmc && use video_cards_nvidia
then
myconf="${myconf} --xvmc-lib=XvMCNVIDIA"
myconf="${myconf} --enable-xvmc-opengl"
myconf="${myconf} --enable-opengl-video"
fi

if use vdpau && use video_cards_nvidia
then
myconf="${myconf} --enable-vdpau"
fi

use input_devices_joystick || myconf="${myconf} --disable-joystick-menu"

if use experimental
then
myconf="${myconf} --enable-symbol-visibility"
fi

## CFLAG cleaning so it compiles
strip-flags
filter-flags "-march=*" "-mtune=*" "-mcpu=*"
filter-flags "-O" "-O?"

hasq distcc ${FEATURES} || myconf="${myconf} --disable-distcc"
hasq ccache ${FEATURES} || myconf="${myconf} --disable-ccache"

# let MythTV come up with our CFLAGS. Upstream will support this
CFLAGS=""
CXXFLAGS=""

chmod +x ./external/FFmpeg/version.sh

einfo "Running ./configure ${myconf}"
chmod +x ./configure
./configure ${myconf} || die "configure died"
}

src_compile() {
# eqmake4 mythtv.pro -o "Makefile" || die "eqmake4 failed"
emake || die "emake failed"
}

src_install() {
einstall INSTALL_ROOT="${D}" || die "install failed"
dodoc AUTHORS FAQ UPGRADING README

insinto /usr/share/mythtv/database
doins database/*

exeinto /usr/share/mythtv

newinitd "${FILESDIR}"/mythbackend-0.18.2.rc mythbackend
newconfd "${FILESDIR}"/mythbackend-0.18.2.conf mythbackend

dodoc keys.txt docs/*.{txt,pdf}
dohtml docs/*.html

keepdir /etc/mythtv
chown -R mythtv "${D}"/etc/mythtv
keepdir /var/log/mythtv
chown -R mythtv "${D}"/var/log/mythtv

insinto /etc/logrotate.d
newins "${FILESDIR}"/mythtv.logrotate.d mythtv

insinto /usr/share/mythtv/contrib
doins -r contrib/*

dobin "${FILESDIR}"/runmythfe

if use autostart
then
dodir /etc/env.d/
echo 'CONFIG_PROTECT="/home/mythtv/"' > "${D}"/etc/env.d/95mythtv

insinto /home/mythtv
newins "${FILESDIR}"/bash_profile .bash_profile
newins "${FILESDIR}"/xinitrc .xinitrc
fi

for file in `find ${D} -type f -name \*.py`; do chmod a+x $file; done
for file in `find ${D} -type f -name \*.sh`; do chmod a+x $file; done
for file in `find ${D} -type f -name \*.pl`; do chmod a+x $file; done
}

pkg_preinst() {
export CONFIG_PROTECT="${CONFIG_PROTECT} ${ROOT}/home/mythtv/"
}

pkg_postinst() {
elog "Want mythfrontend to start automatically?"
elog "Set USE=autostart. Details can be found at:"
elog "http://dev.gentoo.org/~cardoe/mythtv/autostart.html"

elog
elog "To always have MythBackend running and available run the following:"
elog "rc-update add mythbackend default"
elog
ewarn "Your recordings folder must be owned by the user 'mythtv' now"
ewarn "chown -R mythtv /path/to/store"

if use xvmc && [[ ! -s "${ROOT}/etc/X11/XvMCConfig" ]]
then
ewarn
ewarn "No XvMC implementation has been selected yet"
ewarn "Use 'eselect xvmc list' for a list of available choices"
ewarn "Then use 'eselect xvmc set <choice>' to choose"
ewarn "'eselect xvmc set nvidia' for example"
fi

if use autostart
then
elog
elog "Please add the following to your /etc/inittab file at the end of"
elog "the TERMINALS section"
elog "c8:2345:respawn:/sbin/mingetty --autologin mythtv tty8"
fi

}

pkg_postrm()
{
true;
}

pkg_info() {
"${ROOT}"/usr/bin/mythfrontend --version
}

pkg_config() {
echo "Creating mythtv MySQL user and mythconverg database if it does not"
echo "already exist. You will be prompted for your MySQL root password."
"${ROOT}"/usr/bin/mysql -u root -p < "${ROOT}"/usr/share/mythtv/database/mc.sql
}

267 changes: 267 additions & 0 deletions Gentoo/media-tv/mythtv/mythtv-0.25_pre20110101.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,267 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:$

EAPI=2
PYTHON_DEPEND="2"
MYTHTV_VERSION="v0.25pre-672-gaaf8cd6"
MYTHTV_BRANCH="master"
MYTHTV_REV="aaf8cd6bac28c5a2f39793e1c8c1d7cd76e638a7"
MYTHTV_SREV="aaf8cd6"

inherit flag-o-matic multilib eutils qt4 mythtv toolchain-funcs python

DESCRIPTION="Homebrew PVR project"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~ppc"

IUSE_VIDEO_CARDS="video_cards_nvidia"
IUSE="altivec autostart dvb \
dvd bluray \
ieee1394 jack lcd lirc \
alsa jack \
debug profile \
perl python \
vdpau \
experimental \
${IUSE_VIDEO_CARDS} \
input_devices_joystick \
"

RDEPEND="
>=net-misc/wget-1.12-r3
>=media-libs/freetype-2.0
>=media-sound/lame-3.93.1
x11-libs/libX11
x11-libs/libXext
x11-libs/libXinerama
x11-libs/libXv
x11-libs/libXrandr
x11-libs/libXxf86vm
x11-libs/qt-core:4[qt3support]
x11-libs/qt-gui:4[qt3support]
x11-libs/qt-sql:4[qt3support,mysql]
x11-libs/qt-opengl:4[qt3support]
x11-libs/qt-webkit:4
virtual/mysql
virtual/opengl
virtual/glu
|| ( >=net-misc/wget-1.9.1 >=media-tv/xmltv-0.5.43 )
alsa? ( >=media-libs/alsa-lib-0.9 )
autostart? ( net-dialup/mingetty
x11-wm/evilwm
x11-apps/xset )
dvb? ( media-libs/libdvb media-tv/linuxtv-dvb-headers )
dvd? ( media-libs/libdvdcss )
ieee1394? ( >=sys-libs/libraw1394-1.2.0
>=sys-libs/libavc1394-0.5.3
>=media-libs/libiec61883-1.0.0 )
jack? ( media-sound/jack-audio-connection-kit )
lcd? ( app-misc/lcdproc )
lirc? ( app-misc/lirc )
perl? ( dev-perl/DBD-mysql
dev-perl/Net-UPnP )
python? ( dev-python/mysql-python
dev-python/lxml )
bluray? ( media-libs/libbluray )
video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-180.06 )
"

DEPEND="${RDEPEND}
x11-proto/xineramaproto
x11-proto/xf86vidmodeproto
x11-apps/xinit
!x11-themes/mythtv-themes
media-fonts/liberation-fonts
"

MYTHTV_GROUPS="video,audio,tty,uucp"

pkg_setup() {
python_set_active_version 2

enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS}
usermod -a -G ${MYTHTV_GROUPS} mythtv
}

src_prepare() {
# upstream wants the revision number in their version.cpp
# since the subversion.eclass strips out the .svn directory
# svnversion in MythTV's build doesn't work
sed -e "s/\${SOURCE_VERSION}/${MYTHTV_VERSION}/g" \
-e "s/\${BRANCH}/${MYTHTV_BRANCH}/g" \
-i "${S}"/version.sh


# Perl bits need to go into vender_perl and not site_perl
sed -e "s:pure_install:pure_install INSTALLDIRS=vendor:" \
-i "${S}"/bindings/perl/Makefile

epatch "${FILESDIR}/fixLdconfSandbox.patch"

if use experimental
then
epatch "${FILESDIR}/optimizeMFDBClearingBySource-3.patch"
true;
fi
}

src_configure() {
local myconf="--prefix=/usr"
myconf="${myconf} --mandir=/usr/share/man"
myconf="${myconf} --libdir-name=$(get_libdir)"

myconf="${myconf} --enable-pic"

use alsa || myconf="${myconf} --disable-audio-alsa"
use altivec || myconf="${myconf} --disable-altivec"
use jack || myconf="${myconf} --disable-audio-jack"

myconf="${myconf} $(use_enable dvb)"
myconf="${myconf} $(use_enable ieee1394 firewire)"
myconf="${myconf} $(use_enable lirc)"
myconf="${myconf} --disable-directfb"
myconf="${myconf} --dvb-path=/usr/include"
myconf="${myconf} --enable-opengl-vsync"
myconf="${myconf} --enable-xrandr"
myconf="${myconf} --enable-xv"
myconf="${myconf} --enable-x11"

myconf="${myconf} --disable-xvmc"

if use perl && use python
then
myconf="${myconf} --with-bindings=perl,python"
elif use perl
then
myconf="${myconf} --without-bindings=python"
myconf="${myconf} --with-bindings=perl"
elif use python
then
myconf="${myconf} --without-bindings=perl"
myconf="${myconf} --with-bindings=python"
else
myconf="${myconf} --without-bindings=perl,python"
fi

if use debug
then
myconf="${myconf} --compile-type=debug"
elif use profile
then
myconf="${myconf} --compile-type=profile"
else
myconf="${myconf} --compile-type=release"
myconf="${myconf} --enable-proc-opt"
fi

if use vdpau && use video_cards_nvidia
then
myconf="${myconf} --enable-vdpau"
fi

use input_devices_joystick || myconf="${myconf} --disable-joystick-menu"

myconf="${myconf} --enable-symbol-visibility"

hasq distcc ${FEATURES} || myconf="${myconf} --disable-distcc"
hasq ccache ${FEATURES} || myconf="${myconf} --disable-ccache"

# let MythTV come up with our CFLAGS. Upstream will support this
strip-flags
CFLAGS=""
CXXFLAGS=""

chmod +x ./external/FFmpeg/version.sh

einfo "Running ./configure ${myconf}"
chmod +x ./configure
./configure ${myconf} || die "configure died"
}

src_compile() {
emake || die "emake failed"
}

src_install() {
make INSTALL_ROOT="${D}" install || die "install failed"
dodoc AUTHORS FAQ UPGRADING README

insinto /usr/share/mythtv/database
doins database/*

exeinto /usr/share/mythtv

newinitd "${FILESDIR}"/mythbackend-0.18.2.rc mythbackend
newconfd "${FILESDIR}"/mythbackend-0.18.2.conf mythbackend

dodoc keys.txt docs/*.{txt,pdf}
dohtml docs/*.html

keepdir /etc/mythtv
chown -R mythtv "${D}"/etc/mythtv
keepdir /var/log/mythtv
chown -R mythtv "${D}"/var/log/mythtv

insinto /etc/logrotate.d
newins "${FILESDIR}"/mythtv.logrotate.d mythtv

insinto /usr/share/mythtv/contrib
doins -r contrib/*

dobin "${FILESDIR}"/runmythfe

if use autostart
then
dodir /etc/env.d/
echo 'CONFIG_PROTECT="/home/mythtv/"' > "${D}"/etc/env.d/95mythtv

insinto /home/mythtv
newins "${FILESDIR}"/bash_profile .bash_profile
newins "${FILESDIR}"/xinitrc .xinitrc
fi

for file in `find ${D} -type f -name \*.py \
-o -type f -name \*.sh \
-o -type f -name \*.pl`;
do
chmod a+x $file;
done
}

pkg_preinst() {
export CONFIG_PROTECT="${CONFIG_PROTECT} ${ROOT}/home/mythtv/"
}

pkg_postinst() {
elog "Want mythfrontend to start automatically?"
elog "Set USE=autostart. Details can be found at:"
elog "http://www.mythtv.org/wiki/Gentoo_Autostart"

elog
elog "To always have MythBackend running and available run the following:"
elog "rc-update add mythbackend default"
elog
ewarn "Your recordings folder must be owned by the user 'mythtv' now"
ewarn "chown -R mythtv /path/to/store"

if use autostart
then
elog
elog "Please add the following to your /etc/inittab file at the end of"
elog "the TERMINALS section"
elog "c8:2345:respawn:/sbin/mingetty --autologin mythtv tty8"
fi

}

pkg_info() {
"${ROOT}"/usr/bin/mythfrontend --version
}

pkg_config() {
echo "Creating mythtv MySQL user and mythconverg database if it does not"
echo "already exist. You will be prompted for your MySQL root password."
"${ROOT}"/usr/bin/mysql -u root -p < "${ROOT}"/usr/share/mythtv/database/mc.sql
}