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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AD47F15808D for ; Sat, 23 Apr 2022 06:25:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D6EFFE088B; Sat, 23 Apr 2022 06:25:11 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BBBCEE087E for ; Sat, 23 Apr 2022 06:25:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 773E534121B for ; Sat, 23 Apr 2022 06:25:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D8D273BF for ; Sat, 23 Apr 2022 06:25:07 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1650695103.36b227da7b2fa83f3875e593939c388f466dc0b5.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/inputlircd/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/inputlircd/inputlircd-0.0.1_pre15-r3.ebuild X-VCS-Directories: app-misc/inputlircd/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 36b227da7b2fa83f3875e593939c388f466dc0b5 X-VCS-Branch: master Date: Sat, 23 Apr 2022 06:25:07 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 451758d6-23d5-47d7-bbaa-738faa41c95e X-Archives-Hash: 07bf91fa19edf88714c8c4a148e1e6f1 commit: 36b227da7b2fa83f3875e593939c388f466dc0b5 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Mon Apr 18 13:34:12 2022 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sat Apr 23 06:25:03 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36b227da app-misc/inputlircd: EAPI8 bump Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/25090 Signed-off-by: Joonas Niilola gentoo.org> .../inputlircd/inputlircd-0.0.1_pre15-r3.ebuild | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/app-misc/inputlircd/inputlircd-0.0.1_pre15-r3.ebuild b/app-misc/inputlircd/inputlircd-0.0.1_pre15-r3.ebuild new file mode 100644 index 000000000000..b262f5a39eba --- /dev/null +++ b/app-misc/inputlircd/inputlircd-0.0.1_pre15-r3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Inputlirc daemon to utilize /dev/input/event*" +HOMEPAGE="https://github.com/gsliepen/inputlirc" +SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86" + +src_prepare() { + local ver="$(best_version sys-kernel/linux-headers)" + ver=${ver#sys-kernel/linux-headers-} + if ver_test 4.4 -ge ${ver}; then + eapply "${FILESDIR}/inputlircd-linux-4.4-fix.patch" + fi + + sed -e 's|$(CFLAGS)|$(CFLAGS) $(LDFLAGS)|' -i Makefile || die + + default +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + + newinitd "${FILESDIR}"/inputlircd.init.2 inputlircd + newconfd "${FILESDIR}"/inputlircd.conf inputlircd +}