gtk+: provide a default theme, icontheme and font.
This commit is contained in:
3
srcpkgs/gtk+/files/gtkrc
Normal file
3
srcpkgs/gtk+/files/gtkrc
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
gtk-icon-theme-name = "gnome"
|
||||||
|
gtk-theme-name = "Adwaita"
|
||||||
|
gtk-font-name = "Cantarell 11"
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
# Template build file for 'gtk+'.
|
# Template build file for 'gtk+'.
|
||||||
pkgname=gtk+
|
pkgname=gtk+
|
||||||
version=2.24.22
|
version=2.24.22
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-cups --with-xinput"
|
configure_args="--enable-cups --with-xinput"
|
||||||
short_desc="The GTK+ toolkit (v2)"
|
short_desc="The GTK+ toolkit (v2)"
|
||||||
@@ -27,6 +27,11 @@ if [ "$CROSS_BUILD" ]; then
|
|||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
# Provide a default (icon)theme and font.
|
||||||
|
vinstall ${FILESDIR}/gtkrc 644 usr/share/gtk-2.0
|
||||||
|
}
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="gir"
|
build_options="gir"
|
||||||
desc_option_gir="Enable support for building gobject introspection data"
|
desc_option_gir="Enable support for building gobject introspection data"
|
||||||
|
|||||||
Reference in New Issue
Block a user