* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2016-01-05 11:45 Pacho Ramos
0 siblings, 0 replies; 64+ messages in thread
From: Pacho Ramos @ 2016-01-05 11:45 UTC (permalink / raw
To: gentoo-commits
commit: 8fd0e2a2b01315b22091203797dfdc053454066a
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 5 11:02:37 2016 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Jan 5 11:45:07 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fd0e2a2
app-misc/lirc: Drop app-misc/usbirboy support (#465208)
Package-Manager: portage-2.2.26
app-misc/lirc/lirc-0.9.0-r5.ebuild | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/app-misc/lirc/lirc-0.9.0-r5.ebuild b/app-misc/lirc/lirc-0.9.0-r5.ebuild
index 2dbb035..52f34f0 100644
--- a/app-misc/lirc/lirc-0.9.0-r5.ebuild
+++ b/app-misc/lirc/lirc-0.9.0-r5.ebuild
@@ -72,7 +72,7 @@ IUSE_LIRC_DEVICES_DIRECT="
# parameter --with-driver=NAME
IUSE_LIRC_DEVICES_SPECIAL="
serial_igor_cesko
- remote_wonder_plus xboxusb usbirboy inputlirc"
+ remote_wonder_plus xboxusb inputlirc"
IUSE_LIRC_DEVICES="${IUSE_LIRC_DEVICES_DIRECT} ${IUSE_LIRC_DEVICES_SPECIAL}"
@@ -119,7 +119,6 @@ DEPEND="${RDEPEND} ${DEPEND}
# adding only run-time depends
RDEPEND="${RDEPEND}
- lirc_devices_usbirboy? ( app-misc/usbirboy )
lirc_devices_inputlirc? ( app-misc/inputlircd )
lirc_devices_iguanaIR? ( app-misc/iguanaIR )"
@@ -251,11 +250,6 @@ pkg_setup() {
add_device atiusb "device xboxusb"
fi
- if use lirc_devices_usbirboy; then
- add_device userspace "device usbirboy"
- LIRC_DRIVER_DEVICE="/dev/usbirboy"
- fi
-
if [[ "${MY_OPTS}" == "" ]]; then
if [[ "${PROFILE_ARCH}" == "xbox" ]]; then
# on xbox: use special driver
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2016-01-05 11:45 Pacho Ramos
0 siblings, 0 replies; 64+ messages in thread
From: Pacho Ramos @ 2016-01-05 11:45 UTC (permalink / raw
To: gentoo-commits
commit: 8bdd3eaa129a6c0606197cbe43b4f8b77d6e34b5
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 5 11:01:36 2016 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Jan 5 11:45:04 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bdd3eaa
app-misc/lirc: Drop old
Package-Manager: portage-2.2.26
app-misc/lirc/lirc-0.9.0-r2.ebuild | 427 ------------------------------------
app-misc/lirc/lirc-0.9.0-r3.ebuild | 429 ------------------------------------
app-misc/lirc/lirc-0.9.0-r4.ebuild | 431 -------------------------------------
3 files changed, 1287 deletions(-)
diff --git a/app-misc/lirc/lirc-0.9.0-r2.ebuild b/app-misc/lirc/lirc-0.9.0-r2.ebuild
deleted file mode 100644
index ac9a610..0000000
--- a/app-misc/lirc/lirc-0.9.0-r2.ebuild
+++ /dev/null
@@ -1,427 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-inherit eutils linux-mod linux-info toolchain-funcs flag-o-matic autotools
-
-DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
-HOMEPAGE="http://www.lirc.org/"
-
-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="debug doc hardware-carrier transmitter static-libs X"
-
-S="${WORKDIR}/${MY_P}"
-
-RDEPEND="
- X? (
- x11-libs/libX11
- x11-libs/libSM
- x11-libs/libICE
- )
- lirc_devices_alsa_usb? ( media-libs/alsa-lib )
- lirc_devices_audio? ( >media-libs/portaudio-18 )
- lirc_devices_irman? ( media-libs/libirman )"
-
-# 2012-07-17, Ian Stakenvicius
-# A helper script that scrapes out values for nearly all of the variables below
-# from lirc's configure.ac is available at
-# https://dev.gentoo.org/~axs/helper-for-lirc-iuse.sh
-
-# This are drivers with names matching the
-# parameter --with-driver=NAME
-IUSE_LIRC_DEVICES_DIRECT="
- all userspace accent act200l act220l
- adaptec alsa_usb animax asusdh atilibusb
- atiusb audio audio_alsa avermedia avermedia_vdomate
- avermedia98 awlibusb bestbuy bestbuy2 breakoutbox
- bte bw6130 caraca chronos commandir
- cph06x creative creative_infracd
- devinput digimatrix dsp dvico ea65 ene0100
- exaudio flyvideo ftdi gvbctv5pci hauppauge
- hauppauge_dvb hercules_smarttv_stereo i2cuser
- igorplugusb iguanaIR imon imon_24g imon_knob
- imon_lcd imon_pad imon_rsc irdeo irdeo_remote
- irlink irman irreal it87 ite8709
- knc_one kworld leadtek_0007 leadtek_0010
- leadtek_pvr2000 livedrive_midi
- livedrive_seq logitech macmini
- mediafocusI mouseremote
- mouseremote_ps2 mp3anywhere mplay nslu2
- packard_bell parallel pcmak pcmak_usb
- pctv pixelview_bt878 pixelview_pak
- pixelview_pro provideo realmagic
- remotemaster sa1100 samsung sasem sb0540 serial
- silitek sir slinke streamzap tekram
- tekram_bt829 tira ttusbir tuxbox tvbox udp uirt2
- uirt2_raw usb_uirt_raw usbx wpc8769l"
-
-# drivers that need special handling and
-# must have another name specified for
-# parameter --with-driver=NAME
-IUSE_LIRC_DEVICES_SPECIAL="
- serial_igor_cesko
- remote_wonder_plus xboxusb usbirboy inputlirc"
-
-IUSE_LIRC_DEVICES="${IUSE_LIRC_DEVICES_DIRECT} ${IUSE_LIRC_DEVICES_SPECIAL}"
-
-# The following are lists which are used to provide ewarns on incompatibilities
-# with the kernel:
-
-#drivers that do not build kernel modules
-NO_KMOD_BUILT_FOR_DEV="
- accent bte creative creative_infracd devinput dsp ea65 exaudio
- ftdi i2cuser irlink irreal livedrive_midi livedrive_seq logitech
- mediafocusI mouseremote mouseremote_ps2 mp3anywhere mplay mplay2
- pcmak pcmak_usb pctv realmagic remotemaster silitek tira tira_raw
- tuxbox udp uirt2 uirt2_raw usb_uirt_raw usbx"
-
-#drivers that build lirc_dev and so will conflict with kernel lirc_dev
-LIRCDEV_BUILT_FOR_DEV="all
- act200l act220l adaptec animax atiusb breakoutbox hauppauge
- hauppauge_dvb hercules_smarttv_stereo igorplugusb imon imon_24g
- imon_knob imon_lcd imon_pad imon_rsc irdeo irdeo_remote knc_one
- leadtek_pvr2000 nslu2 packard_bell parallel pixelview_bt878
- provideo sa1100 sasem serial sir tekram tekram_bt829 ttusbir
- tvbox wpc8769l"
-
-#lirc_gpio drivers, which cannot be supported on kernel >= 2.6.22
-LIRC_GPIO_DEV="
- avermedia avermedia98 avermedia_vdomate bestbuy bestbuy2 chronos
- cph03x cph06x flyvideo gvbctv5pci kworld leadtek_0007 leadtek_0010
- pixelview_pak pixelview_pro"
-
-#device-driver which use libusb
-LIBUSB_USED_BY_DEV="
- all atilibusb awlibusb sasem igorplugusb imon imon_lcd imon_pad
- imon_rsc streamzap xboxusb irlink commandir"
-
-for dev in ${LIBUSB_USED_BY_DEV}; do
- DEPEND="${DEPEND} lirc_devices_${dev}? ( virtual/libusb:0 )"
-done
-
-# adding only compile-time depends
-DEPEND="${RDEPEND} ${DEPEND}
- virtual/linux-sources
- lirc_devices_ftdi? ( dev-embedded/libftdi )
- lirc_devices_all? ( dev-embedded/libftdi )"
-
-# adding only run-time depends
-RDEPEND="${RDEPEND}
- lirc_devices_usbirboy? ( app-misc/usbirboy )
- lirc_devices_inputlirc? ( app-misc/inputlircd )
- lirc_devices_iguanaIR? ( app-misc/iguanaIR )"
-
-# add all devices to IUSE
-# and ensure lirc_devices_all is not set alongside lirc_devices_*
-REQUIRED_USE="lirc_devices_all? ("
-for dev in ${IUSE_LIRC_DEVICES}; do
- IUSE="${IUSE} lirc_devices_${dev}"
- if [[ "${dev}" != "all" ]]; then
- REQUIRED_USE="${REQUIRED_USE} !lirc_devices_${dev}"
- fi
-done
-REQUIRED_USE="${REQUIRED_USE} )"
-
-add_device() {
- local dev="${1}"
- local desc="device ${dev}"
- if [[ -n "${2}" ]]; then
- desc="${2}"
- fi
-
- # Bug #187418
- if kernel_is ge 2 6 22 && [[ " ${LIRC_GPIO_DEV} " == *" ${dev} "* ]]; then
- eerror "${desc} uses lirc_gpio which fails with kernel 2.6.22 or above. Not building."
- eerror "Use 'devinput' instead, or use 'userspace' along with in-kernel drivers"
- return 0
- fi
- : ${lirc_device_count:=0}
- ((lirc_device_count++))
-
- elog "Compiling support for ${desc}"
-
- if [[ " ${LIRCDEV_BUILT_FOR_DEV} " == *" ${dev} "* ]] ; then
- if linux_chkconfig_present LIRC ; then
- ewarn "${desc} builds lirc_dev and CONFIG_LIRC is set in the kernel -- this may conflict."
- fi
- if ! linux_chkconfig_present MODULE_UNLOAD ; then
- ewarn "${desc} builds modules and CONFIG_MODULE_UNLOAD is unset in kernel."
- ewarn "You will need MODULE_UNLOAD support in your kernel."
- fi
- fi
- if [[ " ${NO_KMOD_BUILT_FOR_DEV} " == *" ${dev} "* ]] && ! linux_chkconfig_present IR_LIRC_CODEC ; then
- ewarn "${desc} builds no kernel module and CONFIG_IR_LIRC_CODEC is unset in kernel."
- fi
-
- if [[ ${lirc_device_count} -eq 2 ]] ; then
- ewarn
- ewarn "LIRC_DEVICES has more than one entry."
- ewarn "When selecting multiple devices for lirc to be supported,"
- ewarn "it can not be guaranteed that the drivers play nice together."
- ewarn "If this is not intended, then please adjust LIRC_DEVICES"
- ewarn "and re-emerge."
- ewarn
- fi
-
- MY_OPTS="${MY_OPTS} --with-driver=${dev}"
-}
-
-pkg_pretend() {
- if [[ -n "${LIRC_OPTS}" ]] ; then
- ewarn
- ewarn "LIRC_OPTS is deprecated from lirc-0.8.0-r1 on."
- ewarn
- ewarn "Please use LIRC_DEVICES from now on."
- ewarn "e.g. LIRC_DEVICES=\"serial sir\""
- ewarn
- ewarn "Flags are now set per use-flags."
- ewarn "e.g. transmitter, hardware-carrier"
-
- local opt
- local unsupported_opts=""
-
- # test for allowed options for LIRC_OPTS
- for opt in ${LIRC_OPTS}; do
- case ${opt} in
- --with-port=*|--with-irq=*|--with-timer=*|--with-tty=*)
- MY_OPTS="${MY_OPTS} ${opt}"
- ;;
- *)
- unsupported_opts="${unsupported_opts} ${opt}"
- ;;
- esac
- done
- if [[ -n ${unsupported_opts} ]]; then
- eerror "These options are no longer allowed to be set"
- eerror "with LIRC_OPTS: ${unsupported_opts}"
- die "LIRC_OPTS is no longer supported, use LIRC_DEVICES."
- fi
- fi
-}
-
-pkg_setup() {
- linux-mod_pkg_setup
-
- # set default configure options
- MY_OPTS=""
- LIRC_DRIVER_DEVICE="/dev/lirc0"
-
- if use lirc_devices_all; then
- # compile in drivers for a lot of devices
- add_device all "a lot of devices"
- else
- # compile in only requested drivers
- local dev
- for dev in ${IUSE_LIRC_DEVICES_DIRECT}; do
- if use lirc_devices_${dev}; then
- add_device ${dev}
- fi
- done
-
- if use lirc_devices_remote_wonder_plus; then
- add_device atiusb "device Remote Wonder Plus (atiusb-based)"
- fi
-
- if use lirc_devices_serial_igor_cesko; then
- add_device serial "serial with Igor Cesko design"
- MY_OPTS="${MY_OPTS} --with-igor"
- fi
-
- if use lirc_devices_imon_pad; then
- ewarn "The imon_pad driver has incorporated the previous pad2keys patch"
- ewarn "and removed the pad2keys_active option for the lirc_imon module"
- ewarn "because it is always active."
- ewarn "If you have an older imon VFD device, you may need to add the module"
- ewarn "option display_type=1 to override autodetection and force VFD mode."
- fi
-
- if use lirc_devices_xboxusb; then
- add_device atiusb "device xboxusb"
- fi
-
- if use lirc_devices_usbirboy; then
- add_device userspace "device usbirboy"
- LIRC_DRIVER_DEVICE="/dev/usbirboy"
- fi
-
- if [[ "${MY_OPTS}" == "" ]]; then
- if [[ "${PROFILE_ARCH}" == "xbox" ]]; then
- # on xbox: use special driver
- add_device atiusb "device xboxusb"
- else
- # no driver requested
- elog
- elog "Compiling only the lirc-applications, but no drivers."
- elog "Enable drivers with LIRC_DEVICES if you need them."
- MY_OPTS="--with-driver=none"
- fi
- fi
- fi
-
- use hardware-carrier && MY_OPTS="${MY_OPTS} --without-soft-carrier"
- use transmitter && MY_OPTS="${MY_OPTS} --with-transmitter"
-
- einfo
- einfo "lirc-configure-opts: ${MY_OPTS}"
- elog "Setting default lirc-device to ${LIRC_DRIVER_DEVICE}"
-
- filter-flags -Wl,-O1
-}
-
-src_prepare() {
- # Rip out dos CRLF
- edos2unix contrib/lirc.rules
-
- # Apply patches needed for some special device-types
- use lirc_devices_audio || epatch "${FILESDIR}"/lirc-0.8.4-portaudio_check.patch
- use lirc_devices_remote_wonder_plus && epatch "${FILESDIR}"/lirc-0.8.3_pre1-remotewonderplus.patch
-
- # Apply fixes for kernel-2.6.39 and above
- epatch "${FILESDIR}"/${P}-kernel-2.6.39-fixes.patch
- # Slightly massaged upstream patch to fix kfifo issues >=2.6.38
- # for bug 377033
- epatch "${FILESDIR}"/${P}-atiusb_kfifo.patch
- # Apply fixes for kernel-3.3 and above (bug 439538)
- epatch "${FILESDIR}"/${P}-kernel-3.3.0-fixes.patch
- # Apply fix for missing err() in usb.h for kernel 3.5+ (bug 444736)
- epatch "${FILESDIR}"/${P}-kernel-3.5-err-fix.patch
- # Apply fix for missing __devinit __devexit defines in kernel 3.8+ (bug 461532)
- epatch "${FILESDIR}"/${P}-kernel-3.8-fixes.patch
-
- # Do not build drivers from the top-level Makefile
- sed -i -e 's:\(SUBDIRS =\) drivers\(.*\):\1\2:' Makefile.am
-
- # remove parallel driver on SMP systems
- if linux_chkconfig_present SMP ; then
- sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.am
- fi
-
- # Bug #187418 - only need this part for lirc_devices_all as others die in pkg_setup
- if use lirc_devices_all && kernel_is ge 2 6 22 ; then
- ewarn "Disabling lirc_gpio driver as it does no longer work Kernel 2.6.22+"
- sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.am
- fi
-
- # respect CFLAGS
- sed -i -e 's:CFLAGS="-O2:CFLAGS=""\n#CFLAGS="-O2:' configure.ac
-
- # setting default device-node
- local f
- for f in configure.ac acconfig.h; do
- [[ -f "$f" ]] && sed -i -e '/#define LIRC_DRIVER_DEVICE/d' "$f"
- done
- echo "#define LIRC_DRIVER_DEVICE \"${LIRC_DRIVER_DEVICE}\"" >> acconfig.h
-
- sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die # automake 1.13
- eautoreconf
-}
-
-src_configure() {
- econf \
- --localstatedir=/var \
- --with-syslog=LOG_DAEMON \
- --enable-sandboxed \
- --with-kerneldir="${KV_DIR}" \
- --with-moduledir="/lib/modules/${KV_FULL}/misc" \
- $(use_enable debug) \
- $(use_enable static-libs static) \
- $(use_with X x) \
- ${MY_OPTS} \
- ABI="${KERNEL_ABI}" \
- ARCH="$(tc-arch-kernel)"
-}
-
-src_compile() {
- # force non-parallel make, Bug 196134 (confirmed valid for 0.9.0-r2)
- emake -j1
-
- MODULE_NAMES="lirc(misc:${S}/drivers)"
- BUILD_TARGETS="all"
- linux-mod_src_compile
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- emake -C drivers DESTDIR="${D}" install
-
- 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.8.6-r2 irexec
- newconfd "${FILESDIR}"/irexec-confd irexec
-
- if use doc ; then
- dohtml doc/html/*.html
- insinto /usr/share/doc/${PF}/images
- doins doc/images/*
- fi
-
- insinto /usr/share/lirc/remotes
- doins -r remotes/*
-
- keepdir /etc/lirc
- if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
- newdoc "${D}"/etc/lirc/lircd.conf lircd.conf.example
- fi
-
- use static-libs || rm "${D}/usr/$(get_libdir)/liblirc_client.la"
-}
-
-pkg_preinst() {
- linux-mod_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"
- 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
- elif [[ -f "${EROOT}"/etc/lircd.conf ]]; then
- cp "${EROOT}"/etc/lircd.conf "${T}"/lircd.conf
- MOVE_OLD_LIRCD_CONF=1
- elif [[ -f "${D}"/etc/lirc/lircd.conf ]]; then
- cp "${D}"/etc/lirc/lircd.conf "${T}"/lircd.conf
- fi
-
- # stop portage from touching the config file
- if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
- rm -f "${D}"/etc/lirc/lircd.conf
- fi
-}
-
-pkg_postinst() {
- linux-mod_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
- if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then
- elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf"
- rm -f "${EROOT}"/etc/lircd.conf
- fi
- fi
-
- einfo "The new default location for lircd.conf is inside of"
- einfo "/etc/lirc/ directory"
-}
diff --git a/app-misc/lirc/lirc-0.9.0-r3.ebuild b/app-misc/lirc/lirc-0.9.0-r3.ebuild
deleted file mode 100644
index e9c8bea..0000000
--- a/app-misc/lirc/lirc-0.9.0-r3.ebuild
+++ /dev/null
@@ -1,429 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-inherit eutils linux-mod linux-info toolchain-funcs flag-o-matic autotools
-
-DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
-HOMEPAGE="http://www.lirc.org/"
-
-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="debug doc hardware-carrier transmitter static-libs X"
-
-S="${WORKDIR}/${MY_P}"
-
-RDEPEND="
- X? (
- x11-libs/libX11
- x11-libs/libSM
- x11-libs/libICE
- )
- lirc_devices_alsa_usb? ( media-libs/alsa-lib )
- lirc_devices_audio? ( >media-libs/portaudio-18 )
- lirc_devices_irman? ( media-libs/libirman )"
-
-# 2012-07-17, Ian Stakenvicius
-# A helper script that scrapes out values for nearly all of the variables below
-# from lirc's configure.ac is available at
-# https://dev.gentoo.org/~axs/helper-for-lirc-iuse.sh
-
-# This are drivers with names matching the
-# parameter --with-driver=NAME
-IUSE_LIRC_DEVICES_DIRECT="
- all userspace accent act200l act220l
- adaptec alsa_usb animax asusdh atilibusb
- atiusb audio audio_alsa avermedia avermedia_vdomate
- avermedia98 awlibusb bestbuy bestbuy2 breakoutbox
- bte bw6130 caraca chronos commandir
- cph06x creative creative_infracd
- devinput digimatrix dsp dvico ea65 ene0100
- exaudio flyvideo ftdi gvbctv5pci hauppauge
- hauppauge_dvb hercules_smarttv_stereo i2cuser
- igorplugusb iguanaIR imon imon_24g imon_knob
- imon_lcd imon_pad imon_rsc irdeo irdeo_remote
- irlink irman irreal it87 ite8709
- knc_one kworld leadtek_0007 leadtek_0010
- leadtek_pvr2000 livedrive_midi
- livedrive_seq logitech macmini
- mediafocusI mouseremote
- mouseremote_ps2 mp3anywhere mplay nslu2
- packard_bell parallel pcmak pcmak_usb
- pctv pixelview_bt878 pixelview_pak
- pixelview_pro provideo realmagic
- remotemaster sa1100 samsung sasem sb0540 serial
- silitek sir slinke streamzap tekram
- tekram_bt829 tira ttusbir tuxbox tvbox udp uirt2
- uirt2_raw usb_uirt_raw usbx wpc8769l zotac"
-
-# drivers that need special handling and
-# must have another name specified for
-# parameter --with-driver=NAME
-IUSE_LIRC_DEVICES_SPECIAL="
- serial_igor_cesko
- remote_wonder_plus xboxusb usbirboy inputlirc"
-
-IUSE_LIRC_DEVICES="${IUSE_LIRC_DEVICES_DIRECT} ${IUSE_LIRC_DEVICES_SPECIAL}"
-
-# The following are lists which are used to provide ewarns on incompatibilities
-# with the kernel:
-
-#drivers that do not build kernel modules
-NO_KMOD_BUILT_FOR_DEV="
- accent bte creative creative_infracd devinput dsp ea65 exaudio
- ftdi i2cuser irlink irreal livedrive_midi livedrive_seq logitech
- mediafocusI mouseremote mouseremote_ps2 mp3anywhere mplay mplay2
- pcmak pcmak_usb pctv realmagic remotemaster silitek tira tira_raw
- tuxbox udp uirt2 uirt2_raw usb_uirt_raw usbx"
-
-#drivers that build lirc_dev and so will conflict with kernel lirc_dev
-LIRCDEV_BUILT_FOR_DEV="all
- act200l act220l adaptec animax atiusb breakoutbox hauppauge
- hauppauge_dvb hercules_smarttv_stereo igorplugusb imon imon_24g
- imon_knob imon_lcd imon_pad imon_rsc irdeo irdeo_remote knc_one
- leadtek_pvr2000 nslu2 packard_bell parallel pixelview_bt878
- provideo sa1100 sasem serial sir tekram tekram_bt829 ttusbir
- tvbox wpc8769l zotac"
-
-#lirc_gpio drivers, which cannot be supported on kernel >= 2.6.22
-LIRC_GPIO_DEV="
- avermedia avermedia98 avermedia_vdomate bestbuy bestbuy2 chronos
- cph03x cph06x flyvideo gvbctv5pci kworld leadtek_0007 leadtek_0010
- pixelview_pak pixelview_pro"
-
-#device-driver which use libusb
-LIBUSB_USED_BY_DEV="
- all atilibusb awlibusb sasem igorplugusb imon imon_lcd imon_pad
- imon_rsc streamzap xboxusb irlink commandir"
-
-for dev in ${LIBUSB_USED_BY_DEV}; do
- DEPEND="${DEPEND} lirc_devices_${dev}? ( virtual/libusb:0 )"
-done
-
-# adding only compile-time depends
-DEPEND="${RDEPEND} ${DEPEND}
- virtual/linux-sources
- lirc_devices_ftdi? ( dev-embedded/libftdi )
- lirc_devices_all? ( dev-embedded/libftdi )"
-
-# adding only run-time depends
-RDEPEND="${RDEPEND}
- lirc_devices_usbirboy? ( app-misc/usbirboy )
- lirc_devices_inputlirc? ( app-misc/inputlircd )
- lirc_devices_iguanaIR? ( app-misc/iguanaIR )"
-
-# add all devices to IUSE
-# and ensure lirc_devices_all is not set alongside lirc_devices_*
-REQUIRED_USE="lirc_devices_all? ("
-for dev in ${IUSE_LIRC_DEVICES}; do
- IUSE="${IUSE} lirc_devices_${dev}"
- if [[ "${dev}" != "all" ]]; then
- REQUIRED_USE="${REQUIRED_USE} !lirc_devices_${dev}"
- fi
-done
-REQUIRED_USE="${REQUIRED_USE} )"
-
-add_device() {
- local dev="${1}"
- local desc="device ${dev}"
- if [[ -n "${2}" ]]; then
- desc="${2}"
- fi
-
- # Bug #187418
- if kernel_is ge 2 6 22 && [[ " ${LIRC_GPIO_DEV} " == *" ${dev} "* ]]; then
- eerror "${desc} uses lirc_gpio which fails with kernel 2.6.22 or above. Not building."
- eerror "Use 'devinput' instead, or use 'userspace' along with in-kernel drivers"
- return 0
- fi
- : ${lirc_device_count:=0}
- ((lirc_device_count++))
-
- elog "Compiling support for ${desc}"
-
- if [[ " ${LIRCDEV_BUILT_FOR_DEV} " == *" ${dev} "* ]] ; then
- if linux_chkconfig_present LIRC ; then
- ewarn "${desc} builds lirc_dev and CONFIG_LIRC is set in the kernel -- this may conflict."
- fi
- if ! linux_chkconfig_present MODULE_UNLOAD ; then
- ewarn "${desc} builds modules and CONFIG_MODULE_UNLOAD is unset in kernel."
- ewarn "You will need MODULE_UNLOAD support in your kernel."
- fi
- fi
- if [[ " ${NO_KMOD_BUILT_FOR_DEV} " == *" ${dev} "* ]] && ! linux_chkconfig_present IR_LIRC_CODEC ; then
- ewarn "${desc} builds no kernel module and CONFIG_IR_LIRC_CODEC is unset in kernel."
- fi
-
- if [[ ${lirc_device_count} -eq 2 ]] ; then
- ewarn
- ewarn "LIRC_DEVICES has more than one entry."
- ewarn "When selecting multiple devices for lirc to be supported,"
- ewarn "it can not be guaranteed that the drivers play nice together."
- ewarn "If this is not intended, then please adjust LIRC_DEVICES"
- ewarn "and re-emerge."
- ewarn
- fi
-
- MY_OPTS="${MY_OPTS} --with-driver=${dev}"
-}
-
-pkg_pretend() {
- if [[ -n "${LIRC_OPTS}" ]] ; then
- ewarn
- ewarn "LIRC_OPTS is deprecated from lirc-0.8.0-r1 on."
- ewarn
- ewarn "Please use LIRC_DEVICES from now on."
- ewarn "e.g. LIRC_DEVICES=\"serial sir\""
- ewarn
- ewarn "Flags are now set per use-flags."
- ewarn "e.g. transmitter, hardware-carrier"
-
- local opt
- local unsupported_opts=""
-
- # test for allowed options for LIRC_OPTS
- for opt in ${LIRC_OPTS}; do
- case ${opt} in
- --with-port=*|--with-irq=*|--with-timer=*|--with-tty=*)
- MY_OPTS="${MY_OPTS} ${opt}"
- ;;
- *)
- unsupported_opts="${unsupported_opts} ${opt}"
- ;;
- esac
- done
- if [[ -n ${unsupported_opts} ]]; then
- eerror "These options are no longer allowed to be set"
- eerror "with LIRC_OPTS: ${unsupported_opts}"
- die "LIRC_OPTS is no longer supported, use LIRC_DEVICES."
- fi
- fi
-}
-
-pkg_setup() {
- linux-mod_pkg_setup
-
- # set default configure options
- MY_OPTS=""
- LIRC_DRIVER_DEVICE="/dev/lirc0"
-
- if use lirc_devices_all; then
- # compile in drivers for a lot of devices
- add_device all "a lot of devices"
- else
- # compile in only requested drivers
- local dev
- for dev in ${IUSE_LIRC_DEVICES_DIRECT}; do
- if use lirc_devices_${dev}; then
- add_device ${dev}
- fi
- done
-
- if use lirc_devices_remote_wonder_plus; then
- add_device atiusb "device Remote Wonder Plus (atiusb-based)"
- fi
-
- if use lirc_devices_serial_igor_cesko; then
- add_device serial "serial with Igor Cesko design"
- MY_OPTS="${MY_OPTS} --with-igor"
- fi
-
- if use lirc_devices_imon_pad; then
- ewarn "The imon_pad driver has incorporated the previous pad2keys patch"
- ewarn "and removed the pad2keys_active option for the lirc_imon module"
- ewarn "because it is always active."
- ewarn "If you have an older imon VFD device, you may need to add the module"
- ewarn "option display_type=1 to override autodetection and force VFD mode."
- fi
-
- if use lirc_devices_xboxusb; then
- add_device atiusb "device xboxusb"
- fi
-
- if use lirc_devices_usbirboy; then
- add_device userspace "device usbirboy"
- LIRC_DRIVER_DEVICE="/dev/usbirboy"
- fi
-
- if [[ "${MY_OPTS}" == "" ]]; then
- if [[ "${PROFILE_ARCH}" == "xbox" ]]; then
- # on xbox: use special driver
- add_device atiusb "device xboxusb"
- else
- # no driver requested
- elog
- elog "Compiling only the lirc-applications, but no drivers."
- elog "Enable drivers with LIRC_DEVICES if you need them."
- MY_OPTS="--with-driver=none"
- fi
- fi
- fi
-
- use hardware-carrier && MY_OPTS="${MY_OPTS} --without-soft-carrier"
- use transmitter && MY_OPTS="${MY_OPTS} --with-transmitter"
-
- einfo
- einfo "lirc-configure-opts: ${MY_OPTS}"
- elog "Setting default lirc-device to ${LIRC_DRIVER_DEVICE}"
-
- filter-flags -Wl,-O1
-}
-
-src_prepare() {
- # Rip out dos CRLF
- edos2unix contrib/lirc.rules
-
- # Apply patches needed for some special device-types
- use lirc_devices_audio || epatch "${FILESDIR}"/lirc-0.8.4-portaudio_check.patch
- use lirc_devices_remote_wonder_plus && epatch "${FILESDIR}"/lirc-0.8.3_pre1-remotewonderplus.patch
-
- # Apply fixes for kernel-2.6.39 and above
- epatch "${FILESDIR}"/${P}-kernel-2.6.39-fixes.patch
- # Slightly massaged upstream patch to fix kfifo issues >=2.6.38
- # for bug 377033
- epatch "${FILESDIR}"/${P}-atiusb_kfifo.patch
- # Apply fixes for kernel-3.3 and above (bug 439538)
- epatch "${FILESDIR}"/${P}-kernel-3.3.0-fixes.patch
- # Apply fix for missing err() in usb.h for kernel 3.5+ (bug 444736)
- epatch "${FILESDIR}"/${P}-kernel-3.5-err-fix.patch
- # Apply fix for missing __devinit __devexit defines in kernel 3.8+ (bug 461532)
- epatch "${FILESDIR}"/${P}-kernel-3.8-fixes.patch
- # Add support for zotac remote, bug 342848
- epatch "${FILESDIR}"/${P}-add-zotac-support.patch
-
- # Do not build drivers from the top-level Makefile
- sed -i -e 's:\(SUBDIRS =\) drivers\(.*\):\1\2:' Makefile.am
-
- # remove parallel driver on SMP systems
- if linux_chkconfig_present SMP ; then
- sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.am
- fi
-
- # Bug #187418 - only need this part for lirc_devices_all as others die in pkg_setup
- if use lirc_devices_all && kernel_is ge 2 6 22 ; then
- ewarn "Disabling lirc_gpio driver as it does no longer work Kernel 2.6.22+"
- sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.am
- fi
-
- # respect CFLAGS
- sed -i -e 's:CFLAGS="-O2:CFLAGS=""\n#CFLAGS="-O2:' configure.ac
-
- # setting default device-node
- local f
- for f in configure.ac acconfig.h; do
- [[ -f "$f" ]] && sed -i -e '/#define LIRC_DRIVER_DEVICE/d' "$f"
- done
- echo "#define LIRC_DRIVER_DEVICE \"${LIRC_DRIVER_DEVICE}\"" >> acconfig.h
-
- sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die # automake 1.13
- eautoreconf
-}
-
-src_configure() {
- econf \
- --localstatedir=/var \
- --with-syslog=LOG_DAEMON \
- --enable-sandboxed \
- --with-kerneldir="${KV_DIR}" \
- --with-moduledir="/lib/modules/${KV_FULL}/misc" \
- $(use_enable debug) \
- $(use_enable static-libs static) \
- $(use_with X x) \
- ${MY_OPTS} \
- ABI="${KERNEL_ABI}" \
- ARCH="$(tc-arch-kernel)"
-}
-
-src_compile() {
- # force non-parallel make, Bug 196134 (confirmed valid for 0.9.0-r2)
- emake -j1
-
- MODULE_NAMES="lirc(misc:${S}/drivers)"
- BUILD_TARGETS="all"
- linux-mod_src_compile
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- emake -C drivers DESTDIR="${D}" install
-
- 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.8.6-r2 irexec
- newconfd "${FILESDIR}"/irexec-confd irexec
-
- if use doc ; then
- dohtml doc/html/*.html
- insinto /usr/share/doc/${PF}/images
- doins doc/images/*
- fi
-
- insinto /usr/share/lirc/remotes
- doins -r remotes/*
-
- keepdir /etc/lirc
- if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
- newdoc "${D}"/etc/lirc/lircd.conf lircd.conf.example
- fi
-
- use static-libs || rm "${D}/usr/$(get_libdir)/liblirc_client.la"
-}
-
-pkg_preinst() {
- linux-mod_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"
- 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
- elif [[ -f "${EROOT}"/etc/lircd.conf ]]; then
- cp "${EROOT}"/etc/lircd.conf "${T}"/lircd.conf
- MOVE_OLD_LIRCD_CONF=1
- elif [[ -f "${D}"/etc/lirc/lircd.conf ]]; then
- cp "${D}"/etc/lirc/lircd.conf "${T}"/lircd.conf
- fi
-
- # stop portage from touching the config file
- if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
- rm -f "${D}"/etc/lirc/lircd.conf
- fi
-}
-
-pkg_postinst() {
- linux-mod_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
- if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then
- elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf"
- rm -f "${EROOT}"/etc/lircd.conf
- fi
- fi
-
- einfo "The new default location for lircd.conf is inside of"
- einfo "/etc/lirc/ directory"
-}
diff --git a/app-misc/lirc/lirc-0.9.0-r4.ebuild b/app-misc/lirc/lirc-0.9.0-r4.ebuild
deleted file mode 100644
index 21d7790..0000000
--- a/app-misc/lirc/lirc-0.9.0-r4.ebuild
+++ /dev/null
@@ -1,431 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-inherit eutils linux-mod linux-info toolchain-funcs flag-o-matic autotools
-
-DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
-HOMEPAGE="http://www.lirc.org/"
-
-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="debug doc hardware-carrier transmitter static-libs X"
-
-S="${WORKDIR}/${MY_P}"
-
-RDEPEND="
- X? (
- x11-libs/libX11
- x11-libs/libSM
- x11-libs/libICE
- )
- lirc_devices_alsa_usb? ( media-libs/alsa-lib )
- lirc_devices_audio? ( >media-libs/portaudio-18 )
- lirc_devices_irman? ( media-libs/libirman )"
-
-# 2012-07-17, Ian Stakenvicius
-# A helper script that scrapes out values for nearly all of the variables below
-# from lirc's configure.ac is available at
-# https://dev.gentoo.org/~axs/helper-for-lirc-iuse.sh
-
-# This are drivers with names matching the
-# parameter --with-driver=NAME
-IUSE_LIRC_DEVICES_DIRECT="
- all userspace accent act200l act220l
- adaptec alsa_usb animax asusdh atilibusb
- atiusb audio audio_alsa avermedia avermedia_vdomate
- avermedia98 awlibusb bestbuy bestbuy2 breakoutbox
- bte bw6130 caraca chronos commandir
- cph06x creative creative_infracd
- devinput digimatrix dsp dvico ea65 ene0100
- exaudio flyvideo ftdi gvbctv5pci hauppauge
- hauppauge_dvb hercules_smarttv_stereo i2cuser
- igorplugusb iguanaIR imon imon_24g imon_knob
- imon_lcd imon_pad imon_rsc irdeo irdeo_remote
- irlink irman irreal it87 ite8709
- knc_one kworld leadtek_0007 leadtek_0010
- leadtek_pvr2000 livedrive_midi
- livedrive_seq logitech macmini
- mediafocusI mouseremote
- mouseremote_ps2 mp3anywhere mplay nslu2
- packard_bell parallel pcmak pcmak_usb
- pctv pixelview_bt878 pixelview_pak
- pixelview_pro provideo realmagic
- remotemaster sa1100 samsung sasem sb0540 serial
- silitek sir slinke streamzap tekram
- tekram_bt829 tira ttusbir tuxbox tvbox udp uirt2
- uirt2_raw usb_uirt_raw usbx wpc8769l zotac"
-
-# drivers that need special handling and
-# must have another name specified for
-# parameter --with-driver=NAME
-IUSE_LIRC_DEVICES_SPECIAL="
- serial_igor_cesko
- remote_wonder_plus xboxusb usbirboy inputlirc"
-
-IUSE_LIRC_DEVICES="${IUSE_LIRC_DEVICES_DIRECT} ${IUSE_LIRC_DEVICES_SPECIAL}"
-
-# The following are lists which are used to provide ewarns on incompatibilities
-# with the kernel:
-
-#drivers that do not build kernel modules
-NO_KMOD_BUILT_FOR_DEV="
- accent bte creative creative_infracd devinput dsp ea65 exaudio
- ftdi i2cuser irlink irreal livedrive_midi livedrive_seq logitech
- mediafocusI mouseremote mouseremote_ps2 mp3anywhere mplay mplay2
- pcmak pcmak_usb pctv realmagic remotemaster silitek tira tira_raw
- tuxbox udp uirt2 uirt2_raw usb_uirt_raw usbx"
-
-#drivers that build lirc_dev and so will conflict with kernel lirc_dev
-LIRCDEV_BUILT_FOR_DEV="all
- act200l act220l adaptec animax atiusb breakoutbox hauppauge
- hauppauge_dvb hercules_smarttv_stereo igorplugusb imon imon_24g
- imon_knob imon_lcd imon_pad imon_rsc irdeo irdeo_remote knc_one
- leadtek_pvr2000 nslu2 packard_bell parallel pixelview_bt878
- provideo sa1100 sasem serial sir tekram tekram_bt829 ttusbir
- tvbox wpc8769l zotac"
-
-#lirc_gpio drivers, which cannot be supported on kernel >= 2.6.22
-LIRC_GPIO_DEV="
- avermedia avermedia98 avermedia_vdomate bestbuy bestbuy2 chronos
- cph03x cph06x flyvideo gvbctv5pci kworld leadtek_0007 leadtek_0010
- pixelview_pak pixelview_pro"
-
-#device-driver which use libusb
-LIBUSB_USED_BY_DEV="
- all atilibusb awlibusb sasem igorplugusb imon imon_lcd imon_pad
- imon_rsc streamzap xboxusb irlink commandir"
-
-for dev in ${LIBUSB_USED_BY_DEV}; do
- DEPEND="${DEPEND} lirc_devices_${dev}? ( virtual/libusb:0 )"
-done
-
-# adding only compile-time depends
-DEPEND="${RDEPEND} ${DEPEND}
- virtual/linux-sources
- lirc_devices_ftdi? ( dev-embedded/libftdi )
- lirc_devices_all? ( dev-embedded/libftdi )"
-
-# adding only run-time depends
-RDEPEND="${RDEPEND}
- lirc_devices_usbirboy? ( app-misc/usbirboy )
- lirc_devices_inputlirc? ( app-misc/inputlircd )
- lirc_devices_iguanaIR? ( app-misc/iguanaIR )"
-
-# add all devices to IUSE
-# and ensure lirc_devices_all is not set alongside lirc_devices_*
-REQUIRED_USE="lirc_devices_all? ("
-for dev in ${IUSE_LIRC_DEVICES}; do
- IUSE="${IUSE} lirc_devices_${dev}"
- if [[ "${dev}" != "all" ]]; then
- REQUIRED_USE="${REQUIRED_USE} !lirc_devices_${dev}"
- fi
-done
-REQUIRED_USE="${REQUIRED_USE} )"
-
-add_device() {
- local dev="${1}"
- local desc="device ${dev}"
- if [[ -n "${2}" ]]; then
- desc="${2}"
- fi
-
- # Bug #187418
- if kernel_is ge 2 6 22 && [[ " ${LIRC_GPIO_DEV} " == *" ${dev} "* ]]; then
- eerror "${desc} uses lirc_gpio which fails with kernel 2.6.22 or above. Not building."
- eerror "Use 'devinput' instead, or use 'userspace' along with in-kernel drivers"
- return 0
- fi
- : ${lirc_device_count:=0}
- ((lirc_device_count++))
-
- elog "Compiling support for ${desc}"
-
- if [[ " ${LIRCDEV_BUILT_FOR_DEV} " == *" ${dev} "* ]] ; then
- if linux_chkconfig_present LIRC ; then
- ewarn "${desc} builds lirc_dev and CONFIG_LIRC is set in the kernel -- this may conflict."
- fi
- if ! linux_chkconfig_present MODULE_UNLOAD ; then
- ewarn "${desc} builds modules and CONFIG_MODULE_UNLOAD is unset in kernel."
- ewarn "You will need MODULE_UNLOAD support in your kernel."
- fi
- fi
- if [[ " ${NO_KMOD_BUILT_FOR_DEV} " == *" ${dev} "* ]] && ! linux_chkconfig_present IR_LIRC_CODEC ; then
- ewarn "${desc} builds no kernel module and CONFIG_IR_LIRC_CODEC is unset in kernel."
- fi
-
- if [[ ${lirc_device_count} -eq 2 ]] ; then
- ewarn
- ewarn "LIRC_DEVICES has more than one entry."
- ewarn "When selecting multiple devices for lirc to be supported,"
- ewarn "it can not be guaranteed that the drivers play nice together."
- ewarn "If this is not intended, then please adjust LIRC_DEVICES"
- ewarn "and re-emerge."
- ewarn
- fi
-
- MY_OPTS="${MY_OPTS} --with-driver=${dev}"
-}
-
-pkg_pretend() {
- if [[ -n "${LIRC_OPTS}" ]] ; then
- ewarn
- ewarn "LIRC_OPTS is deprecated from lirc-0.8.0-r1 on."
- ewarn
- ewarn "Please use LIRC_DEVICES from now on."
- ewarn "e.g. LIRC_DEVICES=\"serial sir\""
- ewarn
- ewarn "Flags are now set per use-flags."
- ewarn "e.g. transmitter, hardware-carrier"
-
- local opt
- local unsupported_opts=""
-
- # test for allowed options for LIRC_OPTS
- for opt in ${LIRC_OPTS}; do
- case ${opt} in
- --with-port=*|--with-irq=*|--with-timer=*|--with-tty=*)
- MY_OPTS="${MY_OPTS} ${opt}"
- ;;
- *)
- unsupported_opts="${unsupported_opts} ${opt}"
- ;;
- esac
- done
- if [[ -n ${unsupported_opts} ]]; then
- eerror "These options are no longer allowed to be set"
- eerror "with LIRC_OPTS: ${unsupported_opts}"
- die "LIRC_OPTS is no longer supported, use LIRC_DEVICES."
- fi
- fi
-}
-
-pkg_setup() {
- linux-mod_pkg_setup
-
- # set default configure options
- MY_OPTS=""
- LIRC_DRIVER_DEVICE="/dev/lirc0"
-
- if use lirc_devices_all; then
- # compile in drivers for a lot of devices
- add_device all "a lot of devices"
- else
- # compile in only requested drivers
- local dev
- for dev in ${IUSE_LIRC_DEVICES_DIRECT}; do
- if use lirc_devices_${dev}; then
- add_device ${dev}
- fi
- done
-
- if use lirc_devices_remote_wonder_plus; then
- add_device atiusb "device Remote Wonder Plus (atiusb-based)"
- fi
-
- if use lirc_devices_serial_igor_cesko; then
- add_device serial "serial with Igor Cesko design"
- MY_OPTS="${MY_OPTS} --with-igor"
- fi
-
- if use lirc_devices_imon_pad; then
- ewarn "The imon_pad driver has incorporated the previous pad2keys patch"
- ewarn "and removed the pad2keys_active option for the lirc_imon module"
- ewarn "because it is always active."
- ewarn "If you have an older imon VFD device, you may need to add the module"
- ewarn "option display_type=1 to override autodetection and force VFD mode."
- fi
-
- if use lirc_devices_xboxusb; then
- add_device atiusb "device xboxusb"
- fi
-
- if use lirc_devices_usbirboy; then
- add_device userspace "device usbirboy"
- LIRC_DRIVER_DEVICE="/dev/usbirboy"
- fi
-
- if [[ "${MY_OPTS}" == "" ]]; then
- if [[ "${PROFILE_ARCH}" == "xbox" ]]; then
- # on xbox: use special driver
- add_device atiusb "device xboxusb"
- else
- # no driver requested
- elog
- elog "Compiling only the lirc-applications, but no drivers."
- elog "Enable drivers with LIRC_DEVICES if you need them."
- MY_OPTS="--with-driver=none"
- fi
- fi
- fi
-
- use hardware-carrier && MY_OPTS="${MY_OPTS} --without-soft-carrier"
- use transmitter && MY_OPTS="${MY_OPTS} --with-transmitter"
-
- einfo
- einfo "lirc-configure-opts: ${MY_OPTS}"
- elog "Setting default lirc-device to ${LIRC_DRIVER_DEVICE}"
-
- filter-flags -Wl,-O1
-}
-
-src_prepare() {
- # Rip out dos CRLF
- edos2unix contrib/lirc.rules
-
- # Apply patches needed for some special device-types
- use lirc_devices_audio || epatch "${FILESDIR}"/lirc-0.8.4-portaudio_check.patch
- use lirc_devices_remote_wonder_plus && epatch "${FILESDIR}"/lirc-0.8.3_pre1-remotewonderplus.patch
-
- # Apply fixes for kernel-2.6.39 and above
- epatch "${FILESDIR}"/${P}-kernel-2.6.39-fixes.patch
- # Slightly massaged upstream patch to fix kfifo issues >=2.6.38
- # for bug 377033
- epatch "${FILESDIR}"/${P}-atiusb_kfifo.patch
- # Apply fixes for kernel-3.3 and above (bug 439538)
- epatch "${FILESDIR}"/${P}-kernel-3.3.0-fixes.patch
- # Apply fix for missing err() in usb.h for kernel 3.5+ (bug 444736)
- epatch "${FILESDIR}"/${P}-kernel-3.5-err-fix.patch
- # Apply fix for missing __devinit __devexit defines in kernel 3.8+ (bug 461532)
- epatch "${FILESDIR}"/${P}-kernel-3.8-fixes.patch
- # Add support for zotac remote, bug 342848
- epatch "${FILESDIR}"/${P}-add-zotac-support.patch
- # Use fixed font
- epatch "${FILESDIR}"/${P}-fixed-font.patch
-
- # Do not build drivers from the top-level Makefile
- sed -i -e 's:\(SUBDIRS =\) drivers\(.*\):\1\2:' Makefile.am
-
- # remove parallel driver on SMP systems
- if linux_chkconfig_present SMP ; then
- sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.am
- fi
-
- # Bug #187418 - only need this part for lirc_devices_all as others die in pkg_setup
- if use lirc_devices_all && kernel_is ge 2 6 22 ; then
- ewarn "Disabling lirc_gpio driver as it does no longer work Kernel 2.6.22+"
- sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.am
- fi
-
- # respect CFLAGS
- sed -i -e 's:CFLAGS="-O2:CFLAGS=""\n#CFLAGS="-O2:' configure.ac
-
- # setting default device-node
- local f
- for f in configure.ac acconfig.h; do
- [[ -f "$f" ]] && sed -i -e '/#define LIRC_DRIVER_DEVICE/d' "$f"
- done
- echo "#define LIRC_DRIVER_DEVICE \"${LIRC_DRIVER_DEVICE}\"" >> acconfig.h
-
- sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die # automake 1.13
- eautoreconf
-}
-
-src_configure() {
- econf \
- --localstatedir=/var \
- --with-syslog=LOG_DAEMON \
- --enable-sandboxed \
- --with-kerneldir="${KV_DIR}" \
- --with-moduledir="/lib/modules/${KV_FULL}/misc" \
- $(use_enable debug) \
- $(use_enable static-libs static) \
- $(use_with X x) \
- ${MY_OPTS} \
- ABI="${KERNEL_ABI}" \
- ARCH="$(tc-arch-kernel)"
-}
-
-src_compile() {
- # force non-parallel make, Bug 196134 (confirmed valid for 0.9.0-r2)
- emake -j1
-
- MODULE_NAMES="lirc(misc:${S}/drivers)"
- BUILD_TARGETS="all"
- linux-mod_src_compile
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- emake -C drivers DESTDIR="${D}" install
-
- 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.8.6-r2 irexec
- newconfd "${FILESDIR}"/irexec-confd irexec
-
- if use doc ; then
- dohtml doc/html/*.html
- insinto /usr/share/doc/${PF}/images
- doins doc/images/*
- fi
-
- insinto /usr/share/lirc/remotes
- doins -r remotes/*
-
- keepdir /etc/lirc
- if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
- newdoc "${D}"/etc/lirc/lircd.conf lircd.conf.example
- fi
-
- use static-libs || rm "${D}/usr/$(get_libdir)/liblirc_client.la"
-}
-
-pkg_preinst() {
- linux-mod_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"
- 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
- elif [[ -f "${EROOT}"/etc/lircd.conf ]]; then
- cp "${EROOT}"/etc/lircd.conf "${T}"/lircd.conf
- MOVE_OLD_LIRCD_CONF=1
- elif [[ -f "${D}"/etc/lirc/lircd.conf ]]; then
- cp "${D}"/etc/lirc/lircd.conf "${T}"/lircd.conf
- fi
-
- # stop portage from touching the config file
- if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
- rm -f "${D}"/etc/lirc/lircd.conf
- fi
-}
-
-pkg_postinst() {
- linux-mod_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
- if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then
- elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf"
- rm -f "${EROOT}"/etc/lircd.conf
- fi
- fi
-
- einfo "The new default location for lircd.conf is inside of"
- einfo "/etc/lirc/ directory"
-}
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2016-01-10 10:07 Sven Wegener
0 siblings, 0 replies; 64+ messages in thread
From: Sven Wegener @ 2016-01-10 10:07 UTC (permalink / raw
To: gentoo-commits
commit: a4a9d2302c43df63645c3e0b8f129e0b55c6dcb1
Author: Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 10 10:06:58 2016 +0000
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Sun Jan 10 10:06:58 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4a9d230
app-misc/lirc/lirc: Add SLOT dep on libftdi
Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>
app-misc/lirc/lirc-0.9.0-r5.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/app-misc/lirc/lirc-0.9.0-r5.ebuild b/app-misc/lirc/lirc-0.9.0-r5.ebuild
index 52f34f0..4cbefa6 100644
--- a/app-misc/lirc/lirc-0.9.0-r5.ebuild
+++ b/app-misc/lirc/lirc-0.9.0-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -114,8 +114,8 @@ done
# adding only compile-time depends
DEPEND="${RDEPEND} ${DEPEND}
virtual/linux-sources
- lirc_devices_ftdi? ( dev-embedded/libftdi )
- lirc_devices_all? ( dev-embedded/libftdi )"
+ lirc_devices_ftdi? ( dev-embedded/libftdi:0 )
+ lirc_devices_all? ( dev-embedded/libftdi:0 )"
# adding only run-time depends
RDEPEND="${RDEPEND}
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2016-04-26 17:53 Austin English
0 siblings, 0 replies; 64+ messages in thread
From: Austin English @ 2016-04-26 17:53 UTC (permalink / raw
To: gentoo-commits
commit: 5198ef950a5b39e2ec4ca5d939285f411e7b2150
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 26 17:52:45 2016 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Tue Apr 26 17:53:46 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5198ef95
app-misc/lirc: remove lirc-0.9.0-r5
Package-Manager: portage-2.2.26
app-misc/lirc/lirc-0.9.0-r5.ebuild | 429 -------------------------------------
1 file changed, 429 deletions(-)
diff --git a/app-misc/lirc/lirc-0.9.0-r5.ebuild b/app-misc/lirc/lirc-0.9.0-r5.ebuild
deleted file mode 100644
index 4cbefa6..0000000
--- a/app-misc/lirc/lirc-0.9.0-r5.ebuild
+++ /dev/null
@@ -1,429 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-inherit eutils linux-mod linux-info systemd toolchain-funcs flag-o-matic autotools
-
-DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
-HOMEPAGE="http://www.lirc.org/"
-
-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="debug doc hardware-carrier transmitter static-libs X"
-
-S="${WORKDIR}/${MY_P}"
-
-RDEPEND="
- X? (
- x11-libs/libX11
- x11-libs/libSM
- x11-libs/libICE
- )
- lirc_devices_alsa_usb? ( media-libs/alsa-lib )
- lirc_devices_audio? ( >media-libs/portaudio-18 )
- lirc_devices_irman? ( media-libs/libirman )"
-
-# 2012-07-17, Ian Stakenvicius
-# A helper script that scrapes out values for nearly all of the variables below
-# from lirc's configure.ac is available at
-# https://dev.gentoo.org/~axs/helper-for-lirc-iuse.sh
-
-# This are drivers with names matching the
-# parameter --with-driver=NAME
-IUSE_LIRC_DEVICES_DIRECT="
- all userspace accent act200l act220l
- adaptec alsa_usb animax asusdh atilibusb
- atiusb audio audio_alsa avermedia avermedia_vdomate
- avermedia98 awlibusb bestbuy bestbuy2 breakoutbox
- bte bw6130 caraca chronos commandir
- cph06x creative creative_infracd
- devinput digimatrix dsp dvico ea65 ene0100
- exaudio flyvideo ftdi gvbctv5pci hauppauge
- hauppauge_dvb hercules_smarttv_stereo i2cuser
- igorplugusb iguanaIR imon imon_24g imon_knob
- imon_lcd imon_pad imon_rsc irdeo irdeo_remote
- irlink irman irreal it87 ite8709
- knc_one kworld leadtek_0007 leadtek_0010
- leadtek_pvr2000 livedrive_midi
- livedrive_seq logitech macmini
- mediafocusI mouseremote
- mouseremote_ps2 mp3anywhere mplay nslu2
- packard_bell parallel pcmak pcmak_usb
- pctv pixelview_bt878 pixelview_pak
- pixelview_pro provideo realmagic
- remotemaster sa1100 samsung sasem sb0540 serial
- silitek sir slinke streamzap tekram
- tekram_bt829 tira ttusbir tuxbox tvbox udp uirt2
- uirt2_raw usb_uirt_raw usbx wpc8769l zotac"
-
-# drivers that need special handling and
-# must have another name specified for
-# parameter --with-driver=NAME
-IUSE_LIRC_DEVICES_SPECIAL="
- serial_igor_cesko
- remote_wonder_plus xboxusb inputlirc"
-
-IUSE_LIRC_DEVICES="${IUSE_LIRC_DEVICES_DIRECT} ${IUSE_LIRC_DEVICES_SPECIAL}"
-
-# The following are lists which are used to provide ewarns on incompatibilities
-# with the kernel:
-
-#drivers that do not build kernel modules
-NO_KMOD_BUILT_FOR_DEV="
- accent bte creative creative_infracd devinput dsp ea65 exaudio
- ftdi i2cuser irlink irreal livedrive_midi livedrive_seq logitech
- mediafocusI mouseremote mouseremote_ps2 mp3anywhere mplay mplay2
- pcmak pcmak_usb pctv realmagic remotemaster silitek tira tira_raw
- tuxbox udp uirt2 uirt2_raw usb_uirt_raw usbx"
-
-#drivers that build lirc_dev and so will conflict with kernel lirc_dev
-LIRCDEV_BUILT_FOR_DEV="all
- act200l act220l adaptec animax atiusb breakoutbox hauppauge
- hauppauge_dvb hercules_smarttv_stereo igorplugusb imon imon_24g
- imon_knob imon_lcd imon_pad imon_rsc irdeo irdeo_remote knc_one
- leadtek_pvr2000 nslu2 packard_bell parallel pixelview_bt878
- provideo sa1100 sasem serial sir tekram tekram_bt829 ttusbir
- tvbox wpc8769l zotac"
-
-#lirc_gpio drivers, which cannot be supported on kernel >= 2.6.22
-LIRC_GPIO_DEV="
- avermedia avermedia98 avermedia_vdomate bestbuy bestbuy2 chronos
- cph03x cph06x flyvideo gvbctv5pci kworld leadtek_0007 leadtek_0010
- pixelview_pak pixelview_pro"
-
-#device-driver which use libusb
-LIBUSB_USED_BY_DEV="
- all atilibusb awlibusb sasem igorplugusb imon imon_lcd imon_pad
- imon_rsc streamzap xboxusb irlink commandir"
-
-for dev in ${LIBUSB_USED_BY_DEV}; do
- DEPEND="${DEPEND} lirc_devices_${dev}? ( virtual/libusb:0 )"
-done
-
-# adding only compile-time depends
-DEPEND="${RDEPEND} ${DEPEND}
- virtual/linux-sources
- lirc_devices_ftdi? ( dev-embedded/libftdi:0 )
- lirc_devices_all? ( dev-embedded/libftdi:0 )"
-
-# adding only run-time depends
-RDEPEND="${RDEPEND}
- lirc_devices_inputlirc? ( app-misc/inputlircd )
- lirc_devices_iguanaIR? ( app-misc/iguanaIR )"
-
-# add all devices to IUSE
-# and ensure lirc_devices_all is not set alongside lirc_devices_*
-REQUIRED_USE="lirc_devices_all? ("
-for dev in ${IUSE_LIRC_DEVICES}; do
- IUSE="${IUSE} lirc_devices_${dev}"
- if [[ "${dev}" != "all" ]]; then
- REQUIRED_USE="${REQUIRED_USE} !lirc_devices_${dev}"
- fi
-done
-REQUIRED_USE="${REQUIRED_USE} )"
-
-add_device() {
- local dev="${1}"
- local desc="device ${dev}"
- if [[ -n "${2}" ]]; then
- desc="${2}"
- fi
-
- # Bug #187418
- if kernel_is ge 2 6 22 && [[ " ${LIRC_GPIO_DEV} " == *" ${dev} "* ]]; then
- eerror "${desc} uses lirc_gpio which fails with kernel 2.6.22 or above. Not building."
- eerror "Use 'devinput' instead, or use 'userspace' along with in-kernel drivers"
- return 0
- fi
- : ${lirc_device_count:=0}
- ((lirc_device_count++))
-
- elog "Compiling support for ${desc}"
-
- if [[ " ${LIRCDEV_BUILT_FOR_DEV} " == *" ${dev} "* ]] ; then
- if linux_chkconfig_present LIRC ; then
- ewarn "${desc} builds lirc_dev and CONFIG_LIRC is set in the kernel -- this may conflict."
- fi
- if ! linux_chkconfig_present MODULE_UNLOAD ; then
- ewarn "${desc} builds modules and CONFIG_MODULE_UNLOAD is unset in kernel."
- ewarn "You will need MODULE_UNLOAD support in your kernel."
- fi
- fi
- if [[ " ${NO_KMOD_BUILT_FOR_DEV} " == *" ${dev} "* ]] && ! linux_chkconfig_present IR_LIRC_CODEC ; then
- ewarn "${desc} builds no kernel module and CONFIG_IR_LIRC_CODEC is unset in kernel."
- fi
-
- if [[ ${lirc_device_count} -eq 2 ]] ; then
- ewarn
- ewarn "LIRC_DEVICES has more than one entry."
- ewarn "When selecting multiple devices for lirc to be supported,"
- ewarn "it can not be guaranteed that the drivers play nice together."
- ewarn "If this is not intended, then please adjust LIRC_DEVICES"
- ewarn "and re-emerge."
- ewarn
- fi
-
- MY_OPTS="${MY_OPTS} --with-driver=${dev}"
-}
-
-pkg_pretend() {
- if [[ -n "${LIRC_OPTS}" ]] ; then
- ewarn
- ewarn "LIRC_OPTS is deprecated from lirc-0.8.0-r1 on."
- ewarn
- ewarn "Please use LIRC_DEVICES from now on."
- ewarn "e.g. LIRC_DEVICES=\"serial sir\""
- ewarn
- ewarn "Flags are now set per use-flags."
- ewarn "e.g. transmitter, hardware-carrier"
-
- local opt
- local unsupported_opts=""
-
- # test for allowed options for LIRC_OPTS
- for opt in ${LIRC_OPTS}; do
- case ${opt} in
- --with-port=*|--with-irq=*|--with-timer=*|--with-tty=*)
- MY_OPTS="${MY_OPTS} ${opt}"
- ;;
- *)
- unsupported_opts="${unsupported_opts} ${opt}"
- ;;
- esac
- done
- if [[ -n ${unsupported_opts} ]]; then
- eerror "These options are no longer allowed to be set"
- eerror "with LIRC_OPTS: ${unsupported_opts}"
- die "LIRC_OPTS is no longer supported, use LIRC_DEVICES."
- fi
- fi
-}
-
-pkg_setup() {
- linux-mod_pkg_setup
-
- # set default configure options
- MY_OPTS=""
- LIRC_DRIVER_DEVICE="/dev/lirc0"
-
- if use lirc_devices_all; then
- # compile in drivers for a lot of devices
- add_device all "a lot of devices"
- else
- # compile in only requested drivers
- local dev
- for dev in ${IUSE_LIRC_DEVICES_DIRECT}; do
- if use lirc_devices_${dev}; then
- add_device ${dev}
- fi
- done
-
- if use lirc_devices_remote_wonder_plus; then
- add_device atiusb "device Remote Wonder Plus (atiusb-based)"
- fi
-
- if use lirc_devices_serial_igor_cesko; then
- add_device serial "serial with Igor Cesko design"
- MY_OPTS="${MY_OPTS} --with-igor"
- fi
-
- if use lirc_devices_imon_pad; then
- ewarn "The imon_pad driver has incorporated the previous pad2keys patch"
- ewarn "and removed the pad2keys_active option for the lirc_imon module"
- ewarn "because it is always active."
- ewarn "If you have an older imon VFD device, you may need to add the module"
- ewarn "option display_type=1 to override autodetection and force VFD mode."
- fi
-
- if use lirc_devices_xboxusb; then
- add_device atiusb "device xboxusb"
- fi
-
- if [[ "${MY_OPTS}" == "" ]]; then
- if [[ "${PROFILE_ARCH}" == "xbox" ]]; then
- # on xbox: use special driver
- add_device atiusb "device xboxusb"
- else
- # no driver requested
- elog
- elog "Compiling only the lirc-applications, but no drivers."
- elog "Enable drivers with LIRC_DEVICES if you need them."
- MY_OPTS="--with-driver=none"
- fi
- fi
- fi
-
- use hardware-carrier && MY_OPTS="${MY_OPTS} --without-soft-carrier"
- use transmitter && MY_OPTS="${MY_OPTS} --with-transmitter"
-
- einfo
- einfo "lirc-configure-opts: ${MY_OPTS}"
- elog "Setting default lirc-device to ${LIRC_DRIVER_DEVICE}"
-
- filter-flags -Wl,-O1
-}
-
-src_prepare() {
- # Rip out dos CRLF
- edos2unix contrib/lirc.rules
-
- # Apply patches needed for some special device-types
- use lirc_devices_audio || epatch "${FILESDIR}"/lirc-0.8.4-portaudio_check.patch
- use lirc_devices_remote_wonder_plus && epatch "${FILESDIR}"/lirc-0.8.3_pre1-remotewonderplus.patch
-
- # Apply fixes for kernel-2.6.39 and above
- epatch "${FILESDIR}"/${P}-kernel-2.6.39-fixes.patch
- # Slightly massaged upstream patch to fix kfifo issues >=2.6.38
- # for bug 377033
- epatch "${FILESDIR}"/${P}-atiusb_kfifo.patch
- # Apply fixes for kernel-3.3 and above (bug 439538)
- epatch "${FILESDIR}"/${P}-kernel-3.3.0-fixes.patch
- # Apply fix for missing err() in usb.h for kernel 3.5+ (bug 444736)
- epatch "${FILESDIR}"/${P}-kernel-3.5-err-fix.patch
- # Apply fix for missing __devinit __devexit defines in kernel 3.8+ (bug 461532)
- epatch "${FILESDIR}"/${P}-kernel-3.8-fixes.patch
- # Add support for zotac remote, bug 342848
- epatch "${FILESDIR}"/${P}-add-zotac-support.patch
- # Use fixed font
- epatch "${FILESDIR}"/${P}-fixed-font.patch
-
- # Do not build drivers from the top-level Makefile
- sed -i -e 's:\(SUBDIRS =\) drivers\(.*\):\1\2:' Makefile.am
-
- # remove parallel driver on SMP systems
- if linux_chkconfig_present SMP ; then
- sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.am
- fi
-
- # Bug #187418 - only need this part for lirc_devices_all as others die in pkg_setup
- if use lirc_devices_all && kernel_is ge 2 6 22 ; then
- ewarn "Disabling lirc_gpio driver as it does no longer work Kernel 2.6.22+"
- sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.am
- fi
-
- # respect CFLAGS
- sed -i -e 's:CFLAGS="-O2:CFLAGS=""\n#CFLAGS="-O2:' configure.ac
-
- # setting default device-node
- local f
- for f in configure.ac acconfig.h; do
- [[ -f "$f" ]] && sed -i -e '/#define LIRC_DRIVER_DEVICE/d' "$f"
- done
- echo "#define LIRC_DRIVER_DEVICE \"${LIRC_DRIVER_DEVICE}\"" >> acconfig.h
-
- sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die # automake 1.13
- eautoreconf
-}
-
-src_configure() {
- econf \
- --localstatedir=/var \
- --with-syslog=LOG_DAEMON \
- --enable-sandboxed \
- --with-kerneldir="${KV_DIR}" \
- --with-moduledir="/lib/modules/${KV_FULL}/misc" \
- $(use_enable debug) \
- $(use_enable static-libs static) \
- $(use_with X x) \
- ${MY_OPTS} \
- ABI="${KERNEL_ABI}" \
- ARCH="$(tc-arch-kernel)"
-}
-
-src_compile() {
- # force non-parallel make, Bug 196134 (confirmed valid for 0.9.0-r2)
- emake -j1
-
- MODULE_NAMES="lirc(misc:${S}/drivers)"
- BUILD_TARGETS="all"
- linux-mod_src_compile
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- emake -C drivers DESTDIR="${D}" install
-
- 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.8.6-r2 irexec
- newconfd "${FILESDIR}"/irexec-confd irexec
-
- systemd_dounit "${FILESDIR}"/irexec.service
- systemd_dounit "${FILESDIR}"/lirc.service
- systemd_dounit "${FILESDIR}"/lircm.service
-
- if use doc ; then
- dohtml doc/html/*.html
- insinto /usr/share/doc/${PF}/images
- doins doc/images/*
- fi
-
- insinto /usr/share/lirc/remotes
- doins -r remotes/*
-
- keepdir /etc/lirc
- if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
- newdoc "${D}"/etc/lirc/lircd.conf lircd.conf.example
- fi
-
- use static-libs || rm "${D}/usr/$(get_libdir)/liblirc_client.la"
-}
-
-pkg_preinst() {
- linux-mod_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"
- 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
- elif [[ -f "${EROOT}"/etc/lircd.conf ]]; then
- cp "${EROOT}"/etc/lircd.conf "${T}"/lircd.conf
- MOVE_OLD_LIRCD_CONF=1
- elif [[ -f "${D}"/etc/lirc/lircd.conf ]]; then
- cp "${D}"/etc/lirc/lircd.conf "${T}"/lircd.conf
- fi
-
- # stop portage from touching the config file
- if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
- rm -f "${D}"/etc/lirc/lircd.conf
- fi
-}
-
-pkg_postinst() {
- linux-mod_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
- if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then
- elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf"
- rm -f "${EROOT}"/etc/lircd.conf
- fi
- fi
-
- einfo "The new default location for lircd.conf is inside of"
- einfo "/etc/lirc/ directory"
-}
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2016-07-08 11:38 Patrice Clement
0 siblings, 0 replies; 64+ messages in thread
From: Patrice Clement @ 2016-07-08 11:38 UTC (permalink / raw
To: gentoo-commits
commit: fba45ff6829ae469ccec2e5385b487dd182897d7
Author: Craig Andrews <candrews <AT> integralblue <DOT> com>
AuthorDate: Thu Jul 7 14:30:39 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Jul 8 11:10:43 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fba45ff6
app-misc/lirc: version bump to-0.9.4a
Gentoo-Bug: https://bugs.gentoo.org/588242
Closes: https://github.com/gentoo/gentoo/pull/1842
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
app-misc/lirc/Manifest | 1 +
app-misc/lirc/lirc-0.9.4a.ebuild | 125 +++++++++++++++++++++++++++++++++++++++
2 files changed, 126 insertions(+)
diff --git a/app-misc/lirc/Manifest b/app-misc/lirc/Manifest
index f9c2e81..2545d62 100644
--- a/app-misc/lirc/Manifest
+++ b/app-misc/lirc/Manifest
@@ -1,2 +1,3 @@
DIST lirc-0.9.0.tar.bz2 857286 SHA256 6323afae6ad498d4369675f77ec3dbb680fe661bea586aa296e67f2e2daba4ff SHA512 e91534c63e6065bd7da3b15e1676edf1672b8beb21864a6825df86247d7d165bf2dee6f8191732933e24e42a406e46afc55559948e4061eed2de7b08fac13431 WHIRLPOOL 0a1c00b07898aa7a5d78865fb73c6d26c6331dd0a4945773a801d29e40298b365eb58cae113a95fcf73be678a24ac082ad0868e8051303d732882fb82a859a7b
DIST lirc-0.9.4.tar.bz2 2291164 SHA256 dd18a6751674fd61e4a96eebc3b9e5c883389d6230811943513443522dfc5dd0 SHA512 0220cfa0e1900691eed3d6b0624c27e0a99825cd60303304eee7c60e3ae1d8e939d05d32680da64cdbf764919708888ce05803e9ab2423f4bf019b4acd8542f1 WHIRLPOOL 83390295e55445f2d10372e1515b0163d5b3b1e9903f132e018d975d66998d98ffee1caaa1fe26577a0ce18fce20ec025fd5cc0aaf5074728269b12e84d55268
+DIST lirc-0.9.4a.tar.bz2 2292119 SHA256 386086a74c7d12e7e8f26f7dbc8f40d20b9968c9ad2a42599483a51dd2da03ba SHA512 16be0ac5dd9b07d717ceba63cdc38c0db4a2bdcfc373ca6346d7cd4ab2cd2973aa7585d10b045fcaea952a3aabf7617c564ccb8268db6c62b172683a4b2cc188 WHIRLPOOL 93431c43d2dd31081e97113e2d49134de7feb29be53508900b3360408f7a099becf169fcebd0f6fc196280c594dc83d1299617ee54b65452828492db9bcd09ad
diff --git a/app-misc/lirc/lirc-0.9.4a.ebuild b/app-misc/lirc/lirc-0.9.4a.ebuild
new file mode 100644
index 0000000..63a2b92
--- /dev/null
+++ b/app-misc/lirc/lirc-0.9.4a.ebuild
@@ -0,0 +1,125 @@
+# 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 )
+"
+
+src_configure() {
+ filter-flags -Wl,-O1
+ econf \
+ $(use_enable static-libs static) \
+ $(use_with X x)
+}
+
+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 irexec
+ newconfd "${FILESDIR}"/irexec-confd irexec
+
+ if use doc ; then
+ dodoc -r doc/html
+ fi
+
+ 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
+}
+
+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"
+}
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2016-07-08 11:44 Patrice Clement
0 siblings, 0 replies; 64+ messages in thread
From: Patrice Clement @ 2016-07-08 11:44 UTC (permalink / raw
To: gentoo-commits
commit: dd3a17f2d5560ae4ebee7a912f5fb80d3ca0c82a
Author: Craig Andrews <candrews <AT> integralblue <DOT> com>
AuthorDate: Wed Jul 6 21:41:52 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Jul 8 11:15:53 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd3a17f2
app-misc/lirc-0.9.4: don't try to install doc/images
upstream removed doc/images, so don't try to install it
Gentoo-Bug: https://bugs.gentoo.org/587788
Closes: https://github.com/gentoo/gentoo/pull/1838
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
app-misc/lirc/lirc-0.9.4.ebuild | 2 --
1 file changed, 2 deletions(-)
diff --git a/app-misc/lirc/lirc-0.9.4.ebuild b/app-misc/lirc/lirc-0.9.4.ebuild
index c78d883..1b34cd3 100644
--- a/app-misc/lirc/lirc-0.9.4.ebuild
+++ b/app-misc/lirc/lirc-0.9.4.ebuild
@@ -72,8 +72,6 @@ src_install() {
if use doc ; then
dodoc -r doc/html
- insinto /usr/share/doc/${PF}/images
- doins doc/images/*
fi
keepdir /etc/lirc
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2016-07-08 11:48 Patrice Clement
0 siblings, 0 replies; 64+ messages in thread
From: Patrice Clement @ 2016-07-08 11:48 UTC (permalink / raw
To: gentoo-commits
commit: 14651c90aa1f5ce03a64d5cfe73c51c2f7894ecf
Author: Craig Andrews <candrews <AT> integralblue <DOT> com>
AuthorDate: Wed Jul 6 21:27:49 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Jul 8 11:20:29 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14651c90
app-misc/lirc-0.9.4: add dependency on virtual/libusb:0
Gentoo-Bug: https://bugs.gentoo.org/587840
Closes: https://github.com/gentoo/gentoo/pull/1837
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
app-misc/lirc/lirc-0.9.4.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/app-misc/lirc/lirc-0.9.4.ebuild b/app-misc/lirc/lirc-0.9.4.ebuild
index 1b34cd3..3d735c5 100644
--- a/app-misc/lirc/lirc-0.9.4.ebuild
+++ b/app-misc/lirc/lirc-0.9.4.ebuild
@@ -48,6 +48,7 @@ RDEPEND="
iguanair? ( app-misc/iguanaIR )
ftdi? ( dev-embedded/libftdi:0 )
inputlirc? ( app-misc/inputlircd )
+ virtual/libusb:0
"
src_configure() {
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2016-07-30 8:31 David Seifert
0 siblings, 0 replies; 64+ messages in thread
From: David Seifert @ 2016-07-30 8:31 UTC (permalink / raw
To: gentoo-commits
commit: b6fc4b167abbbc56620169a1bfc845e347e0de94
Author: Craig Andrews <candrews <AT> integralblue <DOT> com>
AuthorDate: Mon Jul 18 14:30:35 2016 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Jul 30 08:29:45 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6fc4b16
app-misc/lirc-0.9.4a: workaround parallel make bug
Gentoo-bug: 588864
Closes: https://github.com/gentoo/gentoo/pull/1911
Signed-off-by: David Seifert <soap <AT> gentoo.org>
app-misc/lirc/lirc-0.9.4a.ebuild | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/app-misc/lirc/lirc-0.9.4a.ebuild b/app-misc/lirc/lirc-0.9.4a.ebuild
index 63a2b92..395ddd3 100644
--- a/app-misc/lirc/lirc-0.9.4a.ebuild
+++ b/app-misc/lirc/lirc-0.9.4a.ebuild
@@ -58,6 +58,14 @@ src_configure() {
$(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
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2016-08-24 10:38 Pacho Ramos
0 siblings, 0 replies; 64+ messages in thread
From: Pacho Ramos @ 2016-08-24 10:38 UTC (permalink / raw
To: gentoo-commits
commit: 6b4f62969d14d5e97d6fcb437518927f8e144c7b
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 24 10:33:28 2016 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> 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"
-}
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2016-12-30 21:58 Patrice Clement
0 siblings, 0 replies; 64+ messages in thread
From: Patrice Clement @ 2016-12-30 21:58 UTC (permalink / raw
To: gentoo-commits
commit: f6c5ac0de170ab7ad1b3701738c74e8c58c9c740
Author: Craig Andrews <candrews <AT> integralblue <DOT> com>
AuthorDate: Sun Dec 18 02:39:47 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Dec 30 21:54:51 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6c5ac0d
app-misc/lirc-0.9.4c: version bump.
* Clean up dependencies.
* Remove irman and iguanair use flags: these have been moved out of lirc upstream.
* Use xdg-utils.eclass to cleanup XDG_* env causing sandbox violation.
* Fix dependencies for lirc-setup.
Gentoo-Bug: https://bugs.gentoo.org/602978
Gentoo-Bug: https://bugs.gentoo.org/587770
Gentoo-Bug: https://bugs.gentoo.org/591264
Closes: https://github.com/gentoo/gentoo/pull/3150
app-misc/lirc/Manifest | 1 +
app-misc/lirc/lirc-0.9.4c.ebuild | 150 +++++++++++++++++++++++++++++++++++++++
app-misc/lirc/metadata.xml | 1 +
3 files changed, 152 insertions(+)
diff --git a/app-misc/lirc/Manifest b/app-misc/lirc/Manifest
index 244e890..7cb5196 100644
--- a/app-misc/lirc/Manifest
+++ b/app-misc/lirc/Manifest
@@ -1,2 +1,3 @@
DIST lirc-0.9.0.tar.bz2 857286 SHA256 6323afae6ad498d4369675f77ec3dbb680fe661bea586aa296e67f2e2daba4ff SHA512 e91534c63e6065bd7da3b15e1676edf1672b8beb21864a6825df86247d7d165bf2dee6f8191732933e24e42a406e46afc55559948e4061eed2de7b08fac13431 WHIRLPOOL 0a1c00b07898aa7a5d78865fb73c6d26c6331dd0a4945773a801d29e40298b365eb58cae113a95fcf73be678a24ac082ad0868e8051303d732882fb82a859a7b
DIST lirc-0.9.4a.tar.bz2 2292119 SHA256 386086a74c7d12e7e8f26f7dbc8f40d20b9968c9ad2a42599483a51dd2da03ba SHA512 16be0ac5dd9b07d717ceba63cdc38c0db4a2bdcfc373ca6346d7cd4ab2cd2973aa7585d10b045fcaea952a3aabf7617c564ccb8268db6c62b172683a4b2cc188 WHIRLPOOL 93431c43d2dd31081e97113e2d49134de7feb29be53508900b3360408f7a099becf169fcebd0f6fc196280c594dc83d1299617ee54b65452828492db9bcd09ad
+DIST lirc-0.9.4c.tar.bz2 2311300 SHA256 8974fe5dc8eaa717daab6785d2aefeec27615f01ec24b96d31e3381b2f70726a SHA512 0a0d0e025b87a55ec919c92824d8288bfaf35cfebae0ee97d86e344109f584baa72a2eff6d24fbc526900671d6092e0eebef8d1566559b0d153e122e3127c0cb WHIRLPOOL a614fc10b0e40831e81c558439ea528ae0628d64e55b272b9b5a97cb93cba2b8759062a5258c732fa97c2be7966226c3aca2efe2de84aad1f62211146d202efc
diff --git a/app-misc/lirc/lirc-0.9.4c.ebuild b/app-misc/lirc/lirc-0.9.4c.ebuild
new file mode 100644
index 00000000..b90eeb8
--- /dev/null
+++ b/app-misc/lirc/lirc-0.9.4c.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_4 python3_5 )
+
+inherit eutils flag-o-matic 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 ~ppc ~ppc64 ~x86"
+IUSE="audio doc ftdi gtk inputlirc static-libs systemd usb X"
+
+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 )
+"
+
+PATCHES=(
+ # https://bugs.gentoo.org/show_bug.cgi?id=589246 https://sourceforge.net/p/lirc/tickets/214/
+ "${FILESDIR}"/lirc-0.9.4-doc-path-fix.patch
+)
+
+src_configure() {
+ xdg_environment_reset
+ econf \
+ --localstatedir="${EPREFIX}/var" \
+ $(use_enable static-libs static) \
+ $(use_with X x)
+}
+
+src_install() {
+ default
+
+ if use !gtk ; then
+ # lirc-setup requires gtk
+ rm "${ED%/}"/usr/bin/lirc-setup
+ 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.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/metadata.xml b/app-misc/lirc/metadata.xml
index 3d42ab3..e563da1 100644
--- a/app-misc/lirc/metadata.xml
+++ b/app-misc/lirc/metadata.xml
@@ -19,6 +19,7 @@
<flag name="audio">Support using an audio device connected to an IR receiver</flag>
<flag name="iguanair">Support iguanaIR devices</flag>
<flag name="ftdi">Support FTDI devices</flag>
+ <flag name="gtk">Include GTK support which enables the use of lirc-setup</flag>
</use>
<upstream>
<remote-id type="sourceforge">lirc</remote-id>
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2016-12-30 22:03 Patrice Clement
0 siblings, 0 replies; 64+ messages in thread
From: Patrice Clement @ 2016-12-30 22:03 UTC (permalink / raw
To: gentoo-commits
commit: b130534625c6a4a07fe6b81bb6530916aebdd508
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 30 22:03:42 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Dec 30 22:03:42 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1305346
app-misc/lirc: add missing die.
Package-Manager: portage-2.3.0
app-misc/lirc/lirc-0.9.4c.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.9.4c.ebuild b/app-misc/lirc/lirc-0.9.4c.ebuild
index b90eeb8..a3cc996 100644
--- a/app-misc/lirc/lirc-0.9.4c.ebuild
+++ b/app-misc/lirc/lirc-0.9.4c.ebuild
@@ -84,7 +84,7 @@ src_install() {
if use !gtk ; then
# lirc-setup requires gtk
- rm "${ED%/}"/usr/bin/lirc-setup
+ rm "${ED%/}"/usr/bin/lirc-setup || die
fi
newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2017-02-21 8:51 Michał Górny
0 siblings, 0 replies; 64+ messages in thread
From: Michał Górny @ 2017-02-21 8:51 UTC (permalink / raw
To: gentoo-commits
commit: 368c739eb5e773b92a97a06a929a8e66b14b47b4
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 20 21:16:55 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 21 08:51:43 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=368c739e
app-misc/lirc: Add missing PYTHON_REQUIRED_USE
app-misc/lirc/lirc-0.9.4c.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/app-misc/lirc/lirc-0.9.4c.ebuild b/app-misc/lirc/lirc-0.9.4c.ebuild
index a3cc9965ab..1b1d7cdb02 100644
--- a/app-misc/lirc/lirc-0.9.4c.ebuild
+++ b/app-misc/lirc/lirc-0.9.4c.ebuild
@@ -27,6 +27,7 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="audio doc ftdi gtk inputlirc static-libs systemd usb X"
REQUIRED_USE="
+ ${PYTHON_DEPS}
gtk? ( X )
"
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2017-02-21 9:29 Michał Górny
0 siblings, 0 replies; 64+ messages in thread
From: Michał Górny @ 2017-02-21 9:29 UTC (permalink / raw
To: gentoo-commits
commit: 799bafb90353d30f3d2f58b804e8bd400241071c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 21 09:27:25 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 21 09:29:18 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=799bafb9
app-misc/lirc: Fix PYTHON_REQUIRED_USE
app-misc/lirc/lirc-0.9.4c.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.9.4c.ebuild b/app-misc/lirc/lirc-0.9.4c.ebuild
index 1b1d7cdb02..c60e159828 100644
--- a/app-misc/lirc/lirc-0.9.4c.ebuild
+++ b/app-misc/lirc/lirc-0.9.4c.ebuild
@@ -27,7 +27,7 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="audio doc ftdi gtk inputlirc static-libs systemd usb X"
REQUIRED_USE="
- ${PYTHON_DEPS}
+ ${PYTHON_REQUIRED_USE}
gtk? ( X )
"
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2017-03-04 0:55 Michael Palimaka
0 siblings, 0 replies; 64+ messages in thread
From: Michael Palimaka @ 2017-03-04 0:55 UTC (permalink / raw
To: gentoo-commits
commit: 490c8a5d7d43496a2681219633c7356dd0ddf7ca
Author: Craig Andrews <candrews <AT> integralblue <DOT> com>
AuthorDate: Fri Mar 3 22:11:25 2017 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat Mar 4 00:55:40 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=490c8a5d
app-misc/lirc: 0.9.4d version bump
Package-Manager: Portage-2.3.4, Repoman-2.3.2
app-misc/lirc/Manifest | 1 +
app-misc/lirc/lirc-0.9.4d.ebuild | 150 +++++++++++++++++++++++++++++++++++++++
2 files changed, 151 insertions(+)
diff --git a/app-misc/lirc/Manifest b/app-misc/lirc/Manifest
index 7cb5196abee..79f643bb7fd 100644
--- a/app-misc/lirc/Manifest
+++ b/app-misc/lirc/Manifest
@@ -1,3 +1,4 @@
DIST lirc-0.9.0.tar.bz2 857286 SHA256 6323afae6ad498d4369675f77ec3dbb680fe661bea586aa296e67f2e2daba4ff SHA512 e91534c63e6065bd7da3b15e1676edf1672b8beb21864a6825df86247d7d165bf2dee6f8191732933e24e42a406e46afc55559948e4061eed2de7b08fac13431 WHIRLPOOL 0a1c00b07898aa7a5d78865fb73c6d26c6331dd0a4945773a801d29e40298b365eb58cae113a95fcf73be678a24ac082ad0868e8051303d732882fb82a859a7b
DIST lirc-0.9.4a.tar.bz2 2292119 SHA256 386086a74c7d12e7e8f26f7dbc8f40d20b9968c9ad2a42599483a51dd2da03ba SHA512 16be0ac5dd9b07d717ceba63cdc38c0db4a2bdcfc373ca6346d7cd4ab2cd2973aa7585d10b045fcaea952a3aabf7617c564ccb8268db6c62b172683a4b2cc188 WHIRLPOOL 93431c43d2dd31081e97113e2d49134de7feb29be53508900b3360408f7a099becf169fcebd0f6fc196280c594dc83d1299617ee54b65452828492db9bcd09ad
DIST lirc-0.9.4c.tar.bz2 2311300 SHA256 8974fe5dc8eaa717daab6785d2aefeec27615f01ec24b96d31e3381b2f70726a SHA512 0a0d0e025b87a55ec919c92824d8288bfaf35cfebae0ee97d86e344109f584baa72a2eff6d24fbc526900671d6092e0eebef8d1566559b0d153e122e3127c0cb WHIRLPOOL a614fc10b0e40831e81c558439ea528ae0628d64e55b272b9b5a97cb93cba2b8759062a5258c732fa97c2be7966226c3aca2efe2de84aad1f62211146d202efc
+DIST lirc-0.9.4d.tar.bz2 2489704 SHA256 c68f18c35b489b865c0a741d119b136e8702191538cd3551b977a7af6c4e41ab SHA512 fb3892e12fbe5277e04c451694f1ea4ed45cc424d66ea57b11c4ac4760afa7df4b37897f380b4ade464a82523a0cee336f216d2009ea9431333fd7ca74a8336c WHIRLPOOL c5b1d803d4bb8e269ae96a69f351b304298fd6577fd1d8871f024f1b118e71f392945153cb397a840c5f1b71d1fa475db1bb04d381c18c8580c9e148238cfeea
diff --git a/app-misc/lirc/lirc-0.9.4d.ebuild b/app-misc/lirc/lirc-0.9.4d.ebuild
new file mode 100644
index 00000000000..0d55080f738
--- /dev/null
+++ b/app-misc/lirc/lirc-0.9.4d.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_4 python3_5 )
+
+inherit eutils flag-o-matic 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 ~ppc ~ppc64 ~x86"
+IUSE="audio doc ftdi gtk inputlirc static-libs systemd 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 )
+"
+
+PATCHES=(
+ # https://bugs.gentoo.org/show_bug.cgi?id=589246 https://sourceforge.net/p/lirc/tickets/214/
+ "${FILESDIR}"/lirc-0.9.4-doc-path-fix.patch
+)
+
+src_configure() {
+ xdg_environment_reset
+ econf \
+ --localstatedir="${EPREFIX}/var" \
+ $(use_enable static-libs static) \
+ $(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.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"
+}
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2017-03-28 22:12 Göktürk Yüksek
0 siblings, 0 replies; 64+ messages in thread
From: Göktürk Yüksek @ 2017-03-28 22:12 UTC (permalink / raw
To: gentoo-commits
commit: 8e419c3f55ce8425a5f6b29168be91acb52a6c03
Author: Craig Andrews <candrews <AT> integralblue <DOT> com>
AuthorDate: Tue Mar 28 14:13:33 2017 +0000
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Tue Mar 28 22:10:45 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e419c3f
app-misc/lirc: Correctly set the license to GPLv2+ (was incorrectly set to GPLv2)
Gentoo-bug: 614142
app-misc/lirc/lirc-0.9.0-r6.ebuild | 4 ++--
app-misc/lirc/lirc-0.9.4a-r2.ebuild | 4 ++--
app-misc/lirc/lirc-0.9.4c.ebuild | 4 ++--
app-misc/lirc/lirc-0.9.4d.ebuild | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/app-misc/lirc/lirc-0.9.0-r6.ebuild b/app-misc/lirc/lirc-0.9.0-r6.ebuild
index e5337c9be04..8672858485e 100644
--- a/app-misc/lirc/lirc-0.9.0-r6.ebuild
+++ b/app-misc/lirc/lirc-0.9.0-r6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
@@ -16,7 +16,7 @@ else
SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2"
fi
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"
IUSE="debug doc hardware-carrier transmitter static-libs X"
diff --git a/app-misc/lirc/lirc-0.9.4a-r2.ebuild b/app-misc/lirc/lirc-0.9.4a-r2.ebuild
index bcf077dded9..fa9852918a2 100644
--- a/app-misc/lirc/lirc-0.9.4a-r2.ebuild
+++ b/app-misc/lirc/lirc-0.9.4a-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -18,7 +18,7 @@ else
SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2"
fi
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="doc static-libs X audio irman ftdi inputlirc iguanair systemd usb"
diff --git a/app-misc/lirc/lirc-0.9.4c.ebuild b/app-misc/lirc/lirc-0.9.4c.ebuild
index 492a3323b88..25ec10062e3 100644
--- a/app-misc/lirc/lirc-0.9.4c.ebuild
+++ b/app-misc/lirc/lirc-0.9.4c.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -20,7 +20,7 @@ else
SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2"
fi
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="audio doc ftdi gtk inputlirc static-libs systemd usb X"
diff --git a/app-misc/lirc/lirc-0.9.4d.ebuild b/app-misc/lirc/lirc-0.9.4d.ebuild
index 0d55080f738..25ec10062e3 100644
--- a/app-misc/lirc/lirc-0.9.4d.ebuild
+++ b/app-misc/lirc/lirc-0.9.4d.ebuild
@@ -20,7 +20,7 @@ else
SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2"
fi
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="audio doc ftdi gtk inputlirc static-libs systemd usb X"
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2017-06-28 9:35 Alexis Ballier
0 siblings, 0 replies; 64+ messages in thread
From: Alexis Ballier @ 2017-06-28 9:35 UTC (permalink / raw
To: gentoo-commits
commit: 0a6d86530714bd67d7b25eb6b59a6bf19c9ca310
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 28 07:48:07 2017 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Wed Jun 28 09:35:43 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a6d8653
app-misc/lirc: keyword ~arm64
Package-Manager: Portage-2.3.6, Repoman-2.3.2
app-misc/lirc/lirc-0.10.0_rc2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.0_rc2.ebuild b/app-misc/lirc/lirc-0.10.0_rc2.ebuild
index 8813a83570f..464217b7e0a 100644
--- a/app-misc/lirc/lirc-0.10.0_rc2.ebuild
+++ b/app-misc/lirc/lirc-0.10.0_rc2.ebuild
@@ -22,7 +22,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2017-08-18 15:44 Craig Andrews
0 siblings, 0 replies; 64+ messages in thread
From: Craig Andrews @ 2017-08-18 15:44 UTC (permalink / raw
To: gentoo-commits
commit: 21795df4af2da037bac6cc924e6485f2358b0ff8
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 18 15:43:14 2017 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Fri Aug 18 15:43:53 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21795df4
app-misc/lirc: Remove maintainer-needed from metadata
Package-Manager: Portage-2.3.8, Repoman-2.3.3
app-misc/lirc/metadata.xml | 1 -
1 file changed, 1 deletion(-)
diff --git a/app-misc/lirc/metadata.xml b/app-misc/lirc/metadata.xml
index 82069d4f9a9..b1e7f0c27f8 100644
--- a/app-misc/lirc/metadata.xml
+++ b/app-misc/lirc/metadata.xml
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
<maintainer type="person">
<email>candrews@gentoo.org</email>
<name>Craig Andrews</name>
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2018-04-06 18:46 Craig Andrews
0 siblings, 0 replies; 64+ messages in thread
From: Craig Andrews @ 2018-04-06 18:46 UTC (permalink / raw
To: gentoo-commits
commit: a935cdc170bcda534ad01824d600c13f03804e66
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 6 18:42:53 2018 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Fri Apr 6 18:42:53 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a935cdc1
app-misc/lirc: Run eautoreconf in 0.9.4d
Closes: https://bugs.gentoo.org/649870
Package-Manager: Portage-2.3.28, Repoman-2.3.9
app-misc/lirc/lirc-0.9.4d.ebuild | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/app-misc/lirc/lirc-0.9.4d.ebuild b/app-misc/lirc/lirc-0.9.4d.ebuild
index 25ec10062e3..57072953cad 100644
--- a/app-misc/lirc/lirc-0.9.4d.ebuild
+++ b/app-misc/lirc/lirc-0.9.4d.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_4 python3_5 )
-inherit eutils flag-o-matic python-single-r1 systemd xdg-utils
+inherit autotools eutils flag-o-matic python-single-r1 systemd xdg-utils
DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
HOMEPAGE="http://www.lirc.org/"
@@ -71,6 +71,11 @@ PATCHES=(
"${FILESDIR}"/lirc-0.9.4-doc-path-fix.patch
)
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_configure() {
xdg_environment_reset
econf \
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2018-04-06 18:46 Craig Andrews
0 siblings, 0 replies; 64+ messages in thread
From: Craig Andrews @ 2018-04-06 18:46 UTC (permalink / raw
To: gentoo-commits
commit: 856720e8b9d8584e294d58737caaf6ecb2905928
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 6 18:45:07 2018 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Fri Apr 6 18:45:07 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=856720e8
app-misc/lirc: 0.10.0 version bump
Package-Manager: Portage-2.3.28, Repoman-2.3.9
app-misc/lirc/Manifest | 1 +
app-misc/lirc/lirc-0.10.0.ebuild | 151 +++++++++++++++++++++++++++++++++++++++
2 files changed, 152 insertions(+)
diff --git a/app-misc/lirc/Manifest b/app-misc/lirc/Manifest
index 56886326f30..640fb7f681a 100644
--- a/app-misc/lirc/Manifest
+++ b/app-misc/lirc/Manifest
@@ -1,4 +1,5 @@
DIST lirc-0.10.0-rc2.tar.bz2 2552982 BLAKE2B d68639198dd7041865f6b7ac79cb94b63d8a85ee70f97628e27887d14f62814388a51521dabe91730570c382c6bb7edb36c15eba0f8ea9f5d4490dfce2bd121a SHA512 ab3426477f017e3a1b9da690189beae5086bbb52f88d302e6c91d7633f74ef781e6747f6b697b3ed6df13497a3e666f11c846104d2f00b975746d24bfd2a6cd5
+DIST lirc-0.10.0.tar.bz2 2523528 BLAKE2B 5c133b40936060fbaa0a9463b1b07d9197d935388e3eb4e46791b1f844b82ea6b6d42ae0c6ce249ca306688fa5d15718f5a3a54b497fc9f168b8b736b06bdd1e SHA512 06ccc1c8c80bfd17a6d180ae39a17779cbba341086f90a03a2e552bfb71e3abcb13f991312fba0e57df79c1882c1e29a2f273dddcd46a9ff53160b556e1547ab
DIST lirc-0.9.0.tar.bz2 857286 BLAKE2B 034c7b8492dd42301bb6d40da8c6c95f714b925ee50e7396290231684024dc3fe3bb64987db92d2a4e4d56203436007e68222bbf9a775bb9d29bbefcc4a7c1e4 SHA512 e91534c63e6065bd7da3b15e1676edf1672b8beb21864a6825df86247d7d165bf2dee6f8191732933e24e42a406e46afc55559948e4061eed2de7b08fac13431
DIST lirc-0.9.4a.tar.bz2 2292119 BLAKE2B 6ca7562716fde3327aa3f8f9913da7d349969f1bcac095bf2e9b1e3025d1e39176e2fb386ca08bcf80d458262f9eb96dab363ef3aa2c1d56b914ac8a36fcbacf SHA512 16be0ac5dd9b07d717ceba63cdc38c0db4a2bdcfc373ca6346d7cd4ab2cd2973aa7585d10b045fcaea952a3aabf7617c564ccb8268db6c62b172683a4b2cc188
DIST lirc-0.9.4c.tar.bz2 2311300 BLAKE2B f58f3b3a701e0ae787e34ec65c1d29b0faa75958b95aa43663a78dbe04c1c1d5456df5a6c5e41c673db9f589a7c2d41423b5f6a667fac890fb18f29fd797438b SHA512 0a0d0e025b87a55ec919c92824d8288bfaf35cfebae0ee97d86e344109f584baa72a2eff6d24fbc526900671d6092e0eebef8d1566559b0d153e122e3127c0cb
diff --git a/app-misc/lirc/lirc-0.10.0.ebuild b/app-misc/lirc/lirc-0.10.0.ebuild
new file mode 100644
index 00000000000..8ddbc22037b
--- /dev/null
+++ b/app-misc/lirc/lirc-0.10.0.ebuild
@@ -0,0 +1,151 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_4 python3_5 )
+
+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"
+}
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2018-06-23 10:02 Pacho Ramos
0 siblings, 0 replies; 64+ messages in thread
From: Pacho Ramos @ 2018-06-23 10:02 UTC (permalink / raw
To: gentoo-commits
commit: dcc5abea2c84abe4517fa613abc48c3858742a78
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 23 09:59:26 2018 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Jun 23 10:02:52 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcc5abea
app-misc/lirc: Support python3.6
Package-Manager: Portage-2.3.40, Repoman-2.3.9
app-misc/lirc/lirc-0.10.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.0.ebuild b/app-misc/lirc/lirc-0.10.0.ebuild
index 8ddbc22037b..9b8d2c10c01 100644
--- a/app-misc/lirc/lirc-0.10.0.ebuild
+++ b/app-misc/lirc/lirc-0.10.0.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-PYTHON_COMPAT=( python3_4 python3_5 )
+PYTHON_COMPAT=( python3_4 python3_{5,6} )
inherit eutils flag-o-matic linux-info python-single-r1 systemd xdg-utils
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2018-07-09 14:09 Craig Andrews
0 siblings, 0 replies; 64+ messages in thread
From: Craig Andrews @ 2018-07-09 14:09 UTC (permalink / raw
To: gentoo-commits
commit: 9da18e4d87493b3cfc7b063d4bb8a39358d28324
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 9 14:07:43 2018 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Mon Jul 9 14:09:02 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9da18e4d
app-misc/lirc: 0.10.1 version bump
Package-Manager: Portage-2.3.41, Repoman-2.3.9
app-misc/lirc/Manifest | 1 +
app-misc/lirc/lirc-0.10.1.ebuild | 151 +++++++++++++++++++++++++++++++++++++++
2 files changed, 152 insertions(+)
diff --git a/app-misc/lirc/Manifest b/app-misc/lirc/Manifest
index 640fb7f681a..71cb02daed0 100644
--- a/app-misc/lirc/Manifest
+++ b/app-misc/lirc/Manifest
@@ -1,5 +1,6 @@
DIST lirc-0.10.0-rc2.tar.bz2 2552982 BLAKE2B d68639198dd7041865f6b7ac79cb94b63d8a85ee70f97628e27887d14f62814388a51521dabe91730570c382c6bb7edb36c15eba0f8ea9f5d4490dfce2bd121a SHA512 ab3426477f017e3a1b9da690189beae5086bbb52f88d302e6c91d7633f74ef781e6747f6b697b3ed6df13497a3e666f11c846104d2f00b975746d24bfd2a6cd5
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
DIST lirc-0.9.4a.tar.bz2 2292119 BLAKE2B 6ca7562716fde3327aa3f8f9913da7d349969f1bcac095bf2e9b1e3025d1e39176e2fb386ca08bcf80d458262f9eb96dab363ef3aa2c1d56b914ac8a36fcbacf SHA512 16be0ac5dd9b07d717ceba63cdc38c0db4a2bdcfc373ca6346d7cd4ab2cd2973aa7585d10b045fcaea952a3aabf7617c564ccb8268db6c62b172683a4b2cc188
DIST lirc-0.9.4c.tar.bz2 2311300 BLAKE2B f58f3b3a701e0ae787e34ec65c1d29b0faa75958b95aa43663a78dbe04c1c1d5456df5a6c5e41c673db9f589a7c2d41423b5f6a667fac890fb18f29fd797438b SHA512 0a0d0e025b87a55ec919c92824d8288bfaf35cfebae0ee97d86e344109f584baa72a2eff6d24fbc526900671d6092e0eebef8d1566559b0d153e122e3127c0cb
diff --git a/app-misc/lirc/lirc-0.10.1.ebuild b/app-misc/lirc/lirc-0.10.1.ebuild
new file mode 100644
index 00000000000..9b8d2c10c01
--- /dev/null
+++ b/app-misc/lirc/lirc-0.10.1.ebuild
@@ -0,0 +1,151 @@
+# 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"
+}
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2018-07-09 14:15 Craig Andrews
0 siblings, 0 replies; 64+ messages in thread
From: Craig Andrews @ 2018-07-09 14:15 UTC (permalink / raw
To: gentoo-commits
commit: fbb915167cb5d6027c6bc4387ba3354536d92805
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 9 14:14:47 2018 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Mon Jul 9 14:15:38 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbb91516
app-misc/lirc: Drop old versions
Package-Manager: Portage-2.3.41, Repoman-2.3.9
app-misc/lirc/Manifest | 4 -
app-misc/lirc/lirc-0.10.0_rc2.ebuild | 151 ----------------------------------
app-misc/lirc/lirc-0.9.4a-r2.ebuild | 136 ------------------------------
app-misc/lirc/lirc-0.9.4c.ebuild | 150 ---------------------------------
app-misc/lirc/lirc-0.9.4d.ebuild | 155 -----------------------------------
app-misc/lirc/metadata.xml | 2 -
6 files changed, 598 deletions(-)
diff --git a/app-misc/lirc/Manifest b/app-misc/lirc/Manifest
index 71cb02daed0..4f51ac9b435 100644
--- a/app-misc/lirc/Manifest
+++ b/app-misc/lirc/Manifest
@@ -1,7 +1,3 @@
-DIST lirc-0.10.0-rc2.tar.bz2 2552982 BLAKE2B d68639198dd7041865f6b7ac79cb94b63d8a85ee70f97628e27887d14f62814388a51521dabe91730570c382c6bb7edb36c15eba0f8ea9f5d4490dfce2bd121a SHA512 ab3426477f017e3a1b9da690189beae5086bbb52f88d302e6c91d7633f74ef781e6747f6b697b3ed6df13497a3e666f11c846104d2f00b975746d24bfd2a6cd5
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
-DIST lirc-0.9.4a.tar.bz2 2292119 BLAKE2B 6ca7562716fde3327aa3f8f9913da7d349969f1bcac095bf2e9b1e3025d1e39176e2fb386ca08bcf80d458262f9eb96dab363ef3aa2c1d56b914ac8a36fcbacf SHA512 16be0ac5dd9b07d717ceba63cdc38c0db4a2bdcfc373ca6346d7cd4ab2cd2973aa7585d10b045fcaea952a3aabf7617c564ccb8268db6c62b172683a4b2cc188
-DIST lirc-0.9.4c.tar.bz2 2311300 BLAKE2B f58f3b3a701e0ae787e34ec65c1d29b0faa75958b95aa43663a78dbe04c1c1d5456df5a6c5e41c673db9f589a7c2d41423b5f6a667fac890fb18f29fd797438b SHA512 0a0d0e025b87a55ec919c92824d8288bfaf35cfebae0ee97d86e344109f584baa72a2eff6d24fbc526900671d6092e0eebef8d1566559b0d153e122e3127c0cb
-DIST lirc-0.9.4d.tar.bz2 2489704 BLAKE2B 89cf8989aa84905d292fdf72632b7e5854aa2b225a6a6183839fa3e5fbc6624474e2723d3456cf5c5e6216abd134805fba495e89469808cd5ff139c31f86c032 SHA512 fb3892e12fbe5277e04c451694f1ea4ed45cc424d66ea57b11c4ac4760afa7df4b37897f380b4ade464a82523a0cee336f216d2009ea9431333fd7ca74a8336c
diff --git a/app-misc/lirc/lirc-0.10.0_rc2.ebuild b/app-misc/lirc/lirc-0.10.0_rc2.ebuild
deleted file mode 100644
index 464217b7e0a..00000000000
--- a/app-misc/lirc/lirc-0.10.0_rc2.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_4 python3_5 )
-
-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.9.4a-r2.ebuild b/app-misc/lirc/lirc-0.9.4a-r2.ebuild
deleted file mode 100644
index fa9852918a2..00000000000
--- a/app-misc/lirc/lirc-0.9.4a-r2.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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 \
- --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-0.9.4a-r2 lircmd
- newconfd "${FILESDIR}"/lircd.conf.4 lircd
- newconfd "${FILESDIR}"/lircmd.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 "${D}"/etc/lirc/lircd.conf ]]; then
- newdoc "${D}"/etc/lirc/lircd.conf lircd.conf.example
- fi
-
- find "${D}" -name '*.la' -delete || die
-
- # 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"
-}
diff --git a/app-misc/lirc/lirc-0.9.4c.ebuild b/app-misc/lirc/lirc-0.9.4c.ebuild
deleted file mode 100644
index 25ec10062e3..00000000000
--- a/app-misc/lirc/lirc-0.9.4c.ebuild
+++ /dev/null
@@ -1,150 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_4 python3_5 )
-
-inherit eutils flag-o-matic 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 ~ppc ~ppc64 ~x86"
-IUSE="audio doc ftdi gtk inputlirc static-libs systemd 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 )
-"
-
-PATCHES=(
- # https://bugs.gentoo.org/show_bug.cgi?id=589246 https://sourceforge.net/p/lirc/tickets/214/
- "${FILESDIR}"/lirc-0.9.4-doc-path-fix.patch
-)
-
-src_configure() {
- xdg_environment_reset
- econf \
- --localstatedir="${EPREFIX}/var" \
- $(use_enable static-libs static) \
- $(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.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.9.4d.ebuild b/app-misc/lirc/lirc-0.9.4d.ebuild
deleted file mode 100644
index 57072953cad..00000000000
--- a/app-misc/lirc/lirc-0.9.4d.ebuild
+++ /dev/null
@@ -1,155 +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 )
-
-inherit autotools eutils flag-o-matic 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 ~ppc ~ppc64 ~x86"
-IUSE="audio doc ftdi gtk inputlirc static-libs systemd 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 )
-"
-
-PATCHES=(
- # https://bugs.gentoo.org/show_bug.cgi?id=589246 https://sourceforge.net/p/lirc/tickets/214/
- "${FILESDIR}"/lirc-0.9.4-doc-path-fix.patch
-)
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- xdg_environment_reset
- econf \
- --localstatedir="${EPREFIX}/var" \
- $(use_enable static-libs static) \
- $(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.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/metadata.xml b/app-misc/lirc/metadata.xml
index b1e7f0c27f8..3a8d3814118 100644
--- a/app-misc/lirc/metadata.xml
+++ b/app-misc/lirc/metadata.xml
@@ -11,9 +11,7 @@
<flag name="hardware-carrier">The transmitter device generates its clock signal in hardware</flag>
<flag name="transmitter">Add transmitter support to some lirc-drivers (e.g. serial)</flag>
<flag name="inputlirc">Add a dependency on app-misc/inputlircd</flag>
- <flag name="irman">Add a dependency on media-libs/libirman</flag>
<flag name="audio">Support using an audio device connected to an IR receiver</flag>
- <flag name="iguanair">Support iguanaIR devices</flag>
<flag name="ftdi">Support FTDI devices</flag>
<flag name="gtk">Include GTK support which enables the use of lirc-setup</flag>
</use>
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2018-07-26 20:16 Craig Andrews
0 siblings, 0 replies; 64+ messages in thread
From: Craig Andrews @ 2018-07-26 20:16 UTC (permalink / raw
To: gentoo-commits
commit: 0ac821ac65007403da41a434d7b5ee03bcb17447
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 26 20:16:02 2018 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Thu Jul 26 20:16:02 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ac821ac
app-misc/lirc: Enable py3.7
Package-Manager: Portage-2.3.43, Repoman-2.3.10
app-misc/lirc/lirc-0.10.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.1.ebuild b/app-misc/lirc/lirc-0.10.1.ebuild
index 9b8d2c10c01..2553dd192c8 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
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2018-07-27 17:22 Craig Andrews
0 siblings, 0 replies; 64+ messages in thread
From: Craig Andrews @ 2018-07-27 17:22 UTC (permalink / raw
To: gentoo-commits
commit: 472a64a8910a97986ce16e23ba9bc42746815b75
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 27 17:22:09 2018 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Fri Jul 27 17:22:49 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472a64a8
app-misc/lirc: Add dependency on dev-python/setuptools
Closes: https://bugs.gentoo.org/642172
Package-Manager: Portage-2.3.43, Repoman-2.3.10
app-misc/lirc/lirc-0.10.1.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/app-misc/lirc/lirc-0.10.1.ebuild b/app-misc/lirc/lirc-0.10.1.ebuild
index 2553dd192c8..089e859cb3e 100644
--- a/app-misc/lirc/lirc-0.10.1.ebuild
+++ b/app-misc/lirc/lirc-0.10.1.ebuild
@@ -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
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2018-07-30 18:47 Craig Andrews
0 siblings, 0 replies; 64+ messages in thread
From: Craig Andrews @ 2018-07-30 18:47 UTC (permalink / raw
To: gentoo-commits
commit: 77786ac8e7d1b784f2ddb696da0ba5d91be02a54
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 30 18:44:43 2018 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Mon Jul 30 18:47:46 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77786ac8
app-misc/lirc: Fix pkg_setup()
Add python-single-r1_pkg_setup and linux-info_pkg_setup to pkg_setup
Closes: https://bugs.gentoo.org/662334
Package-Manager: Portage-2.3.44, Repoman-2.3.10
app-misc/lirc/lirc-0.10.1.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/app-misc/lirc/lirc-0.10.1.ebuild b/app-misc/lirc/lirc-0.10.1.ebuild
index 089e859cb3e..c31dc9f61af 100644
--- a/app-misc/lirc/lirc-0.10.1.ebuild
+++ b/app-misc/lirc/lirc-0.10.1.ebuild
@@ -69,6 +69,8 @@ RDEPEND="
pkg_setup() {
use uinput && CONFIG_CHECK="INPUT_UINPUT"
+ python-single-r1_pkg_setup
+ linux-info_pkg_setup
}
src_configure() {
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2018-08-01 16:38 Craig Andrews
0 siblings, 0 replies; 64+ messages in thread
From: Craig Andrews @ 2018-08-01 16:38 UTC (permalink / raw
To: gentoo-commits
commit: d0a15ec739a1ce991d73ba97ad2a45532140babc
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 1 16:23:25 2018 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Wed Aug 1 16:37:44 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0a15ec7
app-misc/lirc: Drop old version
Package-Manager: Portage-2.3.44, Repoman-2.3.10
app-misc/lirc/Manifest | 1 -
app-misc/lirc/lirc-0.10.0.ebuild | 151 ---------------------------------------
2 files changed, 152 deletions(-)
diff --git a/app-misc/lirc/Manifest b/app-misc/lirc/Manifest
index 4f51ac9b435..d4b40149b07 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 9b8d2c10c01..00000000000
--- 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"
-}
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2018-08-01 16:38 Craig Andrews
0 siblings, 0 replies; 64+ messages in thread
From: Craig Andrews @ 2018-08-01 16:38 UTC (permalink / raw
To: gentoo-commits
commit: b04f77d3b680bbb446f5b1a370830f9341f51931
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 1 16:21:55 2018 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Wed Aug 1 16:37:42 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b04f77d3
app-misc/lirc: Parallel make fails so don't parallel make
Closes: https://bugs.gentoo.org/660824
Package-Manager: Portage-2.3.44, Repoman-2.3.10
app-misc/lirc/lirc-0.10.1.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/app-misc/lirc/lirc-0.10.1.ebuild b/app-misc/lirc/lirc-0.10.1.ebuild
index c31dc9f61af..9b775a2c345 100644
--- a/app-misc/lirc/lirc-0.10.1.ebuild
+++ b/app-misc/lirc/lirc-0.10.1.ebuild
@@ -67,6 +67,8 @@ RDEPEND="
inputlirc? ( app-misc/inputlircd )
"
+MAKEOPTS+=" -j1"
+
pkg_setup() {
use uinput && CONFIG_CHECK="INPUT_UINPUT"
python-single-r1_pkg_setup
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2018-08-06 17:13 Craig Andrews
0 siblings, 0 replies; 64+ messages in thread
From: Craig Andrews @ 2018-08-06 17:13 UTC (permalink / raw
To: gentoo-commits
commit: 6d09aaaf58a557c47cf91dd4e07c778c26e49c32
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 6 17:12:36 2018 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Mon Aug 6 17:13:01 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d09aaaf
app-misc/lirc: If CONFIG_INPUT_UINPUT is not set, warn, don't error
Package-Manager: Portage-2.3.44, Repoman-2.3.10
app-misc/lirc/lirc-0.10.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.1.ebuild b/app-misc/lirc/lirc-0.10.1.ebuild
index 9b775a2c345..32363e61ae0 100644
--- a/app-misc/lirc/lirc-0.10.1.ebuild
+++ b/app-misc/lirc/lirc-0.10.1.ebuild
@@ -70,7 +70,7 @@ RDEPEND="
MAKEOPTS+=" -j1"
pkg_setup() {
- use uinput && CONFIG_CHECK="INPUT_UINPUT"
+ use uinput && CONFIG_CHECK="~INPUT_UINPUT"
python-single-r1_pkg_setup
linux-info_pkg_setup
}
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2018-08-06 22:20 Thomas Deutschmann
0 siblings, 0 replies; 64+ messages in thread
From: Thomas Deutschmann @ 2018-08-06 22:20 UTC (permalink / raw
To: gentoo-commits
commit: a539bd741fc010ff5417bf30f79a863b3e4c3b56
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 6 22:17:41 2018 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Aug 6 22:17:41 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a539bd74
app-misc/lirc: x86 stable (bug #662646)
Package-Manager: Portage-2.3.44, Repoman-2.3.10
app-misc/lirc/lirc-0.10.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.1.ebuild b/app-misc/lirc/lirc-0.10.1.ebuild
index 32363e61ae0..9862841d250 100644
--- a/app-misc/lirc/lirc-0.10.1.ebuild
+++ b/app-misc/lirc/lirc-0.10.1.ebuild
@@ -22,7 +22,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2018-08-08 21:54 Mikle Kolyada
0 siblings, 0 replies; 64+ messages in thread
From: Mikle Kolyada @ 2018-08-08 21:54 UTC (permalink / raw
To: gentoo-commits
commit: 7da0091a2b849a4e2007169386143a15dc885a28
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 8 21:54:35 2018 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Wed Aug 8 21:54:52 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7da0091a
app-misc/lirc: amd64 stable wrt bug #662646
Package-Manager: Portage-2.3.40, Repoman-2.3.9
app-misc/lirc/lirc-0.10.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.1.ebuild b/app-misc/lirc/lirc-0.10.1.ebuild
index 9862841d250..265d4383800 100644
--- a/app-misc/lirc/lirc-0.10.1.ebuild
+++ b/app-misc/lirc/lirc-0.10.1.ebuild
@@ -22,7 +22,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2018-08-18 22:36 Sergei Trofimovich
0 siblings, 0 replies; 64+ messages in thread
From: Sergei Trofimovich @ 2018-08-18 22:36 UTC (permalink / raw
To: gentoo-commits
commit: a4a618eb8c4e0d863a977df6a954780d3c25bea2
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 18 22:35:51 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Aug 18 22:35:51 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4a618eb
app-misc/lirc: stable 0.10.1 for ppc64, bug #662646
Package-Manager: Portage-2.3.46, Repoman-2.3.10
RepoMan-Options: --include-arches="ppc64"
app-misc/lirc/lirc-0.10.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.1.ebuild b/app-misc/lirc/lirc-0.10.1.ebuild
index 265d4383800..ee28e97e8f9 100644
--- a/app-misc/lirc/lirc-0.10.1.ebuild
+++ b/app-misc/lirc/lirc-0.10.1.ebuild
@@ -22,7 +22,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm64 ~ppc ppc64 x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2018-10-20 12:16 Sergei Trofimovich
0 siblings, 0 replies; 64+ messages in thread
From: Sergei Trofimovich @ 2018-10-20 12:16 UTC (permalink / raw
To: gentoo-commits
commit: 29644fac8976d4f3072072b96cd97cf950e8cc9e
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 20 12:08:11 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Oct 20 12:15:50 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29644fac
app-misc/lirc: stable 0.10.1 for ppc, bug #662646
Tested-by: ernsteiswuerfel
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="ppc"
app-misc/lirc/lirc-0.10.1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-misc/lirc/lirc-0.10.1.ebuild b/app-misc/lirc/lirc-0.10.1.ebuild
index ee28e97e8f9..cb93b634743 100644
--- a/app-misc/lirc/lirc-0.10.1.ebuild
+++ b/app-misc/lirc/lirc-0.10.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -22,7 +22,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc ppc64 x86"
+KEYWORDS="amd64 ~arm64 ppc ppc64 x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2019-05-11 16:17 Craig Andrews
0 siblings, 0 replies; 64+ messages in thread
From: Craig Andrews @ 2019-05-11 16:17 UTC (permalink / raw
To: gentoo-commits
commit: d2ca8849b2d366ed99ab655c4d69731b7500e594
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Sat May 11 16:14:57 2019 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Sat May 11 16:16:51 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2ca8849
app-misc/lirc: require <dev-python/pyyaml-5
Closes: https://bugs.gentoo.org/682922
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
app-misc/lirc/lirc-0.10.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.1.ebuild b/app-misc/lirc/lirc-0.10.1.ebuild
index c35abf0e042..60b8ec01813 100644
--- a/app-misc/lirc/lirc-0.10.1.ebuild
+++ b/app-misc/lirc/lirc-0.10.1.ebuild
@@ -38,7 +38,7 @@ COMMON_DEPEND="
>media-libs/portaudio-18
media-libs/alsa-lib
)
- dev-python/pyyaml[${PYTHON_USEDEP}]
+ <dev-python/pyyaml-5[${PYTHON_USEDEP}]
ftdi? ( dev-embedded/libftdi:0 )
systemd? ( sys-apps/systemd )
usb? ( virtual/libusb:0 )
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2019-05-19 13:14 Thomas Deutschmann
0 siblings, 0 replies; 64+ messages in thread
From: Thomas Deutschmann @ 2019-05-19 13:14 UTC (permalink / raw
To: gentoo-commits
commit: 12a3cfe099ab4e301803bdeaa7d706f3bec5642d
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun May 19 13:02:31 2019 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun May 19 13:02:31 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12a3cfe0
app-misc/lirc: x86 stable (bug #685754)
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
app-misc/lirc/lirc-0.10.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.1-r1.ebuild b/app-misc/lirc/lirc-0.10.1-r1.ebuild
index b3bd462cb51..9bcbfe77caf 100644
--- a/app-misc/lirc/lirc-0.10.1-r1.ebuild
+++ b/app-misc/lirc/lirc-0.10.1-r1.ebuild
@@ -22,7 +22,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2019-05-20 10:56 Mikle Kolyada
0 siblings, 0 replies; 64+ messages in thread
From: Mikle Kolyada @ 2019-05-20 10:56 UTC (permalink / raw
To: gentoo-commits
commit: eb7e70f52ee0c783bd87fed482c65a18405b631e
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Mon May 20 10:55:53 2019 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Mon May 20 10:55:53 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb7e70f5
app-misc/lirc: amd64 stable wrt bug #685754
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"
app-misc/lirc/lirc-0.10.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.1-r1.ebuild b/app-misc/lirc/lirc-0.10.1-r1.ebuild
index 9bcbfe77caf..e69687a9d3b 100644
--- a/app-misc/lirc/lirc-0.10.1-r1.ebuild
+++ b/app-misc/lirc/lirc-0.10.1-r1.ebuild
@@ -22,7 +22,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2019-08-28 16:12 David Seifert
0 siblings, 0 replies; 64+ messages in thread
From: David Seifert @ 2019-08-28 16:12 UTC (permalink / raw
To: gentoo-commits
commit: 57c5a4151f5bcd6c4f3924464e33ec0bc0b57e07
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 28 16:12:08 2019 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Aug 28 16:12:08 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57c5a415
app-misc/lirc: [QA] Remove unnecessary slash strip
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: David Seifert <soap <AT> gentoo.org>
app-misc/lirc/lirc-0.10.1-r1.ebuild | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/app-misc/lirc/lirc-0.10.1-r1.ebuild b/app-misc/lirc/lirc-0.10.1-r1.ebuild
index d054d313239..6a926167769 100644
--- a/app-misc/lirc/lirc-0.10.1-r1.ebuild
+++ b/app-misc/lirc/lirc-0.10.1-r1.ebuild
@@ -94,7 +94,7 @@ src_install() {
if use !gtk ; then
# lirc-setup requires gtk
- rm "${ED%/}"/usr/bin/lirc-setup || die
+ rm "${ED}"/usr/bin/lirc-setup || die
fi
newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd
@@ -109,37 +109,37 @@ src_install() {
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
+ 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
+ rm -d "${ED}"/var/run/lirc || die
+ rm -d "${ED}"/var/run || die
}
pkg_preinst() {
- local dir="${EROOT%/}/etc/modprobe.d"
+ 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
+ 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
+ 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
+ if [[ -e "${ED}"/etc/lirc/lircd.conf ]]; then
+ rm -f "${ED}"/etc/lirc/lircd.conf || die
fi
}
@@ -148,13 +148,13 @@ pkg_postinst() {
# 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
+ 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
+ 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"
+ einfo "${EROOT}/etc/lirc/ directory"
}
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2020-02-09 16:11 Michał Górny
0 siblings, 0 replies; 64+ messages in thread
From: Michał Górny @ 2020-02-09 16:11 UTC (permalink / raw
To: gentoo-commits
commit: 644267d6ee8393c363e9081966318ca842bcdc73
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 7 09:45:26 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 9 16:10:50 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=644267d6
app-misc/lirc: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../lirc/{lirc-0.10.1-r1.ebuild => lirc-0.10.1-r3.ebuild} | 12 +++++++++---
.../lirc/{lirc-0.10.1-r2.ebuild => lirc-0.10.1-r4.ebuild} | 12 +++++++++---
app-misc/lirc/lirc-0.10.1.ebuild | 12 +++++++++---
3 files changed, 27 insertions(+), 9 deletions(-)
diff --git a/app-misc/lirc/lirc-0.10.1-r1.ebuild b/app-misc/lirc/lirc-0.10.1-r3.ebuild
similarity index 94%
rename from app-misc/lirc/lirc-0.10.1-r1.ebuild
rename to app-misc/lirc/lirc-0.10.1-r3.ebuild
index af0e1339c58..368f7371781 100644
--- a/app-misc/lirc/lirc-0.10.1-r1.ebuild
+++ b/app-misc/lirc/lirc-0.10.1-r3.ebuild
@@ -38,7 +38,9 @@ COMMON_DEPEND="
>media-libs/portaudio-18
media-libs/alsa-lib
)
- dev-python/pyyaml[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/pyyaml[${PYTHON_MULTI_USEDEP}]
+ ')
ftdi? ( dev-embedded/libftdi:0 )
systemd? ( sys-apps/systemd )
usb? ( virtual/libusb:0 )
@@ -52,7 +54,9 @@ COMMON_DEPEND="
DEPEND="
${COMMON_DEPEND}
dev-libs/libxslt
- dev-python/setuptools[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/setuptools[${PYTHON_MULTI_USEDEP}]
+ ')
doc? ( app-doc/doxygen )
sys-apps/kmod
sys-kernel/linux-headers
@@ -62,7 +66,9 @@ RDEPEND="
${COMMON_DEPEND}
gtk? (
x11-libs/vte[introspection]
- dev-python/pygobject[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/pygobject[${PYTHON_MULTI_USEDEP}]
+ ')
)
inputlirc? ( app-misc/inputlircd )
"
diff --git a/app-misc/lirc/lirc-0.10.1-r2.ebuild b/app-misc/lirc/lirc-0.10.1-r4.ebuild
similarity index 94%
rename from app-misc/lirc/lirc-0.10.1-r2.ebuild
rename to app-misc/lirc/lirc-0.10.1-r4.ebuild
index 8454fbe9244..52fbdf73aa5 100644
--- a/app-misc/lirc/lirc-0.10.1-r2.ebuild
+++ b/app-misc/lirc/lirc-0.10.1-r4.ebuild
@@ -38,7 +38,9 @@ COMMON_DEPEND="
>media-libs/portaudio-18
media-libs/alsa-lib
)
- dev-python/pyyaml[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/pyyaml[${PYTHON_MULTI_USEDEP}]
+ ')
ftdi? ( dev-embedded/libftdi:0 )
systemd? ( sys-apps/systemd )
usb? ( virtual/libusb:0 )
@@ -52,7 +54,9 @@ COMMON_DEPEND="
DEPEND="
${COMMON_DEPEND}
dev-libs/libxslt
- dev-python/setuptools[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/setuptools[${PYTHON_MULTI_USEDEP}]
+ ')
doc? ( app-doc/doxygen )
sys-apps/kmod
sys-kernel/linux-headers
@@ -62,7 +66,9 @@ RDEPEND="
${COMMON_DEPEND}
gtk? (
x11-libs/vte[introspection]
- dev-python/pygobject[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/pygobject[${PYTHON_MULTI_USEDEP}]
+ ')
)
inputlirc? ( app-misc/inputlircd )
"
diff --git a/app-misc/lirc/lirc-0.10.1.ebuild b/app-misc/lirc/lirc-0.10.1.ebuild
index ae37d7aea7a..ff58dab0f42 100644
--- a/app-misc/lirc/lirc-0.10.1.ebuild
+++ b/app-misc/lirc/lirc-0.10.1.ebuild
@@ -38,7 +38,9 @@ COMMON_DEPEND="
>media-libs/portaudio-18
media-libs/alsa-lib
)
- <dev-python/pyyaml-5[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ <dev-python/pyyaml-5[${PYTHON_MULTI_USEDEP}]
+ ')
ftdi? ( dev-embedded/libftdi:0 )
systemd? ( sys-apps/systemd )
usb? ( virtual/libusb:0 )
@@ -52,7 +54,9 @@ COMMON_DEPEND="
DEPEND="
${COMMON_DEPEND}
dev-libs/libxslt
- dev-python/setuptools[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/setuptools[${PYTHON_MULTI_USEDEP}]
+ ')
doc? ( app-doc/doxygen )
sys-apps/kmod
sys-kernel/linux-headers
@@ -62,7 +66,9 @@ RDEPEND="
${COMMON_DEPEND}
gtk? (
x11-libs/vte[introspection]
- dev-python/pygobject[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/pygobject[${PYTHON_MULTI_USEDEP}]
+ ')
)
inputlirc? ( app-misc/inputlircd )
"
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2020-03-19 6:28 Michał Górny
0 siblings, 0 replies; 64+ messages in thread
From: Michał Górny @ 2020-03-19 6:28 UTC (permalink / raw
To: gentoo-commits
commit: 7d3bda794a85a5e34dca3249442a079cb05fc94d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 19 06:22:52 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar 19 06:28:45 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d3bda79
app-misc/lirc: Remove old to unblock pyyaml cleanup
Bug: https://bugs.gentoo.org/659348
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-misc/lirc/lirc-0.10.1.ebuild | 162 ---------------------------------------
1 file changed, 162 deletions(-)
diff --git a/app-misc/lirc/lirc-0.10.1.ebuild b/app-misc/lirc/lirc-0.10.1.ebuild
deleted file mode 100644
index ff58dab0f42..00000000000
--- a/app-misc/lirc/lirc-0.10.1.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{6,7} )
-
-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
- )
- $(python_gen_cond_dep '
- <dev-python/pyyaml-5[${PYTHON_MULTI_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_MULTI_USEDEP}]
- ')
- doc? ( app-doc/doxygen )
- sys-apps/kmod
- sys-kernel/linux-headers
-"
-
-RDEPEND="
- ${COMMON_DEPEND}
- gtk? (
- x11-libs/vte[introspection]
- $(python_gen_cond_dep '
- dev-python/pygobject[${PYTHON_MULTI_USEDEP}]
- ')
- )
- 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() {
- 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"
-}
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2020-03-19 6:28 Michał Górny
0 siblings, 0 replies; 64+ messages in thread
From: Michał Górny @ 2020-03-19 6:28 UTC (permalink / raw
To: gentoo-commits
commit: 676fafebfc0dcd988b275285f556d1dc4dccfb49
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 19 06:28:07 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar 19 06:28:47 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=676fafeb
app-misc/lirc: [QA] Kill useless longdesc
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-misc/lirc/metadata.xml | 3 ---
1 file changed, 3 deletions(-)
diff --git a/app-misc/lirc/metadata.xml b/app-misc/lirc/metadata.xml
index 98b33f1b6a8..248b19f7b6d 100644
--- a/app-misc/lirc/metadata.xml
+++ b/app-misc/lirc/metadata.xml
@@ -16,8 +16,5 @@
<upstream>
<remote-id type="sourceforge">lirc</remote-id>
</upstream>
- <longdescription lang="en">
- LIRC (Linux Infrared remote control) allows users to receive and send infrared signals.
- </longdescription>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2020-11-08 7:57 Sam James
0 siblings, 0 replies; 64+ messages in thread
From: Sam James @ 2020-11-08 7:57 UTC (permalink / raw
To: gentoo-commits
commit: 80aca56c3420577cb732295a9f544ae5dc776673
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 8 07:57:23 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 8 07:57:23 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80aca56c
app-misc/lirc: keyword ~arm
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/lirc/lirc-0.10.1-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.1-r4.ebuild b/app-misc/lirc/lirc-0.10.1-r4.ebuild
index 9d7322574f9..8f0fc146843 100644
--- a/app-misc/lirc/lirc-0.10.1-r4.ebuild
+++ b/app-misc/lirc/lirc-0.10.1-r4.ebuild
@@ -22,7 +22,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2020-11-18 17:56 Craig Andrews
0 siblings, 0 replies; 64+ messages in thread
From: Craig Andrews @ 2020-11-18 17:56 UTC (permalink / raw
To: gentoo-commits
commit: 099be34d2122ca9c5c4ce8f10ca03a81d53b0e9c
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 18 17:47:22 2020 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Wed Nov 18 17:56:00 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=099be34d
app-misc/lirc: Python 3.8 and 3.9 compatibility
Closes: https://bugs.gentoo.org/754000
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
app-misc/lirc/lirc-0.10.1-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.1-r4.ebuild b/app-misc/lirc/lirc-0.10.1-r4.ebuild
index 8f0fc146843..1c739351624 100644
--- a/app-misc/lirc/lirc-0.10.1-r4.ebuild
+++ b/app-misc/lirc/lirc-0.10.1-r4.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8,9} )
inherit eutils flag-o-matic linux-info python-single-r1 systemd xdg-utils
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2020-12-02 23:54 Sam James
0 siblings, 0 replies; 64+ messages in thread
From: Sam James @ 2020-12-02 23:54 UTC (permalink / raw
To: gentoo-commits
commit: e402a4a56a4cee868f4f3228e72a353b60b3b128
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 2 23:53:53 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 2 23:53:53 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e402a4a5
app-misc/lirc: Stabilize 0.10.1-r4 amd64, #757633
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/lirc/lirc-0.10.1-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.1-r4.ebuild b/app-misc/lirc/lirc-0.10.1-r4.ebuild
index 1c739351624..1602e48939a 100644
--- a/app-misc/lirc/lirc-0.10.1-r4.ebuild
+++ b/app-misc/lirc/lirc-0.10.1-r4.ebuild
@@ -22,7 +22,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2020-12-03 2:19 Thomas Deutschmann
0 siblings, 0 replies; 64+ messages in thread
From: Thomas Deutschmann @ 2020-12-03 2:19 UTC (permalink / raw
To: gentoo-commits
commit: 2bcc0ac456e6a2578c0f015a086e8d5dc95fb3a6
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 3 02:19:27 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu Dec 3 02:19:27 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bcc0ac4
app-misc/lirc: x86 stable (bug #757633)
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
app-misc/lirc/lirc-0.10.1-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.1-r4.ebuild b/app-misc/lirc/lirc-0.10.1-r4.ebuild
index 1602e48939a..ba338c6f35e 100644
--- a/app-misc/lirc/lirc-0.10.1-r4.ebuild
+++ b/app-misc/lirc/lirc-0.10.1-r4.ebuild
@@ -22,7 +22,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2020-12-11 23:07 Sergei Trofimovich
0 siblings, 0 replies; 64+ messages in thread
From: Sergei Trofimovich @ 2020-12-11 23:07 UTC (permalink / raw
To: gentoo-commits
commit: 75c4dd605603b693352d25e90d3a4d882a666c9e
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 11 23:07:03 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Dec 11 23:07:03 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75c4dd60
app-misc/lirc: stable 0.10.1-r4 for ppc
stable wrt bug #757633
Package-Manager: Portage-3.0.12, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
app-misc/lirc/lirc-0.10.1-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.1-r4.ebuild b/app-misc/lirc/lirc-0.10.1-r4.ebuild
index ba338c6f35e..d7ae5671318 100644
--- a/app-misc/lirc/lirc-0.10.1-r4.ebuild
+++ b/app-misc/lirc/lirc-0.10.1-r4.ebuild
@@ -22,7 +22,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2020-12-11 23:10 Sergei Trofimovich
0 siblings, 0 replies; 64+ messages in thread
From: Sergei Trofimovich @ 2020-12-11 23:10 UTC (permalink / raw
To: gentoo-commits
commit: de7cf08c3759e0d603556afa813d617bc2eff1e2
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 11 23:09:59 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Dec 11 23:09:59 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de7cf08c
app-misc/lirc: stable 0.10.1-r4 for ppc64
stable wrt bug #757633
Package-Manager: Portage-3.0.12, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
app-misc/lirc/lirc-0.10.1-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.1-r4.ebuild b/app-misc/lirc/lirc-0.10.1-r4.ebuild
index d7ae5671318..05b01aec109 100644
--- a/app-misc/lirc/lirc-0.10.1-r4.ebuild
+++ b/app-misc/lirc/lirc-0.10.1-r4.ebuild
@@ -22,7 +22,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2021-05-31 20:18 Michał Górny
0 siblings, 0 replies; 64+ messages in thread
From: Michał Górny @ 2021-05-31 20:18 UTC (permalink / raw
To: gentoo-commits
commit: 26bec50744a276770c0508d7db80afd8e4e366be
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon May 31 20:16:49 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May 31 20:18:28 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26bec507
app-misc/lirc: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-misc/lirc/lirc-0.10.1-r3.ebuild | 166 ------------------------------------
1 file changed, 166 deletions(-)
diff --git a/app-misc/lirc/lirc-0.10.1-r3.ebuild b/app-misc/lirc/lirc-0.10.1-r3.ebuild
deleted file mode 100644
index 9c104f0a5e3..00000000000
--- a/app-misc/lirc/lirc-0.10.1-r3.ebuild
+++ /dev/null
@@ -1,166 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_7 )
-
-inherit 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="https://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="https://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
- )
- $(python_gen_cond_dep '
- dev-python/pyyaml[${PYTHON_MULTI_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_MULTI_USEDEP}]
- ')
- doc? ( app-doc/doxygen )
- sys-apps/kmod
- sys-kernel/linux-headers
-"
-
-RDEPEND="
- ${COMMON_DEPEND}
- gtk? (
- x11-libs/vte[introspection]
- $(python_gen_cond_dep '
- dev-python/pygobject[${PYTHON_MULTI_USEDEP}]
- ')
- )
- inputlirc? ( app-misc/inputlircd )
-"
-
-PATCHES=(
- "${FILESDIR}/${P}-unsafe-load.patch"
-)
-
-MAKEOPTS+=" -j1"
-
-pkg_setup() {
- use uinput && CONFIG_CHECK="~INPUT_UINPUT"
- python-single-r1_pkg_setup
- linux-info_pkg_setup
-}
-
-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"
-}
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2022-05-18 18:54 Craig Andrews
0 siblings, 0 replies; 64+ messages in thread
From: Craig Andrews @ 2022-05-18 18:54 UTC (permalink / raw
To: gentoo-commits
commit: 29c9417ebd99a240b988572cc28401cfd3afca3c
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Wed May 18 18:53:39 2022 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Wed May 18 18:54:00 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29c9417e
app-misc/lirc: Python 3.10 compatibility
Closes: https://bugs.gentoo.org/845513
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
app-misc/lirc/lirc-0.10.1-r4.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-misc/lirc/lirc-0.10.1-r4.ebuild b/app-misc/lirc/lirc-0.10.1-r4.ebuild
index 7e238eb7ffee..00b07b2c4453 100644
--- a/app-misc/lirc/lirc-0.10.1-r4.ebuild
+++ b/app-misc/lirc/lirc-0.10.1-r4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{8,9} )
+PYTHON_COMPAT=( python3_{8,9,10} )
inherit flag-o-matic linux-info python-single-r1 systemd xdg-utils
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2022-06-05 22:06 Sam James
0 siblings, 0 replies; 64+ messages in thread
From: Sam James @ 2022-06-05 22:06 UTC (permalink / raw
To: gentoo-commits
commit: ab4399b6f0f8414aa93ee706331a40baa120f9c1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 5 22:05:17 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 5 22:06:27 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab4399b6
app-misc/lirc: add 0.10.1_p7 (use Debian patches)
Upstream is apparently mostly unmaintained and someone might
be looking to fork it from the kernel side, but let's
pick up the Debian patches for now.
May or may not fix the Python build issue which I can't
reproduce, but it brings us into a better state.
Bug: https://bugs.gentoo.org/847886
Bug: https://bugs.gentoo.org/849788
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/lirc/Manifest | 1 +
app-misc/lirc/lirc-0.10.1_p7.ebuild | 180 ++++++++++++++++++++++++++++++++++++
2 files changed, 181 insertions(+)
diff --git a/app-misc/lirc/Manifest b/app-misc/lirc/Manifest
index 0c62fff01aa6..a094fcac0030 100644
--- a/app-misc/lirc/Manifest
+++ b/app-misc/lirc/Manifest
@@ -1 +1,2 @@
DIST lirc-0.10.1.tar.bz2 2523226 BLAKE2B 47b7ee87de8f64f7f829af519c0d296a85cf91790148927e850965177d4984bb994a0ad122cb59c3db508813d0824ffec45126e794abd08174a052361cea53e5 SHA512 31c0b6ee169b302b99994a2a3fa0ebcae0e01cb83c02fe02acf1de5ba8cf77a091a0221c7d8104448c30930adafe654cd08afb7d0df6b5b7ec2d47df26e5df9d
+DIST lirc_0.10.1-7.debian.tar.xz 39392 BLAKE2B cb7527bb33a1d724fea487ca468f98f406c8af894b185580dd285ed46ee0d7f6eeb5c2d66ae09c917d580485568f6510ef968283c56511dc9b4281c77fcc4563 SHA512 9bcd7dc2d30647ab807a65036c02d4adc425af288046d8f0b9bee2f38389f39be21103e4980684827e736b4b76a05688ae870f0871bc50213de429c35b70211e
diff --git a/app-misc/lirc/lirc-0.10.1_p7.ebuild b/app-misc/lirc/lirc-0.10.1_p7.ebuild
new file mode 100644
index 000000000000..d610775c2fc6
--- /dev/null
+++ b/app-misc/lirc/lirc-0.10.1_p7.ebuild
@@ -0,0 +1,180 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+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="mirror://sourceforge/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="mirror://sourceforge/lirc/${MY_P}.tar.bz2"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 ~riscv x86"
+IUSE="audio +devinput doc ftdi gtk inputlirc 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-doc/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 )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.10.1-unsafe-load.patch"
+ "${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
+
+ 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"
+}
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2022-06-05 22:08 Sam James
0 siblings, 0 replies; 64+ messages in thread
From: Sam James @ 2022-06-05 22:08 UTC (permalink / raw
To: gentoo-commits
commit: c2c6f701ebcc654e3f409e150bc25c0fc7dcf057
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 5 22:07:49 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 5 22:08:15 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2c6f701
app-misc/lirc: destabilize 0.10.1_p7
Didn't mean to push as stable, oops.
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/lirc/lirc-0.10.1_p7.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.1_p7.ebuild b/app-misc/lirc/lirc-0.10.1_p7.ebuild
index d610775c2fc6..009328e62c06 100644
--- a/app-misc/lirc/lirc-0.10.1_p7.ebuild
+++ b/app-misc/lirc/lirc-0.10.1_p7.ebuild
@@ -28,7 +28,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 ~riscv x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2022-06-06 4:59 Sam James
0 siblings, 0 replies; 64+ messages in thread
From: Sam James @ 2022-06-06 4:59 UTC (permalink / raw
To: gentoo-commits
commit: 0fc5df3662acf72ed3a0e920496d064a1ada31da
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 6 04:59:11 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun 6 04:59:11 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fc5df36
app-misc/lirc: add note re autoreconf
Closes: https://bugs.gentoo.org/849788
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/lirc/lirc-0.10.1_p7.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/app-misc/lirc/lirc-0.10.1_p7.ebuild b/app-misc/lirc/lirc-0.10.1_p7.ebuild
index 009328e62c06..9efc83183be1 100644
--- a/app-misc/lirc/lirc-0.10.1_p7.ebuild
+++ b/app-misc/lirc/lirc-0.10.1_p7.ebuild
@@ -93,6 +93,8 @@ 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
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2022-06-07 21:16 Sam James
0 siblings, 0 replies; 64+ messages in thread
From: Sam James @ 2022-06-07 21:16 UTC (permalink / raw
To: gentoo-commits
commit: 18cacccb1ed6b3941ddca17dd479dd1914fce335
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 7 21:15:54 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 7 21:15:54 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18cacccb
app-misc/lirc: Stabilize 0.10.1_p7 amd64, #850541
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/lirc/lirc-0.10.1_p7.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.1_p7.ebuild b/app-misc/lirc/lirc-0.10.1_p7.ebuild
index 9efc83183be1..84ad1d3c53bd 100644
--- a/app-misc/lirc/lirc-0.10.1_p7.ebuild
+++ b/app-misc/lirc/lirc-0.10.1_p7.ebuild
@@ -28,7 +28,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2022-06-07 21:16 Sam James
0 siblings, 0 replies; 64+ messages in thread
From: Sam James @ 2022-06-07 21:16 UTC (permalink / raw
To: gentoo-commits
commit: a6fef1a25df54b9c46734fef38273e6c8172a5ac
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 7 21:16:32 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 7 21:16:32 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6fef1a2
app-misc/lirc: Stabilize 0.10.1_p7 x86, #850541
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/lirc/lirc-0.10.1_p7.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.1_p7.ebuild b/app-misc/lirc/lirc-0.10.1_p7.ebuild
index 84ad1d3c53bd..4b9daef8133c 100644
--- a/app-misc/lirc/lirc-0.10.1_p7.ebuild
+++ b/app-misc/lirc/lirc-0.10.1_p7.ebuild
@@ -28,7 +28,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2022-06-07 21:17 Sam James
0 siblings, 0 replies; 64+ messages in thread
From: Sam James @ 2022-06-07 21:17 UTC (permalink / raw
To: gentoo-commits
commit: 63e09c4fb853b0768b0fee92bc30509172aeb1d1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 7 21:17:22 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 7 21:17:22 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63e09c4f
app-misc/lirc: Stabilize 0.10.1_p7 ppc, #850541
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/lirc/lirc-0.10.1_p7.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.1_p7.ebuild b/app-misc/lirc/lirc-0.10.1_p7.ebuild
index b6748b955752..c01e42bc20ad 100644
--- a/app-misc/lirc/lirc-0.10.1_p7.ebuild
+++ b/app-misc/lirc/lirc-0.10.1_p7.ebuild
@@ -28,7 +28,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 ~riscv x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2022-06-07 21:17 Sam James
0 siblings, 0 replies; 64+ messages in thread
From: Sam James @ 2022-06-07 21:17 UTC (permalink / raw
To: gentoo-commits
commit: a98bb21cfb731297094859e25acd8a2644c27bc5
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 7 21:17:19 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 7 21:17:19 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a98bb21c
app-misc/lirc: Stabilize 0.10.1_p7 ppc64, #850541
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/lirc/lirc-0.10.1_p7.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.1_p7.ebuild b/app-misc/lirc/lirc-0.10.1_p7.ebuild
index 4b9daef8133c..b6748b955752 100644
--- a/app-misc/lirc/lirc-0.10.1_p7.ebuild
+++ b/app-misc/lirc/lirc-0.10.1_p7.ebuild
@@ -28,7 +28,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2022-10-16 20:45 Craig Andrews
0 siblings, 0 replies; 64+ messages in thread
From: Craig Andrews @ 2022-10-16 20:45 UTC (permalink / raw
To: gentoo-commits
commit: 2fc7d78983cf5f7a07262bd0a40966bbdbd18239
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 16 20:42:39 2022 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Sun Oct 16 20:45:23 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fc7d789
app-misc/lirc: add 0.10.2
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
app-misc/lirc/Manifest | 1 +
app-misc/lirc/lirc-0.10.2.ebuild | 181 +++++++++++++++++++++++++++++++++++++++
2 files changed, 182 insertions(+)
diff --git a/app-misc/lirc/Manifest b/app-misc/lirc/Manifest
index a094fcac0030..feb080bf858d 100644
--- a/app-misc/lirc/Manifest
+++ b/app-misc/lirc/Manifest
@@ -1,2 +1,3 @@
DIST lirc-0.10.1.tar.bz2 2523226 BLAKE2B 47b7ee87de8f64f7f829af519c0d296a85cf91790148927e850965177d4984bb994a0ad122cb59c3db508813d0824ffec45126e794abd08174a052361cea53e5 SHA512 31c0b6ee169b302b99994a2a3fa0ebcae0e01cb83c02fe02acf1de5ba8cf77a091a0221c7d8104448c30930adafe654cd08afb7d0df6b5b7ec2d47df26e5df9d
+DIST lirc-0.10.2.tar.bz2 2418298 BLAKE2B fa067ff3de9779962e34a87f948b978eae73056d567abb708baac953b0551735cae9610c9d83af17bc9bc44031b8ad43e338665897d86fc8adf81b8ae2c7c983 SHA512 99eb2d4496df8ab6b71f11edb2990fff53d0ccc63060119aa7bb6461f7b8488c3f45012e2fa8f393f5928ea4c4ace91a6b0daeb766a868d420455dacad78512d
DIST lirc_0.10.1-7.debian.tar.xz 39392 BLAKE2B cb7527bb33a1d724fea487ca468f98f406c8af894b185580dd285ed46ee0d7f6eeb5c2d66ae09c917d580485568f6510ef968283c56511dc9b4281c77fcc4563 SHA512 9bcd7dc2d30647ab807a65036c02d4adc425af288046d8f0b9bee2f38389f39be21103e4980684827e736b4b76a05688ae870f0871bc50213de429c35b70211e
diff --git a/app-misc/lirc/lirc-0.10.2.ebuild b/app-misc/lirc/lirc-0.10.2.ebuild
new file mode 100644
index 000000000000..38716618961c
--- /dev/null
+++ b/app-misc/lirc/lirc-0.10.2.ebuild
@@ -0,0 +1,181 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+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="mirror://sourceforge/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="mirror://sourceforge/lirc/${MY_P}.tar.bz2"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 ~riscv x86"
+IUSE="audio +devinput doc ftdi gtk inputlirc 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-doc/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 )
+"
+
+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"
+}
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2022-10-17 22:39 Sam James
0 siblings, 0 replies; 64+ messages in thread
From: Sam James @ 2022-10-17 22:39 UTC (permalink / raw
To: gentoo-commits
commit: 6b9c1c2de1f0b2509a7e9db1d2c4dddd1e1ffd89
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 17 22:39:14 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 22:39:14 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b9c1c2d
app-misc/lirc: destabilize 0.10.2 for ~amd64, ~ppc, ~ppc64, ~x86
Accidentally pushed as stable I think
Fixes: 2fc7d78983cf5f7a07262bd0a40966bbdbd18239
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/lirc/lirc-0.10.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.2.ebuild b/app-misc/lirc/lirc-0.10.2.ebuild
index 38716618961c..920f1a3fe1b0 100644
--- a/app-misc/lirc/lirc-0.10.2.ebuild
+++ b/app-misc/lirc/lirc-0.10.2.ebuild
@@ -28,7 +28,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 ~riscv x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2022-11-29 15:58 WANG Xuerui
0 siblings, 0 replies; 64+ messages in thread
From: WANG Xuerui @ 2022-11-29 15:58 UTC (permalink / raw
To: gentoo-commits
commit: 009223213312501d0d9fc196fedd0b68c61ce594
Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 29 14:48:16 2022 +0000
Commit: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Tue Nov 29 15:57:51 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00922321
app-misc/lirc: keyword 0.10.2 for ~loong
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
app-misc/lirc/lirc-0.10.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.2.ebuild b/app-misc/lirc/lirc-0.10.2.ebuild
index 920f1a3fe1b0..02359ce76b60 100644
--- a/app-misc/lirc/lirc-0.10.2.ebuild
+++ b/app-misc/lirc/lirc-0.10.2.ebuild
@@ -28,7 +28,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2023-02-27 14:24 Craig Andrews
0 siblings, 0 replies; 64+ messages in thread
From: Craig Andrews @ 2023-02-27 14:24 UTC (permalink / raw
To: gentoo-commits
commit: 8a6e73f24932249cf9d8ce6eb9692e579ae343e3
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 27 14:24:04 2023 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Mon Feb 27 14:24:41 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a6e73f2
app-misc/lirc: enable py3.11
Closes: https://bugs.gentoo.org/896588
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
app-misc/lirc/lirc-0.10.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.2.ebuild b/app-misc/lirc/lirc-0.10.2.ebuild
index 380e55128424..f9b8428f0f19 100644
--- a/app-misc/lirc/lirc-0.10.2.ebuild
+++ b/app-misc/lirc/lirc-0.10.2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit linux-info python-single-r1 xdg-utils
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2023-04-19 8:29 Arthur Zamarin
0 siblings, 0 replies; 64+ messages in thread
From: Arthur Zamarin @ 2023-04-19 8:29 UTC (permalink / raw
To: gentoo-commits
commit: 97dbb1a9bdf65db80ab70f94c4908b8dca3c9ab5
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 19 08:28:57 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 19 08:28:57 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97dbb1a9
app-misc/lirc: Stabilize 0.10.2 ppc, #904285
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-misc/lirc/lirc-0.10.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.2.ebuild b/app-misc/lirc/lirc-0.10.2.ebuild
index f9b8428f0f19..9c2865cff61d 100644
--- a/app-misc/lirc/lirc-0.10.2.ebuild
+++ b/app-misc/lirc/lirc-0.10.2.ebuild
@@ -28,7 +28,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ppc ~ppc64 ~riscv ~x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2023-04-19 8:44 Arthur Zamarin
0 siblings, 0 replies; 64+ messages in thread
From: Arthur Zamarin @ 2023-04-19 8:44 UTC (permalink / raw
To: gentoo-commits
commit: 469ab75e7ee5950c7ddbc6c5c85d4dab12675fd3
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 19 08:44:18 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 19 08:44:18 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=469ab75e
app-misc/lirc: Stabilize 0.10.2 ppc64, #904285
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-misc/lirc/lirc-0.10.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.2.ebuild b/app-misc/lirc/lirc-0.10.2.ebuild
index 9c2865cff61d..fd2387023b87 100644
--- a/app-misc/lirc/lirc-0.10.2.ebuild
+++ b/app-misc/lirc/lirc-0.10.2.ebuild
@@ -28,7 +28,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ppc ppc64 ~riscv ~x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2023-04-19 9:26 Arthur Zamarin
0 siblings, 0 replies; 64+ messages in thread
From: Arthur Zamarin @ 2023-04-19 9:26 UTC (permalink / raw
To: gentoo-commits
commit: e348979820725d6505dcd3d7fad5d5115feab6f9
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 19 09:26:07 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 19 09:26:07 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3489798
app-misc/lirc: Stabilize 0.10.2 amd64, #904285
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-misc/lirc/lirc-0.10.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.2.ebuild b/app-misc/lirc/lirc-0.10.2.ebuild
index fd2387023b87..dcd0463ebd7f 100644
--- a/app-misc/lirc/lirc-0.10.2.ebuild
+++ b/app-misc/lirc/lirc-0.10.2.ebuild
@@ -28,7 +28,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ppc ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ppc ppc64 ~riscv ~x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2023-04-19 9:43 Sam James
0 siblings, 0 replies; 64+ messages in thread
From: Sam James @ 2023-04-19 9:43 UTC (permalink / raw
To: gentoo-commits
commit: a11d3f862e22f4d402876f12875efcdcef84a1ec
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 19 09:43:08 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 19 09:43:08 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a11d3f86
app-misc/lirc: Stabilize 0.10.2 x86, #904285
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/lirc/lirc-0.10.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.2.ebuild b/app-misc/lirc/lirc-0.10.2.ebuild
index dcd0463ebd7f..52f90af591ed 100644
--- a/app-misc/lirc/lirc-0.10.2.ebuild
+++ b/app-misc/lirc/lirc-0.10.2.ebuild
@@ -28,7 +28,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ppc ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ppc ppc64 ~riscv x86"
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2023-06-28 7:50 Sam James
0 siblings, 0 replies; 64+ messages in thread
From: Sam James @ 2023-06-28 7:50 UTC (permalink / raw
To: gentoo-commits
commit: a1fb8cc7f1805ca5770070378282f320f80d9a85
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 28 07:41:07 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 28 07:50:01 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1fb8cc7
app-misc/lirc: add missing selinux policy dep
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/lirc/lirc-0.10.2.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app-misc/lirc/lirc-0.10.2.ebuild b/app-misc/lirc/lirc-0.10.2.ebuild
index 52f90af591ed..2744df84bc93 100644
--- a/app-misc/lirc/lirc-0.10.2.ebuild
+++ b/app-misc/lirc/lirc-0.10.2.ebuild
@@ -29,7 +29,7 @@ fi
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~loong ppc ppc64 ~riscv x86"
-IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
+IUSE="audio +devinput doc ftdi gtk inputlirc selinux static-libs systemd +uinput usb X"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
@@ -75,6 +75,7 @@ RDEPEND="
')
)
inputlirc? ( app-misc/inputlircd )
+ selinux? ( sec-policy/selinux-lircd )
"
PATCHES=(
^ permalink raw reply related [flat|nested] 64+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/
@ 2024-04-15 23:48 Craig Andrews
0 siblings, 0 replies; 64+ messages in thread
From: Craig Andrews @ 2024-04-15 23:48 UTC (permalink / raw
To: gentoo-commits
commit: 8c0dfb16f7a2fff03593287cbb35a9e81696bf9f
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 15 23:47:27 2024 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Mon Apr 15 23:47:27 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c0dfb16
app-misc/lirc: enable py3.12
Closes: https://bugs.gentoo.org/929336
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
app-misc/lirc/lirc-0.10.1-r4.ebuild | 2 +-
app-misc/lirc/lirc-0.10.1_p7.ebuild | 2 +-
app-misc/lirc/lirc-0.10.2.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/app-misc/lirc/lirc-0.10.1-r4.ebuild b/app-misc/lirc/lirc-0.10.1-r4.ebuild
index 69bf0852adb8..5ede441a9100 100644
--- a/app-misc/lirc/lirc-0.10.1-r4.ebuild
+++ b/app-misc/lirc/lirc-0.10.1-r4.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{9,10} )
+PYTHON_COMPAT=( python3_{9,10,11,12} )
inherit flag-o-matic linux-info python-single-r1 systemd xdg-utils
diff --git a/app-misc/lirc/lirc-0.10.1_p7.ebuild b/app-misc/lirc/lirc-0.10.1_p7.ebuild
index b911a3002dcf..a54c8b7833a5 100644
--- a/app-misc/lirc/lirc-0.10.1_p7.ebuild
+++ b/app-misc/lirc/lirc-0.10.1_p7.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..12} )
inherit linux-info python-single-r1 xdg-utils
diff --git a/app-misc/lirc/lirc-0.10.2.ebuild b/app-misc/lirc/lirc-0.10.2.ebuild
index 848b84ba94db..9fdcf9735343 100644
--- a/app-misc/lirc/lirc-0.10.2.ebuild
+++ b/app-misc/lirc/lirc-0.10.2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{9..12} )
inherit linux-info python-single-r1 xdg-utils
^ permalink raw reply related [flat|nested] 64+ messages in thread
end of thread, other threads:[~2024-04-15 23:48 UTC | newest]
Thread overview: 64+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-06 18:46 [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/ Craig Andrews
-- strict thread matches above, loose matches on Subject: below --
2024-04-15 23:48 Craig Andrews
2023-06-28 7:50 Sam James
2023-04-19 9:43 Sam James
2023-04-19 9:26 Arthur Zamarin
2023-04-19 8:44 Arthur Zamarin
2023-04-19 8:29 Arthur Zamarin
2023-02-27 14:24 Craig Andrews
2022-11-29 15:58 WANG Xuerui
2022-10-17 22:39 Sam James
2022-10-16 20:45 Craig Andrews
2022-06-07 21:17 Sam James
2022-06-07 21:17 Sam James
2022-06-07 21:16 Sam James
2022-06-07 21:16 Sam James
2022-06-06 4:59 Sam James
2022-06-05 22:08 Sam James
2022-06-05 22:06 Sam James
2022-05-18 18:54 Craig Andrews
2021-05-31 20:18 Michał Górny
2020-12-11 23:10 Sergei Trofimovich
2020-12-11 23:07 Sergei Trofimovich
2020-12-03 2:19 Thomas Deutschmann
2020-12-02 23:54 Sam James
2020-11-18 17:56 Craig Andrews
2020-11-08 7:57 Sam James
2020-03-19 6:28 Michał Górny
2020-03-19 6:28 Michał Górny
2020-02-09 16:11 Michał Górny
2019-08-28 16:12 David Seifert
2019-05-20 10:56 Mikle Kolyada
2019-05-19 13:14 Thomas Deutschmann
2019-05-11 16:17 Craig Andrews
2018-10-20 12:16 Sergei Trofimovich
2018-08-18 22:36 Sergei Trofimovich
2018-08-08 21:54 Mikle Kolyada
2018-08-06 22:20 Thomas Deutschmann
2018-08-06 17:13 Craig Andrews
2018-08-01 16:38 Craig Andrews
2018-08-01 16:38 Craig Andrews
2018-07-30 18:47 Craig Andrews
2018-07-27 17:22 Craig Andrews
2018-07-26 20:16 Craig Andrews
2018-07-09 14:15 Craig Andrews
2018-07-09 14:09 Craig Andrews
2018-06-23 10:02 Pacho Ramos
2018-04-06 18:46 Craig Andrews
2017-08-18 15:44 Craig Andrews
2017-06-28 9:35 Alexis Ballier
2017-03-28 22:12 Göktürk Yüksek
2017-03-04 0:55 Michael Palimaka
2017-02-21 9:29 Michał Górny
2017-02-21 8:51 Michał Górny
2016-12-30 22:03 Patrice Clement
2016-12-30 21:58 Patrice Clement
2016-08-24 10:38 Pacho Ramos
2016-07-30 8:31 David Seifert
2016-07-08 11:48 Patrice Clement
2016-07-08 11:44 Patrice Clement
2016-07-08 11:38 Patrice Clement
2016-04-26 17:53 Austin English
2016-01-10 10:07 Sven Wegener
2016-01-05 11:45 Pacho Ramos
2016-01-05 11:45 Pacho Ramos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox