diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-07-19 14:49:53 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-07-19 14:49:53 +0000 |
commit | d37561f9fb9a97f0a7b083eab69d7c3553e01f9f (patch) | |
tree | 9cf4f254d29fc4a26adac7406569fa222ad529dd /user/mplayer/APKBUILD | |
parent | bac2b274845f6423b09710af9044dffa1ea2b256 (diff) | |
parent | 304b06c287ab2078b2cc385a29b1587eb63b725d (diff) | |
download | packages-d37561f9fb9a97f0a7b083eab69d7c3553e01f9f.tar.gz packages-d37561f9fb9a97f0a7b083eab69d7c3553e01f9f.tar.bz2 packages-d37561f9fb9a97f0a7b083eab69d7c3553e01f9f.tar.xz packages-d37561f9fb9a97f0a7b083eab69d7c3553e01f9f.zip |
Merge mplayer
user/mplayer: new package
See merge request adelie/packages!285
Diffstat (limited to 'user/mplayer/APKBUILD')
-rw-r--r-- | user/mplayer/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/user/mplayer/APKBUILD b/user/mplayer/APKBUILD new file mode 100644 index 000000000..68a4a6c47 --- /dev/null +++ b/user/mplayer/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=mplayer +pkgver=1.4 +pkgrel=0 +pkgdesc="Open-source media player and ripper" +url="https://mplayerhq.hu" +arch="all" +options="!check" # broken tests +license="LGPL-2.1+ AND GPL-2.0+ AND Expat AND (BSD-3-Clause OR LGPL-2.1+) AND ISC AND NTP AND (GPL-2.0+ OR LGPL-2.1+) AND BSD-2-Clause" +depends="" +makedepends="yasm ncurses-dev openssl-dev freetype-dev fribidi-dev + + alsa-lib-dev pulseaudio-dev + + libxv-dev libxinerama-dev sdl-dev libva-dev libvdpau-dev + + ffmpeg-dev libpng-dev libjpeg-turbo-dev libdvdread-dev libcdio-dev + libvorbis-dev libmad-dev speex-dev libtheora-dev libogg-dev faad2-dev + x264-dev libdvdnav-dev live-media-dev libdca-dev libcdio-paranoia-dev + cdparanoia-dev libbluray-dev a52dec-dev + " +subpackages="$pkgname-doc" +source="http://mplayerhq.hu/MPlayer/releases/MPlayer-$pkgver.tar.xz" +builddir="$srcdir/MPlayer-$pkgver" + +build() { + cd "$builddir" + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="8ef71cad187d8c8f81c837279bd3a421b440c892d3347a667670b21c954007e35cf0d15828f0901f347b9c1b053e8da4bc7f0fb6de34382d1e463074923d7b34 MPlayer-1.4.tar.xz" |