milis/talimatname/genel/m/mpv/talimat

116 lines
3.1 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: mplayer ve mplayer2 tabanlı çoklu kütüphane destekli medya uygulaması
2017-08-07 23:22:16 +02:00
# URL: http://mpv.io/
2017-10-27 20:46:27 +02:00
# 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
2018-01-21 04:52:06 +01:00
# Grup: medya
2017-08-07 23:22:16 +02:00
2017-10-28 14:10:23 +02:00
isim=mpv
2018-01-21 04:52:06 +01:00
surum=0.27.0
2017-10-28 14:10:23 +02:00
devir=1
kaynak=(https://github.com/$isim-player/$isim/archive/v$surum.tar.gz::$isim-$surum.tar.gz)
2017-08-07 23:22:16 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2017-08-07 23:22:16 +02:00
./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 \
2018-01-21 04:52:06 +01:00
--disable-wayland \
2017-08-07 23:22:16 +02:00
--enable-x11 \
--enable-xv \
--disable-gl-cocoa \
--enable-gl-x11 \
--enable-egl-x11 \
--enable-egl-drm \
2018-01-21 04:52:06 +01:00
--disable-gl-wayland \
2017-08-07 23:22:16 +02:00
--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"
}