diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2008-05-22 21:28:38 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2008-05-22 21:28:38 +0000 |
commit | 31cc74743ffa152c4250d98801902e01b096ba07 (patch) | |
tree | 76349454c9f1e63307bc0bdfed057fecf6c7c83e /x11-libs/libxklavier/libxklavier-3.6.ebuild | |
parent | Remove old builds. (diff) | |
download | historical-31cc74743ffa152c4250d98801902e01b096ba07.tar.gz historical-31cc74743ffa152c4250d98801902e01b096ba07.tar.bz2 historical-31cc74743ffa152c4250d98801902e01b096ba07.zip |
bump to 3.6. Added API for countries and languages (depend on iso-codes).
Package-Manager: portage-2.1.5
Diffstat (limited to 'x11-libs/libxklavier/libxklavier-3.6.ebuild')
-rw-r--r-- | x11-libs/libxklavier/libxklavier-3.6.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/x11-libs/libxklavier/libxklavier-3.6.ebuild b/x11-libs/libxklavier/libxklavier-3.6.ebuild new file mode 100644 index 000000000000..c902945de923 --- /dev/null +++ b/x11-libs/libxklavier/libxklavier-3.6.ebuild @@ -0,0 +1,57 @@ +# 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.6.ebuild,v 1.1 2008/05/22 21:28:38 eva 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 + app-text/iso-codes" +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" +} |