summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2013-08-07 08:24:37 +0000
committerBen de Groot <yngwin@gentoo.org>2013-08-07 08:24:37 +0000
commit2f91133bb61306088666ae5a71b455a8b79f22cc (patch)
treebd340ae1a7a56f0af27f65068764fcb1f8d1d9e4 /media-video/smplayer
parentVersion bump for security bug #479880 (diff)
downloadhistorical-2f91133bb61306088666ae5a71b455a8b79f22cc.tar.gz
historical-2f91133bb61306088666ae5a71b455a8b79f22cc.tar.bz2
historical-2f91133bb61306088666ae5a71b455a8b79f22cc.zip
Turn off update checker (bug #479902); prefer mplayer over mplayer2 again, since the latter is unmaintained
Package-Manager: portage-2.2.0_alpha194/cvs/Linux x86_64 Manifest-Sign-Key: 0x2B2474AD43CE296E!
Diffstat (limited to 'media-video/smplayer')
-rw-r--r--media-video/smplayer/ChangeLog8
-rw-r--r--media-video/smplayer/Manifest25
-rw-r--r--media-video/smplayer/smplayer-0.8.5-r1.ebuild89
3 files changed, 113 insertions, 9 deletions
diff --git a/media-video/smplayer/ChangeLog b/media-video/smplayer/ChangeLog
index 3f5991e4ac15..d73d6d4be47e 100644
--- a/media-video/smplayer/ChangeLog
+++ b/media-video/smplayer/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/smplayer
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/ChangeLog,v 1.138 2013/07/04 14:48:31 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/ChangeLog,v 1.139 2013/08/07 08:24:29 yngwin Exp $
+
+*smplayer-0.8.5-r1 (07 Aug 2013)
+
+ 07 Aug 2013; Ben de Groot <yngwin@gentoo.org> +smplayer-0.8.5-r1.ebuild:
+ Turn off update checker (bug #479902); prefer mplayer over mplayer2 again,
+ since the latter is unmaintained
04 Jul 2013; Michael Palimaka <kensington@gentoo.org> -smplayer-0.8.3.ebuild,
-smplayer-0.8.4-r1.ebuild:
diff --git a/media-video/smplayer/Manifest b/media-video/smplayer/Manifest
index fc1a9a935576..7aff41857885 100644
--- a/media-video/smplayer/Manifest
+++ b/media-video/smplayer/Manifest
@@ -3,17 +3,26 @@ Hash: SHA256
AUX smplayer-0.8.0-quazip.patch 2915 SHA256 ac1e7f6301d14df624c13219397958d2f5ebee3c3f89f46cc9651e9413548bd2 SHA512 a642720f4db2a705ef6380212c6658a8ef34ec34319e575630750b614516f430ce91d40a47989980e695f9e0e6ada031da3ea8608e16c11112e94d5b8ccb6503 WHIRLPOOL b055fa4c97da7505a66e9b4061e0fce4609dc0f68691670cacdd9890cfa68098df11b1ae66ed153ba1c47e58f5786bee4ab4a4fdbf261eca17bcc43f9b722383
DIST smplayer-0.8.5.tar.bz2 3343452 SHA256 3c772738bbd4da2f5ff0e28408dab57dbf3fcdebc9d58097da45b0f2b0da6e6d SHA512 88d2941a5dc425604ef693c61d74c4bb3895df30e26a03c916bc27f57d2f8ee1af102bab69418a367171c28bda9d0a692d40744b1b3dd11340935dc51365fa2e WHIRLPOOL bf86fec5bd91a62bbd5d392983368d5a88cbcbac8da54db1031c5f1111a4b5347a5e354405997de22f9b8793b1653853dbc1ddf461948260d527bb1b5a5bcad2
+EBUILD smplayer-0.8.5-r1.ebuild 2403 SHA256 86fd7ff68a79da8670ae548cf74057dc94806bebbdc26baeda7593a1e5742091 SHA512 a34fdd79c64c4c2cca385b931fc30d984b10f9eedd76f0733c40edefe1472e1c72f1aac83408eecaebde01653d616d1cb8ca9889bcc01e3fc25727fcac48291e WHIRLPOOL 83d2815c8d7be56fdebe634e14d9a32878021e143d650861e8d1aa9a5c743905780dedac47e3f3fcc4a194d25c4f49c698118966b86c656eb8c8ad451aa4e99d
EBUILD smplayer-0.8.5.ebuild 2229 SHA256 67b32d5e7859cb37bd292623069b4755f75eea6bcb8b1c4d25d2a7ebbcef452e SHA512 91ae54bbfc988f3a3849a842703a10f0e285d996a2b32c94798e447e7eabfeeb4cc57f80fad5a63431191668e786e84ef8c0371a20618e270ceb56c181a1f2b9 WHIRLPOOL 5fcb3e80049eca41e6ee82e041321ee29ad8ef2e96e2e2806af50c59506899cc781c03756f4f139c9b01165a5994232c5a1595c9b8d506de549fc18cb6f0cd8d
-MISC ChangeLog 18891 SHA256 093e5e3069643c8c0425cecf656f7f8bf8a15bc9972c0616c5dd12bd1a1e8b67 SHA512 9c2f8abe45b4aae9722a39fd35cfa7248f09d94c1a8e87d3e22107e267b3b1a892940d6ee7d874e35aa45119398ba5e8fdee2231f5ec43e7c01f6b4c416ca1d2 WHIRLPOOL 13e8287e10288e223878f27a00c153673c3ade2ad56f620a481bc0960cb24c984ae64ca7b99847c372fe4f7c2b89bc73f90492720b5374d00c28fb11b4ba5d5a
+MISC ChangeLog 19109 SHA256 4596bacfbf1c52a8da550106fa7337604c92e07e3a16eeec88faf1464f9954a6 SHA512 85b3778d3d36018b12c533d3aa0c5def869b6fd71a041fa15e08fd144df35f7c0f3b6b2dfaf0f55f0b71c2efdd353c777ac7626c502da4a025864fbc69c0ff67 WHIRLPOOL 0a185354223a593d6a7e98de5b3671b650bbade6ad0ce83e1cbb579c627991018ce01fd9bdd4fba2027541be05180d29a09dee06f5d88444b8cfe5dd8ff00832
MISC metadata.xml 174 SHA256 89d4f3510de4db0434e0b3794ed9bef3e603217ca0cb195d3e817c208239f6fa SHA512 bc396506ea847d6a36e400a86b8a575a46d075da58b57a4b085e12ac242e210a7a55c4e8b3da567b97c0e5a8bfc682bb5546b3b657c2f92f6fa00da674bb7062 WHIRLPOOL 0e82e9ab352222683df9da1682d9cc03d2123786218c74f31ac487417100408cd5737aac3355e96f68388ddba76b3a1ea2f4bcf50fd4ec55c87fb6bfd20a5fee
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
-iQEcBAEBCAAGBQJR1YrXAAoJEMbwO6tnXQ0suJgH/jYyLFQtlkD3r45oA0P8KIf3
-typVMogRJepCL8qiia8FbQlfvQ+OvAJ3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LB2nzpHycHJ
+fyuqW7zLmMQSibjiVz5URVho91GCXqWDXUrR/8iQrUZx3GuXfoxr43TbCdpojo83
+w+ble3o4Zw+0y1ecZYJ2
+=Fi3q
-----END PGP SIGNATURE-----
diff --git a/media-video/smplayer/smplayer-0.8.5-r1.ebuild b/media-video/smplayer/smplayer-0.8.5-r1.ebuild
new file mode 100644
index 000000000000..4768066c706b
--- /dev/null
+++ b/media-video/smplayer/smplayer-0.8.5-r1.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/smplayer-0.8.5-r1.ebuild,v 1.1 2013/08/07 08:24:29 yngwin Exp $
+
+EAPI=5
+PLOCALES="ar_SY bg ca cs da de el_GR en_US es et eu fi fr gl he_IL hr hu it ja
+ka ko ku lt mk ms_MY nl pl pt pt_BR ro_RO ru_RU sk sl_SI sr sv th 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 BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="debug"
+
+DEPEND="dev-qt/qtcore:4
+ dev-qt/qtgui: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
+
+ # Turn off online update checker, bug #479902
+ sed -e 's:DEFINES += UPDATE_CHECKER:#DEFINES += UPDATE_CHECKER:' \
+ -i "${S}"/src/smplayer.pro || die "sed failed"
+
+ # 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 licenses
+ rm -f Copying* 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
+}