gtk+: no longer provide gtk-update-icon-cache
This commit is contained in:
parent
f9689fec95
commit
af52abe473
|
@ -1,11 +1,12 @@
|
|||
# Template file for 'gtk+'
|
||||
pkgname=gtk+
|
||||
version=2.24.33
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
build_helper="gir"
|
||||
configure_args="--enable-man $(vopt_enable cups) --with-xinput $(vopt_enable gir introspection)"
|
||||
hostmakedepends="pkg-config perl xmlto glib-devel $(vopt_if gir gobject-introspection)"
|
||||
hostmakedepends="pkg-config perl xmlto glib-devel gtk-update-icon-cache
|
||||
$(vopt_if gir gobject-introspection)"
|
||||
makedepends="libglib-devel libXcursor-devel
|
||||
libXext-devel libXrender-devel libXinerama-devel libXi-devel libXrandr-devel
|
||||
libXcomposite-devel libXdamage-devel fontconfig-devel gdk-pixbuf-devel
|
||||
|
@ -19,6 +20,8 @@ homepage="https://gtk.org"
|
|||
changelog="https://gitlab.gnome.org/GNOME/gtk/-/raw/gtk-2-24/NEWS"
|
||||
distfiles="${GNOME_SITE}/gtk+/2.24/gtk+-${version}.tar.xz"
|
||||
checksum=ac2ac757f5942d318a311a54b0c80b5ef295f299c2a73c632f6bfb1ff49cc6da
|
||||
# X11 tests fail, not worth bothering on this dying package
|
||||
make_check=no
|
||||
# gtk-builder-convert
|
||||
python_version=3
|
||||
|
||||
|
@ -28,7 +31,7 @@ build_options="gir cups"
|
|||
build_options_default="gir cups"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" automake libtool gtk-doc glib-devel gdk-pixbuf-devel gtk-update-icon-cache"
|
||||
hostmakedepends+=" automake libtool gtk-doc glib-devel gdk-pixbuf-devel"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
|
@ -43,6 +46,10 @@ pre_configure() {
|
|||
post_install() {
|
||||
# Provide a default (icon)theme and font.
|
||||
vinstall ${FILESDIR}/gtkrc 644 usr/share/gtk-2.0
|
||||
|
||||
# This is now provided by gtk+3
|
||||
rm ${DESTDIR}/usr/bin/gtk-update-icon-cache
|
||||
rm ${DESTDIR}/usr/share/man/man1/gtk-update-icon-cache.1
|
||||
}
|
||||
|
||||
gtk+-devel_package() {
|
||||
|
@ -60,6 +67,7 @@ gtk+-devel_package() {
|
|||
vmove usr/share/aclocal
|
||||
}
|
||||
}
|
||||
|
||||
gtk+-demo_package() {
|
||||
short_desc+=" - demonstration application"
|
||||
pkg_install() {
|
||||
|
@ -67,10 +75,3 @@ gtk+-demo_package() {
|
|||
vmove usr/share/gtk-2.0/demo
|
||||
}
|
||||
}
|
||||
gtk-update-icon-cache_package() {
|
||||
short_desc+=" - The GTK+ update icon cache tool"
|
||||
pkg_install() {
|
||||
vmove usr/bin/gtk-update-icon-cache
|
||||
vmove usr/share/man/man1/gtk-update-icon-cache.1
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue