summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2010-02-24 16:39:28 +0000
committerBen de Groot <yngwin@gentoo.org>2010-02-24 16:39:28 +0000
commit175ce35c1643bc0ac3b95e76ee106fd41cc4b6e2 (patch)
tree2d319d46c460bf041dbc7b299b8318ec55034f18 /media-video
parentfixed Qt related issue, bug #280887. (diff)
downloadhistorical-175ce35c1643bc0ac3b95e76ee106fd41cc4b6e2.tar.gz
historical-175ce35c1643bc0ac3b95e76ee106fd41cc4b6e2.tar.bz2
historical-175ce35c1643bc0ac3b95e76ee106fd41cc4b6e2.zip
Version bump
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64
Diffstat (limited to 'media-video')
-rw-r--r--media-video/smplayer/ChangeLog7
-rw-r--r--media-video/smplayer/Manifest4
-rw-r--r--media-video/smplayer/smplayer-0.6.9.ebuild108
3 files changed, 117 insertions, 2 deletions
diff --git a/media-video/smplayer/ChangeLog b/media-video/smplayer/ChangeLog
index e954c03121bc..1eb3ea8c7fcc 100644
--- a/media-video/smplayer/ChangeLog
+++ b/media-video/smplayer/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-video/smplayer
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/ChangeLog,v 1.82 2010/01/05 19:36:41 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/ChangeLog,v 1.83 2010/02/24 16:39:28 yngwin Exp $
+
+*smplayer-0.6.9 (24 Feb 2010)
+
+ 24 Feb 2010; Ben de Groot <yngwin@gentoo.org> +smplayer-0.6.9.ebuild:
+ Version bump
05 Jan 2010; nixnut <nixnut@gentoo.org> smplayer-0.6.8.ebuild:
ppc stable #291025
diff --git a/media-video/smplayer/Manifest b/media-video/smplayer/Manifest
index a0f6829f7b8f..f7afcbbe2fb7 100644
--- a/media-video/smplayer/Manifest
+++ b/media-video/smplayer/Manifest
@@ -1,7 +1,9 @@
AUX smplayer-0.6.8-quit.patch 559 RMD160 57a13ce73bf1bc42ff84afa93740b2b91979c68a SHA1 cd6747917b8a8a71d46b8841d7924c4e304bb636 SHA256 52bd82633b4561613675121ae10af12ef25a11b7343eea043a3a70dd32aa999a
DIST smplayer-0.6.6.tar.bz2 1373258 RMD160 b184d8eef9451a220b894bb46a1eca3ee1d95372 SHA1 6b5299c84650a36ddb73951815e09c100f29e3e5 SHA256 8be72ac3870d0be379b130e84c6168f0ca143dd0112bbe4ce79d5a37394acd29
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
EBUILD smplayer-0.6.6.ebuild 2450 RMD160 a8fb8298d16a1e09df0e69bd5b7980fdfb15a866 SHA1 8ea019a3de509fc08072d8203c4987ebe67c1a89 SHA256 552f061b99f150eb75001e9b1fcdf93adde7910e0ed88bc9c8e29744b3178454
EBUILD smplayer-0.6.8.ebuild 2786 RMD160 04e67cf905669d4a708ec51b1b0572767750fa1c SHA1 590323851d451026bd18fa51c2ca5cba7ab69952 SHA256 c7a407f5e0c93acf87d5c22670f079311a65cc04d938e40d26a93ad71e709ebe
-MISC ChangeLog 11641 RMD160 9e7ea59fa42c84e3cb16653c577e8e77ce694117 SHA1 1cc136d02bb3c2fe5809909b380312526029761a SHA256 f57fe2063b13f4a2fb5dc0ea72656a7e023ab7067ebdf80170655bdb98a97bcd
+EBUILD smplayer-0.6.9.ebuild 2800 RMD160 1656c0e881b3e5bbd93a14e6dfed3637c1205983 SHA1 0ca0a8727d5f6be94d1e79876e4482c440a3423a SHA256 92c1f7d3b4096e6daab631f7e4e6d661e1e69de6cba4950d4d790822a497be73
+MISC ChangeLog 11760 RMD160 72eba58af515e84b1962638a1b7efab6ef06af22 SHA1 71cd63357410a83d4be377fea87747f34c762644 SHA256 c6d245e032d92c7511117b9ee7ab7945b9a17a0939c3d1bc7d3b635a8de04af4
MISC metadata.xml 248 RMD160 3dd3ed866d9de9b9e1e757a75ad74cd04a179a0a SHA1 ee402648473a449107fdc483b2452b655887f15c SHA256 319bbc38f5d834b6230f477c4330ff29d94c9447f563551c977e5c3b038aecaf
diff --git a/media-video/smplayer/smplayer-0.6.9.ebuild b/media-video/smplayer/smplayer-0.6.9.ebuild
new file mode 100644
index 000000000000..789da1e00c62
--- /dev/null
+++ b/media-video/smplayer/smplayer-0.6.9.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/smplayer-0.6.9.ebuild,v 1.1 2010/02/24 16:39:28 yngwin Exp $
+
+EAPI="2"
+
+inherit eutils qt4
+
+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 ~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 et eu fi fr gl hu it ja ka ko ku mk nl pl pt_BR
+pt sk sr sv tr zh_CN zh_TW"
+# langs with long notation in pkg, but no long notation in portage:
+NOLONGLANGS="ar_SY el_GR ro_RO ru_RU sl_SI uk_UA vi_VN"
+for X in ${LANGS}; do
+ IUSE="${IUSE} linguas_${X}"
+done
+for X in ${NOLONGLANGS}; do
+ IUSE="${IUSE} linguas_${X%_*}"
+done
+
+src_prepare() {
+ # Force Ctrl+Q as default quit shortcut
+ epatch "${FILESDIR}/${PN}-0.6.8-quit.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 || die "emake failed"
+
+ # 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 [[ " ${NOLONGLANGS} " == *" ${lang}_"* ]]; then
+ for x in ${NOLONGLANGS}; 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,ja,ru}/gpl.html
+ rm -rf docs/{de,es,nl,ro}
+
+ # remove windows-only files
+ rm "${S}"/*.bat
+
+ emake DESTDIR="${D}" install || die "emake install failed"
+ prepalldocs
+}