summaryrefslogtreecommitdiff
path: root/repo/x11/gtk2.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
committerdavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
commit739c65c54cb0e957df5e9b76f93fb02554e5cac3 (patch)
tree09ddfa0a342f3ea9de136cb50abdd79821bf1b53 /repo/x11/gtk2.xibuild
parent4c585ad54388285500fd18a6aaa516894e0f2c16 (diff)
moved everything to new file formatting
Diffstat (limited to 'repo/x11/gtk2.xibuild')
-rw-r--r--repo/x11/gtk2.xibuild42
1 files changed, 0 insertions, 42 deletions
diff --git a/repo/x11/gtk2.xibuild b/repo/x11/gtk2.xibuild
deleted file mode 100644
index 1798730..0000000
--- a/repo/x11/gtk2.xibuild
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-
-NAME="gtk2"
-DESC="The GTK+ Toolkit (v2)"
-
-MAKEDEPS="meson ninja iso-codes libpng shared-mime-info"
-DEPS="atk at-spi2-atk sbase cairo gobject-introspection fontconfig fribidi gdk-pixbuf glib harfbuzz libepoxy intltool libx11 libxcomposite libxcursor libxdamage libxext libxfixes libxi libxinerama libxkbcommon libxrandr musl pango shared-mime-info wayland "
-
-PKG_VER=2.24.33
-SOURCE="https://download.gnome.org/sources/gtk+/${PKG_VER%.*}/gtk+-$PKG_VER.tar.xz"
-
-prepare () {
- # don't build demos
- sed -e "s/^\(SRC_SUBDIRS =.*\)demos\(.*\)$/\1\2/" -i Makefile.am Makefile.in
- aclocal -I m4
- autoreconf
- automake --add-missing
-}
-
-build () {
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --with-xinput=yes \
- --without-libjasper \
- --with-included-loaders=png \
- --with-gdktarget=x11 \
- --enable-man
-
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
-}
-
-package () {
- make DESTDIR=$PKG_DEST install
-}
-
-postinstall () {
- /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
- /usr/bin/gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders
-}