diff --git a/common/shlibs b/common/shlibs index 8e9864139d..141386f0f6 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3416,3 +3416,4 @@ libdvdcss.so.2 libdvdcss-1.4.2_1 libvalapanel.so.0 vala-panel-0.4.87_1 libappmenu-gtk2-parser.so.0 appmenu-gtk-module-0.7.1_1 libappmenu-gtk3-parser.so.0 appmenu-gtk3-module-0.7.1_1 +libqhttpengine.so.1 qhttpengine-1.0.1_1 diff --git a/srcpkgs/qhttpengine-devel b/srcpkgs/qhttpengine-devel new file mode 120000 index 0000000000..34d2bd0b59 --- /dev/null +++ b/srcpkgs/qhttpengine-devel @@ -0,0 +1 @@ +qhttpengine \ No newline at end of file diff --git a/srcpkgs/qhttpengine/template b/srcpkgs/qhttpengine/template new file mode 100644 index 0000000000..d9e095c4aa --- /dev/null +++ b/srcpkgs/qhttpengine/template @@ -0,0 +1,32 @@ +# Template file for 'qhttpengine' +pkgname=qhttpengine +version=1.0.1 +revision=1 +build_style=cmake +hostmakedepends="qt5-qmake" +makedepends="qt5-devel" +short_desc="HTTP server for Qt applications" +maintainer="Rasmus Thomsen " +license="MIT" +homepage="https://github.com/nitroshare/qhttpengine" +distfiles="https://github.com/nitroshare/qhttpengine/archive/${version}.tar.gz" +checksum=6505cf889909dc29bab4069116656e7ca5a9e879f04935139439c5691a76c55e + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-host-tools" +fi + +post_install() { + vlicense LICENSE.txt +} + +qhttpengine-devel_package() { + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/cmake + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +}