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 3A32715806E for ; Sat, 27 May 2023 22:02:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D303E0877; Sat, 27 May 2023 22:02:52 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 33420E0874 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 5BA7E33C1C1 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 97468A7A 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.dbaf8ae84492dc8a4f42e5ecb6fe3a56ec9e6d7b.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libdom/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libdom/libdom-9999.ebuild X-VCS-Directories: net-libs/libdom/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: dbaf8ae84492dc8a4f42e5ecb6fe3a56ec9e6d7b 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: 88e59bb4-a6ef-49db-8a5e-83ef26f991b1 X-Archives-Hash: 9463e3be337984d64817eea3c348276b commit: dbaf8ae84492dc8a4f42e5ecb6fe3a56ec9e6d7b Author: Michael Orlitzky gentoo org> AuthorDate: Sat May 27 18:40:44 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=dbaf8ae8 net-libs/libdom: add 9999 Signed-off-by: Michael Orlitzky gentoo.org> net-libs/libdom/libdom-9999.ebuild | 57 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/net-libs/libdom/libdom-9999.ebuild b/net-libs/libdom/libdom-9999.ebuild new file mode 100644 index 000000000000..e4b422d0883c --- /dev/null +++ b/net-libs/libdom/libdom-9999.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit git-r3 netsurf + +DESCRIPTION="implementation of the W3C DOM, written in C" +HOMEPAGE="https://www.netsurf-browser.org/projects/libdom/" + +EGIT_REPO_URI="https://git.netsurf-browser.org/${PN}.git" +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="" +IUSE="expat test xml" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/libparserutils + dev-libs/libwapcaplet + net-libs/libhubbub + xml? ( + expat? ( dev-libs/expat ) + !expat? ( dev-libs/libxml2 ) + )" +DEPEND="${RDEPEND} + test? ( + dev-perl/XML-XPath + dev-perl/libxml-perl + dev-perl/Switch + )" +BDEPEND=" + dev-util/netsurf-buildsystem + virtual/pkgconfig" + +REQUIRED_USE="test? ( xml )" + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared \ + WITH_EXPAT_BINDING=$(usex xml $(usex expat yes no) no) \ + WITH_LIBXML_BINDING=$(usex xml $(usex expat no yes) no) \ + $@ +} + +src_compile() { + _emake +} + +src_test() { + _emake test +} + +src_install() { + _emake DESTDIR="${D}" install +}