diff --git a/srcpkgs/imagewriter/patches/musl.patch b/srcpkgs/imagewriter/patches/musl.patch new file mode 100644 index 00000000000..2ea8e2a002b --- /dev/null +++ b/srcpkgs/imagewriter/patches/musl.patch @@ -0,0 +1,11 @@ +--- MainWindow.cpp.orig 2018-05-24 00:26:18.366922607 +0200 ++++ MainWindow.cpp 2018-05-24 00:27:09.802922613 +0200 +@@ -37,7 +37,7 @@ + + #include + #include +-#include ++#include + + #ifdef USEUDISKS2 + #include "udisks2_interface.h" diff --git a/srcpkgs/imagewriter/template b/srcpkgs/imagewriter/template new file mode 100644 index 00000000000..a72de44e28a --- /dev/null +++ b/srcpkgs/imagewriter/template @@ -0,0 +1,21 @@ +# Template file for 'imagewriter' +pkgname=imagewriter +version=1.10.20150521 +revision=1 +_commit=1d253d960a28f9de4468b0b091c231083f03c1c8 +wrksrc="${pkgname}-${_commit}" +build_style=qmake +configure_args="DEFINES=USEUDISKS" +makedepends="qt5-devel" +depends="desktop-file-utils hicolor-icon-theme udisks" +short_desc="Graphical utility for writing raw disk images & hybrid isos to USB keys" +maintainer="cr6git " +license="GPL-2.0-or-later" +homepage="https://github.com/openSUSE/imagewriter" +distfiles="https://github.com/openSUSE/imagewriter/archive/${_commit}.tar.gz" +checksum=7761ee45b16b5841c6b62b091c7f9d0b8c64b14b79d77e9909ca813e1dc9885d + +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends="qt5-devel" +fi +