mpv: fix dependencies, make a note about optical playback optional dependencies

This commit is contained in:
Danny Rawlins 2017-06-18 12:23:09 +10:00
parent fb0ad1a3ff
commit ff016b9463
4 changed files with 34 additions and 8 deletions

View File

@ -4,6 +4,18 @@ drwxr-xr-x root/root usr/bin/
drwxr-xr-x root/root usr/etc/
drwxr-xr-x root/root usr/etc/mpv/
-rw-r--r-- root/root usr/etc/mpv/encoding-profiles.conf
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/mpv/
-rw-r--r-- root/root usr/include/mpv/client.h
-rw-r--r-- root/root usr/include/mpv/opengl_cb.h
-rw-r--r-- root/root usr/include/mpv/qthelper.hpp
-rw-r--r-- root/root usr/include/mpv/stream_cb.h
drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libmpv.so -> libmpv.so.1.24.0
lrwxrwxrwx root/root usr/lib/libmpv.so.1 -> libmpv.so.1.24.0
-rwxr-xr-x root/root usr/lib/libmpv.so.1.24.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/mpv.pc
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/applications/
-rw-r--r-- root/root usr/share/applications/mpv.desktop

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF36/vryd3IQO7m35vm6XGELzsXXx4jSBCEbJ7EKnRQtSdJAGigvcswC+k413a426m+s+pSq1nv4GinbH0UuNQbgA=
SHA256 (Pkgfile) = b866093c5af23abb5a16e0ecd357e535e79996343b0838fd28ff2c9b8ec19731
SHA256 (.footprint) = 9a2347eb043dbf9d16ecf623947a21139e7cbc8d9ec043d8129bcb1a65b1024f
RWSagIOpLGJF32rlplOdIBP6tOHhBMp2vhAo1gaZJwXocM9LJO2GjbbZf+RQkzh3uwvzwQCMwgcMGRvUxji0rcV8lMXYfJc7XQQ=
SHA256 (Pkgfile) = 4d87ba4f349fcad2ace91c4159d936d14af4810e6546277c60712e8805ac9296
SHA256 (.footprint) = 9ad2cbd18772bb387a5ed2621e7117b016b2af468aca2c558d120bd9d1cd5a73
SHA256 (v0.25.0.tar.gz) = 07423ffad6921ec4da32f703cd7fbfb27012301dcb736ac8542ac8e6083b0bce

View File

@ -1,21 +1,31 @@
# Description: General Purpose video player based on MPlayer and mplayer2
# URL: http://mpv.io/
# Maintainer: Svyatoslav Mishyn, juef at openmailbox dot org
# Depends on: ffmpeg docutils
# Optional: libquvi libdvdread libdvdnav
# Depends on: alsa-lib docutils ffmpeg libass mesa3d
# Optional: libquvi libdvdnav libbluray libcdio-paranoia libvdpau
name=mpv
version=0.25.0
release=1
release=2
source=(https://github.com/$name-player/$name/archive/v$version.tar.gz)
build() {
cd $name-$version
[ -e '/usr/lib/pkgconfig/libcdio_cdda.pc' ] && PKGMK_MPV+=' --enable-cdda'
[ -e '/usr/lib/pkgconfig/dvdnav.pc' ] && PKGMK_MPV+=' --enable-dvdread --enable-dvdnav'
printf "\e[031mNote: for optical audio/dvd/bluray playback you need to:
prt-get depinst libcdio-paranoia libdvdnav libbluray , respectively.\033[0m\n"
sleep 10
./bootstrap.py
./waf configure --prefix=/usr
./waf configure ${PKGMK_MPV} \
--prefix=/usr \
--enable-libarchive \
--enable-libmpv-shared
./waf build
./waf install --destdir=$PKG
rm -rf $PKG/usr/share/doc
rm -r $PKG/usr/share/doc
}

4
mpv/README Normal file
View File

@ -0,0 +1,4 @@
NOTE
For optical audio/dvd/bluray playback you need to:
prt-get depinst libcdio-paranoia libdvdnav libbluray , respectively.