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 0EFA7138350 for ; Fri, 17 Apr 2020 19:47:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4252DE086D; Fri, 17 Apr 2020 19:47:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 29E94E086D for ; Fri, 17 Apr 2020 19:47:46 +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 F279134EE13 for ; Fri, 17 Apr 2020 19:47:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B034A1D8 for ; Fri, 17 Apr 2020 19:47:43 +0000 (UTC) From: "Rui Huang" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rui Huang" Message-ID: <1587152787.34c4df12b885534a10ac7a3228c1eb78809a5c01.vowstar@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev 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: vowstar X-VCS-Committer-Name: Rui Huang X-VCS-Revision: 34c4df12b885534a10ac7a3228c1eb78809a5c01 X-VCS-Branch: dev Date: Fri, 17 Apr 2020 19:47:43 +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: 5ebe9598-4695-41b4-8fd0-c920f8408d0f X-Archives-Hash: e2ed37f82e3fe854dbd1d528d841fb73 commit: 34c4df12b885534a10ac7a3228c1eb78809a5c01 Author: Huang Rui gmail com> AuthorDate: Fri Apr 17 19:29:54 2020 +0000 Commit: Rui Huang gmail com> 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 +}