diff options
author | Marinus Schraal <foser@gentoo.org> | 2006-03-12 21:50:52 +0000 |
---|---|---|
committer | Marinus Schraal <foser@gentoo.org> | 2006-03-12 21:50:52 +0000 |
commit | b09645529b11a5fc39072cecb69aaa7940af2a34 (patch) | |
tree | 4539c2264c7ec10e1e72c3cb596e9fa1e6934355 /x11-libs/libxklavier/libxklavier-2.2.ebuild | |
parent | - Initial import. Original ebuild by Priit Laes, modifications by Björn Rube... (diff) | |
download | gentoo-2-b09645529b11a5fc39072cecb69aaa7940af2a34.tar.gz gentoo-2-b09645529b11a5fc39072cecb69aaa7940af2a34.tar.bz2 gentoo-2-b09645529b11a5fc39072cecb69aaa7940af2a34.zip |
new release, clean out some obsolete stuff
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'x11-libs/libxklavier/libxklavier-2.2.ebuild')
-rw-r--r-- | x11-libs/libxklavier/libxklavier-2.2.ebuild | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/x11-libs/libxklavier/libxklavier-2.2.ebuild b/x11-libs/libxklavier/libxklavier-2.2.ebuild new file mode 100644 index 000000000000..f5c5126f2084 --- /dev/null +++ b/x11-libs/libxklavier/libxklavier-2.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxklavier/libxklavier-2.2.ebuild,v 1.1 2006/03/12 21:50:51 foser 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/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} + # Do not error on warnings (for gcc4 support). Patch from Fedora. + epatch ${FILESDIR}/${PN}-1.14-werror.patch + +} + +src_compile() { + + local xkbbase + + # see bug #113108 + if has_version x11-misc/xkbdata; 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 + +} |