gtk+3: update to 3.14.0.
This commit is contained in:
parent
5202f22f48
commit
cb209f63e6
2 changed files with 21 additions and 18 deletions
11
srcpkgs/gtk+3/patches/cross.patch
Normal file
11
srcpkgs/gtk+3/patches/cross.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- util/Makefile.am.orig 2014-09-25 16:26:55.646426018 +0200
|
||||||
|
+++ util/Makefile.am 2014-09-25 16:27:20.637300308 +0200
|
||||||
|
@@ -2,6 +2,8 @@
|
||||||
|
|
||||||
|
noinst_PROGRAMS = extract-strings
|
||||||
|
|
||||||
|
+CC = @CC_FOR_BUILD@
|
||||||
|
+CFLAGS = @CFLAGS_FOR_BUILD@
|
||||||
|
extract_strings_SOURCES = extract-strings.c
|
||||||
|
extract_strings_CFLAGS = $(GLIB_CFLAGS_FOR_BUILD)
|
||||||
|
extract_strings_LDADD = $(GLIB_LIBS_FOR_BUILD)
|
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'gtk+3'.
|
# Template build file for 'gtk+3'.
|
||||||
pkgname=gtk+3
|
pkgname=gtk+3
|
||||||
version=3.12.2
|
version=3.14.0
|
||||||
revision=3
|
revision=1
|
||||||
wrksrc="gtk+-${version}"
|
wrksrc="gtk+-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-schemas-compile --enable-gtk2-dependency"
|
configure_args="--disable-schemas-compile --enable-gtk2-dependency"
|
||||||
|
@ -10,13 +10,14 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.gtk.org/"
|
homepage="http://www.gtk.org/"
|
||||||
license="LGPL-2.1"
|
license="LGPL-2.1"
|
||||||
distfiles="${GNOME_SITE}/gtk+/${version%.*}/gtk+-${version}.tar.xz"
|
distfiles="${GNOME_SITE}/gtk+/${version%.*}/gtk+-${version}.tar.xz"
|
||||||
checksum=61d74eea74231b1ea4b53084a9d6fc9917ab0e1d71b69d92cbf60a4b4fb385d0
|
checksum=68d6b57d15c16808d0045e96b303f3dd439cc22a9c06fdffb07025cd713a82bc
|
||||||
|
|
||||||
hostmakedepends="libtool pkg-config glib-devel>=2.40 gtk-update-icon-cache"
|
hostmakedepends="automake gettext-devel libtool pkg-config
|
||||||
makedepends="libglib-devel>=2.40 atk-devel>=2.12 at-spi2-atk-devel>=2.12
|
glib-devel>=2.42 gtk-doc gobject-introspection gtk-update-icon-cache"
|
||||||
|
makedepends="libglib-devel>=2.42 atk-devel>=2.14 at-spi2-atk-devel>=2.14
|
||||||
libpng-devel fontconfig-devel cairo-devel pango-devel>=1.36
|
libpng-devel fontconfig-devel cairo-devel pango-devel>=1.36
|
||||||
gdk-pixbuf-devel>=2.30 gtk-update-icon-cache"
|
gdk-pixbuf-devel>=2.30"
|
||||||
depends="gtk-update-icon-cache shared-mime-info glib>=2.38 atk>=2.10"
|
depends="gtk-update-icon-cache shared-mime-info glib>=2.42 atk>=2.14"
|
||||||
triggers="gtk3-immodules"
|
triggers="gtk3-immodules"
|
||||||
conf_files="/etc/gtk-3.0/im-multipress.conf"
|
conf_files="/etc/gtk-3.0/im-multipress.conf"
|
||||||
|
|
||||||
|
@ -78,9 +79,8 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
libtoolize -f
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -f ${DESTDIR}/usr/share/man/man1/gtk-update-icon-cache.1
|
rm -f ${DESTDIR}/usr/share/man/man1/gtk-update-icon-cache.1
|
||||||
# Provide a default (icon)theme.
|
# Provide a default (icon)theme.
|
||||||
|
@ -88,14 +88,7 @@ post_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
gtk+3-devel_package() {
|
gtk+3-devel_package() {
|
||||||
depends="libglib-devel>=2.40 atk-devel>=2.12 cairo-devel gdk-pixbuf-devel>=2.30
|
depends="${makedepends} gtk+3>=${version}_${revision}"
|
||||||
pango-devel>=1.36 at-spi2-atk-devel>=2.12 gtk+3>=${version}_${revision}"
|
|
||||||
if [ "$build_option_x11" ]; then
|
|
||||||
depends+=" libXcomposite-devel libXcursor-devel libXrandr-devel libXi-devel libXinerama-devel libXdamage-devel"
|
|
||||||
fi
|
|
||||||
if [ "$build_option_wayland" ]; then
|
|
||||||
depends+=" libxkbcommon-devel wayland-devel"
|
|
||||||
fi
|
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
|
@ -108,7 +101,6 @@ gtk+3-devel_package() {
|
||||||
vmove usr/share/aclocal
|
vmove usr/share/aclocal
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
gtk+3-demo_package() {
|
gtk+3-demo_package() {
|
||||||
short_desc+=" - demonstration application"
|
short_desc+=" - demonstration application"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
|
Loading…
Reference in a new issue