aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mplayer2/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-11-25 12:13:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-11-25 12:15:07 +0000
commit4218eb673113ec44d2706b13bbe44ce1ccd2a82a (patch)
treee9d47cae22ba887f5547ae3fdf0d32bf20f7f7cd /testing/mplayer2/APKBUILD
parent1208bf2d9057025e5ad7ff0eca37df250bcc8903 (diff)
downloadaports-4218eb673113ec44d2706b13bbe44ce1ccd2a82a.tar.bz2
aports-4218eb673113ec44d2706b13bbe44ce1ccd2a82a.tar.xz
main/mpv: replace mplayer 2 with this new package
Diffstat (limited to 'testing/mplayer2/APKBUILD')
-rw-r--r--testing/mplayer2/APKBUILD52
1 files changed, 0 insertions, 52 deletions
diff --git a/testing/mplayer2/APKBUILD b/testing/mplayer2/APKBUILD
deleted file mode 100644
index 747e3e87cb..0000000000
--- a/testing/mplayer2/APKBUILD
+++ /dev/null
@@ -1,52 +0,0 @@
-# Contributor: Natanael Copa <ncopa@alpinelinux.org>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=mplayer2
-pkgver=2.0
-pkgrel=3
-pkgdesc="advanced general-purpose video player"
-url="http://www.mplayer2.org/"
-arch="all"
-license="GPL"
-depends=
-makedepends="libxxf86dga-dev libxv-dev libmad-dev lame-dev libao-dev
- libtheora-dev xvidcore-dev zlib-dev sdl-dev freetype-dev
- x264-dev faac-dev ttf-dejavu libxvmc-dev alsa-lib-dev live-media-dev
- mesa-dev ffmpeg-dev"
-install=""
-subpackages="$pkgname-doc"
-source="http://ftp.mplayer2.org/pub/release/mplayer2-$pkgver.tar.xz
- mplayer-gcc-4.6-audio-fix.patch
- c33fafd6f1bc2a430c114231cecc6e1c56c1f939.patch"
-
-_builddir="$srcdir"/mplayer2-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
-build() {
- cd "$_builddir"
- export GCC_SPECS=/usr/share/gcc/hardenednopie.specs
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --datadir=/usr/share/mplayer2 \
- --confdir=/etc/mplayer2 \
- --enable-runtime-cpudetection \
- || return 1
- make || return 1
-}
-
-package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
- mv "$pkgdir"/usr/bin/mplayer "$pkgdir"/usr/bin/mplayer2
-}
-
-md5sums="b880ae4be0e5b9693cdecf97c84b74f3 mplayer2-2.0.tar.xz
-5f261813c5dfa70ba2378c2535428e5d mplayer-gcc-4.6-audio-fix.patch
-8125a2e2d696f6d5af584b01a2d15e78 c33fafd6f1bc2a430c114231cecc6e1c56c1f939.patch"