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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 910D6138330 for ; Wed, 24 Aug 2016 10:38:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 752F9E0B2D; Wed, 24 Aug 2016 10:38:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2A850E0B2C for ; Wed, 24 Aug 2016 10:38:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3C83A340917 for ; Wed, 24 Aug 2016 10:38:14 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DDBF7246A for ; Wed, 24 Aug 2016 10:38:10 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1472035071.6b4f62969d14d5e97d6fcb437518927f8e144c7b.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/lirc/lirc-0.9.4a-r1.ebuild X-VCS-Directories: app-misc/lirc/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 6b4f62969d14d5e97d6fcb437518927f8e144c7b X-VCS-Branch: master Date: Wed, 24 Aug 2016 10:38:10 +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-Archives-Salt: 70124ec2-fb02-4aec-9e3c-2c6ece2c96c2 X-Archives-Hash: 38133d3608fb18bb70148b01c0e2c584 commit: 6b4f62969d14d5e97d6fcb437518927f8e144c7b Author: Pacho Ramos gentoo org> AuthorDate: Wed Aug 24 10:33:28 2016 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Wed Aug 24 10:37:51 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b4f6296 app-misc/lirc: Drop old Package-Manager: portage-2.3.0 app-misc/lirc/lirc-0.9.4a-r1.ebuild | 139 ------------------------------------ 1 file changed, 139 deletions(-) diff --git a/app-misc/lirc/lirc-0.9.4a-r1.ebuild b/app-misc/lirc/lirc-0.9.4a-r1.ebuild deleted file mode 100644 index 0c413ef..00000000 --- a/app-misc/lirc/lirc-0.9.4a-r1.ebuild +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -inherit eutils flag-o-matic systemd - -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 ~ppc ~ppc64 ~x86" -IUSE="doc static-libs X audio irman ftdi inputlirc iguanair systemd usb" - -S="${WORKDIR}/${MY_P}" - -REQUIRED_USE=" - iguanair? ( irman ) -" -DEPEND=" - doc? ( app-doc/doxygen ) -" - -RDEPEND=" - X? ( - x11-libs/libX11 - x11-libs/libSM - x11-libs/libICE - ) - systemd? ( sys-apps/systemd ) - audio? ( - >media-libs/portaudio-18 - media-libs/alsa-lib - ) - irman? ( media-libs/libirman ) - iguanair? ( app-misc/iguanaIR ) - ftdi? ( dev-embedded/libftdi:0 ) - inputlirc? ( app-misc/inputlircd ) - usb? ( virtual/libusb:0 ) -" - -PATCHES=( - "${FILESDIR}"/lirc-0.9.4-doc-path-fix.patch # https://bugs.gentoo.org/show_bug.cgi?id=589246 https://sourceforge.net/p/lirc/tickets/214/ -) - -src_configure() { - filter-flags -Wl,-O1 - econf \ - --docdir=/usr/share/doc/${PF} \ - --localstatedir=/var \ - $(use_enable static-libs static) \ - $(use_with X x) -} - -# Defined src_compile as a workaround for a parallel make issue -# See https://bugs.gentoo.org/show_bug.cgi?id=588864 -# and https://sourceforge.net/p/lirc/tickets/210/ -src_compile() { - emake lib - emake -} - -src_install() { - default - - newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd - newinitd "${FILESDIR}"/lircmd lircmd - newconfd "${FILESDIR}"/lircd.conf.4 lircd - - insinto /etc/modprobe.d/ - newins "${FILESDIR}"/modprobed.lirc lirc.conf - - newinitd "${FILESDIR}"/irexec-initd-0.9.4a-r1 irexec - newconfd "${FILESDIR}"/irexec-confd irexec - - keepdir /etc/lirc - if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then - newdoc "${D}"/etc/lirc/lircd.conf lircd.conf.example - fi - - if ! use static-libs; then - rm "${D}/usr/$(get_libdir)/liblirc_client.la" || die - fi - - # Avoid QA notice - rm -d "${D}"/var/run/lirc || die - rm -d "${D}"/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 "${D}"/etc/lirc/lircd.conf ]]; then - cp "${D}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die - fi - - # stop portage from touching the config file - if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then - rm -f "${D}"/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 "/etc/lirc/ directory" -}