milis/talimatname/genel/b/baka-mplayer/talimat

28 lines
758 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Mpv tabanlı qt5 medya oynatıcısı
# URL: http://bakamplayer.u8sand.net/
# Paketçi: milisarge
# Gerekler: mpv qt5
# Grup: medya
isim=baka-mplayer
surum=2.0.4
devir=3
kaynak=()
derle() {
git_indir https://github.com/u8sand/Baka-MPlayer.git $isim
mkdir ${SRC}/build
cd ${SRC}/build
export PATH=$PATH:/usr/lib/qt5/bin
qmake-qt5 ../${isim}/src \
CONFIG+=release \
CONFIG+=install_translations \
-spec linux-g++
make -j$(grep -c ^processor /proc/cpuinfo)
make INSTALL_ROOT=${PKG} install
echo "LC_ALL=\$(echo \$LC_ALL | cut -d'.' -f1) baka-mplayer %U" > $PKG/usr/bin/baka-mplayer.sh
chmod +x $PKG/usr/bin/baka-mplayer.sh
sed -i "s/Exec=baka-mplayer %U/Exec=baka-mplayer.sh /g" $PKG/usr/share/applications/baka-mplayer.desktop
}