Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 299965 Details for
Bug 400907
media-tv/mythtv-0.24.2_p20120122: ebuild for mythtv 0.24.2 incl. plugins
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
mythmusic-0.24.2 ebuild
mythmusic-0.24.2_p20120122.ebuild (text/plain), 5.22 KB, created by
Nicolas Pöhlmann
on 2012-01-26 12:56:49 UTC
(
hide
)
Description:
mythmusic-0.24.2 ebuild
Filename:
MIME Type:
Creator:
Nicolas Pöhlmann
Created:
2012-01-26 12:56:49 UTC
Size:
5.22 KB
patch
obsolete
># Copyright 1999-2012 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/media-plugins/mythmusic/mythmusic-0.24.2_p20120122.ebuild,v 1.0 2012/01/22 07:00:00 panzerfather Exp $ > >EAPI="2" > >MYTHTV_VERSION="v0.24.2-1-g4627dc9" >MYTHTV_BRANCH="fixes/0.24" >MYTHTV_REV="4627dc9104cf786e1e90b34ba4c61dcb82ca826c" >MYTHTV_SREV="4627dc9" > >inherit eutils mythtv multilib versionator > >DESCRIPTION="Music player module for MythTV." >KEYWORDS="~amd64 ~ppc ~x86" > >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* > )" > ># Extra configure options to pass to econf >MTVCONF=${MTVCONF:="$(use_enable fftw) $(use_enable sdl) $(use_enable opengl) $(use_enable libvisual)"} > >SLOT="0" > >IUSE="aac cdr debug fftw libvisual profile projectm opengl sdl" > > > if [[ -z $MYTHTV_NODEPS ]] > then > RDEPEND="${RDEPEND} > =media-tv/mythtv-${MY_PV}*" > DEPEND="${DEPEND} > =media-tv/mythtv-${MY_PV}* > >=sys-apps/sed-4" > fi > > if use debug > then > myconf="${myconf} --compile-type=debug" > RESTRICT="strip" > elif use profile > then > myconf="${myconf} --compile-type=profile" > else > myconf="${myconf} --compile-type=release" ># myconf="${myconf} --enable-proc-opt" > fi > ># Release version >MY_PV="${PV%_*}" > ># what product do we want >case "${PN}" in > mythtv) > REPO="mythtv" > MY_PN="mythtv" > S="${WORKDIR}/MythTV-${REPO}-${MYTHTV_SREV}/${MY_PN}" > ;; > mythtv-bindings) > REPO="mythtv" > MY_PN="mythtv" > S="${WORKDIR}/MythTV-${REPO}-${MYTHTV_SREV}/${MY_PN}" > ;; > mythweb) > REPO="mythweb" > MY_PN="mythweb" > S="${WORKDIR}/MythTV-${REPO}-${MYTHTV_SREV}/" > ;; > nuvexport) > REPO="nuvexport" > MY_PN="nuvexport" > MYTHTV_REV="$NUVEXPORT_REV" > S="${WORKDIR}/MythTV-${REPO}-${NUVEXPORT_SREV}/" > ;; > *) > REPO="mythtv" > MY_PN="mythplugins" > S="${WORKDIR}/MythTV-${REPO}-${MYTHTV_SREV}/${MY_PN}" > ;; >esac > ># _pre is from SVN trunk while _p and _beta are from SVN ${MY_PV}-fixes ># TODO: probably ought to do something smart if the regex doesn't match anything >[[ "${PV}" =~ (_alpha|_beta|_pre|_rc|_p)([0-9]+) ]] || { > # assume a tagged release > MYTHTV_REV="v${PV}" >} > >HOMEPAGE="http://www.mythtv.org" >LICENSE="GPL-2" >SRC_URI="https://github.com/MythTV/${REPO}/tarball/${MYTHTV_REV} -> ${REPO}-${PV}.tar.gz" > >pkg_setup() { ># List of available plugins (needs to include ALL of them in the tarball) > MYTHPLUGINS="" > MYTHPLUGINS="${MYTHPLUGINS} mytharchive" > MYTHPLUGINS="${MYTHPLUGINS} mythbrowser" > MYTHPLUGINS="${MYTHPLUGINS} mythgallery" > MYTHPLUGINS="${MYTHPLUGINS} mythgame" > if [[ ${MY_PV} == "0.24.2" ]]; then > MYTHPLUGINS="${MYTHPLUGINS} mythmusic" > fi > MYTHPLUGINS="${MYTHPLUGINS} mythnetvision" > MYTHPLUGINS="${MYTHPLUGINS} mythnews" > MYTHPLUGINS="${MYTHPLUGINS} mythvideo" > MYTHPLUGINS="${MYTHPLUGINS} mythweather" > MYTHPLUGINS="${MYTHPLUGINS} mythzoneminder" >} > >src_prepare() { > if use libvisual && ! use sdl; then > ewarn > ewarn "libvisual support requires sdl support. Enable 'sdl' USE flag" > ewarn "if you really want libvisual support" > ewarn > fi > > sed -e 's!PREFIX = /usr/local!PREFIX = /usr!' \ > -i 'settings.pro' || die "fixing PREFIX to /usr failed" > > sed -e "s!QMAKE_CXXFLAGS_RELEASE = -O3 -march=pentiumpro -fomit-frame-pointer!QMAKE_CXXFLAGS_RELEASE = ${CXXFLAGS}!" \ > -i 'settings.pro' || die "Fixing QMake's CXXFLAGS failed" > > sed -e "s!QMAKE_CFLAGS_RELEASE = \$\${QMAKE_CXXFLAGS_RELEASE}!QMAKE_CFLAGS_RELEASE = ${CFLAGS}!" \ > -i 'settings.pro' || die "Fixing Qmake's CFLAGS failed" > > find "${S}" -name '*.pro' -exec sed -i \ > -e "s:\$\${PREFIX}/lib/:\$\${PREFIX}/$(get_libdir)/:g" \ > -e "s:\$\${PREFIX}/lib$:\$\${PREFIX}/$(get_libdir):g" \ > {} \; >} > >src_configure() { > if has ${PN} ${MYTHPLUGINS} ; then > for x in ${MYTHPLUGINS} ; do > if [[ ${PN} == ${x} ]] ; then > myconf="${myconf} --enable-${x}" > else > myconf="${myconf} --disable-${x}" > fi > done > else > die "Package ${PN} is unsupported" > fi > > chmod +x configure > econf ${myconf} ${MTVCONF} >} > >src_compile() { > qmake mythplugins.pro || die "eqmake4 failed" > emake || die "make failed to compile" >} > >src_install() { > for file in `find "${S}" -type f -name *.py` > do > fperms 755 "$file" > done > > # setup JAMU cron jobs > #if use jamu; then > # exeinto /etc/cron.daily > # newexe "${FILESDIR}/mythvideo.daily" mythvideo || die > # exeinto /etc/cron.hourly > # newexe "${FILESDIR}/mythvideo.hourly" mythvideo || die > # exeinto /etc/cron.weekly > # newexe "${FILESDIR}/mythvideo.weekly" mythvideo || die > # insinto /home/mythtv/.mythtv/ > # newins mythvideo/scripts/jamu-example.conf jamu.conf || die > #fi > > if has ${PN} ${MYTHPLUGINS} > then > cd "${S}"/${PN} > else > die "Package ${PN} is unsupported" > fi > > einstall INSTALL_ROOT="${D}" > for doc in AUTHORS COPYING FAQ UPGRADING ChangeLog README > do > test -e "${doc}" && dodoc ${doc} > done >} > >pkg_postinst() { > elog "This is just a Test-Release of mythmusic-0.24.2." > elog >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 400907
:
299959
|
299963
| 299965 |
299967
|
299969
|
300337
|
300345
|
302485