From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D48E1138351 for ; Sat, 18 Apr 2020 18:39:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9A102E0823; Sat, 18 Apr 2020 18:39:26 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 86161E0823 for ; Sat, 18 Apr 2020 18:39:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5DC0D34F068 for ; Sat, 18 Apr 2020 18:39:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E3B951C3 for ; Sat, 18 Apr 2020 18:39:22 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1587152787.34c4df12b885534a10ac7a3228c1eb78809a5c01.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-libs/qhttpengine/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-libs/qhttpengine/qhttpengine-9999.ebuild X-VCS-Directories: dev-libs/qhttpengine/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 34c4df12b885534a10ac7a3228c1eb78809a5c01 X-VCS-Branch: master Date: Sat, 18 Apr 2020 18:39:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 15f77798-67b5-43ff-8dc8-d23e8905ec43 X-Archives-Hash: ad420d7d48bd223e2c1cebca89a2f41d commit: 34c4df12b885534a10ac7a3228c1eb78809a5c01 Author: Huang Rui gmail com> AuthorDate: Fri Apr 17 19:29:54 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Fri Apr 17 19:46:27 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=34c4df12 dev-libs/qhttpengine: add live build User could get latest software Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Huang Rui gmail.com> dev-libs/qhttpengine/qhttpengine-9999.ebuild | 50 ++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/dev-libs/qhttpengine/qhttpengine-9999.ebuild b/dev-libs/qhttpengine/qhttpengine-9999.ebuild new file mode 100644 index 0000000..a4e9bf0 --- /dev/null +++ b/dev-libs/qhttpengine/qhttpengine-9999.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 +}