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

28 lines
758 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Mpv tabanlı qt5 medya oynatıcısı
2017-08-08 00:33:33 +02:00
# URL: http://bakamplayer.u8sand.net/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: mpv qt5
2017-12-22 23:19:06 +01:00
# Grup: medya
2017-08-08 00:33:33 +02:00
2017-10-28 14:10:23 +02:00
isim=baka-mplayer
surum=2.0.4
2018-06-10 18:42:41 +02:00
devir=3
kaynak=()
2017-12-22 23:19:06 +01:00
2017-08-08 00:33:33 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2018-06-10 18:42:41 +02:00
git_indir https://github.com/u8sand/Baka-MPlayer.git $isim
2017-08-08 00:33:33 +02:00
mkdir ${SRC}/build
cd ${SRC}/build
2018-06-11 04:46:26 +02:00
export PATH=$PATH:/usr/lib/qt5/bin
2018-06-10 18:42:41 +02:00
qmake-qt5 ../${isim}/src \
2017-08-08 00:33:33 +02:00
CONFIG+=release \
CONFIG+=install_translations \
-spec linux-g++
2018-06-11 04:46:26 +02:00
make -j$(grep -c ^processor /proc/cpuinfo)
2017-08-08 00:33:33 +02:00
make INSTALL_ROOT=${PKG} install
2018-06-10 18:42:41 +02:00
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
2017-08-08 00:33:33 +02:00
}