summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2024-01-18 15:08:31 -0500
committerMichael Orlitzky <mjo@gentoo.org>2024-01-19 04:29:38 -0500
commit2cf238ce376351713f08aba5265152e9d5828417 (patch)
treedc98ef458840c1225c5993d8639c89efdb444604 /media-libs
parentmedia-libs/libnsgif: add 1.0.0 (diff)
downloadgentoo-2cf238ce376351713f08aba5265152e9d5828417.tar.gz
gentoo-2cf238ce376351713f08aba5265152e9d5828417.tar.bz2
gentoo-2cf238ce376351713f08aba5265152e9d5828417.zip
media-libs/libnsbmp: add 0.1.7
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libnsbmp/Manifest1
-rw-r--r--media-libs/libnsbmp/libnsbmp-0.1.7.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/media-libs/libnsbmp/Manifest b/media-libs/libnsbmp/Manifest
index 3ff38f34c071..e5bc7bf595fb 100644
--- a/media-libs/libnsbmp/Manifest
+++ b/media-libs/libnsbmp/Manifest
@@ -1 +1,2 @@
DIST libnsbmp-0.1.6-src.tar.gz 463348 BLAKE2B 546f26c0ebbc2b93aec3002424c8e6d5aaeaa06f06fea13712675dd33c71b431c7f6d296c55a4d091cba7c9d5eaf053960b3d7e16e24b0832e42f8f4881f675d SHA512 7e987a47d56216b2e2a795c1233c63599d474fdd9dd495f31bc9a902f92072078ae79e73323da457fd5059908a65f44bacc6c8742f92f0950af80196a4bb4732
+DIST libnsbmp-0.1.7-src.tar.gz 466530 BLAKE2B 590e13661d56aec57ae54b2d66f7fe1e14fefacfeabfd2f93264f1ab7dda576ab6477b80689c7e2805b5b183de7cf1d9d406e814ec59477ce541216230862300 SHA512 dcc4187f8eb404b327c5addeb80b49b492ec3f962c4e3c09483425a3c7641d832ed14578fbae7353c10d1bacf7a771d35c537ffb730cfddff01ae7d1932acaf8
diff --git a/media-libs/libnsbmp/libnsbmp-0.1.7.ebuild b/media-libs/libnsbmp/libnsbmp-0.1.7.ebuild
new file mode 100644
index 000000000000..7695dbf434b7
--- /dev/null
+++ b/media-libs/libnsbmp/libnsbmp-0.1.7.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit netsurf
+
+DESCRIPTION="Decoding library for BMP and ICO image file formats, written in C"
+HOMEPAGE="https://www.netsurf-browser.org/projects/libnsbmp/"
+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=""
+
+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
+}