diff options
Diffstat (limited to 'main/mpv/APKBUILD')
-rw-r--r-- | main/mpv/APKBUILD | 27 |
1 files changed, 10 insertions, 17 deletions
diff --git a/main/mpv/APKBUILD b/main/mpv/APKBUILD index b2de381e7c..a63e4e1f14 100644 --- a/main/mpv/APKBUILD +++ b/main/mpv/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=mpv -pkgver=0.2.4 -pkgrel=1 +pkgver=0.3.3 +pkgrel=0 pkgdesc="Video player based on MPlayer/mplayer2" url="http://mpv.io/" arch="all" @@ -11,12 +11,10 @@ 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" + mesa-dev ffmpeg-dev libass-dev perl lua5.2-dev libvdpau-dev python" 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 @@ -28,28 +26,23 @@ prepare() { *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done + ./bootstrap.py } build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./waf configure --prefix=/usr \ --mandir=/usr/share/man \ --confdir=/etc/mpv \ || return 1 - make || return 1 + ./waf build || return 1 } package() { cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + ./waf install --destdir="$pkgdir" || 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" +md5sums="bdf40570d1fc025058f9f2aabb91899f mpv-0.3.3.tar.gz" +sha256sums="27d0b5ad65ba8056c5ce00bc441cf25b742cf46defcfd6ff597730f53ff2e61d mpv-0.3.3.tar.gz" +sha512sums="1a9e4de41e6215525ba0d195c8d2b9ebc76beea9c1792bfcf3e594219e614fc588134f1669bd7f6a898fa961e0e9c670309cc347c42733e69c9a2a1cadb4536b mpv-0.3.3.tar.gz" |