diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-libs/libxklavier/libxklavier-5.4.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-libs/libxklavier/libxklavier-5.4.ebuild')
-rw-r--r-- | x11-libs/libxklavier/libxklavier-5.4.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/x11-libs/libxklavier/libxklavier-5.4.ebuild b/x11-libs/libxklavier/libxklavier-5.4.ebuild new file mode 100644 index 000000000000..bad391397de1 --- /dev/null +++ b/x11-libs/libxklavier/libxklavier-5.4.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit libtool vala xdg-utils + +DESCRIPTION="A library for the X Keyboard Extension (high-level API)" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/LibXklavier" +SRC_URI="https://people.freedesktop.org/~svu/${P}.tar.bz2" + +LICENSE="LGPL-2" +SLOT="0/16" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="+introspection vala" +REQUIRED_USE="vala? ( introspection )" + +RDEPEND=" + app-text/iso-codes + >=dev-libs/glib-2.16:2= + dev-libs/libxml2:2= + x11-apps/xkbcomp + x11-libs/libX11:= + >=x11-libs/libXi-1.1.3:= + x11-libs/libxkbfile:= + >=x11-misc/xkeyboard-config-2.4.1-r3 + introspection? ( >=dev-libs/gobject-introspection-1.30:= ) + vala? ( $(vala_depend) ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.4 + sys-devel/gettext + virtual/pkgconfig +" + +src_prepare() { + default + elibtoolize + xdg_environment_reset + use vala && vala_src_prepare +} + +src_configure() { + econf \ + --disable-static \ + --disable-gtk-doc \ + $(use_enable introspection) \ + $(use_enable vala) \ + --with-xkb-base="${EPREFIX}"/usr/share/X11/xkb \ + --with-xkb-bin-base="${EPREFIX}"/usr/bin +} + +src_install() { + default + dodoc CREDITS + find "${D}" -name '*.la' -delete || die +} |