summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2008-08-16 13:38:42 +0000
committerBen de Groot <yngwin@gentoo.org>2008-08-16 13:38:42 +0000
commit0ec5b5ba29aca1e85cbd1334143a5efef3b4dbac (patch)
tree6926dc71aefc18ea0773292f8a3b1d281629d6d8 /media-video
parentAdd ~sparc keyword, bug #232453 (diff)
downloadgentoo-2-0ec5b5ba29aca1e85cbd1334143a5efef3b4dbac.tar.gz
gentoo-2-0ec5b5ba29aca1e85cbd1334143a5efef3b4dbac.tar.bz2
gentoo-2-0ec5b5ba29aca1e85cbd1334143a5efef3b4dbac.zip
Version bump, drop old
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-hh1 i686)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/smplayer/ChangeLog10
-rw-r--r--media-video/smplayer/smplayer-0.6.0_rc3.ebuild103
-rw-r--r--media-video/smplayer/smplayer-0.6.2.ebuild (renamed from media-video/smplayer/smplayer-0.6.0_rc4.ebuild)31
3 files changed, 18 insertions, 126 deletions
diff --git a/media-video/smplayer/ChangeLog b/media-video/smplayer/ChangeLog
index 1658fe823cad..50a3b18140ff 100644
--- a/media-video/smplayer/ChangeLog
+++ b/media-video/smplayer/ChangeLog
@@ -1,6 +1,14 @@
# 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.28 2008/06/16 19:24:19 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/ChangeLog,v 1.29 2008/08/16 13:38:41 yngwin Exp $
+
+*smplayer-0.6.2 (16 Aug 2008)
+
+ 16 Aug 2008; Ben de Groot <yngwin@gentoo.org> -smplayer-0.6.0_rc3.ebuild,
+ -smplayer-0.6.0_rc4.ebuild, +smplayer-0.6.2.ebuild:
+ Version bump. Dropping qt3support check, as this is no longer needed
+ according to upstream (hopefully it's really true this time).
+ Dropping old RCs.
16 Jun 2008; Ben de Groot <yngwin@gentoo.org> smplayer-0.6.0.ebuild,
smplayer-0.6.1.ebuild:
diff --git a/media-video/smplayer/smplayer-0.6.0_rc3.ebuild b/media-video/smplayer/smplayer-0.6.0_rc3.ebuild
deleted file mode 100644
index 12d3ea1b87d0..000000000000
--- a/media-video/smplayer/smplayer-0.6.0_rc3.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# 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_rc3.ebuild,v 1.7 2008/04/25 14:57:54 yngwin Exp $
-
-EAPI="1"
-inherit eutils qt4
-
-MY_P=${P/_rc/rc}
-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="amd64 ppc ppc64 x86"
-IUSE=""
-DEPEND="|| ( ( x11-libs/qt-gui:4
- x11-libs/qt-qt3support: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}
-
-pkg_setup() {
- if has_version ">=x11-libs/qt-4.3:4"; then
- QT4_BUILT_WITH_USE_CHECK="qt3support"
- else
- if ! built_with_use "x11-libs/qt-gui:4" qt3support; then
- eerror "You have to built x11-libs/qt-gui:4 with qt3support."
- die "qt3support in qt-gui disabled"
- fi
- fi
- qt4_pkg_setup
-}
-
-src_compile() {
- local MY_SVNREV="UNKNOWN"
- 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
-}
diff --git a/media-video/smplayer/smplayer-0.6.0_rc4.ebuild b/media-video/smplayer/smplayer-0.6.2.ebuild
index 66bb68e3fa62..ea8544049ab9 100644
--- a/media-video/smplayer/smplayer-0.6.0_rc4.ebuild
+++ b/media-video/smplayer/smplayer-0.6.2.ebuild
@@ -1,25 +1,23 @@
# 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_rc4.ebuild,v 1.7 2008/05/18 23:09:20 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/smplayer-0.6.2.ebuild,v 1.1 2008/08/16 13:38:41 yngwin Exp $
EAPI="1"
inherit eutils qt4
-MY_P=${P/_rc/rc}
DESCRIPTION="Great front-end for mplayer written in Qt4"
HOMEPAGE="http://smplayer.sourceforge.net"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE=""
-DEPEND="|| ( ( x11-libs/qt-gui:4
- x11-libs/qt-qt3support:4 )
+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"
+LANGS="bg ca cs de en_US es eu fi fr hu it ja ka ko mk nl pl pt_BR pt_PT sk sl 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}"
@@ -28,22 +26,8 @@ for X in ${NOLONGLANGS}; do
IUSE="${IUSE} linguas_${X%_*}"
done
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
- if has_version ">=x11-libs/qt-4.3:4"; then
- QT4_BUILT_WITH_USE_CHECK="qt3support"
- else
- if ! built_with_use "x11-libs/qt-gui:4" qt3support; then
- eerror "You have to built x11-libs/qt-gui:4 with qt3support."
- die "qt3support in qt-gui disabled"
- fi
- fi
- qt4_pkg_setup
-}
-
src_compile() {
- local MY_SVNREV="UNKNOWN"
+ local MY_SVNREV="1661"
echo "SVN-r${MY_SVNREV}" > svn_revision.txt
echo "#define SVN_REVISION \"SVN-r${MY_SVNREV}\"" > src/svn_revision.h
@@ -87,6 +71,9 @@ src_install() {
rm -rf docs/$i
done
+ # remove windows-only files
+ rm "${S}"/*.bat
+
emake DESTDIR="${D}" install || die "emake install failed"
prepalldocs
}