summaryrefslogtreecommitdiff
path: root/opt/mpv/MAKEPKG
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /opt/mpv/MAKEPKG
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'opt/mpv/MAKEPKG')
-rw-r--r--opt/mpv/MAKEPKG60
1 files changed, 60 insertions, 0 deletions
diff --git a/opt/mpv/MAKEPKG b/opt/mpv/MAKEPKG
new file mode 100644
index 0000000..2c57da5
--- /dev/null
+++ b/opt/mpv/MAKEPKG
@@ -0,0 +1,60 @@
+#!/bin/mkpkg
+# description: Minimalist media player for the command line
+# url: https://mpv.io/
+
+name=mpv
+version=0.41.0
+release=2
+depends=(ffmpeg libplacebo libass wayland alsa-lib mesa libdrm libxkbcommon vulkan-loader)
+makedeps=(wayland-protocols)
+source=(https://github.com/mpv-player/mpv/archive/v$version/$name-$version.tar.gz)
+
+sha256sums=(
+ "ee21092a5ee427353392360929dc64645c54479aefdb5babc5cfbb5fad626209"
+)
+
+build() {
+ cd $name-$version
+
+ meson setup build \
+ --prefix=/usr \
+ --libdir=lib \
+ --buildtype=plain \
+ --wrap-mode=nodownload \
+ -D b_lto=true \
+ -D b_pie=true \
+ -D gpl=true \
+ -D cplayer=true \
+ -D libmpv=true \
+ -D wayland=enabled \
+ -D egl-wayland=enabled \
+ -D drm=enabled \
+ -D egl-drm=enabled \
+ -D gbm=enabled \
+ -D alsa=enabled \
+ -D x11=disabled \
+ -D xv=disabled \
+ -D egl-x11=disabled \
+ -D pipewire=disabled \
+ -D pulse=disabled \
+ -D jack=disabled \
+ -D sdl2-audio=disabled \
+ -D sdl2-video=disabled \
+ -D lua=disabled \
+ -D javascript=disabled \
+ -D libbluray=disabled \
+ -D dvdnav=disabled \
+ -D libarchive=disabled \
+ -D vapoursynth=disabled \
+ -D tests=false
+
+ meson compile -C build
+ DESTDIR=$PKG meson install -C build
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh