2017-06-26 13:59:39 +02:00
|
|
|
|
# Description: Qt5 ile yazılmış bir QEMU arayüzü
|
|
|
|
|
# URL: https://github.com/tobimensch/aqemu
|
|
|
|
|
# Packager: yasarciv67@gmail.com
|
|
|
|
|
# Depends on: cmake qt5 qemu-all libvncserver
|
|
|
|
|
|
|
|
|
|
name=aqemu
|
|
|
|
|
version=0.9.2
|
2017-09-23 22:31:23 +02:00
|
|
|
|
release=2
|
2017-09-24 12:59:11 +02:00
|
|
|
|
source=(https://github.com/tobimensch/$name/archive/v$version.tar.gz::$name-$version.tar.gz
|
|
|
|
|
https://raw.githubusercontent.com/yasarciv/aqemu/master/resources/translations/Turkish.ts::$name-Turkish.ts)
|
2017-06-26 13:59:39 +02:00
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd $name-$version
|
|
|
|
|
cp /usr/bin/rcc-qt5 /usr/bin/rcc
|
2017-09-24 12:59:11 +02:00
|
|
|
|
cp $SRC/$name-Turkish.ts $SRC/$name-$version/resources/translations/Turkish.ts
|
|
|
|
|
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-09-24 12:59:11 +02:00
|
|
|
|
for dil in $(ls $SRC/$name-$version/resources/translations/*.ts | sed 's/\.ts$//' );do
|
|
|
|
|
lrelease-qt5 -compress -silent -nounfinished ${dil}.ts -qm $PKG/usr/share/$name/$(basename $dil).qm
|
|
|
|
|
done
|
2017-06-26 13:59:39 +02:00
|
|
|
|
rm /usr/bin/rcc
|
|
|
|
|
}
|