From 2ea4eeac8c9fe7d0e786e99e188948d4c981a3f5 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Tue, 27 Feb 2024 14:16:10 +0100 Subject: yad: add new package at 13.0 --- community/yad/build | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 community/yad/build (limited to 'community/yad/build') diff --git a/community/yad/build b/community/yad/build new file mode 100755 index 00000000..4a772b7a --- /dev/null +++ b/community/yad/build @@ -0,0 +1,22 @@ +#!/bin/sh -e + +patch -p1 < 0001-Separate-X11-dependent-modules.patch + +autoreconf -fi + +./configure \ + --prefix=/usr \ + --disable-nls \ + --disable-html \ + --disable-sourceview \ + --disable-spell \ + --disable-tray + +clsed '/gdkx\.h/d;s/Window xid/unsigned long xid/' src/yad.h +clsed 's/gdk\/gdkx\.h/gtk\/gtkx.h/' src/main.c + + +make +make DESTDIR="$1" install + +rm -r "$1/usr/share/locale" -- cgit v1.2.3