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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1668415806E for ; Sat, 27 May 2023 22:02:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A977E087A; Sat, 27 May 2023 22:02:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 551C5E0878 for ; Sat, 27 May 2023 22:02:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4D22F335C7D for ; Sat, 27 May 2023 22:02:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 84677A75 for ; Sat, 27 May 2023 22:02:49 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1685224884.89cd197377b7271e11c9f56a964e26ceb18fde0f.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcss/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libcss/libcss-9999.ebuild X-VCS-Directories: dev-libs/libcss/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 89cd197377b7271e11c9f56a964e26ceb18fde0f X-VCS-Branch: master Date: Sat, 27 May 2023 22:02:49 +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: d18956d1-325e-4627-837b-265a7d38d188 X-Archives-Hash: 85c734cb42772acc6773c537423efb07 commit: 89cd197377b7271e11c9f56a964e26ceb18fde0f Author: Michael Orlitzky gentoo org> AuthorDate: Sat May 27 18:40:30 2023 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Sat May 27 22:01:24 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89cd1973 dev-libs/libcss: add 9999 Signed-off-by: Michael Orlitzky gentoo.org> dev-libs/libcss/libcss-9999.ebuild | 47 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/dev-libs/libcss/libcss-9999.ebuild b/dev-libs/libcss/libcss-9999.ebuild new file mode 100644 index 000000000000..54b3baf92934 --- /dev/null +++ b/dev-libs/libcss/libcss-9999.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit git-r3 netsurf + +DESCRIPTION="CSS parser and selection engine, written in C" +HOMEPAGE="https://www.netsurf-browser.org/projects/libcss/" + +EGIT_REPO_URI="https://git.netsurf-browser.org/${PN}.git" +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="" +IUSE="test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/libparserutils + dev-libs/libwapcaplet" +DEPEND="${RDEPEND} + test? ( dev-lang/perl )" +BDEPEND=" + dev-util/netsurf-buildsystem + virtual/pkgconfig" + +src_prepare() { + default +} + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_test() { + _emake test +} + +src_install() { + _emake DESTDIR="${D}" install +}