diff options
Diffstat (limited to 'net-libs/libdom')
-rw-r--r-- | net-libs/libdom/Manifest | 4 | ||||
-rw-r--r-- | net-libs/libdom/libdom-0.3.3-r1.ebuild | 1 | ||||
-rw-r--r-- | net-libs/libdom/libdom-0.4.0.ebuild | 58 |
3 files changed, 62 insertions, 1 deletions
diff --git a/net-libs/libdom/Manifest b/net-libs/libdom/Manifest index 5d1eac15221c..bfbd2e245881 100644 --- a/net-libs/libdom/Manifest +++ b/net-libs/libdom/Manifest @@ -1,3 +1,5 @@ DIST libdom-0.3.3-src.tar.gz 870035 BLAKE2B 6dc77fe0ef31e491810243b461e6e7fbab2d6d2bb56e68730497ed9e0e1acf9dfcc29be024bd0010292e57d25849124153772c24503012fbdf38d24363f35a05 SHA512 3b08b20976b36adf441f088e9feb756b9ce6a43133e57b90fa6d6b8809d74c6d500c7d2a883dd19d520c6ef71d9e04685d9765e6c6a00677a412265ecc6273a8 -EBUILD libdom-0.3.3-r1.ebuild 1192 BLAKE2B 771f632cd7d6608c85f6bf217f6f4435fcc1675626c8e939b0d457aee1e34a3f942a3d47f94bb5bfea5b02ccbffad6ae7fcaa13e3ead44bb7d0c382defcf96e1 SHA512 c99c11f8cf4cb91e06f3f3834a0c141ddf9fdeae150750e90c947fdb18bcdf26045dbdb6c8fe58d43c8bf6a9cc2679d86747d9ef796c465e67735cdef7a0cb2f +DIST libdom-0.4.0-src.tar.gz 871499 BLAKE2B e0ab1a1cf14b532eec1bd68c3ee2557a720a984232ede2f9b0e1d4c68299cc8b39b3d83fa1ff77233d07b8148188ec3012dca64787cfe476b4eb6990f1c71629 SHA512 4d3acb6520619c6c28f20c9fef72b19a879070d0e65d896212c557ada44d35c1fcae4712b901db720ddeb3b1b90832005d63075dcafaddb5f4ba2088fa7a9eef +EBUILD libdom-0.3.3-r1.ebuild 1219 BLAKE2B ee68ac1d36b1ab0949c4cde6b48f2401295a0511ee1a5cb3290a3e4dc6e9fdff9b0b046fbff6baac0716b62331fe43dd36864d555aa72a7083c0cca6deff45a8 SHA512 5866280d5f86a4ccfa9484093c32850476ebabc9c945902c398813e23869ee1f9291f07df48d5aa9ca57df1ff43053cfc0685ea9f9183b58cb60615a929d665b +EBUILD libdom-0.4.0.ebuild 1201 BLAKE2B 1f326a228e12011d1a0bbb73b1f98dbe5a5728fe2cb7b5284151d07318c4da23e5964442f58d734f83d57bf223e8b18c3d6ee4efac1da275e43a8415529fb759 SHA512 477fdd247ba7a130992a0735c4a40a5c3a6baeb6d6880a3a82886ff9937b2fa561ae7dde3d95b7a54f245c917289d35c8ae6924565684f51b2bf82ca1a895abc MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33 diff --git a/net-libs/libdom/libdom-0.3.3-r1.ebuild b/net-libs/libdom/libdom-0.3.3-r1.ebuild index 5d361bf7b98a..1a6947896f96 100644 --- a/net-libs/libdom/libdom-0.3.3-r1.ebuild +++ b/net-libs/libdom/libdom-0.3.3-r1.ebuild @@ -13,6 +13,7 @@ LICENSE="MIT" SLOT="0/${PV}" KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~m68k-mint" IUSE="expat test xml" +RESTRICT="!test? ( test )" RDEPEND=" >=dev-libs/libparserutils-0.2.1-r1 diff --git a/net-libs/libdom/libdom-0.4.0.ebuild b/net-libs/libdom/libdom-0.4.0.ebuild new file mode 100644 index 000000000000..e9cb215757f4 --- /dev/null +++ b/net-libs/libdom/libdom-0.4.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2019 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="${ED}" install +} |