summaryrefslogtreecommitdiff
path: root/app-misc/inputlircd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
committerV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
commit752d6256e5204b958b0ef7905675a940b5e9172f (patch)
tree330d16e6362a49cbed8875a777fe641a43376cd3 /app-misc/inputlircd
parent0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff)
gentoo resync : 12.05.2022
Diffstat (limited to 'app-misc/inputlircd')
-rw-r--r--app-misc/inputlircd/Manifest1
-rw-r--r--app-misc/inputlircd/inputlircd-0.0.1_pre15-r3.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/app-misc/inputlircd/Manifest b/app-misc/inputlircd/Manifest
index 6846193d7048..befff04e62c6 100644
--- a/app-misc/inputlircd/Manifest
+++ b/app-misc/inputlircd/Manifest
@@ -4,4 +4,5 @@ AUX inputlircd.init 259 BLAKE2B 19ed54f2a354fc9efd4a6f48944c5546901d8d23c7e2a45d
AUX inputlircd.init.2 297 BLAKE2B bf8676b94101dcc9e4ed5480ac5a0f0c3654188892d9049af0fd72359b5da4e160c9e34e371d68278264ca810af0dca4174e97c09e30e4602913a78e3bba5915 SHA512 50f50859ed048b561416e7c21cf083ddda3114331ea14abef470fb04c0108f925f47a75be2b4396fd98b7d140d988288852f2c0ce9fce8218ce2a31e90c48626
DIST inputlircd-0.0.1_pre15.tar.gz 5226 BLAKE2B 92339021451b2575de5adbf6123f1083e93bfbd8cdd3233389301032678160bb622cf4b92837470151494ec87bcbde5462c557e5cef9fa601ad6da71607dbb78 SHA512 6f7dd15875eeccac1f666af82dabba243707c9b3c3b2e39070032fb3d4a40c1c0ae6fbca2e7be02ce7061d289d9ad07b9ee38c5f5b0f33d5a6c413df5bfd6365
EBUILD inputlircd-0.0.1_pre15-r2.ebuild 918 BLAKE2B 8a577f53bf67e0f1ff5a8087ed7fb63d49b6743809d40e5be4ce905f528f964642020c298e5540d834f725928315eec3ee8e9022f20823795f20d656ebdc3084 SHA512 7de73915bc37f7b17b598193d101b1524624668d818e970a6f7af7b0f5d9e5da2c85ec832ce67b065cb9f56d3af8724acf9bd34ab471c6e9404dba94775c2d24
+EBUILD inputlircd-0.0.1_pre15-r3.ebuild 892 BLAKE2B b98e4f68eafbab5ceb224ab965aa8c14ba8682944cd9611ebafd888b133c7001f4ab43d8b5ed452780446dd90f2c975b72c4c887c33b2e32a37d2c2631cf4269 SHA512 201fb5f314dde08d2009107c86584e58f2c8d2b53d02138d2e26a4ce4ed500712f9b45f219de0fafbc414cd5b53fff2639541c792f1b3f83ead7bd59141db50e
MISC metadata.xml 259 BLAKE2B c37e63028ff67345f2840423e9d03b3e011b4132f4c80ce8a4b6c94e9ad069be10dbf4e6f9a96a848619b673dd0670ae41fad3e51ce382bee44e097d2245bc4b SHA512 33692b38a520781ebab5dcf3c02f4b5a082a3e4d001527e7c7f6e283eae28aff68ce0fecfce53809b9705d84cb110ff8c9bed38f40cfc918d4760984a94f9a96
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
+}