Add wip feh recipe

This commit is contained in:
Jeremy Soller 2025-10-29 13:07:49 -06:00
parent 4f62ca6eaf
commit 11eb31261b
No known key found for this signature in database
GPG Key ID: 670FDFB5428E05CA

View File

@ -0,0 +1,29 @@
#TODO: imlib2 needs sys/ipc.h and sys/shm.h for X11 feature
[source]
tar = "https://feh.finalrewind.org/feh-3.11.2.tar.bz2"
blake3 = "b9d704e0b37d99068cbc76d2b73c3b6ef673612060d7cfef0f5a3e8886255276"
script = """
DYNAMIC_INIT
autotools_recursive_regenerate
"""
[build]
dependencies = [
"freetype2",
"imlib2",
"libpng",
"libxau",
"libxcb",
"libx11",
"libxt",
"x11proto",
"zlib",
]
template = "custom"
script = """
DYNAMIC_INIT
rsync -a --delete "${COOKBOOK_SOURCE}/" ./
export LDLIBS="$("${PKG_CONFIG}" --libs freetype2 imlib2 libpng x11)"
export PREFIX="/usr"
"${COOKBOOK_MAKE}" curl=0 verscmp=0 xinerama=0
"""