diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2020-06-17 08:17:21 -0400 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2020-06-17 09:38:20 -0400 |
commit | 00e4d9a81f42887c83e084ad6dd935b47b02868f (patch) | |
tree | 5c51851ac240a7a415a51c786e593682a1c4e13a /net-libs/libdom | |
parent | media-libs/libsvgtiny: change $ED to $D during install. (diff) | |
download | gentoo-00e4d9a81f42887c83e084ad6dd935b47b02868f.tar.gz gentoo-00e4d9a81f42887c83e084ad6dd935b47b02868f.tar.bz2 gentoo-00e4d9a81f42887c83e084ad6dd935b47b02868f.zip |
net-libs/libdom: new version 0.4.1.
This new version fixes the mixup between $D and $ED at install-time,
and along with newer netsurf-buildsystem, should allow the use of a
non-default (E)ROOT.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'net-libs/libdom')
-rw-r--r-- | net-libs/libdom/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libdom/libdom-0.4.1.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/net-libs/libdom/Manifest b/net-libs/libdom/Manifest index a632312b99a5..f48b00b1aa02 100644 --- a/net-libs/libdom/Manifest +++ b/net-libs/libdom/Manifest @@ -1,2 +1,3 @@ DIST libdom-0.3.3-src.tar.gz 870035 BLAKE2B 6dc77fe0ef31e491810243b461e6e7fbab2d6d2bb56e68730497ed9e0e1acf9dfcc29be024bd0010292e57d25849124153772c24503012fbdf38d24363f35a05 SHA512 3b08b20976b36adf441f088e9feb756b9ce6a43133e57b90fa6d6b8809d74c6d500c7d2a883dd19d520c6ef71d9e04685d9765e6c6a00677a412265ecc6273a8 DIST libdom-0.4.0-src.tar.gz 871499 BLAKE2B e0ab1a1cf14b532eec1bd68c3ee2557a720a984232ede2f9b0e1d4c68299cc8b39b3d83fa1ff77233d07b8148188ec3012dca64787cfe476b4eb6990f1c71629 SHA512 4d3acb6520619c6c28f20c9fef72b19a879070d0e65d896212c557ada44d35c1fcae4712b901db720ddeb3b1b90832005d63075dcafaddb5f4ba2088fa7a9eef +DIST libdom-0.4.1-src.tar.gz 872954 BLAKE2B 7a6d15fbb4bb7046b8ee9670a14c89f5da2ea0eac10631274d9b47eb0ee1181a85eb62aea326d293c407a006091452fba174dddfbb8cd0297a224850159ff9b1 SHA512 8927b294c98dcb424a454036b20981963ba9982c1aad95b07fc0ca1efc58756b7d85373ed4cde0dcff6281b518a2b5993358494f432d85f7ac7ebd51230a6c22 diff --git a/net-libs/libdom/libdom-0.4.1.ebuild b/net-libs/libdom/libdom-0.4.1.ebuild new file mode 100644 index 000000000000..cdf28536a5dc --- /dev/null +++ b/net-libs/libdom/libdom-0.4.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="implementation of the W3C DOM, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libdom/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~m68k-mint" +IUSE="expat test xml" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/libparserutils + dev-libs/libwapcaplet + net-libs/libhubbub + xml? ( + expat? ( >=dev-libs/expat-2.1.0-r3 ) + !expat? ( >=dev-libs/libxml2-2.9.1-r4 ) + )" +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() { + source /usr/share/netsurf-buildsystem/gentoo-helpers.sh + 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 +} |