commit: 161e3abc76d58c2477621993d0fc8fb16794ef88 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Sun Sep 17 21:37:54 2023 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Sun Sep 17 22:17:54 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=161e3abc
media-libs/libsvgtiny: add 9999 We can enable the test suite for this package now, but it requires net-libs/libdom-9999 to pass. Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> media-libs/libsvgtiny/libsvgtiny-9999.ebuild | 41 ++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/media-libs/libsvgtiny/libsvgtiny-9999.ebuild b/media-libs/libsvgtiny/libsvgtiny-9999.ebuild new file mode 100644 index 000000000000..406dc1ba60c3 --- /dev/null +++ b/media-libs/libsvgtiny/libsvgtiny-9999.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit git-r3 netsurf + +DESCRIPTION="Small and portable C library to parse SVG" +HOMEPAGE="https://www.netsurf-browser.org/projects/libsvgtiny/" +EGIT_REPO_URI="https://git.netsurf-browser.org/${PN}.git" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="" +IUSE="" + +RDEPEND=" + >=net-libs/libdom-9999[xml] + dev-libs/libwapcaplet" +DEPEND="${RDEPEND} + dev-util/gperf" +BDEPEND=" + >=dev-util/netsurf-buildsystem-1.9-r2 + virtual/pkgconfig" + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_test() { + _emake test +} + +src_install() { + _emake DESTDIR="${D}" install +}
