Skip to content
Snippets Groups Projects
Commit 0b05706c authored by Francesco Colista's avatar Francesco Colista
Browse files

testing/aqemu: new aport

parent d1b0c41c
No related merge requests found
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=aqemu
pkgver=0.9.2
pkgrel=0
pkgdesc="GUI for virtual machines using QEMU as the backend"
url="https://sourceforge.net/projects/aqemu/"
arch="all"
license="GPL2"
depends="qemu"
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"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
cmake -DCMAKE_INSTALL_PREFIX="/usr"
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
md5sums="cd7f6077a5a49a25450dc007532b0f95 aqemu-0.9.2.tar.gz
7ca1daaed628ece86ca565630ea340ef aqemu-0.9.2-qtbindir.patch"
sha256sums="e3d54de00ebdce3754f97f7e0e7cce8cebb588e8ce6bc249401cc909281b08de aqemu-0.9.2.tar.gz
b1ed61da27c97ebf689b17463d876c39fd84e2e99ed3f4921295f3f627b9a59a aqemu-0.9.2-qtbindir.patch"
sha512sums="9d4808172ee1be82509956560e4d3f9ee349fedd920342146083cc9bc79ef51fc95937c64f20ffb13e2849c577f95f59b5b65271d6e29e2d2e1ec2d1562006ba aqemu-0.9.2.tar.gz
f85e6c2487dfef86470773949f6796af9efdf066d9871ac4cdfddd064c85fbf893574e602ab2c6cd1198dc9eb76f0722b5a85ec046b2dca2275a24799418c996 aqemu-0.9.2-qtbindir.patch"
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 )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment