summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-05-10 13:27:54 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-05-10 13:27:54 +0000
commit2f2a84190089f6c2b1facf04b668579d3507acec (patch)
tree3e8dbff25f366979d45c37ab8c52d727f9029832 /media-video
parentCleanup and use eapi4. (diff)
downloadgentoo-2-2f2a84190089f6c2b1facf04b668579d3507acec.tar.gz
gentoo-2-2f2a84190089f6c2b1facf04b668579d3507acec.tar.bz2
gentoo-2-2f2a84190089f6c2b1facf04b668579d3507acec.zip
Use git-2 eclass.
(Portage version: 2.2.0_alpha32/cvs/Linux x86_64)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mplayer2/ChangeLog5
-rw-r--r--media-video/mplayer2/mplayer2-9999.ebuild14
2 files changed, 9 insertions, 10 deletions
diff --git a/media-video/mplayer2/ChangeLog b/media-video/mplayer2/ChangeLog
index f56ec561d131..2cfad53bc0e6 100644
--- a/media-video/mplayer2/ChangeLog
+++ b/media-video/mplayer2/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-video/mplayer2
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer2/ChangeLog,v 1.17 2011/05/10 13:22:49 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer2/ChangeLog,v 1.18 2011/05/10 13:27:54 scarabeus Exp $
+
+ 10 May 2011; Tomáš Chvátal <scarabeus@gentoo.org> mplayer2-9999.ebuild:
+ Use git-2 eclass.
10 May 2011; Tomáš Chvátal <scarabeus@gentoo.org> mplayer2-9999.ebuild:
Drop xvmc support same as upstream did in git.
diff --git a/media-video/mplayer2/mplayer2-9999.ebuild b/media-video/mplayer2/mplayer2-9999.ebuild
index 215e31915063..38d9c7fcc327 100644
--- a/media-video/mplayer2/mplayer2-9999.ebuild
+++ b/media-video/mplayer2/mplayer2-9999.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer2/mplayer2-9999.ebuild,v 1.14 2011/05/10 13:22:49 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer2/mplayer2-9999.ebuild,v 1.15 2011/05/10 13:27:54 scarabeus Exp $
EAPI=4
EGIT_REPO_URI="git://git.mplayer2.org/mplayer2.git"
-[[ ${PV} = *9999* ]] && VCS_ECLASS="git"
+[[ ${PV} = *9999* ]] && VCS_ECLASS="git-2"
NAMESUF=${PN/mplayer/}
inherit toolchain-funcs eutils flag-o-matic multilib base ${VCS_ECLASS}
@@ -24,11 +24,7 @@ SRC_URI="${RELEASE_URI}
LICENSE="GPL-3"
SLOT="0"
-if [[ ${PV} != *9999* ]]; then
- KEYWORDS="~amd64 ~x86 ~amd64-linux"
-else
- KEYWORDS=""
-fi
+[[ ${PV} == *9999* ]] || KEYWORDS="~amd64 ~x86 ~amd64-linux"
IUSE="3dnow 3dnowext +a52 aalib +alsa altivec aqua +ass bidi bindist bl bluray
bs2b cddb +cdio cdparanoia cpudetection custom-cpuopts custom-cflags debug dga
directfb doc +dts +dv dvb +dvd +dvdnav dxr3 +enca esd +faad fbcon
@@ -196,9 +192,9 @@ pkg_setup() {
src_unpack() {
if [[ ${PV} = *9999* ]]; then
- git_src_unpack
+ git-2_src_unpack
else
- unpack ${A}
+ default
fi
if ! use truetype; then