summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2009-03-13 19:08:20 +0000
committerBen de Groot <yngwin@gentoo.org>2009-03-13 19:08:20 +0000
commitd58feacdc5952c52ed8596a75da90e8ccfe04098 (patch)
tree7456063284fb159c0921cc3407a7911c8e00efce /media-video/smplayer
parentstable amd64, bug 262119 (diff)
downloadhistorical-d58feacdc5952c52ed8596a75da90e8ccfe04098.tar.gz
historical-d58feacdc5952c52ed8596a75da90e8ccfe04098.tar.bz2
historical-d58feacdc5952c52ed8596a75da90e8ccfe04098.zip
Version bump. Again we needed a post-release svn snapshot to work with Qt 4.5.
Package-Manager: portage-2.2_rc24/cvs/Linux x86_64 RepoMan-Options: --force
Diffstat (limited to 'media-video/smplayer')
-rw-r--r--media-video/smplayer/ChangeLog9
-rw-r--r--media-video/smplayer/Manifest4
-rw-r--r--media-video/smplayer/smplayer-0.6.7_p2872.ebuild85
3 files changed, 96 insertions, 2 deletions
diff --git a/media-video/smplayer/ChangeLog b/media-video/smplayer/ChangeLog
index 4ce0ab5fccc1..a9f8711c1448 100644
--- a/media-video/smplayer/ChangeLog
+++ b/media-video/smplayer/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-video/smplayer
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/ChangeLog,v 1.65 2009/03/12 15:05:38 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/ChangeLog,v 1.66 2009/03/13 19:08:20 yngwin Exp $
+
+*smplayer-0.6.7_p2872 (13 Mar 2009)
+
+ 13 Mar 2009; Ben de Groot <yngwin@gentoo.org>
+ +smplayer-0.6.7_p2872.ebuild:
+ Version bump. Again we needed a post-release svn snapshot to work with Qt
+ 4.5.
12 Mar 2009; Brent Baude <ranger@gentoo.org> smplayer-0.6.6.ebuild:
Marking smplayer-0.6.6 ppc64 for bug 257852
diff --git a/media-video/smplayer/Manifest b/media-video/smplayer/Manifest
index e4807d56b06c..f8ba1589ab55 100644
--- a/media-video/smplayer/Manifest
+++ b/media-video/smplayer/Manifest
@@ -4,11 +4,13 @@ DIST smplayer-0.6.5.1.tar.bz2 1290836 RMD160 500427b56ea886a561bc24f8b87e90d7f12
DIST smplayer-0.6.5.tar.bz2 1300271 RMD160 e7dfbdda2c8e03ad65643ba12334f92d985dc7dd SHA1 58c61d5bade169287f837e5d263910e4f4e041f0 SHA256 b2af673a5a26d2699240fe03e3e649ef736a979cb57afd6d9ef48da6744644ce
DIST smplayer-0.6.6.tar.bz2 1373258 RMD160 b184d8eef9451a220b894bb46a1eca3ee1d95372 SHA1 6b5299c84650a36ddb73951815e09c100f29e3e5 SHA256 8be72ac3870d0be379b130e84c6168f0ca143dd0112bbe4ce79d5a37394acd29
DIST smplayer-r2776.tar.bz2 1382658 RMD160 c20c276f1de153281e3e8e491fcde855b6fae1d3 SHA1 81046680d7cc355b3519923bf423caf6cc10d722 SHA256 ecce5687b80e9fff56e0d5dfb0c01927cb0d32e4d4535b0f3d78d955dc12e7b6
+DIST smplayer-r2872.tar.bz2 1389799 RMD160 316b907d9036953c5bc8658612e78827e0de79f6 SHA1 ebf398000825561a8f8f29453efa9c0a2811ac2f SHA256 b525d97fe943ad2d7666a1f28b96bb6bc86c1f852a725588baf7ddc3151c1340
EBUILD smplayer-0.6.1-r1.ebuild 3260 RMD160 d36f49a53ca965c14d659fd6a5d64e926fbeed8f SHA1 e0b486c0a6d8d868504d9781fbc5a193f1ded3d0 SHA256 6974e51dde6df072896807ee310c083442dd4a0a1cd6b6de38d23bc4ee07a242
EBUILD smplayer-0.6.2-r1.ebuild 3037 RMD160 4edd22ca03553ef86d3a6204ee60567920733daa SHA1 88334c987774e8c732ec1851f2f6afb64ddbf351 SHA256 e11283338e0b395a289af2955176ff3d85de3141d46023864162a53945720557
EBUILD smplayer-0.6.5-r1.ebuild 2671 RMD160 c681cba09adf1982a7f916758eaab8802279bb4e SHA1 eacd7d41c801303a1fc161243fb578d542875d26 SHA256 8c6e573ca4550fc136b7bcf182479ff620cc238c8587e30fe6eed1f072efcb4e
EBUILD smplayer-0.6.5.1.ebuild 2488 RMD160 0f2ce62f4097f17c89bdafcbe420db1857b3c940 SHA1 ad5743b88af53d1223d2ef59e4441bbaef43bc82 SHA256 ee45b6bd836454da578722e13069598b574f77d8c4c8a7eff2f12770ecd57469
EBUILD smplayer-0.6.6.ebuild 2461 RMD160 da098c2281c72ec7f57457200ddacee5810453fe SHA1 74a4d99c6958aaf5e0e37dd8b6318eb61762d6bc SHA256 112571286fc4b5585607364ba60269f3887b2d6c9f0b5c44a78c495991508350
EBUILD smplayer-0.6.6_p2776.ebuild 2220 RMD160 e00a7ed136b48d2ccf5761be659430351b162478 SHA1 e5fb6d785a7df3b10b5fe882cad3d2e3be33944b SHA256 db6e849be3dd7883303dbda05c5392584d3a1cf1ce51a1056cee90f62386b46b
-MISC ChangeLog 9105 RMD160 bb1e760e98e1527f6a40dcfe4d4dcade49728eaa SHA1 43b2286c115f24aaf75bd02db3b4f08468c02442 SHA256 b7b48a87a2d61c05fd29e02cd6544901cd8d9e247b379484845707a37930bee9
+EBUILD smplayer-0.6.7_p2872.ebuild 2220 RMD160 77e943363569208e370650817768871e6f15b6fe SHA1 0d4354ffefe3eb000853ab271907a47ac31b5323 SHA256 1d39b4f79e8b4639bf48b134b731832336781c9db9a8c4a5ef7295f39c7191ff
+MISC ChangeLog 9306 RMD160 ea2a372e24cd93a3c4e0ddfd82f869261bd91fa3 SHA1 e9fc9113dbb80e5a719c82fba1f1d3af57c1c499 SHA256 eca0f4b5fcde64491b9b9931059424325b03793559260bc708bdf5e92cd4d70e
MISC metadata.xml 248 RMD160 3dd3ed866d9de9b9e1e757a75ad74cd04a179a0a SHA1 ee402648473a449107fdc483b2452b655887f15c SHA256 319bbc38f5d834b6230f477c4330ff29d94c9447f563551c977e5c3b038aecaf
diff --git a/media-video/smplayer/smplayer-0.6.7_p2872.ebuild b/media-video/smplayer/smplayer-0.6.7_p2872.ebuild
new file mode 100644
index 000000000000..99a53c5ab844
--- /dev/null
+++ b/media-video/smplayer/smplayer-0.6.7_p2872.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/smplayer-0.6.7_p2872.ebuild,v 1.1 2009/03/13 19:08:20 yngwin Exp $
+
+EAPI=2
+inherit eutils qt4
+
+MY_P=${PN}-r${PV##*p}
+
+DESCRIPTION="Great Qt4 GUI front-end for mplayer"
+HOMEPAGE="http://smplayer.sourceforge.net"
+SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="debug"
+
+DEPEND="x11-libs/qt-gui:4"
+RDEPEND="${DEPEND}
+ media-video/mplayer[ass,png]"
+
+LANGS="bg ca cs de en_US es eu fi fr gl hu it ja ka ko ku mk nl pl pt_BR pt_PT sk sr sv tr zh_CN zh_TW"
+NOLONGLANGS="ar_SY el_GR ro_RO ru_RU sl_SI uk_UA"
+for X in ${LANGS}; do
+ IUSE="${IUSE} linguas_${X}"
+done
+for X in ${NOLONGLANGS}; do
+ IUSE="${IUSE} linguas_${X%_*}"
+done
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # Turn debug message flooding off
+ if ! use debug ; then
+ sed -i "s:#DEFINES += NO_DEBUG_ON_CONSOLE:DEFINES += NO_DEBUG_ON_CONSOLE:" \
+ "${S}"/src/smplayer.pro || die "sed failed"
+ fi
+}
+
+src_configure() {
+ eqmake4 src/${PN}.pro -o src/Makefile
+}
+
+src_compile() {
+ emake || die "emake failed"
+
+ # Generate translations
+ cd "${S}"/src/translations
+ local LANG=
+ for LANG in ${LINGUAS}; do
+ if has ${LANG} ${LANGS}; then
+ einfo "Generating ${LANG} translation ..."
+ lrelease ${PN}_${LANG}.ts || die "Failed to generate ${LANG} translation!"
+ continue
+ elif [[ " ${NOLONGLANGS} " == *" ${LANG}_"* ]]; then
+ local X=
+ for X in ${NOLONGLANGS}; do
+ if [[ "${LANG}" == "${X%_*}" ]]; then
+ einfo "Generating ${X} translation ..."
+ lrelease ${PN}_${X}.ts || die "Failed to generate ${X} translation!"
+ continue 2
+ fi
+ done
+ fi
+ ewarn "Sorry, but ${PN} does not support the ${LANG} LINGUA."
+ done
+ # install fails when no translation is present (bug 244370)
+ [[ -f *.qm ]] || lrelease ${PN}_en_US.ts
+}
+
+src_install() {
+ # remove unneeded copies of GPL
+ rm Copying.txt docs/en/gpl.html docs/ru/gpl.html
+ for i in de es ja nl ro ; do
+ rm -rf docs/$i
+ done
+
+ # remove windows-only files
+ rm "${S}"/*.bat
+
+ emake DESTDIR="${D}" install || die "emake install failed"
+ prepalldocs
+}