mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 04:14:17 +08:00
libgif: update and fix
This commit is contained in:
parent
47e4127d7b
commit
e2dcbe518d
@ -1,5 +1,14 @@
|
||||
#TODO missing script for building
|
||||
[source]
|
||||
tar = "https://sourceforge.net/projects/giflib/files/giflib-5.2.1.tar.gz/download"
|
||||
tar = "https://sourceforge.net/projects/giflib/files/giflib-5.2.2.tar.gz/download"
|
||||
blake3 = "025cd79ba2d524c24b33a3d2750c146c6823adf96e1dbcc380ca6210bc7058a8"
|
||||
patches = ["redox.patch"]
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
||||
"${COOKBOOK_MAKE}" libgif.so libgif.a -j "${COOKBOOK_MAKE_JOBS}"
|
||||
"${COOKBOOK_MAKE}" install-include install-lib DESTDIR="${COOKBOOK_STAGE}"
|
||||
"""
|
||||
|
||||
|
||||
12
recipes/wip/libs/video/libgif/redox.patch
Normal file
12
recipes/wip/libs/video/libgif/redox.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ruwN giflib-5.2.1/Makefile source/Makefile
|
||||
--- giflib-5.2.1/Makefile 2019-06-24 10:08:57.000000000 -0600
|
||||
+++ source/Makefile 2025-05-10 13:15:44.301303744 -0600
|
||||
@@ -14,7 +14,7 @@
|
||||
TAR = tar
|
||||
INSTALL = install
|
||||
|
||||
-PREFIX = /usr/local
|
||||
+PREFIX = /usr
|
||||
BINDIR = $(PREFIX)/bin
|
||||
INCDIR = $(PREFIX)/include
|
||||
LIBDIR = $(PREFIX)/lib
|
||||
Loading…
Reference in New Issue
Block a user