🔒 Repository is read-only – file editing is disabled.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
pkgname: gtk2
pkgver: '2.24.33'
pkgrel: '7'
pkgdesc: 'GTK+ is a multi-platform toolkit (version 2)'
url: 'https://www.gtk.org/'
arch: x86_64
depends:
- 'gtk-update-icon-cache'
- 'shared-mime-info'
- 'desktop-file-utils'
- at-spi2-core
- cairo
- freetype
- gdk-pixbuf
- glib
- harfbuzz
- pango
- xorg-fontconfig
- xorg-libx11
- xorg-libxcomposite
- xorg-libxcursor
- xorg-libxdamage
- xorg-libxext
- xorg-libxfixes
- xorg-libxi
- xorg-libxinerama
- xorg-libxrandr
- xorg-libxrender
makedepends:
- 'gtk-doc'
- 'shared-mime-info'
- 'xorg-libxinerama'
- 'xorg-libxrandr'
- cairo
- pango
- 'at-spi2-core'
- libtiff
- cups
- 'gdk-pixbuf'
- 'xorg-libxi'
- 'xorg-libxcursor'
- 'hicolor-icon-theme'
- autoconf
- m4
- 'gtk-update-icon-cache'
- 'desktop-file-utils'
source:
- 'gtkrc.example'
- 'consolidate-1.patch'
- 'https://download.gnome.org/sources/gtk+/2.24/gtk+-${pkgver}.tar.xz'
sha256sums:
- SKIP
- SKIP
- SKIP
build: |
cd gtk+-${pkgver}
patch -Np1 -i ../consolidate-1.patch
autoreconf -fvi
sed -i 's#l \(gtk-.*\).sgml#& -o \1#' docs/{faq,tutorial}/Makefile.in
CFLAGS+=" -Wno-error=implicit-int -Wno-error=incompatible-pointer-types"
./configure --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--with-xinput=yes \
--disable-gtk-doc \
--sysconfdir=/etc
make
make DESTDIR=${PKGDIR} install
mkdir -p ${PKGDIR}/etc/gtk-2.0
install -m644 ../gtkrc.example ${PKGDIR}/etc/gtk-2.0/gtkrc.example
# Construit dans gtk-update-icon-cache
rm -f ${PKGDIR}/usr/bin/gtk-update-icon-cache
rm -f ${PKGDIR}/usr/share/man/man1/gtk-update-icon-cache.1
# Suppression des fichiers la
find ${PKGDIR} -name '*.la' -delete
package: |
true