diff options
author | Nirbheek Chauhan <nirbheek@gentoo.org> | 2011-02-22 19:05:29 +0000 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@gentoo.org> | 2011-02-22 19:05:29 +0000 |
commit | 1ca925d8fd8b2d30f8092e6d5a83e7fa402a3cc2 (patch) | |
tree | f78b72f3cfbec6c75d3bd50ec984ef6cbcc6c572 /x11-libs/libxklavier | |
parent | slot dep for gtk+ (diff) | |
download | gentoo-2-1ca925d8fd8b2d30f8092e6d5a83e7fa402a3cc2.tar.gz gentoo-2-1ca925d8fd8b2d30f8092e6d5a83e7fa402a3cc2.tar.bz2 gentoo-2-1ca925d8fd8b2d30f8092e6d5a83e7fa402a3cc2.zip |
Bump to 5.1, adds new API for GNOME 3, drop .la files
(Portage version: 2.1.9.40/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/libxklavier')
-rw-r--r-- | x11-libs/libxklavier/ChangeLog | 8 | ||||
-rw-r--r-- | x11-libs/libxklavier/libxklavier-5.1.ebuild | 49 |
2 files changed, 56 insertions, 1 deletions
diff --git a/x11-libs/libxklavier/ChangeLog b/x11-libs/libxklavier/ChangeLog index ccf3f138c997..fbb7eca9e2ef 100644 --- a/x11-libs/libxklavier/ChangeLog +++ b/x11-libs/libxklavier/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-libs/libxklavier # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxklavier/ChangeLog,v 1.151 2011/02/04 00:37:22 abcd Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxklavier/ChangeLog,v 1.152 2011/02/22 19:05:29 nirbheek Exp $ + +*libxklavier-5.1 (22 Feb 2011) + + 22 Feb 2011; Nirbheek Chauhan <nirbheek@gentoo.org> + +libxklavier-5.1.ebuild: + Bump to 5.1, adds new API for GNOME 3, drop .la files 04 Feb 2011; Jonathan Callen <abcd@gentoo.org> libxklavier-5.0.ebuild: remove has_version call on package in DEPEND, bump to EAPI=3, add prefix diff --git a/x11-libs/libxklavier/libxklavier-5.1.ebuild b/x11-libs/libxklavier/libxklavier-5.1.ebuild new file mode 100644 index 000000000000..3b7d5ff61dcf --- /dev/null +++ b/x11-libs/libxklavier/libxklavier-5.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxklavier/libxklavier-5.1.ebuild,v 1.1 2011/02/22 19:05:29 nirbheek Exp $ + +EAPI="3" +inherit gnome.org eutils libtool multilib + +DESCRIPTION="High level XKB library" +HOMEPAGE="http://www.freedesktop.org/Software/LibXklavier" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" +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_configure() { + econf \ + --disable-dependency-tracking \ + --disable-static \ + --with-html-dir="${EPREFIX}/usr/share/doc/${PF}/html" \ + --with-xkb-base="${EPREFIX}/usr/share/X11/xkb" \ + --with-xkb-bin-base="${EPREFIX}/usr/bin" \ + $(use_enable doc gtk-doc) +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog CREDITS NEWS README || die + + # Remove unnecessary la files + find "${D}" -name '*.la' -exec rm -f '{}' + || die +} + +pkg_postinst() { + preserve_old_lib_notify /usr/$(get_libdir)/libxklavier.so.15 +} |