diff --git a/recipes/wip/x11/feh/recipe.toml b/recipes/wip/x11/feh/recipe.toml new file mode 100644 index 000000000..fab5eacb2 --- /dev/null +++ b/recipes/wip/x11/feh/recipe.toml @@ -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 +"""