diff options
author | Davide Pesavento <pesa@gentoo.org> | 2012-03-03 14:15:10 +0000 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2012-03-03 14:15:10 +0000 |
commit | ec3a522d81e18e746b22a9e36c9b461402b026d7 (patch) | |
tree | 810cbd285952a08083a99958f11a9b3f6f2c2467 /media-video/smplayer | |
parent | Marking syslog-ng-3.2.5 ppc64 for bug 394621 (diff) | |
download | historical-ec3a522d81e18e746b22a9e36c9b461402b026d7.tar.gz historical-ec3a522d81e18e746b22a9e36c9b461402b026d7.tar.bz2 historical-ec3a522d81e18e746b22a9e36c9b461402b026d7.zip |
Version bump by Ben de Groot <yngwin@gmail.com>.
Package-Manager: portage-2.2.0_alpha89/cvs/Linux x86_64
Diffstat (limited to 'media-video/smplayer')
-rw-r--r-- | media-video/smplayer/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/smplayer/Manifest | 22 | ||||
-rw-r--r-- | media-video/smplayer/smplayer-0.7.1.ebuild | 102 |
3 files changed, 125 insertions, 6 deletions
diff --git a/media-video/smplayer/ChangeLog b/media-video/smplayer/ChangeLog index b723a062ceea..464bf498939f 100644 --- a/media-video/smplayer/ChangeLog +++ b/media-video/smplayer/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/smplayer # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/ChangeLog,v 1.101 2012/02/19 09:09:44 klausman Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/ChangeLog,v 1.102 2012/03/03 14:15:10 pesa Exp $ + +*smplayer-0.7.1 (03 Mar 2012) + + 03 Mar 2012; Davide Pesavento <pesa@gentoo.org> +smplayer-0.7.1.ebuild: + Version bump by Ben de Groot <yngwin@gmail.com>. 18 Feb 2012; Tobias Klausmann <klausman@gentoo.org> smplayer-0.6.9-r2.ebuild: Keyworded on alpha, bug #383945 diff --git a/media-video/smplayer/Manifest b/media-video/smplayer/Manifest index d64555c41bbd..45ee766d60fc 100644 --- a/media-video/smplayer/Manifest +++ b/media-video/smplayer/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA512 AUX smplayer-0.6.8-quit.patch 559 RMD160 57a13ce73bf1bc42ff84afa93740b2b91979c68a SHA1 cd6747917b8a8a71d46b8841d7924c4e304bb636 SHA256 52bd82633b4561613675121ae10af12ef25a11b7343eea043a3a70dd32aa999a AUX smplayer-0.6.9-quazip.patch 3078 RMD160 e45f97595a53ee2eae603ca41d14e680ac504f76 SHA1 dee5b27bf1bf7cb4784d38bfc07cad6c13504a44 SHA256 4f2004a512879e3e0cf8f497a5c9218c662b3e8986e81797b7f3eebe77445c5a @@ -7,18 +7,30 @@ DIST smplayer-0.6.10.tar.bz2 2204068 RMD160 9397e693152cf92c92d237b1cbadbb2e1f4c DIST smplayer-0.6.8.tar.bz2 1670580 RMD160 10db255b8e21658b03fcff66de5554acaf29782e SHA1 0f7d53babe1fd71ea9eddb448622d112495242e7 SHA256 466b589ee2d3944b2e3b8f3a6dae436f7d31f054912cfe56f8d93454594c4ca2 DIST smplayer-0.6.9.tar.bz2 1723032 RMD160 8e47e88b9fddc56d66c338c1886a5079ab279854 SHA1 1879839c229b7ef2dcd6d7e34e2e2057fae5182c SHA256 b91009b6dc2a3cdd5acc2bdacc3cf6870fce8f63d8e6ef9cfe8e199f1acc2e35 DIST smplayer-0.7.0.tar.bz2 2280593 RMD160 0b00f2ab537047e8922e078add64bec5853dabed SHA1 961589618cb3708598e64480da0bb9b3b56550c2 SHA256 f22f3fb63749f82a2f5d604ea195870cdd30296ca18ebc3f384bb5b7ea2a90df +DIST smplayer-0.7.1.tar.bz2 2788634 RMD160 864f227d2dec475368e155255ceec9f929ec1aa8 SHA1 de5a3a8dc3bf38c2fba344d170144656a116b8c3 SHA256 f7be2ed4cd629dd50f21dd64298ba3d4d0a4347c4bb915282a0caceade81087e EBUILD smplayer-0.6.10.ebuild 2734 RMD160 11d2a87f0159eaca0cfb4e591724cff9aaecd8e6 SHA1 2d0360a0cb9bfe201f6e456273ac82266d674ab9 SHA256 4333074d2c99a29a6b2f0ba02b5146a8e8509601d1de034626e31896baaba7e1 EBUILD smplayer-0.6.8.ebuild 2786 RMD160 04e67cf905669d4a708ec51b1b0572767750fa1c SHA1 590323851d451026bd18fa51c2ca5cba7ab69952 SHA256 c7a407f5e0c93acf87d5c22670f079311a65cc04d938e40d26a93ad71e709ebe EBUILD smplayer-0.6.9-r1.ebuild 2642 RMD160 8c8b7a8f14d97685eb89f56413531379b392c288 SHA1 4a4e4e51da9a8ab38bdae8cd7c0b34aee56d1d74 SHA256 b8e1b6df52dd49a904ce871f325a02732bbe645114f3bd05adfe0f2b6686aa2d EBUILD smplayer-0.6.9-r2.ebuild 2742 RMD160 cb17ac66bc9fadd0431b24d4026987590a7a7cab SHA1 cfb42ef0d1a39f275352f96c7e7d7dc9acb4dd9b SHA256 a39b0a00722863e61fdd38dd8cdf978d3c3a3a90d435b866bc7a6bbf3d140085 EBUILD smplayer-0.6.9.ebuild 2559 RMD160 5dec7b33269b7fef6ade928df0be224232f1a1bc SHA1 838c5877a376b5f3a004175833e3fdbdb037ba00 SHA256 00306f46e88c9c1eaa617b788f9dfc2a99150c8e82ecee54e0b53d9edd0fd1ae EBUILD smplayer-0.7.0.ebuild 2653 RMD160 fbb3b3289010548508c616955e6466aca9059743 SHA1 47462a837416a5c27d2582b834deadbbeb2a32b7 SHA256 d5a50d2effce87cd9206d1b1b7ab2de7f9483f5d86ca73aa5bdb2221f3ad036f -MISC ChangeLog 14093 RMD160 8970f1fde4b94b328aad7c9f90329de6032cfa3f SHA1 084cb26ed819c1a3805c77675948e6ba820243c9 SHA256 fbc5a7c4c6796d0aa546e7266eef57fc5fe4cde9f658d8a55fd5b6d75ba8f319 +EBUILD smplayer-0.7.1.ebuild 2671 RMD160 d4c798b59528e0d75da496c09d88b2a46df83dfb SHA1 e5ee051f25f04b5eda1b46c9c06d8b9082b4c079 SHA256 63732d456e56dac30c3a8bb0ac4c33ce6b11f0736912a9a57fe9cdba146c2fb2 +MISC ChangeLog 14246 RMD160 5c9e9e6899f7149ca63bf30f791f517486e887a9 SHA1 125baea7f7b7e618c4074f2e1855dedb08765cfd SHA256 b283f2c0018c4f8cda98c01b6bf65c1510415cb10cc523f5bb6207afaa75bf28 MISC metadata.xml 174 RMD160 0a13b88e8a29e1544788c6a992ec89f0596ce194 SHA1 aba42874330898fd11455305dc72f5c3be472565 SHA256 89d4f3510de4db0434e0b3794ed9bef3e603217ca0cb195d3e817c208239f6fa -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk9AvGUACgkQA+4Doc5dVOg+0gCgiM6RKb4shAPDvwZHwsJD6dN/ -f2sAoIHI6XwwuC2uJaDu2HuVSmGkHWvu -=bALq +iQIcBAEBCgAGBQJPUid2AAoJENXLsxwXqFxyQSwQAJRWzwGDgph53a2uQC7uW8F2 +dcpLY81QASaTEqGJW5wnJLW0zg0DewhoHrGwTiWFStZwJCUsky4oiQhY2JMHsn7v +CRXM9tdqClwGl4iGCRcCCIvTGC/4oLGpH39+f/oLiehggJQVleUuBrqaW52yPuvT +DQl9/nbN7U6lnsBGCsCxybagJC8YR1kk/wAH5CgTkVX+56yGxmUhFLrdvikZxeXe +RPcp3j1h2XJUwKb5Um7sbfWgYl2q4QlFXkzpwK+6rWNpMMLU/uPZuyNU5CuJP0PW +DQuS3t+aMu05AZPzpi8iyUq2gkCYVFi+h+j9TQ2KqvxSrjdy+EcDidzXywA/7pkR +5Vewng510PXikm6YgOX4PHPcSv0SZ5p8V66zc1UiWEX18sP/db2wYmVqPDeBih/q +8ztoxXv0g7pnCe3UZfZyM6wgLbD1LA74zdP2xcPa1ROEpMgcrQo7UsD+YWeLlLl0 +GoqNeqNwJKSujn/NP2nz1fA02mL+6ncvp9OxpEXDEqY00AuY0d/IJE2vk0XNUv73 +VAhmMWTxKsAR6mwq0WwtJh9rXe1tFFZuUc2yI2VsT84dW52FqmbhRQt1voptDYPL +E/4YmXXhitS44aIH/GU3huz9e2MnyGef+XLWaYiPW+Cxr7CYU7mvFmxwZN2t+DDy +9uXM874wp624f2R53CUY +=3rpR -----END PGP SIGNATURE----- diff --git a/media-video/smplayer/smplayer-0.7.1.ebuild b/media-video/smplayer/smplayer-0.7.1.ebuild new file mode 100644 index 000000000000..99811e003f6f --- /dev/null +++ b/media-video/smplayer/smplayer-0.7.1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/smplayer-0.7.1.ebuild,v 1.1 2012/03/03 14:15:10 pesa Exp $ + +EAPI=4 +LANGS="bg ca cs da de en_US es et eu fi fr gl hr hu it ja ka ko ku lt mk nl pl +pt_BR pt sk sr sv tr zh_CN zh_TW" +LANGSLONG="ar_SY el_GR ro_RO ru_RU sl_SI uk_UA vi_VN" + +inherit eutils qt4-r2 + +MY_PV=${PV##*_p} +if [[ "${MY_PV}" != "${PV}" ]]; then + # svn snapshot + MY_PV=r${MY_PV} + MY_P=${PN}-${MY_PV} + S="${WORKDIR}/${MY_P}" + SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" +else + # regular upstream release + SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +fi + +DESCRIPTION="Great Qt4 GUI front-end for mplayer" +HOMEPAGE="http://smplayer.sourceforge.net/" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~x86" +IUSE="debug" + +DEPEND="x11-libs/qt-gui:4 + dev-libs/quazip" +MPLAYER_USE="[ass,png,X]" +RDEPEND="${DEPEND} + || ( media-video/mplayer${MPLAYER_USE} media-video/mplayer2${MPLAYER_USE} )" + +src_prepare() { + # Unbundle dev-libs/quazip + rm -R src/findsubtitles/quazip/ || die + epatch "${FILESDIR}"/${PN}-0.6.9-quazip.patch + + # Upstream Makefile sucks + sed -i -e "/^PREFIX=/s:/usr/local:/usr:" \ + -e "/^DOC_PATH=/s:packages/smplayer:${PF}:" \ + -e '/\.\/get_svn_revision\.sh/,+2c\ + cd src && $(DEFS) $(MAKE)' \ + "${S}"/Makefile || die "sed failed" + + # Turn debug message flooding off + if ! use debug ; then + sed -i 's:#\(DEFINES += NO_DEBUG_ON_CONSOLE\):\1:' \ + "${S}"/src/smplayer.pro || die "sed failed" + fi +} + +src_configure() { + cd "${S}"/src + echo "#define SVN_REVISION \"SVN-${MY_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_US +} + +src_install() { + # remove unneeded copies of GPL + rm -f Copying.txt docs/{cs,en,hu,it,ja,pt,ru,zh_CN}/gpl.html || die + rm -rf docs/{de,es,nl,ro} || die + + # remove windows-only files + rm "${S}"/*.bat || die + + emake DESTDIR="${D}" install +} |