Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 170974 Details for
Bug 209490
fuppes - Free UPnP Entertainment Service (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Fuppes SVN r618 (dev) ebuild
fuppes-618.ebuild (text/plain), 3.67 KB, created by
Aliaksandr Kuzko
on 2008-11-07 11:58:27 UTC
(
hide
)
Description:
Fuppes SVN r618 (dev) ebuild
Filename:
MIME Type:
Creator:
Aliaksandr Kuzko
Created:
2008-11-07 11:58:27 UTC
Size:
3.67 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: .../media-video/fuppes/fuppes-618.ebuild $ > >inherit eutils > >DESCRIPTION="Free UPnP Entertainment Service." >HOMEPAGE="http://fuppes.sf.net/" >SRC_URI="mirror://sourceforge/fuppes/${PN}-SVN-${PVR}.tar.gz" > >S="${WORKDIR}/${PN}-SVN-${PVR}" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86 ~amd64" >IUSE="transcode imagemagick flac muse iconv lame taglib twolame gnome notify dlna" > >RDEPEND="transcode? ( media-video/ffmpeg ) > dlna? ( media-libs/libdlna ) > imagemagick? ( media-gfx/imagemagick )" > >DEPEND="${RDEPEND} > iconv? ( virtual/libiconv ) > lame? ( media-sound/lame ) > muse? ( media-libs/libmpcdec ) > twolame? ( media-sound/twolame ) > flac? ( media-libs/flac ) > gnome? ( gnome-base/gnome-panel ) > notify? ( x11-libs/libnotify ) > taglib? ( media-libs/taglib ) > >=dev-db/sqlite-3.2 > dev-libs/libpcre > dev-libs/libxml2 > sys-devel/autoconf" > >pkg_setup() { > # Transcoding requires media-video/ffmpeg to be installed. The 'required' > # USE flags listed below is geared to allow the most flexible transcoding. > # If the following use flags aren't needed, then transcoding probably > # isn't needed either. > > if use transcode && ! built_with_use media-video/ffmpeg xvid x264 aac encode; then > eerror "This package requires \"media-video/ffmpeg\" compiled with at least" > eerror "the following USE flags: \"xvid x264 aac encode\"." > die "Please re-emerge \"media-video/ffmpeg\" with USE=\"xvid x264 aac encode\"." > elif use transcode && ! (use lame || use twolame) ; then > eerror "For transcode support, lame or twolame must be installed" > die "Please emerge with the either the \"lame\" or \"twolame\" USE flags" > fi > > # Add the fuppes user to make the default config > # work out-of-the-box > enewgroup ${PN} > enewuser ${PN} -1 -1 -1 ${PN} >} >src_unpack() { > unpack ${A} > > cd "${S}" > > # fix broken configure script > epatch "${FILESDIR}/configure-618.patch" > epatch "${FILESDIR}/adjust-ffmpeg-path-618.patch" > epatch "${FILESDIR}/update_includes-618.patch" > epatch "${FILESDIR}/bug-relloc-618.patch" >} > >src_compile() { > local myconf > > if use transcode; then > myconf="--enable-video-transcoding" > else > # If media-video/ffmpeg is not installed, then disable transcode and libavformat > # checking otherwise, package won't compile properly. > myconf="--disable-transcoding --disable-libavformat" > fi > > if use gnome; then > myconf="${myconf} --enable-gnome-panel-applet" > fi > > econf $(use_enable iconv) \ > $(use_enable lame) \ > $(use_enable twolame) \ > $(use_enable imagemagick) \ > $(use_enable notify) \ > $(use_enable taglib) \ > ${myconf} \ > || die "configure failed" >} > >src_install() { > emake DESTDIR="${D}" install || die "Install failed" > newinitd ${FILESDIR}/fuppes-init fuppes > > keepdir /var/lib/${PN} > keepdir /var/log/${PN} > > # Filename of sample cfg - use live filename if available > local sample=${PN}.cfg > [[ -e "${ROOT}/etc/${PN}/${sample}" ]] && sample="${sample}.sample" > insinto /etc/${PN} > insopts -m 0664 -o root -g ${PN} > newins "${FILESDIR}/${PN}.cfg.sample" "${sample}" || die "sample fuppes.cfg install failed" > > # Filename of sample vfolder.cfg > insinto /etc/${PN} > insopts -m 0664 -o root -g ${PN} > newins "vfolder.cfg" "vfolder.cfg.sample" || die "sample vfolder.cfg install failed" >} > >pkg_postinst() { > chown ${PN}:${PN} /var/lib/${PN} > chown ${PN}:${PN} /var/log/${PN} > > einfo "This package includes an init.d file to start the fuppes daemon" > einfo "You may add this script to your default runlevels as follows:" > einfo "rc-update add fuppes default" > einfo "A new user & group has been added to the system for fuppes to run as" >}
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 209490
:
143077
|
143430
|
146376
|
147601
|
147602
|
147603
|
147605
|
150788
|
150790
|
150792
|
163350
|
163352
|
168270
|
168272
|
168274
|
170972
|
170973
| 170974 |
175712
|
187421
|
188160
|
205350
|
214867
|
215760
|
216567
|
217060
|
238151
|
238153
|
238155
|
259941
|
259944
|
259970