summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kenzelmann <gentoo@k8n.de>2018-03-20 21:37:10 +0100
committerMichał Górny <mgorny@gentoo.org>2018-04-21 23:55:13 +0200
commit0bbf9d0abf9933f6d048f0e77ca81cd161edec3e (patch)
tree30d39dc24cb8b8dba219ea0d3ac9606bf265e346 /app-misc/flirc
parentmedia-gfx/uniconvertor: remove eutils (diff)
downloadgentoo-0bbf9d0abf9933f6d048f0e77ca81cd161edec3e.tar.gz
gentoo-0bbf9d0abf9933f6d048f0e77ca81cd161edec3e.tar.bz2
gentoo-0bbf9d0abf9933f6d048f0e77ca81cd161edec3e.zip
app-misc/flirc: initial pull request
Allows you to pair any remote control with your computer or media center. Closes: https://bugs.gentoo.org/582156 Closes: https://github.com/gentoo/gentoo/pull/7526
Diffstat (limited to 'app-misc/flirc')
-rw-r--r--app-misc/flirc/Manifest2
-rw-r--r--app-misc/flirc/flirc-3.11.6.ebuild47
-rw-r--r--app-misc/flirc/metadata.xml12
3 files changed, 61 insertions, 0 deletions
diff --git a/app-misc/flirc/Manifest b/app-misc/flirc/Manifest
new file mode 100644
index 000000000000..6b7153b90bf8
--- /dev/null
+++ b/app-misc/flirc/Manifest
@@ -0,0 +1,2 @@
+DIST flirc-3.11.6_amd64.deb 8994136 BLAKE2B 0dfcf230daee195a844aaf746e8f1cd259eb9b3eb7203483040c3b0c7ef2d7eded09064ed6dd30e3f72568f59dbddf3d96c5b26a84cad5f9e2e464c7e114e4bf SHA512 06dfb22653dac1efe3e67eab8b2806a4760f4b3646a712222658d48cfb3defe3abb9f5fe8a0bfbb8dfc332a0f4e89691c304402d3d5ea28328bd5b6619069ece
+DIST flirc-3.11.6_armhf.deb 10631794 BLAKE2B c5ae5934cab825cb01ee1c92d48d1ee7867a318a029f3e60c8112cf887495d8bd7cbf9138836c7c42ab50174ec01b8d38fd51c963743e0939b4dca05c458d678 SHA512 3e7c9461827db8e3156002ea3119dc34fc00476d7df009e0484e77afee52b5ad58133da16d4017aa9d25890b5098615f70b36a4b5b18d77dc06fe6be19f1b6c0
diff --git a/app-misc/flirc/flirc-3.11.6.ebuild b/app-misc/flirc/flirc-3.11.6.ebuild
new file mode 100644
index 000000000000..7f983650ab46
--- /dev/null
+++ b/app-misc/flirc/flirc-3.11.6.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit desktop udev unpacker
+
+DESCRIPTION="Allows you to pair any remote control with your computer or media center"
+HOMEPAGE="https://flirc.tv/"
+SRC_URI="
+ amd64? ( https://packagecloud.io/Flirc/repo/packages/ubuntu/artful/flirc_${PV}_amd64.deb/download.deb -> ${P}_amd64.deb )
+ arm? ( https://packagecloud.io/Flirc/repo/packages/debian/stretch/flirc_${PV}_armhf.deb/download.deb -> ${P}_armhf.deb )"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm"
+IUSE="+qt5"
+
+RESTRICT="bindist mirror strip"
+
+S="${WORKDIR}"
+
+DEPEND=""
+RDEPEND="virtual/libusb:1
+ dev-libs/hidapi
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ dev-qt/qtxmlpatterns:5 )"
+
+QA_PREBUILT="/usr/bin/*"
+
+src_install () {
+ udev_newrules etc/udev/rules.d/99-flirc.rules 51-flirc.rules
+ doman usr/share/doc/flirc/flirc_util.1
+ dobin usr/bin/flirc_util
+ if use qt5 ; then
+ doman usr/share/doc/flirc/Flirc.1
+ dobin usr/bin/Flirc
+ doicon usr/share/pixmaps/Flirc.png
+ domenu usr/share/applications/Flirc.desktop
+ fi
+}
diff --git a/app-misc/flirc/metadata.xml b/app-misc/flirc/metadata.xml
new file mode 100644
index 000000000000..9344dda7b30f
--- /dev/null
+++ b/app-misc/flirc/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gentoo@k8n.de</email>
+ <name>Daniel Kenzelmann</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Gentoo Proxy Maintainers Project</name>
+ </maintainer>
+</pkgmetadata>