mpv: add libmpv (#1009)

This commit is contained in:
Duncaen 2015-02-22 17:56:10 +01:00
parent 97500e9478
commit bdc3056547
3 changed files with 15 additions and 3 deletions

View File

@ -1925,3 +1925,4 @@ librrd.so.4 rrdtool-1.4.9_1
librrd_th.so.4 rrdtool-1.4.9_1
libmosquitto.so.1 libmosquitto-1.4_1
libmosquittopp.so.1 libmosquittopp-1.4_1
libmpv.so.1 mpv-0.8.0_2

1
srcpkgs/mpv-devel Symbolic link
View File

@ -0,0 +1 @@
mpv

View File

@ -1,7 +1,7 @@
# Template file for 'mpv'
pkgname=mpv
version=0.8.0
revision=1
revision=2
short_desc="Video player based on MPlayer/mplayer2"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
@ -26,6 +26,16 @@ pre_configure() {
do_configure() {
python waf configure --prefix=/usr --confdir=/etc/mpv \
--docdir=/usr/share/examples/mpv --enable-zsh-comp \
--enable-joystick --enable-cdda --disable-libbs2b \
--disable-oss-audio --disable-sdl2
--enable-joystick --enable-cdda --enable-libmpv-shared \
--disable-libbs2b --disable-oss-audio --disable-sdl2
}
mpv-devel_package() {
depends="mpv>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}