baka
This commit is contained in:
parent
dce1899627
commit
2a9ba55c76
|
@ -6,17 +6,21 @@
|
||||||
|
|
||||||
isim=baka-mplayer
|
isim=baka-mplayer
|
||||||
surum=2.0.4
|
surum=2.0.4
|
||||||
devir=2
|
devir=3
|
||||||
kaynak=(https://github.com/u8sand/Baka-MPlayer/archive/v${surum}.tar.gz::$isim-$surum.tar.gz)
|
kaynak=()
|
||||||
|
|
||||||
|
|
||||||
derle() {
|
derle() {
|
||||||
|
git_indir https://github.com/u8sand/Baka-MPlayer.git $isim
|
||||||
mkdir ${SRC}/build
|
mkdir ${SRC}/build
|
||||||
cd ${SRC}/build
|
cd ${SRC}/build
|
||||||
qmake-qt5 ../Baka-MPlayer-${surum}/src \
|
qmake-qt5 ../${isim}/src \
|
||||||
CONFIG+=release \
|
CONFIG+=release \
|
||||||
CONFIG+=install_translations \
|
CONFIG+=install_translations \
|
||||||
-spec linux-g++
|
-spec linux-g++
|
||||||
make -j$(nproc)
|
make -j $(grep -c ^processor /proc/cpuinfo)
|
||||||
make INSTALL_ROOT=${PKG} install
|
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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue