gtk+3: move some more files to -demo; move dbus-x11 rdep to the x11 build option.
This commit is contained in:
parent
9b9c677c1e
commit
d727be26a1
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'gtk+3'.
|
||||
pkgname=gtk+3
|
||||
version=3.12.2
|
||||
revision=2
|
||||
revision=3
|
||||
wrksrc="gtk+-${version}"
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-schemas-compile --enable-gtk2-dependency"
|
||||
|
@ -12,11 +12,11 @@ license="LGPL-2.1"
|
|||
distfiles="${GNOME_SITE}/gtk+/${version%.*}/gtk+-${version}.tar.xz"
|
||||
checksum=61d74eea74231b1ea4b53084a9d6fc9917ab0e1d71b69d92cbf60a4b4fb385d0
|
||||
|
||||
hostmakedepends="libtool pkg-config glib-devel>=2.40 gtk+-devel"
|
||||
hostmakedepends="libtool pkg-config glib-devel>=2.40 gtk-update-icon-cache"
|
||||
makedepends="libglib-devel>=2.40 atk-devel>=2.12 at-spi2-atk-devel>=2.12
|
||||
libpng-devel fontconfig-devel cairo-devel pango-devel>=1.36
|
||||
gdk-pixbuf-devel>=2.30 gtk+-devel"
|
||||
depends="gtk-update-icon-cache shared-mime-info glib>=2.38 atk>=2.10 dbus-x11"
|
||||
gdk-pixbuf-devel>=2.30 gtk-update-icon-cache"
|
||||
depends="gtk-update-icon-cache shared-mime-info glib>=2.38 atk>=2.10"
|
||||
triggers="gtk3-immodules"
|
||||
conf_files="/etc/gtk-3.0/im-multipress.conf"
|
||||
|
||||
|
@ -74,6 +74,7 @@ else
|
|||
fi
|
||||
|
||||
if [ "$build_option_x11" ]; then
|
||||
depends+=" dbus-x11"
|
||||
makedepends+=" libXcursor-devel libXdamage-devel libXext-devel
|
||||
libXinerama-devel libXi-devel libXrandr-devel libXcomposite-devel"
|
||||
configure_args+=" --enable-x11-backend"
|
||||
|
@ -120,5 +121,9 @@ gtk+3-demo_package() {
|
|||
vmove usr/bin/gtk3-widget-factory
|
||||
vmove usr/bin/gtk3-demo-application
|
||||
vmove usr/share/gtk-3.0/gtkbuilder.rng
|
||||
vmove usr/share/glib-2.0/schemas/org.gtk.Demo.gschema.xml
|
||||
vmove usr/share/glib-2.0/schemas/org.gtk.exampleapp.gschema.xml
|
||||
vmove usr/share/applications
|
||||
vmove usr/share/icons
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue