summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2007-01-14 22:06:54 +0000
committerMart Raudsepp <leio@gentoo.org>2007-01-14 22:06:54 +0000
commit6c1ffb1ee5ac2d4f1e35d57743fe9bf4261b4cfe (patch)
treeeac687ac02f6a494b16ffbd576356d73adc5ca88
parentVersion bumped. (diff)
downloadgentoo-2-6c1ffb1ee5ac2d4f1e35d57743fe9bf4261b4cfe.tar.gz
gentoo-2-6c1ffb1ee5ac2d4f1e35d57743fe9bf4261b4cfe.tar.bz2
gentoo-2-6c1ffb1ee5ac2d4f1e35d57743fe9bf4261b4cfe.zip
Version bump. Solves bug 157934 too
(Portage version: 2.1.2_rc4-r9)
-rw-r--r--x11-libs/libxklavier/ChangeLog7
-rw-r--r--x11-libs/libxklavier/files/digest-libxklavier-3.13
-rw-r--r--x11-libs/libxklavier/libxklavier-3.1.ebuild62
3 files changed, 71 insertions, 1 deletions
diff --git a/x11-libs/libxklavier/ChangeLog b/x11-libs/libxklavier/ChangeLog
index ae262ec61821..e91ff7e3e543 100644
--- a/x11-libs/libxklavier/ChangeLog
+++ b/x11-libs/libxklavier/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-libs/libxklavier
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxklavier/ChangeLog,v 1.79 2007/01/06 06:46:18 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxklavier/ChangeLog,v 1.80 2007/01/14 22:06:54 leio Exp $
+
+*libxklavier-3.1 (14 Jan 2007)
+
+ 14 Jan 2007; Mart Raudsepp <leio@gentoo.org> +libxklavier-3.1.ebuild:
+ Version bump. Solves bug 157934 too
06 Jan 2007; Bryan Østergaard <kloeri@gentoo.org>
libxklavier-3.0-r1.ebuild:
diff --git a/x11-libs/libxklavier/files/digest-libxklavier-3.1 b/x11-libs/libxklavier/files/digest-libxklavier-3.1
new file mode 100644
index 000000000000..8a4667e558d2
--- /dev/null
+++ b/x11-libs/libxklavier/files/digest-libxklavier-3.1
@@ -0,0 +1,3 @@
+MD5 56c4bea91ccbd0d09e3bcf58dff5732a libxklavier-3.1.tar.gz 472712
+RMD160 c01999d88faf3e8bb8409c26d391ed6ea442f5bf libxklavier-3.1.tar.gz 472712
+SHA256 0aa3bbc4d374cb5b24cf081eabe9b79d1caa5e5c1ea80c57ebd82f08eb56670e libxklavier-3.1.tar.gz 472712
diff --git a/x11-libs/libxklavier/libxklavier-3.1.ebuild b/x11-libs/libxklavier/libxklavier-3.1.ebuild
new file mode 100644
index 000000000000..029e8af695cc
--- /dev/null
+++ b/x11-libs/libxklavier/libxklavier-3.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxklavier/libxklavier-3.1.ebuild,v 1.1 2007/01/14 22:06:54 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 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE="doc"
+
+RDEPEND="|| (
+ (
+ || ( x11-misc/xkeyboard-config x11-misc/xkbdata )
+ x11-apps/xkbcomp
+ x11-libs/libX11
+ x11-libs/libxkbfile
+ )
+ virtual/x11
+ )
+ dev-libs/libxml2"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${PN}-3.0-libxml.diff"
+}
+
+
+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() {
+ make install DESTDIR=${D} || die
+
+ insinto /usr/share/libxklavier
+ use sparc && doins "${FILESDIR}/sun.xml"
+
+ dodoc AUTHORS CREDITS ChangeLog NEWS README
+}