public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Rui Huang" <vowstar@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/qhttpengine/
Date: Fri, 17 Apr 2020 19:47:43 +0000 (UTC)	[thread overview]
Message-ID: <1587152787.f8e335ae682d618ea28b0a5b8160bb075b17e693.vowstar@gentoo> (raw)

commit:     f8e335ae682d618ea28b0a5b8160bb075b17e693
Author:     Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Fri Apr 17 19:28:14 2020 +0000
Commit:     Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Fri Apr 17 19:46:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f8e335ae

dev-libs/qhttpengine: new package

QHttpEngine provides a simple set of classes for developing
HTTP server applications in Qt.

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>

 dev-libs/qhttpengine/Manifest                 |  1 +
 dev-libs/qhttpengine/metadata.xml             | 23 ++++++++++++
 dev-libs/qhttpengine/qhttpengine-1.0.1.ebuild | 50 +++++++++++++++++++++++++++
 3 files changed, 74 insertions(+)

diff --git a/dev-libs/qhttpengine/Manifest b/dev-libs/qhttpengine/Manifest
new file mode 100644
index 0000000..0038b0d
--- /dev/null
+++ b/dev-libs/qhttpengine/Manifest
@@ -0,0 +1 @@
+DIST qhttpengine-1.0.1.tar.gz 107937 BLAKE2B c93711a16c53bea9622f5bfd4eeb480bf8bf4366f1d30d44d8c208b9600e632fd2c3b0129c2494858f6c51fd6d9df7973f02c28adf84c8b63186eec5ea9c3450 SHA512 d9b67db5f752cb494e71e37bed523490c53ce97d01b32925846a019e866776cef9e73f580acfb639fb04465439e8328e756dabd7b505380d3976ec872849fe22

diff --git a/dev-libs/qhttpengine/metadata.xml b/dev-libs/qhttpengine/metadata.xml
new file mode 100644
index 0000000..7a0f29d
--- /dev/null
+++ b/dev-libs/qhttpengine/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>vowstar@gmail.com</email>
+		<name>Huang Rui</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">nitroshare/qhttpengine</remote-id>
+	</upstream>
+	<longdescription>
+	QHttpEngine provides a simple set of classes for developing HTTP server
+	applications in Qt. The design goals of QHttpEngine include:
+	Reliability - extremely exhaustive test suite ensures that bugs are caught
+	as soon as they are introduced.
+	Flexibility - classes are designed for easy integration with existing Qt
+	code.
+	Simplicity - everything is intentionally kept as simple as possible.
+	Usability - documentation is provided for all classes.
+	All of QHttpEngine's functionality is included in a single monolithic
+	library.
+	</longdescription>
+</pkgmetadata>

diff --git a/dev-libs/qhttpengine/qhttpengine-1.0.1.ebuild b/dev-libs/qhttpengine/qhttpengine-1.0.1.ebuild
new file mode 100644
index 0000000..a4e9bf0
--- /dev/null
+++ b/dev-libs/qhttpengine/qhttpengine-1.0.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+DESCRIPTION="HTTP server for Qt applications"
+HOMEPAGE="https://github.com/nitroshare/qhttpengine"
+
+if [[ ${PV} == "9999" ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/nitroshare/${PN}.git"
+else
+	SRC_URI="https://github.com/nitroshare/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+	S="${WORKDIR}/${PN}-${PV}"
+fi
+
+LICENSE="MIT"
+SLOT="5"
+
+IUSE="doc examples test"
+
+RDEPEND="
+	dev-qt/qtnetwork:5
+"
+
+DEPEND="
+	doc? ( app-doc/doxygen )
+	test? ( dev-qt/qttest:5 )
+	${RDEPEND}
+"
+
+BDEPEND="
+	virtual/pkgconfig
+"
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_DOC=$(usex doc)
+		-DBUILD_EXAMPLES=$(usex examples)
+		-DBUILD_TESTS=$(usex test)
+		-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
+		-DLIB_INSTALL_DIR=$(get_libdir)
+		${CMAKE_CONF}
+	)
+
+	cmake-utils_src_configure
+}


             reply	other threads:[~2020-04-17 19:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-17 19:47 Rui Huang [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-05-02 17:59 [gentoo-commits] repo/proj/guru:master commit in: dev-libs/qhttpengine/ Arthur Zamarin
2022-05-02 17:34 ` [gentoo-commits] repo/proj/guru:dev " Arthur Zamarin
2022-02-07 15:56 Rui Huang
2021-01-01  9:55 Rui Huang
2020-04-26 22:39 Alessandro Barbieri
2020-04-25 20:07 Alessandro Barbieri
2020-04-18 19:57 Rui Huang
2020-04-18 19:57 Rui Huang
2020-04-18 16:56 Rui Huang
2020-04-18 16:56 Rui Huang
2020-04-17 19:47 Rui Huang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1587152787.f8e335ae682d618ea28b0a5b8160bb075b17e693.vowstar@gentoo \
    --to=vowstar@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox