| 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-162-g0ddc3f2" | ||
| MYTHTV_BRANCH="fixes/0.24" | ||
| MYTHTV_REV="0ddc3f2678a052d216ed76bc52b34e4ea7f7ac10" | ||
| MYTHTV_SREV="0ddc3f2" | ||
|
|
||
|
|
||
| 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-1151-g1cea35b" | ||
| MYTHTV_BRANCH="master" | ||
| MYTHTV_REV="1cea35b921cc8274960bc7d7bb32fdf9794a7c60" | ||
| MYTHTV_SREV="1cea35b" | ||
|
|
||
|
|
||
| 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,43 @@ | ||
| # Copyright 1999-2008 Gentoo Foundation | ||
| # Distributed under the terms of the GNU General Public License v2 | ||
| # $Header: /var/cvsroot/gentoo-x86/media-plugins/mythmusic/mythmusic-0.21_p17821.ebuild,v 1.1 2008/08/01 16:43:37 cardoe Exp $ | ||
|
|
||
| EAPI="2" | ||
|
|
||
| MYTHTV_VERSION="v0.24-162-g0ddc3f2" | ||
| MYTHTV_BRANCH="fixes/0.24" | ||
| MYTHTV_REV="0ddc3f2678a052d216ed76bc52b34e4ea7f7ac10" | ||
| MYTHTV_SREV="0ddc3f2" | ||
|
|
||
| inherit mythtv-plugins flag-o-matic toolchain-funcs eutils | ||
|
|
||
| DESCRIPTION="Music player module for MythTV." | ||
| IUSE="aac cdr fftw libvisual projectm opengl sdl" | ||
| KEYWORDS="amd64 x86 ~ppc" | ||
|
|
||
| RDEPEND=">=media-sound/cdparanoia-3.9.8 | ||
| >=media-libs/libmad-0.15.1b | ||
| >=media-libs/libvorbis-1.0 | ||
| >=media-libs/libcdaudio-0.99.6 | ||
| >=media-libs/flac-1.1.2 | ||
| >=media-libs/taglib-1.4 | ||
| media-gfx/dcraw | ||
| fftw? ( sci-libs/fftw ) | ||
| opengl? ( virtual/opengl ) | ||
| sdl? ( >=media-libs/libsdl-1.2.5 ) | ||
| cdr? ( virtual/cdrtools ) | ||
| libvisual? ( =media-libs/libvisual-0.4* | ||
| media-plugins/libvisual-plugins | ||
| >=media-libs/libsdl-1.2.5 | ||
| ) | ||
| projectm? ( media-plugins/libvisual-projectm | ||
| >=media-libs/libsdl-1.2.5 | ||
| =media-libs/libvisual-0.4* | ||
| )" | ||
|
|
||
| DEPEND="${RDEPEND}" | ||
|
|
||
| #pkg_config() { | ||
| #} | ||
|
|
||
| MTVCONF="$(use_enable fftw) $(use_enable sdl) $(use_enable opengl) $(use_enable libvisual)" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| # Copyright 1999-2008 Gentoo Foundation | ||
| # Distributed under the terms of the GNU General Public License v2 | ||
| # $Header: /var/cvsroot/gentoo-x86/media-plugins/mythmusic/mythmusic-0.21_p17821.ebuild,v 1.1 2008/08/01 16:43:37 cardoe Exp $ | ||
|
|
||
| EAPI="2" | ||
|
|
||
| MYTHTV_VERSION="v0.25pre-1151-g1cea35b" | ||
| MYTHTV_BRANCH="master" | ||
| MYTHTV_REV="1cea35b921cc8274960bc7d7bb32fdf9794a7c60" | ||
| MYTHTV_SREV="1cea35b" | ||
|
|
||
| inherit mythtv-plugins flag-o-matic toolchain-funcs eutils | ||
|
|
||
| DESCRIPTION="Music player module for MythTV." | ||
| IUSE="aac cdr fftw libvisual projectm opengl sdl" | ||
| KEYWORDS="~amd64 ~x86 ~ppc" | ||
|
|
||
| RDEPEND=">=media-sound/cdparanoia-3.9.8 | ||
| >=media-libs/libmad-0.15.1b | ||
| >=media-libs/libvorbis-1.0 | ||
| >=media-libs/libcdaudio-0.99.6 | ||
| >=media-libs/flac-1.1.2 | ||
| >=media-libs/taglib-1.4 | ||
| media-gfx/dcraw | ||
| fftw? ( sci-libs/fftw ) | ||
| opengl? ( virtual/opengl ) | ||
| sdl? ( >=media-libs/libsdl-1.2.5 ) | ||
| cdr? ( virtual/cdrtools ) | ||
| libvisual? ( =media-libs/libvisual-0.4* | ||
| media-plugins/libvisual-plugins | ||
| >=media-libs/libsdl-1.2.5 | ||
| ) | ||
| projectm? ( media-plugins/libvisual-projectm | ||
| >=media-libs/libsdl-1.2.5 | ||
| =media-libs/libvisual-0.4* | ||
| )" | ||
|
|
||
| DEPEND="${RDEPEND}" | ||
|
|
||
| #pkg_config() { | ||
| #} | ||
|
|
||
| MTVCONF="$(use_enable fftw) $(use_enable sdl) $(use_enable opengl) $(use_enable libvisual)" |
| 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-162-g0ddc3f2" | ||
| MYTHTV_BRANCH="fixes/0.24" | ||
| MYTHTV_REV="0ddc3f2678a052d216ed76bc52b34e4ea7f7ac10" | ||
| MYTHTV_SREV="0ddc3f2" | ||
|
|
||
| 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-1151-g1cea35b" | ||
| MYTHTV_BRANCH="master" | ||
| MYTHTV_REV="1cea35b921cc8274960bc7d7bb32fdf9794a7c60" | ||
| MYTHTV_SREV="1cea35b" | ||
|
|
||
| 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,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-162-g0ddc3f2" | ||
| MYTHTV_BRANCH="fixes/0.24" | ||
| MYTHTV_REV="0ddc3f2678a052d216ed76bc52b34e4ea7f7ac10" | ||
| MYTHTV_SREV="0ddc3f2" | ||
|
|
||
| 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,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-1151-g1cea35b" | ||
| MYTHTV_BRANCH="master" | ||
| MYTHTV_REV="1cea35b921cc8274960bc7d7bb32fdf9794a7c60" | ||
| MYTHTV_SREV="1cea35b" | ||
|
|
||
| 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,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-162-g0ddc3f2" | ||
| MYTHTV_BRANCH="fixes/0.24" | ||
| MYTHTV_REV="0ddc3f2678a052d216ed76bc52b34e4ea7f7ac10" | ||
| MYTHTV_SREV="0ddc3f2" | ||
|
|
||
| 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." | ||
| } |
| 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-1151-g1cea35b" | ||
| MYTHTV_BRANCH="master" | ||
| MYTHTV_REV="1cea35b921cc8274960bc7d7bb32fdf9794a7c60" | ||
| MYTHTV_SREV="1cea35b" | ||
|
|
||
| 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." | ||
| } |
| 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-162-g0ddc3f2" | ||
| MYTHTV_BRANCH="fixes/0.24" | ||
| MYTHTV_REV="0ddc3f2678a052d216ed76bc52b34e4ea7f7ac10" | ||
| MYTHTV_SREV="0ddc3f2" | ||
|
|
||
| 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-1151-g1cea35b" | ||
| MYTHTV_BRANCH="master" | ||
| MYTHTV_REV="1cea35b921cc8274960bc7d7bb32fdf9794a7c60" | ||
| MYTHTV_SREV="1cea35b" | ||
|
|
||
| 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,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-162-g0ddc3f2" | ||
| MYTHTV_BRANCH="fixes/0.24" | ||
| MYTHTV_REV="0ddc3f2678a052d216ed76bc52b34e4ea7f7ac10" | ||
| MYTHTV_SREV="0ddc3f2" | ||
|
|
||
|
|
||
| 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-1151-g1cea35b" | ||
| MYTHTV_BRANCH="master" | ||
| MYTHTV_REV="1cea35b921cc8274960bc7d7bb32fdf9794a7c60" | ||
| MYTHTV_SREV="1cea35b" | ||
|
|
||
|
|
||
| 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,9 @@ | ||
| AUX Makefile 593 RMD160 be4fc971e29079b205d5d6e730762ad259221310 SHA1 b582a47e7194bec3b290011596c7172e154fb4ce SHA256 91622cd299670172160a23a065b6771252883283cadf27ea14ba3186f54680cd | ||
| DIST mythtv-0.24_p20110209.tar.gz 69746444 RMD160 06ec42c9aa40cdcdc723a7265795bbb138cf7f7e SHA1 268990199747c7710facf529d28ea8102d24dc88 SHA256 d4f8a0fb4a07d8838ae8e6ecfc33a9b062d6c7d98ef326f289add178472a185a | ||
| DIST mythtv-0.24_p20110211.tar.gz 69747563 RMD160 ba651f666df9efd56a36491eb1d6b00629caa374 SHA1 6a562fdef169e48418e067cdbb476755a57142df SHA256 b6b285c92d78baceca9a45159f4e0e43e4b60f11b2753033112e4e7554a9a2e3 | ||
| DIST mythtv-0.25_pre20110209.tar.gz 69838016 RMD160 f2fbb1ec8da79391ab86627e068c7029c7bdea6d SHA1 2249fbcb82c83c5a6f53c78a2153ea3432f6ad29 SHA256 1d1443f147477a1eeec89cb11b342e4f87ff9d760260b6950da84906d4c8a977 | ||
| DIST mythtv-0.25_pre20110211.tar.gz 69838278 RMD160 c8498167ade119870e9146ea1ca42cd053b64581 SHA1 d39cd013c63ada38d512975b77b48802a2540f55 SHA256 af0b650526c39868f9e9ff7b514300f1c5c42c5c775b2a449fc6df27cdea3e63 | ||
| EBUILD mythtv-bindings-0.24_p20110209.ebuild 1555 RMD160 4fa058be5c1b2c3777c0586c36a160ee63ff5f7f SHA1 f600e633c535146eebb1435848594ceacc2ba3fb SHA256 69c724c78144c54186c3da19e690ed90a907ea4522792f3894cac83996851ffe | ||
| EBUILD mythtv-bindings-0.24_p20110211.ebuild 1555 RMD160 10ac2fa467cdfeb250b44aacfc50a8e2e0ce9b67 SHA1 ddac82248bacda001141096ddb56f5e27b9d059d SHA256 855b383bc6dda497d64d6a623050335f81c0cf3bf4fdf4eaa1bfdcbea5f2d89d | ||
| EBUILD mythtv-bindings-0.25_pre20110209.ebuild 1755 RMD160 a2c906871f8baab64de1b0981b98a6488e17f95c SHA1 98a22375fd15e7a78aeefa2c8d0f2f21719e76d2 SHA256 53d8a7f1f99d2b6da87e4bc7940358af344ee46dbdc763eaacd174b2d5129a65 | ||
| EBUILD mythtv-bindings-0.25_pre20110211.ebuild 1755 RMD160 cfd8648fa7c255963083173232854b9c59f166ff SHA1 7c40d67bcdd6af843acadfa61ae531f34a4b50c1 SHA256 52df5e7ff6045e29103542296decce71dc1d4c764449c598aaef8c82488722f9 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| include ../config.mak | ||
|
|
||
| ifdef CONFIG_BINDINGS_PERL | ||
| SUBDIRS = perl | ||
| endif | ||
|
|
||
| ifdef CONFIG_BINDINGS_PYTHON | ||
| ifndef SUBDIRS | ||
| SUBDIRS = python | ||
| else | ||
| SUBDIRS += python | ||
| endif | ||
| endif | ||
|
|
||
| ifdef CONFIG_BINDINGS_PHP | ||
| ifndef SUBDIRS | ||
| SUBDIRS = php | ||
| else | ||
| SUBDIRS += php | ||
| endif | ||
| endif | ||
|
|
||
| .PHONY: subdirs $(SUBDIRS) | ||
| install $(addsuffix _install,$(SUBDIRS)) | ||
|
|
||
| all: subdirs | ||
|
|
||
| install: $(addsuffix _install,$(SUBDIRS)) | ||
|
|
||
| subdirs: $(SUBDIRS) | ||
|
|
||
| ${SUBDIRS}: $(addsuffix /Makefile,$(SUBDIRS)) | ||
| $(MAKE) -C $@ | ||
|
|
||
| $(addsuffix _install,$(SUBDIRS)): $(addsuffix /Makefile,$(SUBDIRS)) | ||
| $(MAKE) -C $(subst _install,,$@) install | ||
|
|
| 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-158-g48d554e" | ||
| MYTHTV_BRANCH="fixes/0.24" | ||
| MYTHTV_REV="48d554ebec88fbdbe4af935cb5a262b089ba7b84" | ||
| MYTHTV_SREV="48d554e" | ||
|
|
||
| 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,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-162-g0ddc3f2" | ||
| MYTHTV_BRANCH="fixes/0.24" | ||
| MYTHTV_REV="0ddc3f2678a052d216ed76bc52b34e4ea7f7ac10" | ||
| MYTHTV_SREV="0ddc3f2" | ||
|
|
||
| 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-1140-g7fbdf82" | ||
| MYTHTV_BRANCH="master" | ||
| MYTHTV_REV="7fbdf821fc5a7ed14c82badbeb1701b01a7b2c3d" | ||
| MYTHTV_SREV="7fbdf82" | ||
|
|
||
| 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,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-1151-g1cea35b" | ||
| MYTHTV_BRANCH="master" | ||
| MYTHTV_REV="1cea35b921cc8274960bc7d7bb32fdf9794a7c60" | ||
| MYTHTV_SREV="1cea35b" | ||
|
|
||
| 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,310 @@ | ||
| # 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-162-g0ddc3f2" | ||
| MYTHTV_BRANCH="fixes/0.24" | ||
| MYTHTV_REV="0ddc3f2678a052d216ed76bc52b34e4ea7f7ac10" | ||
| MYTHTV_SREV="0ddc3f2" | ||
|
|
||
| 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 ) | ||
| 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 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-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,271 @@ | ||
| # 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-1151-g1cea35b" | ||
| MYTHTV_BRANCH="master" | ||
| MYTHTV_REV="1cea35b921cc8274960bc7d7bb32fdf9794a7c60" | ||
| MYTHTV_SREV="1cea35b" | ||
|
|
||
| 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 ) | ||
| media-fonts/liberation-fonts | ||
| media-fonts/corefonts | ||
| media-fonts/dejavu | ||
| !media-tv/mythtv-bindings | ||
| " | ||
|
|
||
| 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" | ||
| 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" | ||
|
|
||
| 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 | ||
| } | ||
|
|