summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2009-07-19 19:50:14 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2009-07-19 19:50:14 +0000
commitd91f3deabe2ae28060100214de0d17fa69ab66b1 (patch)
treefb7c3e49ba363213235bc19eba618d5634fcc7ce /x11-libs/libxklavier
parentRemove previous versions (diff)
downloadgentoo-2-d91f3deabe2ae28060100214de0d17fa69ab66b1.tar.gz
gentoo-2-d91f3deabe2ae28060100214de0d17fa69ab66b1.tar.bz2
gentoo-2-d91f3deabe2ae28060100214de0d17fa69ab66b1.zip
Version bump.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/libxklavier')
-rw-r--r--x11-libs/libxklavier/ChangeLog8
-rw-r--r--x11-libs/libxklavier/libxklavier-4.0.ebuild60
2 files changed, 67 insertions, 1 deletions
diff --git a/x11-libs/libxklavier/ChangeLog b/x11-libs/libxklavier/ChangeLog
index dc307f0a3a6b..32ad1c76caf8 100644
--- a/x11-libs/libxklavier/ChangeLog
+++ b/x11-libs/libxklavier/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-libs/libxklavier
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxklavier/ChangeLog,v 1.127 2009/05/05 16:14:52 remi Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxklavier/ChangeLog,v 1.128 2009/07/19 19:50:14 eva Exp $
+
+*libxklavier-4.0 (19 Jul 2009)
+
+ 19 Jul 2009; Gilles Dartiguelongue <eva@gentoo.org>
+ +libxklavier-4.0.ebuild:
+ Version bump.
05 May 2009; Rémi Cardona <remi@gentoo.org> libxklavier-3.3.ebuild,
libxklavier-3.6.ebuild, libxklavier-3.8.ebuild, libxklavier-3.9.ebuild:
diff --git a/x11-libs/libxklavier/libxklavier-4.0.ebuild b/x11-libs/libxklavier/libxklavier-4.0.ebuild
new file mode 100644
index 000000000000..1f11f3ed0911
--- /dev/null
+++ b/x11-libs/libxklavier/libxklavier-4.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxklavier/libxklavier-4.0.ebuild,v 1.1 2009/07/19 19:50:14 eva Exp $
+
+inherit eutils
+
+DESCRIPTION="High level XKB library"
+HOMEPAGE="http://www.freedesktop.org/Software/LibXklavier"
+SRC_URI="mirror://sourceforge/gswitchit/${P}.tar.bz2"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="doc"
+
+RDEPEND="x11-misc/xkeyboard-config
+ x11-libs/libX11
+ >=x11-libs/libXi-1.1.3
+ x11-apps/xkbcomp
+ x11-libs/libxkbfile
+ >=dev-libs/glib-2.16
+ >=dev-libs/libxml2-2.0
+ app-text/iso-codes"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( >=dev-util/gtk-doc-1.4 )"
+
+src_compile() {
+ local xkbbase
+
+ # see bug #113108
+ if has_version x11-apps/xkbcomp; then
+ xkbbase=/usr/share/X11/xkb
+ else
+ xkbbase=/usr/$(get_libdir)/X11/xkb
+ fi
+
+ econf \
+ --disable-static
+ --with-xkb-base=${xkbbase} \
+ --with-xkb-bin-base=/usr/bin \
+ $(use_enable doc gtk-doc)
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "emake install failed"
+ dodoc AUTHORS CREDITS ChangeLog NEWS README || die "dodoc failed"
+}
+
+pkg_preinst() {
+ preserve_old_lib /usr/$(get_libdir)/libxklavier.so.12
+ preserve_old_lib /usr/$(get_libdir)/libxklavier.so.12.2.0
+}
+
+pkg_postinst() {
+ preserve_old_lib_notify /usr/$(get_libdir)/libxklavier.so.12
+ preserve_old_lib_notify /usr/$(get_libdir)/libxklavier.so.12.2.0
+}