mpv: updated for new libplacebo
This commit is contained in:
parent
0aca74f295
commit
cfc918e6e3
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF35sg1vbeTMP/kB8CJOvWoPcqMkmq5IFCFc9zFzDfsU/5yfga2rUW1hsxheGf7BTrOR/qOxCThkmHJ4UCZfjnjQA=
|
||||
SHA256 (Pkgfile) = 4c1048a749d4af624f2127f5e1457f2b86d32118371bbc30fc13834d8b3268a2
|
||||
RWSagIOpLGJF37djJ3kW6BTp6feAbnUyoYyc7xM2ukFuieShc71f857Et/XKEhDxZ0opVT6FGMcSrSJ9oqQqcA+cO+bLabvSrws=
|
||||
SHA256 (Pkgfile) = 0fdaafb455e84fa7445ac61bf22bdb80e27689d31361fcb2ae0a83bc3d5d5937
|
||||
SHA256 (.footprint) = 1709a179b634a9452b3dbb3295faa4a0cca2bfb05bc2eb1a4b4ca47397d4e133
|
||||
SHA256 (mpv-0.35.1.tar.gz) = 41df981b7b84e33a2ef4478aaf81d6f4f5c8b9cd2c0d337ac142fc20b387d1a9
|
||||
SHA256 (mpv-0.35.1-f1600ea9.tar.gz) = 6646150847cd356f2e903744bec162f6f70e2fbdab4d507b4857849334839574
|
||||
|
12
mpv/Pkgfile
12
mpv/Pkgfile
@ -2,26 +2,28 @@
|
||||
# URL: https://mpv.io/
|
||||
# Maintainer: John McQuah, jmcquah at disroot dot org
|
||||
# Depends on: ffmpeg libass libplacebo util-linux xorg-libxscrnsaver
|
||||
# Optional: docutils youtube-dl libquvi libdvdnav libbluray libcdio-paranoia libsdl2 libvdpau rubberband xorg-libxpresent
|
||||
# Optional: libdvdnav libbluray libcdio-paranoia libsdl2 libvdpau pipewire pulseaudio sndio rubberband xorg-libxpresent
|
||||
|
||||
name=mpv
|
||||
version=0.35.1
|
||||
release=1
|
||||
source=(https://github.com/mpv-player/mpv/archive/v$version/$name-$version.tar.gz)
|
||||
_commit=f1600ea9cf1664a094983cf75d63dc6ea09fe1b6
|
||||
release=2
|
||||
source=(https://github.com/mpv-player/mpv/archive/$_commit/$name-$version-${_commit:0:8}.tar.gz)
|
||||
|
||||
build() {
|
||||
prt-get isinst libdvdnav && PKGMK_MPV="-D dvdnav=enabled"
|
||||
prt-get isinst libcdio-paranoia && PKGMK_MPV+=" -D cdda=enabled"
|
||||
prt-get isinst libsdl2 && PKGMK_MPV+=" -D sdl2=enabled"
|
||||
[ -e /usr/lib/libsndio.so ] && PKGMK_MPV+=" -D sndio=enabled"
|
||||
|
||||
meson setup $name-$version build $PKGMK_MPV \
|
||||
meson setup $name-$_commit build $PKGMK_MPV \
|
||||
--prefix=/usr \
|
||||
--buildtype=plain \
|
||||
--wrap-mode nodownload \
|
||||
-D b_lto=true \
|
||||
-D b_pie=true
|
||||
|
||||
meson compile -C build
|
||||
ninja -C build -j ${JOBS:-1}
|
||||
DESTDIR=$PKG meson install -C build
|
||||
|
||||
prt-get isinst bash-completion || rm -rf $PKG/usr/share/bash-completion
|
||||
|
Loading…
Reference in New Issue
Block a user