diff --git a/srcpkgs/setroot/patches/new-imlib.patch b/srcpkgs/setroot/patches/new-imlib.patch new file mode 100644 index 00000000000..ad4d1b93ed3 --- /dev/null +++ b/srcpkgs/setroot/patches/new-imlib.patch @@ -0,0 +1,11 @@ +--- a/Makefile ++++ b/Makefile +@@ -6,7 +6,7 @@ NAME := setroot + CC := gcc + OFLAG := + CFLAGS := -std=c99 -Wall -g -Wextra ${OFLAG} +-LIBS := -lX11 `imlib2-config --libs` ++LIBS := -lX11 `${PKG_CONFIG} --libs imlib2` + + SRC := setroot.c + diff --git a/srcpkgs/setroot/template b/srcpkgs/setroot/template index 9f30a3b13e3..2e4a93a52af 100644 --- a/srcpkgs/setroot/template +++ b/srcpkgs/setroot/template @@ -4,6 +4,7 @@ version=2.0.2 revision=1 build_style=gnu-makefile make_build_args="xinerama=$(vopt_if xinerama 1 0)" +hostmakedepends="pkg-config" makedepends="imlib2-devel $(vopt_if xinerama libXinerama-devel)" short_desc="Simple X background setter" maintainer="SolitudeSF "