From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 14AD71584AD for ; Mon, 05 May 2025 15:17:57 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id F3984343169 for ; Mon, 05 May 2025 15:17:56 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 2609A11036F; Mon, 05 May 2025 15:17:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 1D48F11036F for ; Mon, 05 May 2025 15:17:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C2F41343169 for ; Mon, 05 May 2025 15:17:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6B07F255C for ; Mon, 05 May 2025 15:17:51 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1746458230.754095cedf2c3ec2d176ab6f559417a0f9829ad3.sam@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.10.2.ebuild X-VCS-Directories: app-misc/lirc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 754095cedf2c3ec2d176ab6f559417a0f9829ad3 X-VCS-Branch: master Date: Mon, 05 May 2025 15:17:51 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 19e89a04-7166-4082-a72d-7155d9ca3bab X-Archives-Hash: ead6a7a8af0f18122e1f133320727e3f commit: 754095cedf2c3ec2d176ab6f559417a0f9829ad3 Author: Sam James gentoo org> AuthorDate: Mon May 5 15:14:13 2025 +0000 Commit: Sam James gentoo org> CommitDate: Mon May 5 15:17:10 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=754095ce app-misc/lirc: drop 0.10.2 Signed-off-by: Sam James gentoo.org> app-misc/lirc/lirc-0.10.2.ebuild | 182 --------------------------------------- 1 file changed, 182 deletions(-) diff --git a/app-misc/lirc/lirc-0.10.2.ebuild b/app-misc/lirc/lirc-0.10.2.ebuild deleted file mode 100644 index 8a4132515177..000000000000 --- a/app-misc/lirc/lirc-0.10.2.ebuild +++ /dev/null @@ -1,182 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit linux-info python-single-r1 xdg-utils - -DESCRIPTION="decode and send infra-red signals of many commonly used remote controls" -HOMEPAGE="https://www.lirc.org/" - -LIRC_DRIVER_DEVICE="/dev/lirc0" - -MY_P=${PN}-${PV/_/-} -S="${WORKDIR}/${MY_P}" - -if [[ ${PV} == *_pre* ]] ; then - SRC_URI="https://www.lirc.org/software/snapshots/${MY_P}.tar.bz2" -elif [[ ${PV} == *_p* ]] ; then - inherit autotools - SRC_URI="https://downloads.sourceforge.net/lirc/${PN}-$(ver_cut 1-3).tar.bz2" - SRC_URI+=" mirror://debian/pool/main/l/${PN}/${PN}_$(ver_cut 1-3)-$(ver_cut 5-).debian.tar.xz" - S="${WORKDIR}"/${PN}-$(ver_cut 1-3) -else - SRC_URI="https://downloads.sourceforge.net/lirc/${MY_P}.tar.bz2" -fi - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~loong ppc ppc64 ~riscv x86" -IUSE="audio +devinput doc ftdi gtk inputlirc selinux static-libs systemd +uinput usb X" - -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - gtk? ( X ) -" - -COMMON_DEPEND=" - ${PYTHON_DEPS} - audio? ( - >media-libs/portaudio-18 - media-libs/alsa-lib - ) - $(python_gen_cond_dep ' - 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 - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ') - doc? ( app-text/doxygen ) - sys-apps/kmod - sys-kernel/linux-headers -" - -RDEPEND=" - ${COMMON_DEPEND} - gtk? ( - x11-libs/vte[introspection] - $(python_gen_cond_dep ' - dev-python/pygobject[${PYTHON_USEDEP}] - ') - ) - inputlirc? ( app-misc/inputlircd ) - selinux? ( sec-policy/selinux-lircd ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.10.1-runtimedirectory.patch" -) - -MAKEOPTS+=" -j1" - -pkg_setup() { - use uinput && CONFIG_CHECK="~INPUT_UINPUT" - python-single-r1_pkg_setup - linux-info_pkg_setup -} - -src_prepare() { - default - - # Keep eautoreconf until a new release to fix Python macros - # bug #849788 - if [[ -d "${WORKDIR}"/debian/patches ]] ; then - eapply $(sed -e 's:^:../debian/patches/:' ../debian/patches/series || die) - eautoreconf - fi -} - -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" -}