diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-12-09 15:26:01 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-12-09 15:26:01 +0000 |
commit | 6fb2788dfdb68b302658ec99012095db4387097f (patch) | |
tree | 429a50a2a7d080788939bbc5c40b6133a3a92228 /main/mpv/APKBUILD | |
parent | 709ce9b8faa6c4e2c32ecb99d9fe005b4ca92f42 (diff) | |
download | aports-6fb2788dfdb68b302658ec99012095db4387097f.tar.bz2 aports-6fb2788dfdb68b302658ec99012095db4387097f.tar.xz |
main/mpv: moved from testing
fixes #2438
Diffstat (limited to 'main/mpv/APKBUILD')
-rw-r--r-- | main/mpv/APKBUILD | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/main/mpv/APKBUILD b/main/mpv/APKBUILD new file mode 100644 index 0000000000..b2de381e7c --- /dev/null +++ b/main/mpv/APKBUILD @@ -0,0 +1,55 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=mpv +pkgver=0.2.4 +pkgrel=1 +pkgdesc="Video player based on MPlayer/mplayer2" +url="http://mpv.io/" +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 libass-dev perl lua5.2-dev libvdpau-dev" +install="" +subpackages="" +source="$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/mpv/archive/v$pkgver.tar.gz + 0001-video-filter-fix-PIC-compile-on-x86.patch + no-ebp.patch + " + +_builddir="$srcdir"/mpv-$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" + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --confdir=/etc/mpv \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="465e99ed24478f3a2afe5ae1c4fdd7f4 mpv-0.2.4.tar.gz +dbb4ec33ed594468ab75c96cee37c56d 0001-video-filter-fix-PIC-compile-on-x86.patch +438d24181e0b58e94cbe380909432b3d no-ebp.patch" +sha256sums="34a12a82b25bf3337d44c26dd8fa750746032c1a8806b85f6b8db652710827bf mpv-0.2.4.tar.gz +033abba4e17132497f325d89e704a439843380978f0001644cabc14229256323 0001-video-filter-fix-PIC-compile-on-x86.patch +d6ff4eabd3e9b598d4a236028690e0e30719d722a41371f1b42cbb35faa64e94 no-ebp.patch" +sha512sums="72214d02fc459b1789831e54de2841ff0a8d83c97f1ba76b18d31e970372571569b45a036fe7e7e67d6fa9460f73216cc0f1e1e6149cb24a99c490d5cdfb5ec1 mpv-0.2.4.tar.gz +bd83dcada498d7ec210750f2675e844fe33858b99893b5a972883458395c386947b4427fa64f9c3d30b31a6e5c18411131fec0fc8f5d674baace4e53368a99e1 0001-video-filter-fix-PIC-compile-on-x86.patch +acbf0d8fb9f8d693022bc2a9130116b7aae2b0b24b0a16f6ab6602dd00965bd8a55385c25ea8fb9b15e22145a94e518d48fbf26238129635fc53348d806566ef no-ebp.patch" |