summaryrefslogtreecommitdiff
path: root/media-libs/libnsgif
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-19 14:07:55 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-19 14:07:55 +0000
commitd725480af7cbc67d784e5d96f973fa41e9030123 (patch)
tree620bbc21e2e1384f13394c32a7294bc1c0e8bae1 /media-libs/libnsgif
parent0184387f6a748c74c5d29cddf20289dc94f05ddc (diff)
gentoo auto-resync : 19:01:2024 - 14:07:55
Diffstat (limited to 'media-libs/libnsgif')
-rw-r--r--media-libs/libnsgif/Manifest4
-rw-r--r--media-libs/libnsgif/libnsgif-1.0.0.ebuild38
-rw-r--r--media-libs/libnsgif/libnsgif-9999.ebuild2
3 files changed, 41 insertions, 3 deletions
diff --git a/media-libs/libnsgif/Manifest b/media-libs/libnsgif/Manifest
index 93fc0fba954e..8c5722547651 100644
--- a/media-libs/libnsgif/Manifest
+++ b/media-libs/libnsgif/Manifest
@@ -1,4 +1,6 @@
DIST libnsgif-0.2.1-src.tar.gz 268328 BLAKE2B ccebd1830db1caa016ebc0c1f2c421523963df16e38cdf85c5300d2a9a325dc9c52c89c79ccbddbc315535a20607458bbfedcde8df02b5e2977d383cd6603220 SHA512 29affce6de38574103a9777e741a44b448145d96ef63e4b86056f268c5d1389f6c5f25240a9f3ef2208fab229eabef2542f3d7ce7b37a0137071f204fbd736af
+DIST libnsgif-1.0.0-src.tar.gz 282568 BLAKE2B bc104972b94b6b7b62fa9740f8d742fc5124d4cc55240b3483cbe72ce0ac3972fc0917397f0cfade6abdb579084f454bd8919c5391281b738dfb3dcb0d9d28e9 SHA512 e87d5faaa4f586a098357a23bed58a8a7a79c94549b21c3338dd04bd5e074e93a7719d93d79515287b15514a2cf39aaa2abd88fd9aec8785a27594ee5cc2ddc0
EBUILD libnsgif-0.2.1-r3.ebuild 821 BLAKE2B fb63e53047da67e4c825e5c8bb9f8cdbd20f0a532f68a9782e8b3ac6a0a869083dba39e1802e814e0af7b0c88ffcd0cc2f17e95e9d0e8cbd22885e9fe8b11c9f SHA512 80c05c5c1162a7710fd3f1fd3b59668ce7fbc82dc1387eb357e61d50285e76947d917dc109e7e0a3caf6040d01b7affd036eee27f5262b65ef2abf84f512ead8
-EBUILD libnsgif-9999.ebuild 644 BLAKE2B 9b1f002ce4e10a4f6fa2c3466fa0797548198d091b4d9e63815608669d46d383bbbb2954156356df321cc19947275db6dd0213c1b5b521fd9635cd66205cdb8a SHA512 3aef97b6a302f1ad1bc7c214b4e0e1d83d035c8778eeba66d29c092d70aadaa52399dd42834e97388843efd844caa8ab3db4cc3ba727b8481758c55a3179b5fe
+EBUILD libnsgif-1.0.0.ebuild 808 BLAKE2B c604bfb74c4472f4a89639e4f57377f072c22213c7d6ed24548ef20c91de913237ba448688412e88a728db4ca0ea8ae7cea8219ed3b69186390ead236ac9ad16 SHA512 65844cb923dbcbdea78de123df6f5ca79ad6c50829d925935b92a62dfac119587a380e25fdae8af3f28f4257b41c7a964250be0518b1f8dd3c7bc039c9bd41be
+EBUILD libnsgif-9999.ebuild 624 BLAKE2B 278096f43f7ac5d75636974681a791e1f949cd46c125468e1d8fd36cd5868bbfd4dcf189b750687763bb85d5ee0011b233ef5aa7fc2ecd314b0e3564507e43c2 SHA512 918031e1d39997059a45c1e44e41a3601bde608da37221ecd3895ebc153c2183394b381c4b6fb656b191bc22d641dbab71eedbe86aa061f21745fa5d8949798b
MISC metadata.xml 253 BLAKE2B 63a51cab94d3e978d2c7dd1d124efd1c9e11c5ae277806a1f12359b2db370c37382fc1947e85940f6b0a439e3d49eecdd8d9bfb96587352d6a83803d2fd40bb6 SHA512 8da7cfe0cd26a54c106f2c029bbde93abf77576835e4fa66bc538dcf12fd41160f7cc2dd843a221962bb9a6f965311c076a1557caa38d503f371569b84841e33
diff --git a/media-libs/libnsgif/libnsgif-1.0.0.ebuild b/media-libs/libnsgif/libnsgif-1.0.0.ebuild
new file mode 100644
index 000000000000..3d92acd52c2a
--- /dev/null
+++ b/media-libs/libnsgif/libnsgif-1.0.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit netsurf
+
+DESCRIPTION="Decoding library for the GIF image file format, written in C"
+HOMEPAGE="https://www.netsurf-browser.org/projects/libnsgif/"
+SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+
+BDEPEND="
+ dev-build/netsurf-buildsystem
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+ sed -e '1i#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"' \
+ -i src/lzw.c || die
+}
+
+_emake() {
+ netsurf_define_makeconf
+ emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@
+}
+
+src_compile() {
+ _emake
+}
+
+src_install() {
+ _emake DESTDIR="${D}" install
+}
diff --git a/media-libs/libnsgif/libnsgif-9999.ebuild b/media-libs/libnsgif/libnsgif-9999.ebuild
index ae9d3917b794..cd94d79787e7 100644
--- a/media-libs/libnsgif/libnsgif-9999.ebuild
+++ b/media-libs/libnsgif/libnsgif-9999.ebuild
@@ -11,8 +11,6 @@ HOMEPAGE="https://www.netsurf-browser.org/projects/libnsgif/"
EGIT_REPO_URI="https://git.netsurf-browser.org/${PN}.git"
LICENSE="MIT"
SLOT="0"
-KEYWORDS=""
-IUSE=""
BDEPEND="
dev-build/netsurf-buildsystem