milis/talimatname/genel/m/mpv/talimat

116 lines
3.1 KiB
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: mplayer ve mplayer2 tabanlı çoklu kütüphane destekli medya uygulaması
# URL: http://mpv.io/
# Paketçi: milisarge
# Gerekler: sdl2 sndio rsound openal uchardet v4l-utils libcdio-paranoia ffmpeg lcms2 samba ladspa xorg-libxscrnsaver libbluray libvdpau libquvi xorg-libxinerama xorg-libxv libxkbcommon desktop-file-utils hicolor-icon-theme xdg-utils lua lua52 libdvdnav xorg-libxrandr jack
# Grup: medya
isim=mpv
surum=0.27.0
devir=1
kaynak=(https://github.com/$isim-player/$isim/archive/v$surum.tar.gz::$isim-$surum.tar.gz)
derle() {
cd $isim-$surum
./bootstrap.py
./waf configure \
--color=yes \
--prefix=/usr \
--confdir=/etc/mpv \
--progress \
\
--enable-libmpv-shared \
--disable-libmpv-static \
--disable-static-build \
--disable-debug-build \
\
--disable-manpage-build \
--disable-html-build \
--disable-pdf-build \
\
--enable-cplugins \
--enable-zsh-comp \
--disable-test \
--disable-clang-database \
\
--disable-win32-internal-pthreads \
--enable-iconv \
--enable-libsmbclient \
--enable-libass \
--enable-libass-osd \
--enable-encoding \
--enable-libbluray \
--enable-dvdread \
--enable-dvdnav \
--enable-cdda \
--enable-uchardet \
--disable-rubberband \
--enable-lcms2 \
--disable-vapoursynth \
--disable-vapoursynth-lazy \
--enable-libarchive \
--enable-libavdevice \
\
--enable-sdl2 \
--disable-sdl1 \
--enable-oss-audio \
--enable-rsound \
--enable-sndio \
--enable-pulse \
--enable-jack \
--enable-openal \
--disable-opensles \
--enable-alsa \
--disable-coreaudio \
--disable-audiounit \
--disable-wasapi \
\
--disable-cocoa \
--enable-drm \
--enable-gbm \
--disable-wayland \
--enable-x11 \
--enable-xv \
--disable-gl-cocoa \
--enable-gl-x11 \
--enable-egl-x11 \
--enable-egl-drm \
--disable-gl-wayland \
--disable-gl-win32 \
--disable-gl-dxinterop \
--disable-egl-angle \
--disable-egl-angle-lib \
--enable-vdpau \
--enable-vdpau-gl-x11 \
--enable-vaapi \
--enable-vaapi-x11 \
--disable-vaapi-wayland \
--disable-vaapi-drm \
--disable-vaapi-glx \
--disable-vaapi-x-egl \
--disable-caca \
--enable-jpeg \
--disable-direct3d \
--disable-android \
--disable-rpi \
--disable-ios-gl \
--enable-plain-gl \
--disable-mali-fbdev \
--enable-gl \
\
--disable-videotoolbox-gl \
--enable-cuda-hwaccel \
\
--enable-tv \
--enable-tv-v4l2 \
--enable-libv4l2 \
--enable-audio-input \
--enable-dvbin \
\
--disable-apple-remote \
--disable-macos-touchbar
./waf build
./waf install --destdir="$PKG"
}