summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2024-01-18 15:02:20 -0500
committerMichael Orlitzky <mjo@gentoo.org>2024-01-19 04:29:37 -0500
commite27e52560b4aa4a5450aeae0bda4cf2d93970958 (patch)
treee38f07931adedc117f3c6f36eb33774b6e6a8921 /media-libs/libsvgtiny
parentnet-libs/libdom: add 0.4.2 (diff)
downloadgentoo-e27e52560b4aa4a5450aeae0bda4cf2d93970958.tar.gz
gentoo-e27e52560b4aa4a5450aeae0bda4cf2d93970958.tar.bz2
gentoo-e27e52560b4aa4a5450aeae0bda4cf2d93970958.zip
media-libs/libsvgtiny: add 0.1.8
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'media-libs/libsvgtiny')
-rw-r--r--media-libs/libsvgtiny/Manifest1
-rw-r--r--media-libs/libsvgtiny/libsvgtiny-0.1.8.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/media-libs/libsvgtiny/Manifest b/media-libs/libsvgtiny/Manifest
index 2e530fa748dc..77a03695c0b9 100644
--- a/media-libs/libsvgtiny/Manifest
+++ b/media-libs/libsvgtiny/Manifest
@@ -1 +1,2 @@
DIST libsvgtiny-0.1.7-src.tar.gz 760963 BLAKE2B badf14e656e10a178a6b692659265644b636cc103ec92f89026638700293028e0b06b5e051c420911fd6c319a94bab68328b1d9f42cec69dc7926c2d31aeec67 SHA512 c13352325d32b6f41159b09607b12a373517672e9e4da6d26cbca9a7fb1896b6e5730aee53adaa51f0b49c35f7dd9e9ece6b1f0187a7f5494b5cc223acbe64ad
+DIST libsvgtiny-0.1.8-src.tar.gz 764959 BLAKE2B 846ff04efe2f1a696ae43826233ee8ff9a348e3e816792294aab865db70f72b122e5da71ffe88eae3282483f3d932305970d305d7740826bb8f692584cbeb30b SHA512 86015bf5b662950ca25351303c6e2f31d197166757a96aa1163234dffc06328028ceba8d927ac701da3f9ebdb7c74d89c3865b1decbdc26dc3d83290c6628ea2
diff --git a/media-libs/libsvgtiny/libsvgtiny-0.1.8.ebuild b/media-libs/libsvgtiny/libsvgtiny-0.1.8.ebuild
new file mode 100644
index 000000000000..2f0871b33956
--- /dev/null
+++ b/media-libs/libsvgtiny/libsvgtiny-0.1.8.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit netsurf
+
+DESCRIPTION="Small and portable C library to parse SVG"
+HOMEPAGE="https://www.netsurf-browser.org/projects/libsvgtiny/"
+SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE=""
+
+RDEPEND="
+ net-libs/libdom[xml]
+ dev-libs/libwapcaplet"
+DEPEND="${RDEPEND}
+ dev-util/gperf"
+BDEPEND="
+ dev-build/netsurf-buildsystem
+ virtual/pkgconfig"
+
+_emake() {
+ netsurf_define_makeconf
+ emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@
+}
+
+src_compile() {
+ _emake
+}
+
+src_install() {
+ _emake DESTDIR="${D}" install
+}