From 6aecd8fb21f8242ecffeffb752ee98bcb955b9e7 Mon Sep 17 00:00:00 2001 From: Gilles Dartiguelongue Date: Tue, 23 Dec 2014 22:25:21 +0000 Subject: [PATCH] Initial ebuild. Needed for wayland support in media-libs/clutter. Closes bug #513856. Package-Manager: portage-2.2.15/cvs/Linux x86_64 Manifest-Sign-Key: 0xC6085806 --- dev-libs/libinput/Manifest | 14 ++++++-- dev-libs/libinput/libinput-0.7.0.ebuild | 48 +++++++++++++++++++++++++ dev-libs/libinput/metadata.xml | 5 +++ 3 files changed, 65 insertions(+), 2 deletions(-) create mode 100644 dev-libs/libinput/libinput-0.7.0.ebuild create mode 100644 dev-libs/libinput/metadata.xml diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest index f8a6c9a7dc19..bd7e0ad04d15 100644 --- a/dev-libs/libinput/Manifest +++ b/dev-libs/libinput/Manifest @@ -1,4 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST libinput-0.7.0.tar.xz 440228 SHA256 129f485afe5e4a9394641293991c97cb99f5f3338340d0d65b704ff463d1579e SHA512 0e03ab7ca98c4574997742b7d8912000fb176d7a3e2c381b7e63139f78455374f8f38284e226fe443d5a524f34be8995317b91fc0190795a97b10af060423b77 WHIRLPOOL 664510fc33cb718b56600553332bb3eb587b3f4a40f81d4a80dd218882aba204522bcbbfab98f3ae0c6447d3a39cc98b9d88aea5f8e3c21da0803b93d64ad321 -EBUILD libinput-0.7.0.ebuild 1040 SHA256 2a8a8bd91308375397230d788bbb623bdb384f87400e11b9576bb5873a2709fb SHA512 85f50251c5873f90b1973e1dc2a78ed51a042ce3f02ee00a0eec0c831142e4a50c1ae7f4e7f4a465f0a66cbcd76156384403067780c6c69d1851abcb44535fdb WHIRLPOOL 7cc2400c0558e23256e9785c4cdfbe50c21e467a00e289c4574563e157f840b62755061d66ec10866ec0eaa5956b91d1902d07622089d3918ecc9a88aec49d56 -MISC ChangeLog 335 SHA256 ded48cfd574ac1afbe55c21c28a7e89043f097cc8f883e7a7fd4bb0146170109 SHA512 61ed8eabb7955cbd1584b74a691398cfcb1894c4d1473049e971c3453d35403c0b8549d87b06877b581eb1b4e500f34dc5c731e77dda5668d0411b196af6f603 WHIRLPOOL 09e6b2cb79a4c3187dbdc2df2212ad590593435a41631f46c2594c389dc25ed8623cf67b5d493add8173702817280aecb79ab81bde913195b09bde6c00f9450c +EBUILD libinput-0.7.0.ebuild 1138 SHA256 d6362d2f3315dd1119aa956a5c3c61ccd2abd868e386abf0488eaacb1fe27fc9 SHA512 661968cd0da2dffdd9764262edd2489ce85110bb452322504bdad47e87ac6fffa19bc79ff291e024fe48950a7eae54825c1220741dbcd8144e4e1033048ff1c5 WHIRLPOOL c731afe474a9f2e006b8c60b7b9d501b2751ee6b4ea35eeab83dce0010fca045b869abe6f14d2ae22454ccc6a0ebb964747408cd80e9ccf4c2f08dede362eb2f +MISC ChangeLog 421 SHA256 d9fb59506e57befbf7c05c630076eba63519486ab47db941188c5e5d037b56a7 SHA512 9d622b48bb7cbd59d40b051f7a68d48d00c8f7a78e347ea2229fe2e2492211a78188ee9c07a1c4fbfd63424c6e92cfbb0c5bff75b1df5f8fc7c0fcdab458e081 WHIRLPOOL 1f84091e66912d02c80b27c4a9993f72a4ae07c4aa9275fc534fd5382ccf8cc00b5479537ce140bee3e03a14401e3789bac5adbe2b43076bd400c9a8a22cb369 MISC metadata.xml 158 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 SHA512 7fbfbd2b3ed1b81867d55648509f778fdbe2091af53727b3426a3c7f453ae7e1663a99fdd2101508b8d6c85b3158459c93551b77a6a394f02d7e11cbc8a5ecf4 WHIRLPOOL 4bcd5662974877d42ebc4361b6eb412bfeea2af7144b436ce7ed152327d554afc321c376625ba0bb85a704b70d86e3c4882dff3573047acddd8ffccf655d4f7e +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iEYEAREIAAYFAlSZ688ACgkQ1fmVwcYIWAYC3ACg4b6/4yBoH4niNOief3g+0K5g +WC0AoNv9tFg2xB4gAw3vJjkwuvwW32i2 +=R+Od +-----END PGP SIGNATURE----- diff --git a/dev-libs/libinput/libinput-0.7.0.ebuild b/dev-libs/libinput/libinput-0.7.0.ebuild new file mode 100644 index 000000000000..dc8583b8e33f --- /dev/null +++ b/dev-libs/libinput/libinput-0.7.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libinput/libinput-0.7.0.ebuild,v 1.1 2014/12/23 22:25:18 eva Exp $ + +EAPI="5" + +inherit eutils + +DESCRIPTION="Library to handle input devices in Wayland" +HOMEPAGE="http://www.freedesktop.org/wiki/Software/libinput/" +SRC_URI="http://www.freedesktop.org/software/${PN}/${P}.tar.xz" + +# License appears to be a variant of libtiff +LICENSE="libtiff" +SLOT="0/5" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND=" + >=dev-libs/libevdev-0.4 + >=sys-libs/mtdev-1.1 + virtual/libudev +" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( >=dev-libs/check-0.9.10 ) +" +# tests can even use: dev-util/valgrind + +src_prepare() { + # Doc handling in kinda strange but everything + # is available in the tarball already. + sed -e 's/^\(SUBDIRS =.*\)doc\(.*\)$/\1\2/' \ + -i Makefile.am Makefile.in || die +} + +src_configure() { + # gui can be built but will not be installed + econf \ + --disable-event-gui \ + $(use_enable test tests) +} + +src_install() { + emake install DESTDIR="${D}" || die + dodoc -r doc/html + prune_libtool_files +} diff --git a/dev-libs/libinput/metadata.xml b/dev-libs/libinput/metadata.xml new file mode 100644 index 000000000000..da6fd63d0085 --- /dev/null +++ b/dev-libs/libinput/metadata.xml @@ -0,0 +1,5 @@ + + + +gnome + -- 2.26.2