mpv: add libmpv (#1009)
This commit is contained in:
@@ -1925,3 +1925,4 @@ librrd.so.4 rrdtool-1.4.9_1
|
|||||||
librrd_th.so.4 rrdtool-1.4.9_1
|
librrd_th.so.4 rrdtool-1.4.9_1
|
||||||
libmosquitto.so.1 libmosquitto-1.4_1
|
libmosquitto.so.1 libmosquitto-1.4_1
|
||||||
libmosquittopp.so.1 libmosquittopp-1.4_1
|
libmosquittopp.so.1 libmosquittopp-1.4_1
|
||||||
|
libmpv.so.1 mpv-0.8.0_2
|
||||||
|
|||||||
1
srcpkgs/mpv-devel
Symbolic link
1
srcpkgs/mpv-devel
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
mpv
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'mpv'
|
# Template file for 'mpv'
|
||||||
pkgname=mpv
|
pkgname=mpv
|
||||||
version=0.8.0
|
version=0.8.0
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="Video player based on MPlayer/mplayer2"
|
short_desc="Video player based on MPlayer/mplayer2"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
@@ -26,6 +26,16 @@ pre_configure() {
|
|||||||
do_configure() {
|
do_configure() {
|
||||||
python waf configure --prefix=/usr --confdir=/etc/mpv \
|
python waf configure --prefix=/usr --confdir=/etc/mpv \
|
||||||
--docdir=/usr/share/examples/mpv --enable-zsh-comp \
|
--docdir=/usr/share/examples/mpv --enable-zsh-comp \
|
||||||
--enable-joystick --enable-cdda --disable-libbs2b \
|
--enable-joystick --enable-cdda --enable-libmpv-shared \
|
||||||
--disable-oss-audio --disable-sdl2
|
--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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user