This commit is contained in:
milisbir 2018-06-10 18:42:41 +02:00
parent dce1899627
commit 2a9ba55c76
1 changed files with 8 additions and 4 deletions

View File

@ -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
}