33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
# Tanım: Qt5 ile yazılmış bir QEMU arayüzü
|
||
# URL: https://github.com/tobimensch/aqemu
|
||
# Paketçi: yasarciv67@gmail.com
|
||
# Gerekler: cmake qt5 qemu-all libvncserver
|
||
|
||
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)
|
||
|
||
derle() {
|
||
cd $isim-$surum
|
||
cp /usr/bin/rcc-qt5 /usr/bin/rcc
|
||
cp $SRC/$isim-Turkish.ts $SRC/$isim-$surum/resources/translations/Turkish.ts
|
||
cp $SRC/$isim-aqemu.desktop $SRC/$isim-$surum/menu_data/aqemu.desktop
|
||
mkdir build
|
||
cd build
|
||
cmake \
|
||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||
-DMAN_PAGE_COMPRESSOR=bzip2 \
|
||
-DCMAKE_BUILD_TYPE=Release \
|
||
../
|
||
make
|
||
make translations_target
|
||
make DESTDIR="$PKG" install
|
||
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
|
||
done
|
||
rm /usr/bin/rcc
|
||
}
|