diff options
author | Ben de Groot <yngwin@gentoo.org> | 2012-09-20 10:29:53 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2012-09-20 10:29:53 +0000 |
commit | 782f87860e9529108e8c5cf18a889a081b5bc504 (patch) | |
tree | bc890cc226cb3b742aceef12ff8993cd5663d1ff /media-video | |
parent | Version bump. (diff) | |
download | historical-782f87860e9529108e8c5cf18a889a081b5bc504.tar.gz historical-782f87860e9529108e8c5cf18a889a081b5bc504.tar.bz2 historical-782f87860e9529108e8c5cf18a889a081b5bc504.zip |
Version bump
Package-Manager: portage-2.2.0_alpha129/cvs/Linux x86_64
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/smplayer/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/smplayer/Manifest | 14 | ||||
-rw-r--r-- | media-video/smplayer/smplayer-0.8.1.ebuild | 83 |
3 files changed, 92 insertions, 12 deletions
diff --git a/media-video/smplayer/ChangeLog b/media-video/smplayer/ChangeLog index 33cf9b6e9881..b2ef16c80c02 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.118 2012/09/13 00:26:26 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/ChangeLog,v 1.119 2012/09/20 10:29:53 yngwin Exp $ + +*smplayer-0.8.1 (20 Sep 2012) + + 20 Sep 2012; Ben de Groot <yngwin@gentoo.org> +smplayer-0.8.1.ebuild: + Version bump 13 Sep 2012; Anthony G. Basile <blueness@gentoo.org> smplayer-0.8.0.ebuild: Keyword ppc64, bug #383945 diff --git a/media-video/smplayer/Manifest b/media-video/smplayer/Manifest index 90a085b987f4..45a7519ffe41 100644 --- a/media-video/smplayer/Manifest +++ b/media-video/smplayer/Manifest @@ -1,15 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX smplayer-0.8.0-quazip.patch 2915 SHA256 ac1e7f6301d14df624c13219397958d2f5ebee3c3f89f46cc9651e9413548bd2 SHA512 a642720f4db2a705ef6380212c6658a8ef34ec34319e575630750b614516f430ce91d40a47989980e695f9e0e6ada031da3ea8608e16c11112e94d5b8ccb6503 WHIRLPOOL b055fa4c97da7505a66e9b4061e0fce4609dc0f68691670cacdd9890cfa68098df11b1ae66ed153ba1c47e58f5786bee4ab4a4fdbf261eca17bcc43f9b722383 DIST smplayer-0.8.0.tar.bz2 2815007 SHA256 208ad155da3bbcb3924549c7ba81aa7280b59adfdb92adbec5ac7ebc2944576f SHA512 471dd55cce745b89a1d00d823da64bd23881a2b1e45e49b8578323aa3562de8592ed929f166b2b81fd6eefcb71f41144cf7a3678772198414d716b89f75c1bda WHIRLPOOL 7ac387622afc79ca401db981d396801c4a69fd6daa576f31cd18f7910336c0a28f908c22a02dabb043c61568b76ce0ccd21d767ff63a50369c5a420f6b4212bf +DIST smplayer-0.8.1.tar.bz2 2813484 SHA256 15eccd13e68cee4d564d319e2ae238f19c6445a98c721c573f55502fce618d6b SHA512 3e2afdfb9ae14ce22ff4be36673db328295ee79538fc41bbff2296ee4d050534054f35e13d16efdb2fe40cae1d2874678b614357b3714fde55508e3cae810556 WHIRLPOOL b847b104979ab8d8ca85c9408665fcc3dd30567367635ed8d1d4f56142634160830604f5af6540f05c15d919a675bfb48e43109c3e0c2767da172bf4447d6d19 EBUILD smplayer-0.8.0.ebuild 2246 SHA256 fafbff169dee6f92fcf3c4c633e5e393285ce2bfbe1bb374cc8c9c7ae61a9b72 SHA512 1b41fbed2ed91d10e7126353a027dd709b7d327f0fa319b48597c97137caeac9ce3f719a838fee522036a705f4cd991fd686dbbb83018e5787a00ac3b9c7348a WHIRLPOOL d7b8118b53ddf915cf48846cd05bb741c07f662ae820ef870b6834e29b4de9fc111ac3ba48e8ae2dcc5cee6042da286e0605dcf9f1504145fc48f63a2e062fce -MISC ChangeLog 16321 SHA256 23ddf954c48881e4180651d3484e97f53f7eec4b37e5f93cd1fa5e6975d4c4e1 SHA512 3649671abb325f431eea6eb9712f1c091030abccc3bf63e4f11c45bf26b6208816a57f415ab75dc3d657256b2771011e1db64c54dafb27fe2e0fcc28a48ea233 WHIRLPOOL ec4593d0bc4998dfff1fa4faf3fb80c1b1e5adabf11656b1d173ed5377a3a8132003d89d10345cdb96bedccfbac8d0f44e95aaf067bb863684a6f6185be55c8d +EBUILD smplayer-0.8.1.ebuild 2195 SHA256 f6c683f86b82b1f5d462e56c899ad6ef09ccaaa50835c5283716d2fd17cea5c4 SHA512 843dad436d7ea93dfb5a6c473ae24f4e5dcd9bc562d3d0269341bcd060873729532a6493cb75cde185b09716d987edbfccf46d1cda1405d00dbc9d0adfc04ba1 WHIRLPOOL 1678aeb8b9aead2d7e64007f3af7cf4fa402cfcfc9e1168913a194b94a6a47aa53cbcf24d7849b5ae50f0fb637335db196c8bba76396265abc6ab035fcacfb46 +MISC ChangeLog 16438 SHA256 bdde2212f3d605f7116ac2b3e22f5d3ea704dba588a9b9ed78c3ba03f9e08bf9 SHA512 83e2ba0a83fc47334cf2787421ed993e6aad620d1ade7f233ac1e0022c0afde364838c27f07b54cbafba872cdd9af5727bd537d877466734337099e93418382b WHIRLPOOL a4aa720b2c4b9e76ff22225048750a19cd6c823f54a588c070ccf9efda0721b123ea9c2c40335e403dc3d1e535e68b9cb9a3aa8a75bad8af62dab8c5a5754ea4 MISC metadata.xml 174 SHA256 89d4f3510de4db0434e0b3794ed9bef3e603217ca0cb195d3e817c208239f6fa SHA512 bc396506ea847d6a36e400a86b8a575a46d075da58b57a4b085e12ac242e210a7a55c4e8b3da567b97c0e5a8bfc682bb5546b3b657c2f92f6fa00da674bb7062 WHIRLPOOL 0e82e9ab352222683df9da1682d9cc03d2123786218c74f31ac487417100408cd5737aac3355e96f68388ddba76b3a1ea2f4bcf50fd4ec55c87fb6bfd20a5fee ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iEYEAREIAAYFAlBRKCUACgkQl5yvQNBFVTUFDACeLzvi/rZRAMCGyj0w0ERPfThR -mOsAoIeTkM+38ajDJcByiq+vkYNRgR/h -=kRpM ------END PGP SIGNATURE----- diff --git a/media-video/smplayer/smplayer-0.8.1.ebuild b/media-video/smplayer/smplayer-0.8.1.ebuild new file mode 100644 index 000000000000..4ca76ab5ce00 --- /dev/null +++ b/media-video/smplayer/smplayer-0.8.1.ebuild @@ -0,0 +1,83 @@ +# 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.8.1.ebuild,v 1.1 2012/09/20 10:29:53 yngwin Exp $ + +EAPI=4 +PLOCALES="ar_SY bg ca cs da de el_GR en_US es et eu fi fr gl hr hu it ja ka ko +ku lt mk nl pl pt pt_BR ro_RO ru_RU sk sl_SI sr sv tr uk_UA vi_VN zh_CN zh_TW" +PLOCALE_BACKUP="en_US" + +inherit eutils l10n 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="~alpha ~amd64 ~arm ~hppa ~ppc64 ~x86 ~x86-fbsd" +IUSE="debug" + +DEPEND="x11-libs/qt-gui:4 + dev-libs/quazip" +MPLAYER_USE="[libass,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.8.0-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 + + # l10n_find_plocales_changes "${S}/src/translations" "${PN}_" '.ts' +} + +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 + + cd "${S}"/src/translations + l10n_for_each_locale_do gen_translation +} + +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 + + emake DESTDIR="${D}" install +} |