mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
AQEMU: add haiku icons
This commit is contained in:
@@ -5,11 +5,14 @@ the majority of QEMU and KVM options."
|
||||
HOMEPAGE="https://github.com/tobimensch/aqemu/"
|
||||
COPYRIGHT="2008-2017 Andrey Rijov"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
SOURCE_URI="https://github.com/tobimensch/aqemu/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="e3d54de00ebdce3754f97f7e0e7cce8cebb588e8ce6bc249401cc909281b08de"
|
||||
PATCHES="aqemu-$portVersion.patchset"
|
||||
ADDITIONAL_FILES="aqemu.rdef.in"
|
||||
ADDITIONAL_FILES="
|
||||
aqemu.rdef.in
|
||||
haikuicons.zip
|
||||
"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -21,6 +24,7 @@ PROVIDES="
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
qemu$secondaryArchSuffix
|
||||
lib:libdbus_1$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Network$secondaryArchSuffix
|
||||
@@ -32,6 +36,7 @@ REQUIRES="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libdbus_1$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Network$secondaryArchSuffix
|
||||
@@ -44,26 +49,30 @@ BUILD_REQUIRES="
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:lrelease$secondaryArchSuffix >= 5
|
||||
cmd:make
|
||||
cmd:qdbuscpp2xml$secondaryArchSuffix >= 5
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
unzip -o $sourceDir/../../additional-files/haikuicons.zip -d $sourceDir/resources
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake $cmakeDirArgs ..
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Release
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
mkdir -p $appsDir/AQEMU
|
||||
mv $prefix/bin/aqemu $appsDir/AQEMU/AQEMU
|
||||
mv $prefix/share/aqemu/* $appsDir/AQEMU
|
||||
rm -rf $binDir $prefix/share
|
||||
cp build/aqemu $appsDir/AQEMU/AQEMU
|
||||
cp -rf resources/{docs,os_icons,os_templates} $appsDir/AQEMU
|
||||
cp -rf *.rcc $appsDir/AQEMU
|
||||
|
||||
# Add Haiku resources
|
||||
local APP_SIGNATURE="application/x-vnd.qt5-aqemu"
|
||||
|
||||
Reference in New Issue
Block a user