From 2a9ba55c76f1e7b3f293fa00bbf7878b8a090607 Mon Sep 17 00:00:00 2001 From: milisbir Date: Sun, 10 Jun 2018 18:42:41 +0200 Subject: [PATCH] baka --- talimatname/genel/b/baka-mplayer/talimat | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/talimatname/genel/b/baka-mplayer/talimat b/talimatname/genel/b/baka-mplayer/talimat index b20d445a2..d7b69a106 100644 --- a/talimatname/genel/b/baka-mplayer/talimat +++ b/talimatname/genel/b/baka-mplayer/talimat @@ -6,17 +6,21 @@ isim=baka-mplayer surum=2.0.4 -devir=2 -kaynak=(https://github.com/u8sand/Baka-MPlayer/archive/v${surum}.tar.gz::$isim-$surum.tar.gz) +devir=3 +kaynak=() derle() { + git_indir https://github.com/u8sand/Baka-MPlayer.git $isim mkdir ${SRC}/build cd ${SRC}/build - qmake-qt5 ../Baka-MPlayer-${surum}/src \ + qmake-qt5 ../${isim}/src \ CONFIG+=release \ CONFIG+=install_translations \ -spec linux-g++ - make -j$(nproc) + 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 }