28 lines
758 B
Plaintext
28 lines
758 B
Plaintext
# 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
|
||
}
|