summaryrefslogtreecommitdiff
path: root/media-video
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2015-06-10 10:31:56 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2015-06-10 10:31:56 +0300
commit1363bf120f699b6ee7784f1211061eb4fb41a165 (patch)
treedd961f988bd2041f28c28d06bf1e486c7ef5bc6b /media-video
parent4136cbe726d0d1aee15c0411d28ec1050d6f63bb (diff)
removed non-scm code from vlc ebuild
Diffstat (limited to 'media-video')
-rw-r--r--media-video/vlc/vlc-scm.ebuild37
1 files changed, 6 insertions, 31 deletions
diff --git a/media-video/vlc/vlc-scm.ebuild b/media-video/vlc/vlc-scm.ebuild
index 20ffbdb..acd7c0e 100644
--- a/media-video/vlc/vlc-scm.ebuild
+++ b/media-video/vlc/vlc-scm.ebuild
@@ -4,18 +4,9 @@
EAPI="5"
-SCM=""
-if [ "${PV%9999}" != "${PV}" ] ; then
- SCM="git-r3"
+EGIT_REPO_URI="git://git.videolan.org/vlc.git"
- if [ "${PV%.9999}" != "${PV}" ] ; then
- EGIT_REPO_URI="git://git.videolan.org/vlc/vlc-${PV%.9999}.git"
- else
- EGIT_REPO_URI="git://git.videolan.org/vlc.git"
- fi
-fi
-
-inherit eutils multilib autotools toolchain-funcs flag-o-matic virtualx ${SCM}
+inherit eutils multilib autotools toolchain-funcs flag-o-matic virtualx git-r3
MY_PV="${PV/_/-}"
MY_PV="${MY_PV/-beta/-test}"
@@ -23,22 +14,12 @@ MY_P="${PN}-${MY_PV}"
DESCRIPTION="VLC media player - Video player and streamer"
HOMEPAGE="http://www.videolan.org/vlc/"
-if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
- SRC_URI=""
-elif [[ "${MY_P}" == "${P}" ]]; then
- SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.xz"
-else
- SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz"
-fi
+SRC_URI=""
LICENSE="LGPL-2.1 GPL-2"
SLOT="0/5-8" # vlc - vlccore
-if [ "${PV%9999}" = "${PV}" ] ; then
- KEYWORDS="~amd64 ~arm ~ppc -sparc ~x86 ~x86-fbsd"
-else
- KEYWORDS=""
-fi
+KEYWORDS=""
IUSE="a52 aalib alsa altivec atmo +audioqueue avahi +avcodec
+avformat bidi bluray cdda cddb chromaprint dbus dc1394 debug
@@ -218,11 +199,7 @@ pkg_setup() {
}
src_unpack() {
- if [ "${PV%9999}" != "${PV}" ] ; then
- git-r3_src_unpack
- else
- unpack ${A}
- fi
+ git-r3_src_unpack
}
src_prepare() {
@@ -238,9 +215,7 @@ src_prepare() {
fi
# Bootstrap when we are on a git checkout.
- if [[ "${PV%9999}" != "${PV}" ]] ; then
- ./bootstrap
- fi
+ ./bootstrap
# Make it build with libtool 1.5
rm -f m4/lt* m4/libtool.m4 || die