diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-10-30 12:41:12 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-10-30 12:46:31 +0000 |
commit | 78f799379922ee058aac33a358b713de6917b65a (patch) | |
tree | 5f6da9ae59840d60891373a9a5faa8376ef14ed5 /main/mpv | |
parent | de1097b10e014bc04c825e4c1a641a0f0bb409b1 (diff) | |
download | aports-78f799379922ee058aac33a358b713de6917b65a.tar.bz2 aports-78f799379922ee058aac33a358b713de6917b65a.tar.xz |
community/mpv: move from main
Diffstat (limited to 'main/mpv')
-rw-r--r-- | main/mpv/APKBUILD | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/main/mpv/APKBUILD b/main/mpv/APKBUILD deleted file mode 100644 index 14727ada1e..0000000000 --- a/main/mpv/APKBUILD +++ /dev/null @@ -1,82 +0,0 @@ -# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> -# Contributor: Łukasz Jendrysik <scadu@yandex.com> -# Contributor: Natanael Copa <ncopa@alpinelinux.org> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=mpv -pkgver=0.11.0 -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 libva-dev - mesa-dev ffmpeg-dev libass-dev perl lua5.2-dev libvdpau-dev python - libxext-dev libxscrnsaver-dev py-docutils" -install="" -subpackages=" - $pkgname-doc - $pkgname-libs - $pkgname-zsh-completion:zshcomp" -source="$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/mpv/archive/v$pkgver.tar.gz - " - -_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 - ./bootstrap.py -} - -build() { - cd "$_builddir" - ./waf configure --prefix=/usr \ - --mandir=/usr/share/man \ - --confdir=/etc/mpv \ - --enable-libmpv-shared \ - --enable-libass \ - --enable-zsh-comp \ - --enable-xss \ - || return 1 - - ./waf build || return 1 -} - -package() { - cd "$_builddir" - ./waf install --destdir="$pkgdir" || return 1 - - local file= - mkdir -p "$pkgdir"/usr/share/doc/$pkgname - for file in "$_builddir"/DOCS/*.rst "$_builddir"/DOCS/*.md; do - install -Dm644 "$file" \ - "$pkgdir"/usr/share/doc/$pkgname || return 1 - done - - # Install example configuration files - mkdir -p "$pkgdir"/usr/share/doc/mpv/examples - install -Dm644 "$_builddir"/etc/*.conf \ - "$pkgdir"/usr/share/doc/mpv/examples || return 1 -} - -zshcomp() { - depends="" - pkgdesc="Zsh completions for $pkgname" - install_if="$pkgname=$pkgver-r$pkgrel zsh" - arch="noarch" - - mkdir -p "$subpkgdir/usr/share/zsh/site-functions" - mv "$pkgdir/usr/share/zsh/site-functions"/* \ - "$subpkgdir/usr/share/zsh/site-functions" || return 1 -} - -md5sums="988bec97a4057beecc2f6a8a2c18e342 mpv-0.11.0.tar.gz" -sha256sums="a2157174e46db46dad5deb1fde94283e72ebe922fd15447cb16a2a243fae5bda mpv-0.11.0.tar.gz" -sha512sums="f85da000770dbca09be2a59c4eda7e6d7142ca17328844d2b08a173f64554159f50ba9b32661ba67924b789e886940cda1add993862f02f295e7753f50388bdb mpv-0.11.0.tar.gz" |