From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1CD071396D0 for ; Tue, 3 Oct 2017 19:09:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3C67FE0BE9; Tue, 3 Oct 2017 19:09:54 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 18584E0BE9 for ; Tue, 3 Oct 2017 19:09:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8E6093418C4 for ; Tue, 3 Oct 2017 19:09:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CEA3E9087 for ; Tue, 3 Oct 2017 19:09:50 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1507057764.b3e0ae8477af38c3f66bdbe470c6f629adab68de.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xcape/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/xcape/Manifest x11-misc/xcape/xcape-1.2.ebuild X-VCS-Directories: x11-misc/xcape/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b3e0ae8477af38c3f66bdbe470c6f629adab68de X-VCS-Branch: master Date: Tue, 3 Oct 2017 19:09:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2b1b7d30-b359-44b6-8f65-d2f95db6e1dd X-Archives-Hash: c22f294300e3b1a5d076746d82ad8656 commit: b3e0ae8477af38c3f66bdbe470c6f629adab68de Author: Michał Górny gentoo org> AuthorDate: Tue Oct 3 05:03:16 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Oct 3 19:09:24 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3e0ae84 x11-misc/xcape: Bump to 1.2, by proxied maintainer Closes: https://bugs.gentoo.org/600570 x11-misc/xcape/Manifest | 1 + x11-misc/xcape/xcape-1.2.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/x11-misc/xcape/Manifest b/x11-misc/xcape/Manifest index d7160836b29..f759b87f678 100644 --- a/x11-misc/xcape/Manifest +++ b/x11-misc/xcape/Manifest @@ -1 +1,2 @@ DIST xcape-1.1.tar.gz 18458 SHA256 69ae927a6b2b1268a809b9c3af7c4f94584458f022beb6e2ca3e6bc3ba8a6d4a SHA512 6234e50a38003249eae563ff22ce923c3032e44b358e8e49550001c60246be1159a47f60f52d42040dda88d5396228b8daf4f0f4b03db2bcfc514c634c81540f WHIRLPOOL 1fa89d34143fb98adabdb2b41528352a3f4cd6778324f07ffbd17a921c7fded07a91555eb877361af8452cfd3d516a5eecf6c8ac3ebf565ae89d032ee2c9b06d +DIST xcape-1.2.tar.gz 18730 SHA256 a27ed884fd94f03058af65a39edfe3af3f2f8fbb76ba9920002a76be07fb2821 SHA512 5ae8502250a9ec55a4b0c5f7301c1597c652b76904261153b720362e3c5882e8db980c85396a2594f99ae2fb72ab7070c1b06c9432d54b7da84975ff45b25a79 WHIRLPOOL a895f38eddfaae2a4408c0e49f1b732283bb4b080f1fd36c8a031ccd7ce51112c58c40f9d9ef4fc1754e51ae2301cd499ad580d0828c937c212331d332354ac0 diff --git a/x11-misc/xcape/xcape-1.2.ebuild b/x11-misc/xcape/xcape-1.2.ebuild new file mode 100644 index 00000000000..c80f981769a --- /dev/null +++ b/x11-misc/xcape/xcape-1.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Utility to make modifier keys send custom key events when pressed on their own" +HOMEPAGE="https://github.com/alols/xcape" +SRC_URI="https://github.com/alols/xcape/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND="x11-libs/libX11 + x11-libs/libXtst" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + default + + # Fix path to man and to pkg-config + sed -i \ + -e '/MANDIR/s:local:share:' \ + -e 's/pkg-config/${PKG_CONFIG}/' \ + Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + emake PKG_CONFIG="$(tc-getPKG_CONFIG)" \ + DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install +}