diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-01-26 11:01:04 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-01-26 11:01:04 +0000 |
commit | 37d376c550cd6b8f0d2b3164b2f85fb0bc01ad82 (patch) | |
tree | 9ff0b6dade1a30d62447554616a037cc9a1c9c8a /media-video | |
parent | Dropped ppc-macos keyword, see you in prefix (diff) | |
download | gentoo-2-37d376c550cd6b8f0d2b3164b2f85fb0bc01ad82.tar.gz gentoo-2-37d376c550cd6b8f0d2b3164b2f85fb0bc01ad82.tar.bz2 gentoo-2-37d376c550cd6b8f0d2b3164b2f85fb0bc01ad82.zip |
Initial import, ebuild by Davide Pesavento, bug #176211
(Portage version: 2.1.4)
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/smplayer/ChangeLog | 10 | ||||
-rw-r--r-- | media-video/smplayer/Manifest | 16 | ||||
-rw-r--r-- | media-video/smplayer/files/digest-smplayer-0.5.62 | 3 | ||||
-rw-r--r-- | media-video/smplayer/metadata.xml | 8 | ||||
-rw-r--r-- | media-video/smplayer/smplayer-0.5.62.ebuild | 72 |
5 files changed, 109 insertions, 0 deletions
diff --git a/media-video/smplayer/ChangeLog b/media-video/smplayer/ChangeLog new file mode 100644 index 000000000000..ad03be79a128 --- /dev/null +++ b/media-video/smplayer/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2008/01/26 11:01:03 aballier Exp $ + +*smplayer-0.5.62 (26 Jan 2008) + + 26 Jan 2008; Alexis Ballier <aballier@gentoo.org> +metadata.xml, + +smplayer-0.5.62.ebuild: + Initial import, ebuild by Davide Pesavento, bug #176211 + diff --git a/media-video/smplayer/Manifest b/media-video/smplayer/Manifest new file mode 100644 index 000000000000..3d6bf47698dc --- /dev/null +++ b/media-video/smplayer/Manifest @@ -0,0 +1,16 @@ +DIST smplayer-0.5.62.tar.bz2 669163 RMD160 7e6c30b7981545657a2af76c6a3bc3c3c161e1b9 SHA1 c4c0543faad37ef76067ef5219e472870b12ebab SHA256 c3c947b5e417cc50c565c007c3f61b7702123f9bb06e5251d95d1bdf9bdc8e92 +EBUILD smplayer-0.5.62.ebuild 1940 RMD160 4301f6caaf581919ef96274b5d22ebb183e12a92 SHA1 79086db3caba620f4a64cd81cdfdab5355356610 SHA256 4d5bf68033355850d74365258dfed3ccaef81fe1527774d7a9eb61459e905a8a +MD5 0d1c1ce2aa105c36e78cdb9bcf529cf0 smplayer-0.5.62.ebuild 1940 +RMD160 4301f6caaf581919ef96274b5d22ebb183e12a92 smplayer-0.5.62.ebuild 1940 +SHA256 4d5bf68033355850d74365258dfed3ccaef81fe1527774d7a9eb61459e905a8a smplayer-0.5.62.ebuild 1940 +MISC ChangeLog 307 RMD160 de204111aafa9e849da6bef45dc54be5ea6bbf4e SHA1 0ad145b662194073b71bff031be46f7a7d631ced SHA256 69d2aaaad6f7e1dfb52926690a77673c51d64a84edcd086d369fdb6ec13087f5 +MD5 9a8d2e00acd7f53260865655ddc5c0c7 ChangeLog 307 +RMD160 de204111aafa9e849da6bef45dc54be5ea6bbf4e ChangeLog 307 +SHA256 69d2aaaad6f7e1dfb52926690a77673c51d64a84edcd086d369fdb6ec13087f5 ChangeLog 307 +MISC metadata.xml 225 RMD160 6e3fccd1ae62f02a0cb28d319aa185af0020822d SHA1 1b8ccc849053361ac907dc9b652796defd1ce906 SHA256 1a7f3e805478b42bc379b2a36944579d34d7e66ba5bf418a651e1cd58ad0a7f5 +MD5 9ef4af14dad87b03fde8e43f19e08d26 metadata.xml 225 +RMD160 6e3fccd1ae62f02a0cb28d319aa185af0020822d metadata.xml 225 +SHA256 1a7f3e805478b42bc379b2a36944579d34d7e66ba5bf418a651e1cd58ad0a7f5 metadata.xml 225 +MD5 68c45ecd61ed4fd93fba30fcab84c14b files/digest-smplayer-0.5.62 250 +RMD160 c8deccc63acc20c96327f3d4e49e53a4fe786454 files/digest-smplayer-0.5.62 250 +SHA256 19108f20d6cb2fff0c216b571994ce057432b9ecf920dd8710484fd656335211 files/digest-smplayer-0.5.62 250 diff --git a/media-video/smplayer/files/digest-smplayer-0.5.62 b/media-video/smplayer/files/digest-smplayer-0.5.62 new file mode 100644 index 000000000000..221af531ffc0 --- /dev/null +++ b/media-video/smplayer/files/digest-smplayer-0.5.62 @@ -0,0 +1,3 @@ +MD5 6d86acbe9199b5912ddceeb42042cce1 smplayer-0.5.62.tar.bz2 669163 +RMD160 7e6c30b7981545657a2af76c6a3bc3c3c161e1b9 smplayer-0.5.62.tar.bz2 669163 +SHA256 c3c947b5e417cc50c565c007c3f61b7702123f9bb06e5251d95d1bdf9bdc8e92 smplayer-0.5.62.tar.bz2 669163 diff --git a/media-video/smplayer/metadata.xml b/media-video/smplayer/metadata.xml new file mode 100644 index 000000000000..1cadc2e4ec21 --- /dev/null +++ b/media-video/smplayer/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>video</herd> +<maintainer> + <email>media-video@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/media-video/smplayer/smplayer-0.5.62.ebuild b/media-video/smplayer/smplayer-0.5.62.ebuild new file mode 100644 index 000000000000..98dff3ffd7aa --- /dev/null +++ b/media-video/smplayer/smplayer-0.5.62.ebuild @@ -0,0 +1,72 @@ +# 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.5.62.ebuild,v 1.1 2008/01/26 11:01:03 aballier Exp $ + +inherit eutils qt4 + +DESCRIPTION="Great front-end for mplayer written in Qt4" +HOMEPAGE="http://smplayer.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="$(qt4_min_version 4.2)" +RDEPEND="${DEPEND} + >media-video/mplayer-1.0_rc1" + +LANGS="bg cs de en_US es fr hu it ja ka nl pl pt_BR pt_PT sk sr sv tr zh_CN zh_TW" +NOLONGLANGS="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 + +QT4_BUILT_WITH_USE_CHECK="qt3support" + +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() { + emake DESTDIR="${D}" install || die "emake install failed" + prepalldocs +} |