summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2008-03-17 23:24:13 +0000
committerMart Raudsepp <leio@gentoo.org>2008-03-17 23:24:13 +0000
commit6b77f8bdf9b7973f87f155b762db3438c776da3b (patch)
treea9cf97d352554608cd9fcb2f900bd2f2c1d7a658 /x11-libs/libxklavier
parentgone - use games-fps/worldofpadman (diff)
downloadgentoo-2-6b77f8bdf9b7973f87f155b762db3438c776da3b.tar.gz
gentoo-2-6b77f8bdf9b7973f87f155b762db3438c776da3b.tar.bz2
gentoo-2-6b77f8bdf9b7973f87f155b762db3438c776da3b.zip
Version bump, updating translation scheme to work with xkeyboard-config-1.2. The upgrade from 3.3 to 3.5 will have an ABI break and revdep-rebuilding is required, see ewarn message after upgrade for details
(Portage version: 2.1.4.4)
Diffstat (limited to 'x11-libs/libxklavier')
-rw-r--r--x11-libs/libxklavier/ChangeLog9
-rw-r--r--x11-libs/libxklavier/libxklavier-3.5.ebuild56
2 files changed, 64 insertions, 1 deletions
diff --git a/x11-libs/libxklavier/ChangeLog b/x11-libs/libxklavier/ChangeLog
index 9a7513f71307..8b6c13e75b41 100644
--- a/x11-libs/libxklavier/ChangeLog
+++ b/x11-libs/libxklavier/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-libs/libxklavier
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxklavier/ChangeLog,v 1.107 2008/02/04 04:21:01 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxklavier/ChangeLog,v 1.108 2008/03/17 23:24:13 leio Exp $
+
+*libxklavier-3.5 (17 Mar 2008)
+
+ 17 Mar 2008; Mart Raudsepp <leio@gentoo.org> +libxklavier-3.5.ebuild:
+ Version bump, updating translation scheme to work with xkeyboard-config-1.2.
+ The upgrade from 3.3 to 3.5 will have an ABI break and revdep-rebuilding is
+ required, see ewarn message after upgrade for details
04 Feb 2008; Jeroen Roovers <jer@gentoo.org> libxklavier-3.3.ebuild:
Stable for HPPA (bug #208366).
diff --git a/x11-libs/libxklavier/libxklavier-3.5.ebuild b/x11-libs/libxklavier/libxklavier-3.5.ebuild
new file mode 100644
index 000000000000..e9f0b0411641
--- /dev/null
+++ b/x11-libs/libxklavier/libxklavier-3.5.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxklavier/libxklavier-3.5.ebuild,v 1.1 2008/03/17 23:24:13 leio Exp $
+
+inherit eutils
+
+DESCRIPTION="High level XKB library"
+HOMEPAGE="http://www.freedesktop.org/Software/LibXklavier"
+SRC_URI="mirror://sourceforge/gswitchit/${P}.tar.gz"
+
+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-misc/xkbdata )
+ x11-libs/libX11
+ x11-apps/xkbcomp
+ x11-libs/libxkbfile
+ >=dev-libs/glib-2.6
+ >=dev-libs/libxml2-2.0"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+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 --with-xkb-base=${xkbbase} --with-xkb-bin-base=/usr/bin \
+ $(use_enable doc doxygen) || die
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+
+ insinto /usr/share/libxklavier
+ use sparc && doins "${FILESDIR}/sun.xml"
+
+ dodoc AUTHORS CREDITS ChangeLog NEWS README
+}
+
+pkg_postinst() {
+ ewarn "Please note that the soname of the library changed!"
+ ewarn "If you are upgrading from a version prior to 3.4 you need"
+ ewarn "to fix dynamic linking inconsistencies by executing:"
+ ewarn "revdep-rebuild -X --library libxklavier.so.11"
+}