| 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-242-gf6e282f" | ||
| MYTHTV_BRANCH="fixes/0.24" | ||
| MYTHTV_REV="f6e282f4cd95de787448ee32281cc0c20caafc5d" | ||
| MYTHTV_SREV="f6e282f" | ||
|
|
||
| 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-1783-gc7901ed" | ||
| MYTHTV_BRANCH="master" | ||
| MYTHTV_REV="c7901ed1dedd95aa957cc83ff46989aacb15f343" | ||
| MYTHTV_SREV="c7901ed" | ||
|
|
||
| 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 |
|---|---|---|
| @@ -1,4 +1,8 @@ | ||
| DIST mythtv-0.24_p20110411.tar.gz 69751030 RMD160 29145e6f466453ad42c4418949a53279ebdb2ed8 SHA1 13826cb462d135a9c9d102a4f9691f89eb53f4ac SHA256 ff7747432eed1fa057e1205d5d7c3e3910e0db5fb16c88642b78d260e5e1ace8 | ||
| DIST mythtv-0.24_p20110414.tar.gz 69751454 RMD160 f3414540a6fbb184bf3bfe1224a5bbd2acc998f5 SHA1 85c0da3527c36d39ced8bd27a49dee28a5754703 SHA256 2d2ae8ceafbd839d5d8b2ed009fa476150bba7e16353bcafe98c956544e64e68 | ||
| DIST mythtv-0.25_pre20110411.tar.gz 70447862 RMD160 358ca9f22321047aa68b02de956404ea2bce25b7 SHA1 a439fa4d42ab4f0ef250027c3242b29f3deb43ca SHA256 e574042c263747da8ae54ecbe55c5040a76991289a6d65281450eba94a484289 | ||
| DIST mythtv-0.25_pre20110414.tar.gz 70452354 RMD160 27b8f6cad5f7b6681471ea20191cdbd2c6ed5111 SHA1 639527d51c9c47401990a84351cd6e892c999f92 SHA256 a68edbc085a268a79f3f3ea0ad60c8f25fd121eea5ed28a3f0e62024121cf3b7 | ||
| EBUILD mythnews-0.24_p20110411.ebuild 546 RMD160 85e16fac40ef7490efaa83c0a1a6cc2fac82f64e SHA1 b4b3cddc102565e2a4331252a01ead9e11a0bfec SHA256 83cc2372bec73781f64caf38dc528ea9263c456391a7a904a21b57af49c6fad3 | ||
| EBUILD mythnews-0.24_p20110414.ebuild 546 RMD160 5b37534e3657bda75eee71147cb314f15aca24a6 SHA1 e8ad36bc326b4b34abceec35e96eab1ca82a6e20 SHA256 b269321bb8ca28062ac08374dcbfdf6a68ba074bd1734547720a9022d7b83882 | ||
| EBUILD mythnews-0.25_pre20110411.ebuild 809 RMD160 fb7cada99207fe96cf9c8dd7376c80836de0e38e SHA1 5eadf3808042047b16d3da6a5ab9ecb9662fd7b7 SHA256 9db69a52791e0f2305b578848041cef389f13f4eb2b6ff02e0d51608f8e7cfb5 | ||
| EBUILD mythnews-0.25_pre20110414.ebuild 809 RMD160 ea553671313f4e5ab877ece77bc4c4b60c719e94 SHA1 8f2b204028650f05c4d066cb9ce5e8bb3a01bf1e SHA256 e24c24a954f0b5525c8d9ac2ae2237ebbbba75a88949eaded6c4362136fa2fba |
| 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-242-gf6e282f" | ||
| MYTHTV_BRANCH="fixes/0.24" | ||
| MYTHTV_REV="f6e282f4cd95de787448ee32281cc0c20caafc5d" | ||
| MYTHTV_SREV="f6e282f" | ||
|
|
||
| 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,29 @@ | ||
| # 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-1783-gc7901ed" | ||
| MYTHTV_BRANCH="master" | ||
| MYTHTV_REV="c7901ed1dedd95aa957cc83ff46989aacb15f343" | ||
| MYTHTV_SREV="c7901ed" | ||
|
|
||
| inherit mythtv-plugins | ||
|
|
||
| DESCRIPTION="Module for MythTV." | ||
| IUSE="+exif +opengl raw" | ||
| KEYWORDS="~amd64 ~x86 ~ppc" | ||
|
|
||
| RDEPEND="exif? ( >=media-libs/libexif-0.6.10 ) | ||
| media-libs/tiff | ||
| opengl? ( virtual/opengl ) | ||
| raw? ( media-gfx/dcraw )" | ||
| DEPEND="${RDEPEND}" | ||
| MTVCONF="$(use_enable exif) $(use_enable exif new-exif) $(use_enable raw dcraw) | ||
| $(use_enable opengl)" | ||
|
|
||
| src_install() { | ||
| mythtv-plugins_src_install | ||
| } | ||
|
|
| 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-242-gf6e282f" | ||
| MYTHTV_BRANCH="fixes/0.24" | ||
| MYTHTV_REV="f6e282f4cd95de787448ee32281cc0c20caafc5d" | ||
| MYTHTV_SREV="f6e282f" | ||
|
|
||
| inherit mythtv-plugins eutils | ||
|
|
||
| DESCRIPTION="Video player module for MythTV." | ||
| IUSE="" | ||
| KEYWORDS="amd64 x86 ~ppc" | ||
|
|
||
| RDEPEND="media-tv/mythtv[python] | ||
| sys-block/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." | ||
| } |
| 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-1783-gc7901ed" | ||
| MYTHTV_BRANCH="master" | ||
| MYTHTV_REV="c7901ed1dedd95aa957cc83ff46989aacb15f343" | ||
| MYTHTV_SREV="c7901ed" | ||
|
|
||
| inherit mythtv-plugins eutils | ||
|
|
||
| DESCRIPTION="Video player module for MythTV." | ||
| IUSE="" | ||
| KEYWORDS="~amd64 ~x86 ~ppc" | ||
|
|
||
| RDEPEND="media-tv/mythtv[python] | ||
| virtual/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." | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,8 @@ | ||
| DIST mythtv-0.24_p20110411.tar.gz 69751030 RMD160 29145e6f466453ad42c4418949a53279ebdb2ed8 SHA1 13826cb462d135a9c9d102a4f9691f89eb53f4ac SHA256 ff7747432eed1fa057e1205d5d7c3e3910e0db5fb16c88642b78d260e5e1ace8 | ||
| DIST mythtv-0.24_p20110414.tar.gz 69751454 RMD160 f3414540a6fbb184bf3bfe1224a5bbd2acc998f5 SHA1 85c0da3527c36d39ced8bd27a49dee28a5754703 SHA256 2d2ae8ceafbd839d5d8b2ed009fa476150bba7e16353bcafe98c956544e64e68 | ||
| DIST mythtv-0.25_pre20110411.tar.gz 70447862 RMD160 358ca9f22321047aa68b02de956404ea2bce25b7 SHA1 a439fa4d42ab4f0ef250027c3242b29f3deb43ca SHA256 e574042c263747da8ae54ecbe55c5040a76991289a6d65281450eba94a484289 | ||
| DIST mythtv-0.25_pre20110414.tar.gz 70452354 RMD160 27b8f6cad5f7b6681471ea20191cdbd2c6ed5111 SHA1 639527d51c9c47401990a84351cd6e892c999f92 SHA256 a68edbc085a268a79f3f3ea0ad60c8f25fd121eea5ed28a3f0e62024121cf3b7 | ||
| EBUILD mythweather-0.24_p20110411.ebuild 682 RMD160 9de36347d110ffe5bd4e8e77abdb900e134f8537 SHA1 bf96f70119e8b3977c055cb361606aeb0cd89b69 SHA256 5f5b0f928488b0df44a484b8767ffd212740ff41c890f498ece0a13eaf901d1c | ||
| EBUILD mythweather-0.24_p20110414.ebuild 682 RMD160 dbf7550c4bb08add1a255b179849f2bd60c84780 SHA1 03efb438d37a25d3e2d50d5aba02722618c42adc SHA256 0876bfd17722277f7168a5b7167dc11ed115e5254883394f8ff7191579c141e9 | ||
| EBUILD mythweather-0.25_pre20110411.ebuild 684 RMD160 8311686b98e31fb82b7cc9f1ecb54f52d402d4d8 SHA1 a3964bb43d7995b913d17da78e52fbf1eb9a012b SHA256 f62820aa84f7b7a90b75407be1c41cdaa91f55b290ec0e68dc8bc8c564d2674b | ||
| EBUILD mythweather-0.25_pre20110414.ebuild 684 RMD160 b56f7082634b651becda499a55cc2354774c7d8f SHA1 7bc851d0796d1596253e5d01f1adb6a8d686af21 SHA256 1dfa22638c9ccbad8cc571fcf5b6fcd9c1d5cc53dcdacc037019a9c1f7f4a83b |
| 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-242-gf6e282f" | ||
| MYTHTV_BRANCH="fixes/0.24" | ||
| MYTHTV_REV="f6e282f4cd95de787448ee32281cc0c20caafc5d" | ||
| MYTHTV_SREV="f6e282f" | ||
|
|
||
| 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-1783-gc7901ed" | ||
| MYTHTV_BRANCH="master" | ||
| MYTHTV_REV="c7901ed1dedd95aa957cc83ff46989aacb15f343" | ||
| MYTHTV_SREV="c7901ed" | ||
|
|
||
| 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 |
|---|---|---|
| @@ -1,4 +1,8 @@ | ||
| DIST mythtv-0.24_p20110411.tar.gz 69751030 RMD160 29145e6f466453ad42c4418949a53279ebdb2ed8 SHA1 13826cb462d135a9c9d102a4f9691f89eb53f4ac SHA256 ff7747432eed1fa057e1205d5d7c3e3910e0db5fb16c88642b78d260e5e1ace8 | ||
| DIST mythtv-0.24_p20110414.tar.gz 69751454 RMD160 f3414540a6fbb184bf3bfe1224a5bbd2acc998f5 SHA1 85c0da3527c36d39ced8bd27a49dee28a5754703 SHA256 2d2ae8ceafbd839d5d8b2ed009fa476150bba7e16353bcafe98c956544e64e68 | ||
| DIST mythtv-0.25_pre20110411.tar.gz 70447862 RMD160 358ca9f22321047aa68b02de956404ea2bce25b7 SHA1 a439fa4d42ab4f0ef250027c3242b29f3deb43ca SHA256 e574042c263747da8ae54ecbe55c5040a76991289a6d65281450eba94a484289 | ||
| DIST mythtv-0.25_pre20110414.tar.gz 70452354 RMD160 27b8f6cad5f7b6681471ea20191cdbd2c6ed5111 SHA1 639527d51c9c47401990a84351cd6e892c999f92 SHA256 a68edbc085a268a79f3f3ea0ad60c8f25fd121eea5ed28a3f0e62024121cf3b7 | ||
| EBUILD mythzoneminder-0.24_p20110411.ebuild 547 RMD160 1eaabb26622a81fc4331c56dbda1c04824fe60cb SHA1 d3fc095afe1f8b7de28c5a4b367bd59bc2c8a027 SHA256 b7196eb03ced0372a910f708c378198d8ab1c775c57b546f31060906a5ae573c | ||
| EBUILD mythzoneminder-0.24_p20110414.ebuild 547 RMD160 3964246d19855ccfec9386a7f06f90866f031d80 SHA1 a816654276700b9a8a1babffa97014ae29f87dec SHA256 7d99fa7770893a78c67e872ae96478abec64482aa420a4dc59448446003e6ddf | ||
| EBUILD mythzoneminder-0.25_pre20110411.ebuild 549 RMD160 c4105c0824a7213beaf4210f63cf5dfec75afa54 SHA1 4cf720e6ca36351d1f08a5221a3eebc6def3a0a3 SHA256 3e53d56110567a69d9c5e24d80d139fcc46d26eee8e81dbf590d9387f63c203f | ||
| EBUILD mythzoneminder-0.25_pre20110414.ebuild 549 RMD160 1df94e68bb932a0a2849a3ad22dbf55b5eb282da SHA1 cf9bea52bbd7fc2461ece67fd18f82c7e6556a49 SHA256 21ea97763c1c755ff51799d109c4f1b81c907e1611fc892b343680ed36e87200 |
| 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-242-gf6e282f" | ||
| MYTHTV_BRANCH="fixes/0.24" | ||
| MYTHTV_REV="f6e282f4cd95de787448ee32281cc0c20caafc5d" | ||
| MYTHTV_SREV="f6e282f" | ||
|
|
||
|
|
||
| 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-1783-gc7901ed" | ||
| MYTHTV_BRANCH="master" | ||
| MYTHTV_REV="c7901ed1dedd95aa957cc83ff46989aacb15f343" | ||
| MYTHTV_SREV="c7901ed" | ||
|
|
||
|
|
||
| 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 |
|---|---|---|
| @@ -1,5 +1,9 @@ | ||
| AUX Makefile 593 RMD160 be4fc971e29079b205d5d6e730762ad259221310 SHA1 b582a47e7194bec3b290011596c7172e154fb4ce SHA256 91622cd299670172160a23a065b6771252883283cadf27ea14ba3186f54680cd | ||
| DIST mythtv-0.24_p20110411.tar.gz 69751030 RMD160 29145e6f466453ad42c4418949a53279ebdb2ed8 SHA1 13826cb462d135a9c9d102a4f9691f89eb53f4ac SHA256 ff7747432eed1fa057e1205d5d7c3e3910e0db5fb16c88642b78d260e5e1ace8 | ||
| DIST mythtv-0.24_p20110414.tar.gz 69751454 RMD160 f3414540a6fbb184bf3bfe1224a5bbd2acc998f5 SHA1 85c0da3527c36d39ced8bd27a49dee28a5754703 SHA256 2d2ae8ceafbd839d5d8b2ed009fa476150bba7e16353bcafe98c956544e64e68 | ||
| DIST mythtv-0.25_pre20110411.tar.gz 70447862 RMD160 358ca9f22321047aa68b02de956404ea2bce25b7 SHA1 a439fa4d42ab4f0ef250027c3242b29f3deb43ca SHA256 e574042c263747da8ae54ecbe55c5040a76991289a6d65281450eba94a484289 | ||
| DIST mythtv-0.25_pre20110414.tar.gz 70452354 RMD160 27b8f6cad5f7b6681471ea20191cdbd2c6ed5111 SHA1 639527d51c9c47401990a84351cd6e892c999f92 SHA256 a68edbc085a268a79f3f3ea0ad60c8f25fd121eea5ed28a3f0e62024121cf3b7 | ||
| EBUILD mythtv-bindings-0.24_p20110411.ebuild 1556 RMD160 82c8b94b9fb7d0dbc8064b6a6669785ce9692a0b SHA1 a005e510bc2c896d7abf6f7ab81e48ad670354f3 SHA256 d8f03322bbebfefa34a1384a7fc1a199ce541a94b988eb499722cb4cda9da53d | ||
| EBUILD mythtv-bindings-0.24_p20110414.ebuild 1556 RMD160 f520b2da1ac9090eaa4c02b30f2a9538353d4e1d SHA1 04cf674ac3a2b58d53c572c26c22611bb2f0a8cb SHA256 83e9c58ed1e2fc6632e36776efc5c494f40f617afa66c79051313b66fbe53627 | ||
| EBUILD mythtv-bindings-0.25_pre20110411.ebuild 1755 RMD160 cd4023f81c5a0796e9dbc394cfbb95d9a9a5a0be SHA1 8a4e7cd20aad0b5dbd556697e8b31b11f58fc707 SHA256 4dd9dd7c0f7ac10b4041a663334cf74614ebf51ca78dc1a6ef09f47620c8d885 | ||
| EBUILD mythtv-bindings-0.25_pre20110414.ebuild 1755 RMD160 3d4488d7b5c01b197e48da61979dff8b0c3b1f8d SHA1 efe24f99fae2dbd0868a003e64fbba48781132ef SHA256 93a8a640305853b4f833d042ae3d07e4051c00c3fe0f52792271d7198d898b7e |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| # 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-242-gf6e282f" | ||
| MYTHTV_BRANCH="fixes/0.24" | ||
| MYTHTV_REV="f6e282f4cd95de787448ee32281cc0c20caafc5d" | ||
| MYTHTV_SREV="f6e282f" | ||
|
|
||
| inherit flag-o-matic multilib eutils qt4 mythtv toolchain-funcs python | ||
|
|
||
| DESCRIPTION="Homebrew PVR project language bindings" | ||
| SLOT="0" | ||
| KEYWORDS="amd64 x86 ~ppc" | ||
|
|
||
| IUSE="perl python" | ||
|
|
||
| RDEPEND=" | ||
| perl? ( dev-lang/perl | ||
| dev-perl/DBD-mysql | ||
| dev-perl/DateManip | ||
| dev-perl/Net-UPnP ) | ||
| python? ( >=dev-lang/python-2.6 | ||
| dev-python/mysql-python | ||
| dev-python/lxml ) | ||
| !media-tv/mythtv" | ||
|
|
||
| DEPEND="${RDEPEND}" | ||
|
|
||
| src_configure() { | ||
| echo "PREFIX=/usr" > "${S}/config.mak" | ||
| echo "PYTHON=/usr/bin/python" >> "${S}/config.mak" | ||
| use perl && echo "CONFIG_BINDINGS_PERL=yes" >> "${S}/config.mak" | ||
| use python && echo "CONFIG_BINDINGS_PYTHON=yes" >> "${S}/config.mak" | ||
|
|
||
| S="${S}/bindings" | ||
| cp "${FILESDIR}/Makefile" "${S}/Makefile" | ||
| } | ||
|
|
||
| src_compile() { | ||
| emake || die "emake failed" | ||
| } | ||
|
|
||
| src_install() { | ||
| einstall INSTALL_ROOT="${D}" || die "install failed" | ||
|
|
||
| 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_postinst() { | ||
| # | ||
| #} | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| # 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.25pre-1783-gc7901ed" | ||
| MYTHTV_BRANCH="master" | ||
| MYTHTV_REV="c7901ed1dedd95aa957cc83ff46989aacb15f343" | ||
| MYTHTV_SREV="c7901ed" | ||
|
|
||
| inherit flag-o-matic multilib eutils qt4 mythtv toolchain-funcs python | ||
|
|
||
| DESCRIPTION="Homebrew PVR project language bindings" | ||
| SLOT="0" | ||
| KEYWORDS="~amd64 ~x86 ~ppc" | ||
|
|
||
| IUSE="perl python php" | ||
|
|
||
| RDEPEND=" | ||
| perl? ( dev-lang/perl | ||
| dev-perl/DBD-mysql | ||
| dev-perl/DateManip | ||
| dev-perl/Net-UPnP ) | ||
| python? ( >=dev-lang/python-2.6 | ||
| dev-python/mysql-python | ||
| dev-python/lxml ) | ||
| php? ( >=dev-lang/php-5.3 | ||
| dev-php/PEAR-Net_Socket | ||
| dev-php/PEAR-MDB2_Driver_mysqli ) | ||
| !media-tv/mythtv" | ||
|
|
||
| DEPEND="${RDEPEND}" | ||
|
|
||
| src_configure() { | ||
| echo "PREFIX=/usr" > "${S}/config.mak" | ||
| echo "PYTHON=/usr/bin/python" >> "${S}/config.mak" | ||
| use perl && echo "CONFIG_BINDINGS_PERL=yes" >> "${S}/config.mak" | ||
| use python && echo "CONFIG_BINDINGS_PYTHON=yes" >> "${S}/config.mak" | ||
| use php && echo "CONFIG_BINDINGS_PHP=yes" >> "${S}/config.mak" | ||
|
|
||
| S="${S}/bindings" | ||
| cp "${FILESDIR}/Makefile" "${S}/Makefile" | ||
| } | ||
|
|
||
| src_compile() { | ||
| emake || die "emake failed" | ||
| } | ||
|
|
||
| src_install() { | ||
| einstall INSTALL_ROOT="${D}" || die "install failed" | ||
|
|
||
| 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_postinst() { | ||
| # | ||
| #} | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,314 @@ | ||
| # 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-242-gf6e282f" | ||
| MYTHTV_BRANCH="fixes/0.24" | ||
| MYTHTV_REV="f6e282f4cd95de787448ee32281cc0c20caafc5d" | ||
| MYTHTV_SREV="f6e282f" | ||
|
|
||
| inherit flag-o-matic multilib eutils qt4 mythtv toolchain-funcs python linux-info | ||
|
|
||
| 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 ) | ||
| media-fonts/corefonts | ||
| media-fonts/dejavu | ||
| !media-tv/mythtv-bindings | ||
| " | ||
|
|
||
| DEPEND="${RDEPEND} | ||
| dev-lang/yasm | ||
| 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 kernel_is -ge 2 6 38 | ||
| then | ||
| epatch "${FILESDIR}/mythtv-v4l2-fix.2.patch" | ||
| fi | ||
|
|
||
| if use experimental | ||
| then | ||
| 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-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 | ||
| } | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,287 @@ | ||
| # 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-1783-gc7901ed" | ||
| MYTHTV_BRANCH="master" | ||
| MYTHTV_REV="c7901ed1dedd95aa957cc83ff46989aacb15f343" | ||
| MYTHTV_SREV="c7901ed" | ||
|
|
||
| inherit flag-o-matic multilib eutils qt4 mythtv toolchain-funcs python | ||
| inherit linux-info | ||
|
|
||
| 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 \ | ||
| xvid x264 \ | ||
| 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 | ||
| dev-python/urlgrabber ) | ||
| bluray? ( media-libs/libbluray ) | ||
| video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-180.06 ) | ||
| media-fonts/liberation-fonts | ||
| media-fonts/corefonts | ||
| media-fonts/dejavu | ||
| !media-tv/mythtv-bindings | ||
| dev-python/dbus-python | ||
| dev-python/simplejson | ||
| sys-apps/hal | ||
| x264? ( >=media-libs/x264-0.0.20100605 ) | ||
| xvid? ( >=media-libs/xvid-1.1.0 ) | ||
| " | ||
|
|
||
| DEPEND="${RDEPEND} | ||
| x11-proto/xineramaproto | ||
| x11-proto/xf86vidmodeproto | ||
| x11-apps/xinit | ||
| !x11-themes/mythtv-themes | ||
| dev-lang/yasm | ||
| " | ||
|
|
||
| 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" | ||
| epatch "${FILESDIR}/jobQueueIgnoreDeletedRecgroup.patch" | ||
|
|
||
| if has_version ">=virtual/mysql-5.5" | ||
| then | ||
| epatch "${FILESDIR}/mythtv-8585-use_proper_ISO_SQL_format_in_database_logging.patch" | ||
| fi | ||
|
|
||
| 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-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 vdpau && use video_cards_nvidia | ||
| then | ||
| myconf="${myconf} --enable-vdpau" | ||
| fi | ||
|
|
||
| myconf="${myconf} --enable-libmp3lame" | ||
| myconf="${myconf} $(use_enable xvid libxvid)" | ||
| myconf="${myconf} $(use_enable x264 libx264)" | ||
|
|
||
| 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 | ||
| } | ||
|
|