summaryrefslogtreecommitdiff
path: root/app-misc/lirc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-08-04 08:53:53 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-08-04 08:53:53 +0100
commite3872864be25f7421015bef2732fa57c0c9fb726 (patch)
tree9cb29a544215119b5c5538e37211b994ce1c87ae /app-misc/lirc
parent480486b52ea64765faf696c88b2c6a26a5a454d4 (diff)
gentoo resync : 04.08.2018
Diffstat (limited to 'app-misc/lirc')
-rw-r--r--app-misc/lirc/Manifest4
-rw-r--r--app-misc/lirc/lirc-0.10.0.ebuild151
-rw-r--r--app-misc/lirc/lirc-0.10.1.ebuild7
3 files changed, 7 insertions, 155 deletions
diff --git a/app-misc/lirc/Manifest b/app-misc/lirc/Manifest
index 5a166f2416a4..4b7222198460 100644
--- a/app-misc/lirc/Manifest
+++ b/app-misc/lirc/Manifest
@@ -19,10 +19,8 @@ AUX lircmd 364 BLAKE2B 71971476198f92bb2d26cbacc8fe330c4d73e0b36370180cfc6438047
AUX lircmd-0.10.0.conf 57 BLAKE2B 8c39aac91bf5ac603a1495bb7e27b74ee5f09e55e35297aae75b17ed1bb858a57aa1f524d096ec2744f0d543b719f13e80a467869b7ac86e560cc396a24b0648 SHA512 6a69c7600024f00947dc35e3c6cebf7524fcf5f2a1e799fe70590fef2070c1049c4e6177711821f4e7b13972fd6f535591b48bb1006acd44fa650591b3265ace
AUX lircmd-0.9.4a-r2 382 BLAKE2B 14e6f7822d8878a9047fc26cb0927ae61c70092788133a387be62a9e54b3d4f3c78734f5dd0a54ddb04dd2b48ba270177ca7af777ac80ba8bacdcbe3f9ce2d62 SHA512 c744553b6246e62845ee61e18d78d97e7242969d0bb5478072bd9072ce0a02486306b577ca64c1c569c9b136e3231a4f0663c94114879827329a769e5f36413d
AUX modprobed.lirc 549 BLAKE2B f58dcefff1becd48edaddab0d48e46f361b99de714bc8d3ae0d72f49fc8699fe9b9c7d8818a94eb7b40a5a653bfc8ca61ec11374c49ecebd1ef235d4ed8b8c08 SHA512 a64cac97e21ab53c247d8dd3e518b3caee5eeb9c3558727eba8a04684894c6be1695ce681e71d559474f4e78bbb39130d97f843eae18e56b3d3eb70f1fbefc63
-DIST lirc-0.10.0.tar.bz2 2523528 BLAKE2B 5c133b40936060fbaa0a9463b1b07d9197d935388e3eb4e46791b1f844b82ea6b6d42ae0c6ce249ca306688fa5d15718f5a3a54b497fc9f168b8b736b06bdd1e SHA512 06ccc1c8c80bfd17a6d180ae39a17779cbba341086f90a03a2e552bfb71e3abcb13f991312fba0e57df79c1882c1e29a2f273dddcd46a9ff53160b556e1547ab
DIST lirc-0.10.1.tar.bz2 2523226 BLAKE2B 47b7ee87de8f64f7f829af519c0d296a85cf91790148927e850965177d4984bb994a0ad122cb59c3db508813d0824ffec45126e794abd08174a052361cea53e5 SHA512 31c0b6ee169b302b99994a2a3fa0ebcae0e01cb83c02fe02acf1de5ba8cf77a091a0221c7d8104448c30930adafe654cd08afb7d0df6b5b7ec2d47df26e5df9d
DIST lirc-0.9.0.tar.bz2 857286 BLAKE2B 034c7b8492dd42301bb6d40da8c6c95f714b925ee50e7396290231684024dc3fe3bb64987db92d2a4e4d56203436007e68222bbf9a775bb9d29bbefcc4a7c1e4 SHA512 e91534c63e6065bd7da3b15e1676edf1672b8beb21864a6825df86247d7d165bf2dee6f8191732933e24e42a406e46afc55559948e4061eed2de7b08fac13431
-EBUILD lirc-0.10.0.ebuild 3628 BLAKE2B 18880addbafab7abf3216e023ba27c568b1234f80a35bda0f45441d56f6e17c2ceb6623d5d25d9216b35d0aa4155eb060505d6c710913bf9052979654538e7d2 SHA512 375ada586cb5e60fc95d9c11962386d2cc2eb7e8ba8f3a40c12f766c9f256bd0812a5f9a564a1695eca60f05528e1f15d00b3fae359fb2a640525fac799a45b3
-EBUILD lirc-0.10.1.ebuild 3628 BLAKE2B 18880addbafab7abf3216e023ba27c568b1234f80a35bda0f45441d56f6e17c2ceb6623d5d25d9216b35d0aa4155eb060505d6c710913bf9052979654538e7d2 SHA512 375ada586cb5e60fc95d9c11962386d2cc2eb7e8ba8f3a40c12f766c9f256bd0812a5f9a564a1695eca60f05528e1f15d00b3fae359fb2a640525fac799a45b3
+EBUILD lirc-0.10.1.ebuild 3739 BLAKE2B 7370130d197f6243429cd1395dfdf2bbd6ebcd5afb14cb2234fc84769925618c12e5193553f6d425732b3419f23c851ccccd37029bbfc5393d49be875d5c9175 SHA512 95dc993ba6e9b3abf3f58c9a76e5831659fa5fc9c01e457f7e1cbb24eb4ef28f91714e191e7050cf54a6a1803e68cf2a7c440eee498d948c2fc001296f30cbf7
EBUILD lirc-0.9.0-r6.ebuild 13250 BLAKE2B 81ca3c71e46089a8f3a1b412d53e60096f14c0825f8f4c7daf9fee9387e3eced4dda10c8e5dc4550a9e0eb1347b1db40972a3a2397154dce2a8e1d2ed8b99977 SHA512 0d620d93bccf35721830420a7e367b45c1b6a71891843db12fe4c96b0d1228de6367969545eeb0f0416833f195ed933eafef69d5d38a0a46a1f0ddc32829240b
MISC metadata.xml 1175 BLAKE2B 1bcfd5d3fed6ee42c3e53168cc40fd930e6b92bf52bc787c43439f053e1fb97bf841d71ec58ce3fae56187c77cac767613107e74a90f8871dcfe3f33e4ff293f SHA512 c1d6ff9a423c0ea5d52410d5dfa2cd9dd94b61109494c629706dc74c228032e19e6504884c50694450624d6c05f437eaaebaee0ab626f7004fc7377331fa847c
diff --git a/app-misc/lirc/lirc-0.10.0.ebuild b/app-misc/lirc/lirc-0.10.0.ebuild
deleted file mode 100644
index 9b8d2c10c013..000000000000
--- a/app-misc/lirc/lirc-0.10.0.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_4 python3_{5,6} )
-
-inherit eutils flag-o-matic linux-info python-single-r1 systemd xdg-utils
-
-DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
-HOMEPAGE="http://www.lirc.org/"
-
-LIRC_DRIVER_DEVICE="/dev/lirc0"
-
-MY_P=${PN}-${PV/_/-}
-
-if [[ "${PV/_pre/}" = "${PV}" ]]; then
- SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2"
-else
- SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2"
-fi
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
-IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
-
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- gtk? ( X )
-"
-
-S="${WORKDIR}/${MY_P}"
-
-COMMON_DEPEND="
- ${PYTHON_DEPS}
- audio? (
- >media-libs/portaudio-18
- media-libs/alsa-lib
- )
- dev-python/pyyaml[${PYTHON_USEDEP}]
- ftdi? ( dev-embedded/libftdi:0 )
- systemd? ( sys-apps/systemd )
- usb? ( virtual/libusb:0 )
- X? (
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- )
-"
-
-DEPEND="
- ${COMMON_DEPEND}
- dev-libs/libxslt
- doc? ( app-doc/doxygen )
- sys-apps/kmod
- sys-kernel/linux-headers
-"
-
-RDEPEND="
- ${COMMON_DEPEND}
- gtk? (
- x11-libs/vte[introspection]
- dev-python/pygobject[${PYTHON_USEDEP}]
- )
- inputlirc? ( app-misc/inputlircd )
-"
-
-pkg_setup() {
- use uinput && CONFIG_CHECK="INPUT_UINPUT"
-}
-
-src_configure() {
- xdg_environment_reset
- econf \
- --localstatedir="${EPREFIX}/var" \
- $(use_enable static-libs static) \
- $(use_enable devinput) \
- $(use_enable uinput) \
- $(use_with X x)
-}
-
-src_install() {
- default
-
- if use !gtk ; then
- # lirc-setup requires gtk
- rm "${ED%/}"/usr/bin/lirc-setup || die
- fi
-
- newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd
- newinitd "${FILESDIR}"/lircmd-0.9.4a-r2 lircmd
- newconfd "${FILESDIR}"/lircd.conf.4 lircd
- newconfd "${FILESDIR}"/lircmd-0.10.0.conf lircmd
-
- insinto /etc/modprobe.d/
- newins "${FILESDIR}"/modprobed.lirc lirc.conf
-
- newinitd "${FILESDIR}"/irexec-initd-0.9.4a-r2 irexec
- newconfd "${FILESDIR}"/irexec-confd irexec
-
- keepdir /etc/lirc
- if [[ -e "${ED%/}"/etc/lirc/lircd.conf ]]; then
- newdoc "${ED%/}"/etc/lirc/lircd.conf lircd.conf.example
- fi
-
- find "${ED}" -name '*.la' -delete || die
-
- # Avoid QA notice
- rm -d "${ED%/}"/var/run/lirc || die
- rm -d "${ED%/}"/var/run || die
-}
-
-pkg_preinst() {
- local dir="${EROOT%/}/etc/modprobe.d"
- if [[ -a "${dir}"/lirc && ! -a "${dir}"/lirc.conf ]]; then
- elog "Renaming ${dir}/lirc to lirc.conf"
- mv -f "${dir}/lirc" "${dir}/lirc.conf" || die
- fi
-
- # copy the first file that can be found
- if [[ -f "${EROOT%/}"/etc/lirc/lircd.conf ]]; then
- cp "${EROOT%/}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die
- elif [[ -f "${EROOT%/}"/etc/lircd.conf ]]; then
- cp "${EROOT%/}"/etc/lircd.conf "${T}"/lircd.conf || die
- MOVE_OLD_LIRCD_CONF=1
- elif [[ -f "${ED%/}"/etc/lirc/lircd.conf ]]; then
- cp "${ED%/}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die
- fi
-
- # stop portage from touching the config file
- if [[ -e "${ED%/}"/etc/lirc/lircd.conf ]]; then
- rm -f "${ED%/}"/etc/lirc/lircd.conf || die
- fi
-}
-
-pkg_postinst() {
- # copy config file to new location
- # without portage knowing about it
- # so it will not delete it on unmerge or ever touch it again
- if [[ -e "${T}"/lircd.conf ]]; then
- cp "${T}"/lircd.conf "${EROOT%/}"/etc/lirc/lircd.conf || die
- if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then
- elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf"
- rm -f "${EROOT%/}"/etc/lircd.conf || die
- fi
- fi
-
- einfo "The new default location for lircd.conf is inside of"
- einfo "${EROOT%/}/etc/lirc/ directory"
-}
diff --git a/app-misc/lirc/lirc-0.10.1.ebuild b/app-misc/lirc/lirc-0.10.1.ebuild
index 9b8d2c10c013..9b775a2c3457 100644
--- a/app-misc/lirc/lirc-0.10.1.ebuild
+++ b/app-misc/lirc/lirc-0.10.1.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-PYTHON_COMPAT=( python3_4 python3_{5,6} )
+PYTHON_COMPAT=( python3_4 python3_{5,6,7} )
inherit eutils flag-o-matic linux-info python-single-r1 systemd xdg-utils
@@ -52,6 +52,7 @@ COMMON_DEPEND="
DEPEND="
${COMMON_DEPEND}
dev-libs/libxslt
+ dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( app-doc/doxygen )
sys-apps/kmod
sys-kernel/linux-headers
@@ -66,8 +67,12 @@ RDEPEND="
inputlirc? ( app-misc/inputlircd )
"
+MAKEOPTS+=" -j1"
+
pkg_setup() {
use uinput && CONFIG_CHECK="INPUT_UINPUT"
+ python-single-r1_pkg_setup
+ linux-info_pkg_setup
}
src_configure() {