From d651f6ab651ca6f12efa39c7b97dca443c9fade3 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Sat, 23 Feb 2019 23:01:43 +0100 Subject: [PATCH] New package: nitroshare-0.3.4 --- .../patches/fix-build-with-qt-5-11.patch | 11 ++++++++ srcpkgs/nitroshare/template | 26 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 srcpkgs/nitroshare/patches/fix-build-with-qt-5-11.patch create mode 100644 srcpkgs/nitroshare/template diff --git a/srcpkgs/nitroshare/patches/fix-build-with-qt-5-11.patch b/srcpkgs/nitroshare/patches/fix-build-with-qt-5-11.patch new file mode 100644 index 00000000000..ec587957a3d --- /dev/null +++ b/srcpkgs/nitroshare/patches/fix-build-with-qt-5-11.patch @@ -0,0 +1,11 @@ +diff -Nru src/application/splashdialog.cpp src/application/splashdialog.cpp +--- src/application/splashdialog.cpp 2017-10-13 00:32:54.000000000 +0200 ++++ src/application/splashdialog.cpp 2018-06-01 03:45:40.631194527 +0200 +@@ -24,6 +24,7 @@ + + #include + #include ++#include + + #include "splashdialog.h" + diff --git a/srcpkgs/nitroshare/template b/srcpkgs/nitroshare/template new file mode 100644 index 00000000000..12078a868cd --- /dev/null +++ b/srcpkgs/nitroshare/template @@ -0,0 +1,26 @@ +# Template file for 'nitroshare' +pkgname=nitroshare +version=0.3.4 +revision=1 +wrksrc="nitroshare-desktop-${version}" +build_style=cmake +pycompile_dirs="usr/share/nautilus-python/extensions + usr/share/nemo-python/extensions + usr/share/caja-python/extensions" +hostmakedepends="pkgconf qt5-qmake" +makedepends="qt5-devel qt5-tools-devel qt5-svg-devel libnotify + qhttpengine-devel qmdnsengine-devel" +short_desc="Network file transfer application" +maintainer="Rasmus Thomsen >" +license="MIT" +homepage="http://nitroshare.net" +distfiles="https://github.com/nitroshare/nitroshare-desktop/archive/${version}.tar.gz" +checksum=29874e5909c29211a3c9e13f8c0f49b901ec2996e5d60d80af80d2fb80c3d7ec + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-host-tools" +fi + +post_install() { + vlicense LICENSE.txt +}