Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 304483 Details for
Bug 407199
media-video/smtube - A youtube search and play add-on for smplayer
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
smtube-1.0.ebuild
smtube-1.0.ebuild (text/plain), 1.82 KB, created by
Fat-Zer
on 2012-03-06 23:27:52 UTC
(
hide
)
Description:
smtube-1.0.ebuild
Filename:
MIME Type:
Creator:
Fat-Zer
Created:
2012-03-06 23:27:52 UTC
Size:
1.82 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-video/smtube/smtube-1.0.ebuild,v 1.1 2012/03/03 14:15:10 pesa Exp $ > >EAPI=4 >LANGS="es ja it" >LANGSLONG="ru_RU" > >inherit eutils qt4-r2 > ># regular upstream release >SRC_URI="mirror://sourceforge/smplayer/${P}.tar.bz2" > >IUSE="" >DESCRIPTION="A youtube search and play add-on for smplayer." >HOMEPAGE="http://smplayer.sourceforge.net/" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~x86" > >DEPEND="x11-libs/qt-gui:4" >RDEPEND="${DEPEND}" > >src_prepare() { > # Upstream Makefile sucks > sed -i -e "/^PREFIX=/s:/usr/local:/usr:" \ > -e "/^DOC_PATH=/s:smtube:${PF}:" \ > -e '/\.\/get_svn_revision\.sh/,+2c\ > cd src && $(DEFS) $(MAKE)' \ > "${S}"/Makefile || die "sed failed" >} > >src_configure() { > cd "${S}"/src > echo "#define SVN_REVISION \"SVN-${PV} (Gentoo)\"" > svn_revision.h > eqmake4 >} > >gen_translation() { > ebegin "Generating $1 translation" > lrelease ${PN}_${1}.ts > eend $? || die "failed to generate $1 translation" >} > >src_compile() { > emake > > # Generate translations > cd "${S}"/src/translations > local lang= nolangs= x= > for lang in ${LINGUAS}; do > if has ${lang} ${LANGS}; then > gen_translation ${lang} > continue > elif [[ " ${LANGSLONG} " == *" ${lang}_"* ]]; then > for x in ${LANGSLONG}; do > if [[ "${lang}" == "${x%_*}" ]]; then > gen_translation ${x} > continue 2 > fi > done > fi > nolangs="${nolangs} ${lang}" > done > [[ -n ${nolangs} ]] && ewarn "Sorry, but ${PN} does not support the LINGUAS:" ${nolangs} > # install fails when no translation is present (bug 244370) > [[ -z $(ls *.qm 2>/dev/null) ]] && gen_translation en >} > >src_install() { > # remove unneeded copies of GPL > rm -f Copying.txt Copying_BSD.txt > > # remove windows-only files > rm "${S}"/*.bat || die > > emake DESTDIR="${D}" install >}
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 407199
:
304483
|
353418
|
417496