Merge pull request #1011 from Duncaen/mpv

Mpv
This commit is contained in:
Juan RP 2015-02-23 17:34:29 +01:00
commit 45f34108a3
3 changed files with 16 additions and 4 deletions

View File

@ -1926,3 +1926,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"
@ -17,7 +17,7 @@ makedepends="
depends="desktop-file-utils hicolor-icon-theme"
conf_files="/etc/mpv/encoding-profiles.conf"
distfiles="https://github.com/mpv-player/${pkgname}/archive/v${version}.tar.gz"
checksum=0374707017cde2f1e36eb29b8e33bfc40e4b2709ff7186a12fff5f19577c5738
checksum=e3655279450cd37ddf036ab511c0c2070f269f7ce34a44757880bf67db241584
pre_configure() {
python bootstrap.py
@ -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"
}
}