summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2008-05-14 15:45:51 +0000
committerBen de Groot <yngwin@gentoo.org>2008-05-14 15:45:51 +0000
commit09a0754d67e65c1ccee93a608813eff94875a1af (patch)
treee889e470422229fbeaed4e279f0f65fe5740473f /media-video/smplayer
parentVersion bumped. Fix a segfault introduced with this version. (diff)
downloadhistorical-09a0754d67e65c1ccee93a608813eff94875a1af.tar.gz
historical-09a0754d67e65c1ccee93a608813eff94875a1af.tar.bz2
historical-09a0754d67e65c1ccee93a608813eff94875a1af.zip
Version bump to smplayer-0.6.0 release
Package-Manager: portage-2.1.5_rc9
Diffstat (limited to 'media-video/smplayer')
-rw-r--r--media-video/smplayer/ChangeLog8
-rw-r--r--media-video/smplayer/Manifest4
-rw-r--r--media-video/smplayer/smplayer-0.6.0.ebuild90
3 files changed, 100 insertions, 2 deletions
diff --git a/media-video/smplayer/ChangeLog b/media-video/smplayer/ChangeLog
index 38dc41299cdd..83eb66eb4733 100644
--- a/media-video/smplayer/ChangeLog
+++ b/media-video/smplayer/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/smplayer
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/ChangeLog,v 1.18 2008/05/09 14:00:00 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/ChangeLog,v 1.19 2008/05/14 15:45:51 yngwin Exp $
+
+*smplayer-0.6.0 (14 May 2008)
+
+ 14 May 2008; Ben de Groot <yngwin@gentoo.org> +smplayer-0.6.0.ebuild:
+ Version bump to 0.6.0 final release. Removed qt3support checks, as
+ qt3support is no longer needed.
09 May 2008; Raúl Porcel <armin76@gentoo.org> smplayer-0.6.0_rc4.ebuild:
Add ~sparc
diff --git a/media-video/smplayer/Manifest b/media-video/smplayer/Manifest
index a4d1e6d18cc2..197c50bf85c4 100644
--- a/media-video/smplayer/Manifest
+++ b/media-video/smplayer/Manifest
@@ -1,6 +1,8 @@
+DIST smplayer-0.6.0final.tar.bz2 1016544 RMD160 2e68eb660e1ad6e96ae3e058cc08dcc87be61468 SHA1 4415acfabf868c93601fa99187398d65295ab341 SHA256 3111edfac2ad114d6db83f2242de3b69d4e6825ddba985370c615932723908fb
DIST smplayer-0.6.0rc3.tar.bz2 1011857 RMD160 3678d96c6f5c8808e7c6de7a00d242322deab58e SHA1 71d5efd36f6b0f9b7a612ce00e5224268911fbc6 SHA256 ae37b8a78aed20d1698eaa5359488731d8ccd59d73d15159448861b31e8b3e83
DIST smplayer-0.6.0rc4.tar.bz2 1017697 RMD160 5d7a66e23985510e21749c211801eafc59bc3459 SHA1 aba53aad0dc1ed2de9d2977b34196df281c650a1 SHA256 41b5e574b44bc632ea6d39a6d3d6ed89a84934b8a598f153c5320ac70a92a893
+EBUILD smplayer-0.6.0.ebuild 2625 RMD160 cc94b1f4b8a5c4d91764e8d047c8806243370209 SHA1 eda911ff19322666a606c59d03c1abfaa480a569 SHA256 0b66a3851e94f0ad607adef9fdb164d3c92107a4a9be94aa48a8f98bdcc6078a
EBUILD smplayer-0.6.0_rc3.ebuild 2924 RMD160 7905cdb9d451a1bd0f6437227f653610b5fcff28 SHA1 24317113c9f830e05b72ac84b3120be79c502e9f SHA256 3ea8b1b2256796d549b3d87a1636026e1deb7cb793c8919695e7f7aa8cba5036
EBUILD smplayer-0.6.0_rc4.ebuild 2959 RMD160 2ed79ce346527f3542ca157f514f6a17d1a0d3c1 SHA1 3ff006333d177a992ab583fffff5efea8c6c517b SHA256 c534375e8c9a27c96c5c3877128a08ff8d18b5cde9c2097c7b5f25fc6167f267
-MISC ChangeLog 2579 RMD160 cb810fe13149d1304b4045a0f629b9380bd9a09c SHA1 e806b614a2e4ce0c40f1a8939306e0bb8c925f14 SHA256 7eaeb4f82e43eefda3d3ef1091dd07f6d79ab04fb2edae94035058b9e4d4c375
+MISC ChangeLog 2785 RMD160 829c6fc1711551953d91bee2bf1da17eeff903cb SHA1 23b57178a1e0f89e27aa5d267bc8bb7a71a37504 SHA256 78f18d7f6fe75444268855304f41c37567522c7fb79344320dc38543ff7f6f51
MISC metadata.xml 248 RMD160 3dd3ed866d9de9b9e1e757a75ad74cd04a179a0a SHA1 ee402648473a449107fdc483b2452b655887f15c SHA256 319bbc38f5d834b6230f477c4330ff29d94c9447f563551c977e5c3b038aecaf
diff --git a/media-video/smplayer/smplayer-0.6.0.ebuild b/media-video/smplayer/smplayer-0.6.0.ebuild
new file mode 100644
index 000000000000..69c59b751ede
--- /dev/null
+++ b/media-video/smplayer/smplayer-0.6.0.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/smplayer-0.6.0.ebuild,v 1.1 2008/05/14 15:45:51 yngwin Exp $
+
+EAPI="1"
+inherit eutils qt4
+
+MY_P="${P}final"
+DESCRIPTION="Great front-end for mplayer written in Qt4"
+HOMEPAGE="http://smplayer.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+DEPEND="|| ( x11-libs/qt-gui:4
+ >=x11-libs/qt-4.3:4 )"
+RDEPEND="${DEPEND}
+ >media-video/mplayer-1.0_rc1"
+
+LANGS="bg cs de en_US es eu fi fr hu it ja ka ko mk nl pl pt_BR pt_PT sk sr sv tr zh_CN zh_TW"
+NOLONGLANGS="el_GR ro_RO ru_RU 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_compile() {
+ local MY_SVNREV="26450"
+ echo "SVN-r${MY_SVNREV}" > svn_revision.txt
+ echo "#define SVN_REVISION \"SVN-r${MY_SVNREV}\"" > src/svn_revision.h
+
+ # Fix paths in Makefile and allow parallel building
+ sed -i -e "/^PREFIX=/s:/usr/local:/usr:" \
+ -e "/^CONF_PREFIX=/s:\$(PREFIX)::" \
+ -e "/^DOC_PATH=/s:packages/smplayer:${PF}:" \
+ -e '/get_svn_revision.sh/,+2c\
+ cd src && $(DEFS) $(MAKE)' \
+ "${S}"/Makefile || die "sed failed"
+
+ eqmake4 src/${PN}.pro -o src/Makefile
+ 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
+}
+
+src_install() {
+ # remove unneeded copies of GPL
+ rm Copying.txt docs/en/gpl.html docs/ru/gpl.html
+ for i in de es ja ro ; do
+ rm -rf docs/$i
+ done
+
+ emake DESTDIR="${D}" install || die "emake install failed"
+ prepalldocs
+}
+
+pkg_postinst() {
+ if ! built_with_use media-video/mplayer png; then
+ echo
+ ewarn "SMPlayer needs the media-video/mplayer package built with USE=png."
+ ewarn "To prevent crashes, please rebuild mplayer with png support, or"
+ ewarn "alternatively, clear the Folder for storing screenshots field in"
+ ewarn "the Preferences dialog."
+ echo
+ fi
+}