aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/aqemu/APKBUILD29
-rw-r--r--testing/aqemu/alpine.pngbin4489 -> 0 bytes
-rw-r--r--testing/aqemu/aqemu-0.9.2-qtbindir.patch15
3 files changed, 14 insertions, 30 deletions
diff --git a/testing/aqemu/APKBUILD b/testing/aqemu/APKBUILD
index b975161976..beacd96b7c 100644
--- a/testing/aqemu/APKBUILD
+++ b/testing/aqemu/APKBUILD
@@ -1,35 +1,34 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=aqemu
-pkgver=0.9.2
-pkgrel=2
+pkgver=0.9.4
+pkgrel=0
pkgdesc="GUI for virtual machines using QEMU as the backend"
url="https://sourceforge.net/projects/aqemu/"
arch="all"
license="GPL-2.0"
depends="qemu"
+options="!check" #no check/test provided
makedepends="cmake libvncserver-dev bzip2 qt5-qtbase-dev glib-dev"
-install=""
subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/tobimensch/$pkgname/archive/v$pkgver.tar.gz
-aqemu-0.9.2-qtbindir.patch
-alpine.png"
-builddir="$srcdir/$pkgname-$pkgver"
+source="$pkgname-$pkgver.tar.gz::https://github.com/TBK/aqemu/archive/v$pkgver.tar.gz"
+
+prepare() {
+ default_prepare
+ mkdir -p build
+}
build() {
- cd "$builddir"
- install -m644 "$srcdir"/alpine.png resources/os_icons
+ cd build
cmake \
-DCMAKE_INSTALL_PREFIX="/usr" \
- -DMAN_PAGE_COMPRESSOR=gzip
- make || return 1
+ -DMAN_PAGE_COMPRESSOR=gzip ..
+ make
}
package() {
- cd "$builddir"
+ cd build
make DESTDIR="$pkgdir" install
}
-sha512sums="9d4808172ee1be82509956560e4d3f9ee349fedd920342146083cc9bc79ef51fc95937c64f20ffb13e2849c577f95f59b5b65271d6e29e2d2e1ec2d1562006ba aqemu-0.9.2.tar.gz
-f85e6c2487dfef86470773949f6796af9efdf066d9871ac4cdfddd064c85fbf893574e602ab2c6cd1198dc9eb76f0722b5a85ec046b2dca2275a24799418c996 aqemu-0.9.2-qtbindir.patch
-9de8676b8e9fd2901ba5294c473f62cd5aa7b8ad967622f9993e461b5cdd95d5956009dcf722204b430e9fa37c67e64279aa4dcfd83a69504fec1d3d39e50ea9 alpine.png"
+sha512sums="e10e2c558572e6194abadeb46034a59d1b5837efe77012c2ef2d4c5ae610e7a7b09e2315e6d5fd8a12fd7f9db34068a15926b0dbe8f91db6a0d4f48eea722a9d aqemu-0.9.4.tar.gz"
diff --git a/testing/aqemu/alpine.png b/testing/aqemu/alpine.png
deleted file mode 100644
index dfe57f6bff..0000000000
--- a/testing/aqemu/alpine.png
+++ /dev/null
Binary files differ
diff --git a/testing/aqemu/aqemu-0.9.2-qtbindir.patch b/testing/aqemu/aqemu-0.9.2-qtbindir.patch
deleted file mode 100644
index 5c55480584..0000000000
--- a/testing/aqemu/aqemu-0.9.2-qtbindir.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Ensure the Qt 5 version of rcc is used instead of whatever is in $PATH.
-
-Gentoo-bug: 589332
-
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -285,7 +285,7 @@
-
- SET( _out ${CMAKE_CURRENT_SOURCE_DIR}/${_basename}.rcc )
-
-- ADD_CUSTOM_COMMAND( OUTPUT ${_out} COMMAND rcc ARGS ${_in} -binary -o ${_out} DEPENDS ${_in} )
-+ ADD_CUSTOM_COMMAND( OUTPUT ${_out} COMMAND ${Qt5Core_RCC_EXECUTABLE} ARGS ${_in} -binary -o ${_out} DEPENDS ${_in} )
-
- SET( ${_sources} ${${_sources}} ${_out} )
- ENDFOREACH( curFile )