milis/talimatname/genel/a/aqemu/talimat

33 lines
1.1 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Qt5 ile yazılmış bir QEMU arayüzü
2017-06-26 13:59:39 +02:00
# URL: https://github.com/tobimensch/aqemu
2017-10-27 20:46:27 +02:00
# Paketçi: yasarciv67@gmail.com
# Gerekler: cmake qt5 qemu-all libvncserver
2017-06-26 13:59:39 +02:00
2017-10-28 14:10:23 +02:00
isim=aqemu
surum=0.9.2
devir=3
kaynak=(https://github.com/tobimensch/$isim/archive/v$surum.tar.gz::$isim-$surum.tar.gz
https://raw.githubusercontent.com/yasarciv/aqemu/master/resources/translations/Turkish.ts::$isim-Turkish.ts
https://raw.githubusercontent.com/yasarciv/aqemu/master/resources/menu_data/aqemu.desktop::$isim-aqemu.desktop)
2017-06-26 13:59:39 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2017-06-26 13:59:39 +02:00
cp /usr/bin/rcc-qt5 /usr/bin/rcc
2017-10-28 14:10:23 +02:00
cp $SRC/$isim-Turkish.ts $SRC/$isim-$surum/resources/translations/Turkish.ts
cp $SRC/$isim-aqemu.desktop $SRC/$isim-$surum/menu_data/aqemu.desktop
2017-09-24 12:59:11 +02:00
mkdir build
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DMAN_PAGE_COMPRESSOR=bzip2 \
-DCMAKE_BUILD_TYPE=Release \
../
2017-06-26 13:59:39 +02:00
make
2017-09-24 12:59:11 +02:00
make translations_target
2017-06-26 13:59:39 +02:00
make DESTDIR="$PKG" install
2017-10-28 14:10:23 +02:00
for dil in $(ls $SRC/$isim-$surum/resources/translations/*.ts | sed 's/\.ts$//' );do
lrelease-qt5 -compress -silent -nounfinished ${dil}.ts -qm $PKG/usr/share/$isim/$(basename $dil).qm
2017-09-24 12:59:11 +02:00
done
2017-06-26 13:59:39 +02:00
rm /usr/bin/rcc
}