summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2018-08-01 12:23:25 -0400
committerCraig Andrews <candrews@gentoo.org>2018-08-01 12:37:44 -0400
commitd0a15ec739a1ce991d73ba97ad2a45532140babc (patch)
treecc96598b4ef34b62d04ac15526039083c1283148 /app-misc/lirc
parentapp-misc/lirc: Parallel make fails so don't parallel make (diff)
downloadgentoo-d0a15ec739a1ce991d73ba97ad2a45532140babc.tar.gz
gentoo-d0a15ec739a1ce991d73ba97ad2a45532140babc.tar.bz2
gentoo-d0a15ec739a1ce991d73ba97ad2a45532140babc.zip
app-misc/lirc: Drop old version
Package-Manager: Portage-2.3.44, Repoman-2.3.10
Diffstat (limited to 'app-misc/lirc')
-rw-r--r--app-misc/lirc/Manifest1
-rw-r--r--app-misc/lirc/lirc-0.10.0.ebuild151
2 files changed, 0 insertions, 152 deletions
diff --git a/app-misc/lirc/Manifest b/app-misc/lirc/Manifest
index 4f51ac9b4351..d4b40149b07a 100644
--- a/app-misc/lirc/Manifest
+++ b/app-misc/lirc/Manifest
@@ -1,3 +1,2 @@
-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
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"
-}