diff options
Diffstat (limited to 'x11-libs/libxklavier')
-rw-r--r-- | x11-libs/libxklavier/ChangeLog | 8 | ||||
-rw-r--r-- | x11-libs/libxklavier/libxklavier-5.0.ebuild | 64 | ||||
-rw-r--r-- | x11-libs/libxklavier/metadata.xml | 5 |
3 files changed, 75 insertions, 2 deletions
diff --git a/x11-libs/libxklavier/ChangeLog b/x11-libs/libxklavier/ChangeLog index d77e10f18ced..76b8fced43b2 100644 --- a/x11-libs/libxklavier/ChangeLog +++ b/x11-libs/libxklavier/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-libs/libxklavier # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxklavier/ChangeLog,v 1.140 2010/02/15 04:30:42 abcd Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxklavier/ChangeLog,v 1.141 2010/02/16 09:31:00 ssuominen Exp $ + +*libxklavier-5.0 (16 Feb 2010) + + 16 Feb 2010; Samuli Suominen <ssuominen@gentoo.org> + +libxklavier-5.0.ebuild, metadata.xml: + Version bump. Change gnome to freedesktop-bugs in metadata.xml. 15 Feb 2010; Jonathan Callen <abcd@gentoo.org> libxklavier-4.0.ebuild: Add missing '\' to econf command, causing options to be ignored diff --git a/x11-libs/libxklavier/libxklavier-5.0.ebuild b/x11-libs/libxklavier/libxklavier-5.0.ebuild new file mode 100644 index 000000000000..3f1b3dc1a2dc --- /dev/null +++ b/x11-libs/libxklavier/libxklavier-5.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxklavier/libxklavier-5.0.ebuild,v 1.1 2010/02/16 09:31:00 ssuominen Exp $ + +EAPI=2 +inherit eutils libtool multilib + +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:2 + dev-libs/libxml2 + app-text/iso-codes" +DEPEND="${RDEPEND} + dev-util/pkgconfig + sys-devel/gettext + doc? ( >=dev-util/gtk-doc-1.4 )" + +src_prepare() { + elibtoolize +} + +src_configure() { + 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-dependency-tracking \ + --disable-static \ + --with-html-dir=/usr/share/doc/${PF}/html \ + --with-xkb-base=${xkbbase} \ + --with-xkb-bin-base=/usr/bin \ + $(use_enable doc gtk-doc) +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog CREDITS NEWS README || die +} + +pkg_preinst() { + preserve_old_lib /usr/$(get_libdir)/libxklavier.so.15 +} + +pkg_postinst() { + preserve_old_lib_notify /usr/$(get_libdir)/libxklavier.so.15 +} diff --git a/x11-libs/libxklavier/metadata.xml b/x11-libs/libxklavier/metadata.xml index da6fd63d0085..9879e83b822e 100644 --- a/x11-libs/libxklavier/metadata.xml +++ b/x11-libs/libxklavier/metadata.xml @@ -1,5 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>gnome</herd> + <herd>freedesktop</herd> + <maintainer> + <email>freedesktop-bugs@gentoo.org</email> + </maintainer> </pkgmetadata> |