summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2009-12-21 22:31:54 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2009-12-21 22:31:54 +0000
commitc1ee7871daf7edd6098feaeeffaf65b7a75d06f1 (patch)
tree71b10bc783b45146d52db2452b8aa3872a13cc35 /gnome-base/libgnomekbd/libgnomekbd-2.28.2.ebuild
parentfix typo in checking "none" drivers #296600 by Rafał Mużyło (diff)
downloadhistorical-c1ee7871daf7edd6098feaeeffaf65b7a75d06f1.tar.gz
historical-c1ee7871daf7edd6098feaeeffaf65b7a75d06f1.tar.bz2
historical-c1ee7871daf7edd6098feaeeffaf65b7a75d06f1.zip
Version bump. Small fixes.
Package-Manager: portage-2.2_rc60/cvs/Linux x86_64
Diffstat (limited to 'gnome-base/libgnomekbd/libgnomekbd-2.28.2.ebuild')
-rw-r--r--gnome-base/libgnomekbd/libgnomekbd-2.28.2.ebuild59
1 files changed, 59 insertions, 0 deletions
diff --git a/gnome-base/libgnomekbd/libgnomekbd-2.28.2.ebuild b/gnome-base/libgnomekbd/libgnomekbd-2.28.2.ebuild
new file mode 100644
index 000000000000..17324f834137
--- /dev/null
+++ b/gnome-base/libgnomekbd/libgnomekbd-2.28.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/libgnomekbd/libgnomekbd-2.28.2.ebuild,v 1.1 2009/12/21 22:31:54 eva Exp $
+
+EAPI="2"
+GCONF_DEBUG="no"
+
+inherit eutils gnome2 multilib
+
+DESCRIPTION="Gnome keyboard configuration library"
+HOMEPAGE="http://www.gnome.org"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.16
+ >=sys-apps/dbus-0.92
+ >=dev-libs/dbus-glib-0.34
+ >=gnome-base/gconf-2.14
+ >=x11-libs/gtk+-2.13
+ >=x11-libs/libxklavier-4.0"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.35
+ >=dev-util/pkgconfig-0.19"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+pkg_setup() {
+ # Only user interaction required graphical tests at the time of 2.22.0 - not useful for us
+ G2CONF="${G2CONF} --disable-tests --disable-static"
+}
+
+src_prepare() {
+ gnome2_src_prepare
+
+ # Fix intltoolize broken file, see upstream #577133
+ sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in \
+ || die "sed expression failed"
+}
+
+src_compile() {
+ # FreeBSD doesn't like -j, upstream? bug #????
+ use x86-fbsd && MAKEOPTS="${MAKEOPTS} -j1"
+ gnome2_src_compile
+}
+
+pkg_preinst() {
+ gnome2_pkg_preinst
+ preserve_old_lib /usr/$(get_libdir)/libgnomekbd.so.3
+ preserve_old_lib /usr/$(get_libdir)/libgnomekbdui.so.3
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ preserve_old_lib_notify /usr/$(get_libdir)/libgnomekbd.so.3
+ preserve_old_lib_notify /usr/$(get_libdir)/libgnomekbdui.so.3
+}