From 68e70060ea2da35dce2cf1856dc38c388335356f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 24 May 2012 14:27:11 +0200 Subject: [PATCH] caribou: do not display the useless icon. --- srcpkgs/caribou/caribou-devel.template | 7 ++----- srcpkgs/caribou/template | 16 +++++++++------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/srcpkgs/caribou/caribou-devel.template b/srcpkgs/caribou/caribou-devel.template index b9169d946e6..fd609bb24ac 100644 --- a/srcpkgs/caribou/caribou-devel.template +++ b/srcpkgs/caribou/caribou-devel.template @@ -1,16 +1,13 @@ # Template file for 'caribou-devel'. # +noarch=yes depends="pygobject-devel" short_desc="${sourcepkg} (development files)" long_desc="${long_desc} This package contains files for development, headers, static libs, etc." - -noarch=yes - -do_install() -{ +do_install() { vmove usr/include usr vmove usr/share/gir-1.0 usr/share } diff --git a/srcpkgs/caribou/template b/srcpkgs/caribou/template index c458e5c7c92..f33b2059cb1 100644 --- a/srcpkgs/caribou/template +++ b/srcpkgs/caribou/template @@ -1,13 +1,14 @@ # Template file for 'caribou' pkgname=caribou version=0.4.2 -revision=2 +revision=3 distfiles="${GNOME_SITE}/$pkgname/0.4/$pkgname-$version.tar.xz" build_style=gnu-configure -configure_args="--disable-schemas-compile --disable-static ---disable-gtk2-module" +configure_args="--disable-schemas-compile --disable-static --disable-gtk2-module" makedepends="pkg-config intltool gnome-doc-utils gobject-introspection vala-devel libxklavier-devel libgee-devel pygobject-devel clutter-devel gtk+3-devel libXtst-devel" fulldepends="pyatspi dbus-python pygobject gir-freedesktop at-spi2-atk desktop-file-utils" +pycompile_module="$pkgname" +subpackages="$pkgname-devel" short_desc="An alternative to the Gnome On-screen Keyboard" maintainer="Juan RP " checksum=bcc64498b20c368747c3630d501a66ccf904db15d855f33fd4f963b5b19723ad @@ -21,7 +22,8 @@ long_desc=" who can use a mouse but not a hardware keyboard. This on-screen keyboard may also be useful for touch screen or tablet users." -pycompile_module="$pkgname" -subpackages="$pkgname-devel" - - +post_install() { + # Do not display the icon, useless. + echo "NoDisplay=true" >> ${DESTDIR}/usr/share/applications/caribou.desktop + echo "OnlyShowIn=GNOME;" >> ${DESTDIR}/etc/xdg/autostart/caribou-autostart.desktop +}