From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 225A1138334 for ; Sun, 13 Oct 2019 17:11:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A36FEE0825; Sun, 13 Oct 2019 17:11:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 77536E0825 for ; Sun, 13 Oct 2019 17:11:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4AC5534BCB3 for ; Sun, 13 Oct 2019 17:11:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A09E82D for ; Sun, 13 Oct 2019 17:11:38 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1570986685.6feaa15ba1e5f274bb496b5959d15b90c1bdd433.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/lcd4linux/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r1.ebuild app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r2.ebuild app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r3.ebuild app-misc/lcd4linux/metadata.xml X-VCS-Directories: app-misc/lcd4linux/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 6feaa15ba1e5f274bb496b5959d15b90c1bdd433 X-VCS-Branch: master Date: Sun, 13 Oct 2019 17:11:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3ef5e55d-b5b2-4e6f-9f82-ff932c4c1dfd X-Archives-Hash: 5f04e4ff15e301afff2115c6ddafac90 commit: 6feaa15ba1e5f274bb496b5959d15b90c1bdd433 Author: Conrad Kostecki kostecki com> AuthorDate: Tue Sep 17 16:17:17 2019 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sun Oct 13 17:11:25 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6feaa15b app-misc/lcd4linux: drop old version Closes: https://bugs.gentoo.org/694624 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Conrad Kostecki kostecki.com> Closes: https://github.com/gentoo/gentoo/pull/12949 Signed-off-by: Joonas Niilola gentoo.org> .../lcd4linux-0.11.0_pre20170527-r1.ebuild | 186 --------------------- .../lcd4linux-0.11.0_pre20170527-r2.ebuild | 186 --------------------- .../lcd4linux-0.11.0_pre20170527-r3.ebuild | 181 -------------------- app-misc/lcd4linux/metadata.xml | 12 +- 4 files changed, 6 insertions(+), 559 deletions(-) diff --git a/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r1.ebuild b/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r1.ebuild deleted file mode 100644 index 0d011351657..00000000000 --- a/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r1.ebuild +++ /dev/null @@ -1,186 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools flag-o-matic python-single-r1 - -DESCRIPTION="A small program that grabs information and displays it on an external LCD" -HOMEPAGE="https://lcd4linux.bulix.org/" -SRC_URI="https://www.bl4ckb0x.de/files/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="dmalloc outb" -REQUIRED_USE=" - ?? ( lcd_devices_hd44780 lcd_devices_hd44780-i2c ) - python? ( ${PYTHON_REQUIRED_USE} ) -" - -# Define the list of valid lcd devices. -# Some drivers were removed from this list: -# - lcdlinux: It's an ancient driver, which needs app-misc/lcd-linux, that made it never to the portage tree. -# - lcdlinux: Besides, app-misc/lcd-linux won't compile on a modern linux kernel. -# - st2205: It's needs dev-libs/libst2205, which made it never to the portage tree and is quite outdated. -IUSE_LCD_DEVICES=( - ASTUSB BeckmannEgle BWCT CrystalFontz Curses Cwlinux D4D DPF EA232graphic EFN FutabaVFD - FW8888 G15 GLCD2USB HD44780 HD44780-I2C IRLCD LCD2USB LCDTerm LEDMatrix LPH7508 LUIse LW_ABP M50530 - MatrixOrbital MatrixOrbitalGX MilfordInstruments MDM166A Newhaven Noritake NULL Pertelian PHAnderson - PICGraphic picoLCD picoLCDGraphic PNG PPM RouterBoard Sample SamsungSPF serdisplib ShuttleVFD - SimpleLCD T6963 TeakLCM Trefon ULA200 USBHUB USBLCD VNC WincorNixdorf X11 -) - -# Define the list of valid lcd4linux plugins. -# Some plugins were removed from this list: -# - imon: Uses telmond, which is only available on a fli4l router or an eisfair server. -# - ppp: It has been replaced by the netdev plugin. -# - seti: SETI@home software was replaced by sci-misc/boinc, which is not compatible. -# - xmms: XMMS software was replaced by media-sound/xmms2, which is not compatible. -IUSE_LCD4LINUX_PLUGINS=( - apm asterisk button_exec cpuinfo dbus diskstats dvb exec event - fifo file gps hddtemp huawei i2c_sensors iconv isdn kvv - loadavg meminfo mpd mpris_dbus mysql netdev netinfo pop3 - proc_stat python qnaplog raspi sample statfs uname uptime - w1retap wireless -) - -# Add supported drivers from 'IUSE_LCD_DEVICES' to 'IUSE' and 'REQUIRED_USE' -REQUIRED_USE+=" || ( " -for LCD_DEVICE in "${IUSE_LCD_DEVICES[@]}"; do - LCD_DEVICE=${LCD_DEVICE,,} - IUSE+=" lcd_devices_${LCD_DEVICE} " - REQUIRED_USE+=" lcd_devices_${LCD_DEVICE} " -done -REQUIRED_USE+=" ) " -unset LCD_DEVICE - -# Add supported plugins from 'IUSE_LCD4LINUX_PLUGINS' to 'IUSE' and 'REQUIRED_USE' -IUSE+=" ${IUSE_LCD4LINUX_PLUGINS[*]} " -REQUIRED_USE+=" || ( ${IUSE_LCD4LINUX_PLUGINS[*]} ) " - -# Define dependencies for all drivers in 'IUSE_LCD_DEVICES' -DEPEND_LCD_DEVICES=" - lcd_devices_astusb? ( virtual/libusb:0= ) - lcd_devices_bwct? ( virtual/libusb:0= ) - lcd_devices_curses? ( sys-libs/ncurses:0= ) - lcd_devices_dpf? ( virtual/libusb:0= ) - lcd_devices_g15? ( virtual/libusb:0= ) - lcd_devices_glcd2usb? ( virtual/libusb:0= ) - lcd_devices_irlcd? ( virtual/libusb:0= ) - lcd_devices_lcd2usb? ( virtual/libusb:0= ) - lcd_devices_ledmatrix? ( virtual/libusb:0= ) - lcd_devices_luise? ( - dev-libs/luise-bin - virtual/libusb:0= - ) - lcd_devices_matrixorbitalgx? ( virtual/libusb:0= ) - lcd_devices_mdm166a? ( virtual/libusb:0= ) - lcd_devices_picolcd? ( virtual/libusb:0= ) - lcd_devices_picolcdgraphic? ( virtual/libusb:0= ) - lcd_devices_png? ( - media-libs/gd[png] - media-libs/libpng:0= - ) - lcd_devices_ppm? ( media-libs/gd ) - lcd_devices_samsungspf? ( virtual/libusb:0= ) - lcd_devices_serdisplib? ( dev-libs/serdisplib ) - lcd_devices_shuttlevfd? ( virtual/libusb:0= ) - lcd_devices_trefon? ( virtual/libusb:0= ) - lcd_devices_ula200? ( - dev-embedded/libftdi:1= - virtual/libusb:0= - ) - lcd_devices_usbhub? ( virtual/libusb:0= ) - lcd_devices_usblcd? ( virtual/libusb:0= ) - lcd_devices_vnc? ( net-libs/libvncserver ) - lcd_devices_x11? ( x11-libs/libX11 ) -" - -# Define dependencies for all plugins in 'IUSE_LCD4LINUX_PLUGINS' -DEPEND_LCD4LINUX_PLUGINS=" - asterisk? ( net-misc/asterisk ) - dbus? ( sys-apps/dbus ) - gps? ( dev-libs/nmeap ) - hddtemp? ( app-admin/hddtemp ) - iconv? ( virtual/libiconv ) - mpd? ( media-libs/libmpd ) - mpris_dbus? ( sys-apps/dbus ) - mysql? ( - || ( - dev-db/mariadb-connector-c - dev-db/mysql-connector-c - ) - ) - python? ( ${PYTHON_DEPS} ) - wireless? ( - || ( - net-wireless/iw - net-wireless/wireless-tools - ) - ) -" - -RDEPEND=" - dmalloc? ( dev-libs/dmalloc ) - ${DEPEND_LCD_DEVICES} - ${DEPEND_LCD4LINUX_PLUGINS}" - -DEPEND="${RDEPEND}" - -pkg_setup() { - if use python; then - python-single-r1_pkg_setup - fi -} - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - # Enable all users enabled lcd devices - local myeconfargs_lcd_devices - for lcd_device in "${IUSE_LCD_DEVICES[@]}"; do - if use "lcd_devices_${lcd_device,,}"; then - myeconfargs_lcd_devices+=",${lcd_device}" - fi - done - - # Enable all users enabled lcd4linux plugins - local myeconfargs_lcd4linux_plugins - for lcd4linux_plugin in "${IUSE_LCD4LINUX_PLUGINS[@]}"; do - if use "${lcd4linux_plugin}"; then - myeconfargs_lcd4linux_plugins+=",${lcd4linux_plugin}" - fi - done - - local myeconfargs=( - --disable-rpath - $(use_with dmalloc) - $(use_with outb) - $(use_with python) - $(use_with lcd_devices_x11 x) - --with-drivers="${myeconfargs_lcd_devices#,}" - --with-plugins="${myeconfargs_lcd4linux_plugins#,}" - --x-include="/usr/include" - --x-libraries="/usr/$(get_libdir)" - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - # Install sample config, and must have 600, as lcd4linux checks this. - insinto /etc/lcd4linux - insopts -m 0600 - doins lcd4linux.conf.sample - - newinitd "${FILESDIR}/lcd4linux-r1.initd" lcd4linux -} diff --git a/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r2.ebuild b/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r2.ebuild deleted file mode 100644 index b13ecafe8c1..00000000000 --- a/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r2.ebuild +++ /dev/null @@ -1,186 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools flag-o-matic python-single-r1 - -DESCRIPTION="A small program that grabs information and displays it on an external LCD" -HOMEPAGE="https://lcd4linux.bulix.org/" -SRC_URI="https://www.bl4ckb0x.de/files/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="dmalloc outb" -REQUIRED_USE=" - ?? ( lcd_devices_hd44780 lcd_devices_hd44780-i2c ) - python? ( ${PYTHON_REQUIRED_USE} ) -" - -# Define the list of valid lcd devices. -# Some drivers were removed from this list: -# - lcdlinux: It's an ancient driver, which needs app-misc/lcd-linux, that made it never to the portage tree. -# - lcdlinux: Besides, app-misc/lcd-linux won't compile on a modern linux kernel. -# - st2205: It's needs dev-libs/libst2205, which made it never to the portage tree and is quite outdated. -IUSE_LCD_DEVICES=( - ASTUSB BeckmannEgle BWCT CrystalFontz Curses Cwlinux D4D DPF EA232graphic EFN FutabaVFD - FW8888 G15 GLCD2USB HD44780 HD44780-I2C IRLCD LCD2USB LCDTerm LEDMatrix LPH7508 LUIse LW_ABP M50530 - MatrixOrbital MatrixOrbitalGX MilfordInstruments MDM166A Newhaven Noritake NULL Pertelian PHAnderson - PICGraphic picoLCD picoLCDGraphic PNG PPM RouterBoard Sample SamsungSPF serdisplib ShuttleVFD - SimpleLCD T6963 TeakLCM Trefon ULA200 USBHUB USBLCD VNC WincorNixdorf X11 -) - -# Define the list of valid lcd4linux plugins. -# Some plugins were removed from this list: -# - imon: Uses telmond, which is only available on a fli4l router or an eisfair server. -# - ppp: It has been replaced by the netdev plugin. -# - seti: SETI@home software was replaced by sci-misc/boinc, which is not compatible. -# - xmms: XMMS software was replaced by media-sound/xmms2, which is not compatible. -IUSE_LCD4LINUX_PLUGINS=( - apm asterisk button_exec cpuinfo dbus diskstats dvb exec event - fifo file gps hddtemp huawei i2c_sensors iconv isdn kvv - loadavg meminfo mpd mpris_dbus mysql netdev netinfo pop3 - proc_stat python qnaplog raspi sample statfs uname uptime - w1retap wireless -) - -# Add supported drivers from 'IUSE_LCD_DEVICES' to 'IUSE' and 'REQUIRED_USE' -REQUIRED_USE+=" || ( " -for LCD_DEVICE in "${IUSE_LCD_DEVICES[@]}"; do - LCD_DEVICE=${LCD_DEVICE,,} - IUSE+=" lcd_devices_${LCD_DEVICE} " - REQUIRED_USE+=" lcd_devices_${LCD_DEVICE} " -done -REQUIRED_USE+=" ) " -unset LCD_DEVICE - -# Add supported plugins from 'IUSE_LCD4LINUX_PLUGINS' to 'IUSE' and 'REQUIRED_USE' -IUSE+=" ${IUSE_LCD4LINUX_PLUGINS[*]} " -REQUIRED_USE+=" || ( ${IUSE_LCD4LINUX_PLUGINS[*]} ) " - -# Define dependencies for all drivers in 'IUSE_LCD_DEVICES' -DEPEND_LCD_DEVICES=" - lcd_devices_astusb? ( virtual/libusb:0= ) - lcd_devices_bwct? ( virtual/libusb:0= ) - lcd_devices_curses? ( sys-libs/ncurses:0= ) - lcd_devices_dpf? ( virtual/libusb:0= ) - lcd_devices_g15? ( virtual/libusb:0= ) - lcd_devices_glcd2usb? ( virtual/libusb:0= ) - lcd_devices_irlcd? ( virtual/libusb:0= ) - lcd_devices_lcd2usb? ( virtual/libusb:0= ) - lcd_devices_ledmatrix? ( virtual/libusb:0= ) - lcd_devices_luise? ( - dev-libs/luise-bin - virtual/libusb:0= - ) - lcd_devices_matrixorbitalgx? ( virtual/libusb:0= ) - lcd_devices_mdm166a? ( virtual/libusb:0= ) - lcd_devices_picolcd? ( virtual/libusb:0= ) - lcd_devices_picolcdgraphic? ( virtual/libusb:0= ) - lcd_devices_png? ( - media-libs/gd[png] - media-libs/libpng:0= - ) - lcd_devices_ppm? ( media-libs/gd ) - lcd_devices_samsungspf? ( virtual/libusb:0= ) - lcd_devices_serdisplib? ( dev-libs/serdisplib ) - lcd_devices_shuttlevfd? ( virtual/libusb:0= ) - lcd_devices_trefon? ( virtual/libusb:0= ) - lcd_devices_ula200? ( - dev-embedded/libftdi:1= - virtual/libusb:0= - ) - lcd_devices_usbhub? ( virtual/libusb:0= ) - lcd_devices_usblcd? ( virtual/libusb:0= ) - lcd_devices_vnc? ( net-libs/libvncserver ) - lcd_devices_x11? ( x11-libs/libX11 ) -" - -# Define dependencies for all plugins in 'IUSE_LCD4LINUX_PLUGINS' -DEPEND_LCD4LINUX_PLUGINS=" - asterisk? ( net-misc/asterisk ) - dbus? ( sys-apps/dbus ) - gps? ( dev-libs/nmeap ) - hddtemp? ( app-admin/hddtemp ) - iconv? ( virtual/libiconv ) - mpd? ( media-libs/libmpd ) - mpris_dbus? ( sys-apps/dbus ) - mysql? ( - || ( - dev-db/mariadb-connector-c - dev-db/mysql-connector-c - ) - ) - python? ( ${PYTHON_DEPS} ) - wireless? ( - || ( - net-wireless/iw - net-wireless/wireless-tools - ) - ) -" - -RDEPEND=" - dmalloc? ( dev-libs/dmalloc ) - ${DEPEND_LCD_DEVICES} - ${DEPEND_LCD4LINUX_PLUGINS}" - -DEPEND="${RDEPEND}" - -pkg_setup() { - if use python; then - python-single-r1_pkg_setup - fi -} - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - # Enable all users enabled lcd devices - local myeconfargs_lcd_devices - for lcd_device in "${IUSE_LCD_DEVICES[@]}"; do - if use "lcd_devices_${lcd_device,,}"; then - myeconfargs_lcd_devices+=",${lcd_device}" - fi - done - - # Enable all users enabled lcd4linux plugins - local myeconfargs_lcd4linux_plugins - for lcd4linux_plugin in "${IUSE_LCD4LINUX_PLUGINS[@]}"; do - if use "${lcd4linux_plugin}"; then - myeconfargs_lcd4linux_plugins+=",${lcd4linux_plugin}" - fi - done - - local myeconfargs=( - --disable-rpath - $(use_with dmalloc) - $(use_with outb) - $(use_with python) - $(use_with lcd_devices_x11 x) - --with-drivers="${myeconfargs_lcd_devices#,}" - --with-plugins="${myeconfargs_lcd4linux_plugins#,}" - --x-include="/usr/include" - --x-libraries="/usr/$(get_libdir)" - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - # Install sample config, and must have 600, as lcd4linux checks this. - insinto /etc/lcd4linux - insopts -m 0600 - doins lcd4linux.conf.sample - - newinitd "${FILESDIR}/lcd4linux-r2.initd" lcd4linux -} diff --git a/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r3.ebuild b/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r3.ebuild deleted file mode 100644 index 75e8edadfc1..00000000000 --- a/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r3.ebuild +++ /dev/null @@ -1,181 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools flag-o-matic python-single-r1 - -DESCRIPTION="A small program that grabs information and displays it on an external LCD" -HOMEPAGE="https://lcd4linux.bulix.org/" -SRC_URI="https://www.bl4ckb0x.de/files/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="dmalloc outb" -REQUIRED_USE=" - ?? ( lcd_devices_hd44780 lcd_devices_hd44780-i2c ) - python? ( ${PYTHON_REQUIRED_USE} ) -" - -# Define the list of valid lcd devices. -# Some drivers were removed from this list: -# - lcdlinux: It's an ancient driver, which needs app-misc/lcd-linux, that made it never to the portage tree. -# - lcdlinux: Besides, app-misc/lcd-linux won't compile on a modern linux kernel. -# - st2205: It's needs dev-libs/libst2205, which made it never to the portage tree and is quite outdated. -IUSE_LCD_DEVICES=( - ASTUSB BeckmannEgle BWCT CrystalFontz Curses Cwlinux D4D DPF EA232graphic EFN FutabaVFD - FW8888 G15 GLCD2USB HD44780 HD44780-I2C IRLCD LCD2USB LCDTerm LEDMatrix LPH7508 LUIse LW_ABP M50530 - MatrixOrbital MatrixOrbitalGX MilfordInstruments MDM166A Newhaven Noritake NULL Pertelian PHAnderson - PICGraphic picoLCD picoLCDGraphic PNG PPM RouterBoard Sample SamsungSPF serdisplib ShuttleVFD - SimpleLCD T6963 TeakLCM Trefon ULA200 USBHUB USBLCD VNC WincorNixdorf X11 -) - -# Define the list of valid lcd4linux plugins. -# Some plugins were removed from this list: -# - imon: Uses telmond, which is only available on a fli4l router or an eisfair server. -# - ppp: It has been replaced by the netdev plugin. -# - seti: SETI@home software was replaced by sci-misc/boinc, which is not compatible. -# - xmms: XMMS software was replaced by media-sound/xmms2, which is not compatible. -IUSE_LCD4LINUX_PLUGINS=( - apm asterisk button_exec cpuinfo dbus diskstats dvb exec event - fifo file gps hddtemp huawei i2c_sensors iconv isdn kvv - loadavg meminfo mpd mpris_dbus mysql netdev netinfo pop3 - proc_stat python qnaplog raspi sample statfs uname uptime - w1retap wireless -) - -# Add supported drivers from 'IUSE_LCD_DEVICES' to 'IUSE' and 'REQUIRED_USE' -REQUIRED_USE+=" || ( " -for LCD_DEVICE in "${IUSE_LCD_DEVICES[@]}"; do - LCD_DEVICE=${LCD_DEVICE,,} - IUSE+=" lcd_devices_${LCD_DEVICE} " - REQUIRED_USE+=" lcd_devices_${LCD_DEVICE} " -done -REQUIRED_USE+=" ) " -unset LCD_DEVICE - -# Add supported plugins from 'IUSE_LCD4LINUX_PLUGINS' to 'IUSE' and 'REQUIRED_USE' -IUSE+=" ${IUSE_LCD4LINUX_PLUGINS[*]} " -REQUIRED_USE+=" || ( ${IUSE_LCD4LINUX_PLUGINS[*]} ) " - -# Define dependencies for all drivers in 'IUSE_LCD_DEVICES' -DEPEND_LCD_DEVICES=" - lcd_devices_astusb? ( virtual/libusb:0= ) - lcd_devices_bwct? ( virtual/libusb:0= ) - lcd_devices_curses? ( sys-libs/ncurses:0= ) - lcd_devices_dpf? ( virtual/libusb:0= ) - lcd_devices_g15? ( virtual/libusb:0= ) - lcd_devices_glcd2usb? ( virtual/libusb:0= ) - lcd_devices_irlcd? ( virtual/libusb:0= ) - lcd_devices_lcd2usb? ( virtual/libusb:0= ) - lcd_devices_ledmatrix? ( virtual/libusb:0= ) - lcd_devices_luise? ( - dev-libs/luise-bin - virtual/libusb:0= - ) - lcd_devices_matrixorbitalgx? ( virtual/libusb:0= ) - lcd_devices_mdm166a? ( virtual/libusb:0= ) - lcd_devices_picolcd? ( virtual/libusb:0= ) - lcd_devices_picolcdgraphic? ( virtual/libusb:0= ) - lcd_devices_png? ( - media-libs/gd[png] - media-libs/libpng:0= - ) - lcd_devices_ppm? ( media-libs/gd ) - lcd_devices_samsungspf? ( virtual/libusb:0= ) - lcd_devices_serdisplib? ( dev-libs/serdisplib ) - lcd_devices_shuttlevfd? ( virtual/libusb:0= ) - lcd_devices_trefon? ( virtual/libusb:0= ) - lcd_devices_ula200? ( - dev-embedded/libftdi:1= - virtual/libusb:0= - ) - lcd_devices_usbhub? ( virtual/libusb:0= ) - lcd_devices_usblcd? ( virtual/libusb:0= ) - lcd_devices_vnc? ( net-libs/libvncserver ) - lcd_devices_x11? ( x11-libs/libX11 ) -" - -# Define dependencies for all plugins in 'IUSE_LCD4LINUX_PLUGINS' -DEPEND_LCD4LINUX_PLUGINS=" - asterisk? ( net-misc/asterisk ) - dbus? ( sys-apps/dbus ) - gps? ( dev-libs/nmeap ) - hddtemp? ( app-admin/hddtemp ) - iconv? ( virtual/libiconv ) - mpd? ( media-libs/libmpd ) - mpris_dbus? ( sys-apps/dbus ) - mysql? ( dev-db/mysql-connector-c:0= ) - python? ( ${PYTHON_DEPS} ) - wireless? ( - || ( - net-wireless/iw - net-wireless/wireless-tools - ) - ) -" - -RDEPEND=" - dmalloc? ( dev-libs/dmalloc ) - ${DEPEND_LCD_DEVICES} - ${DEPEND_LCD4LINUX_PLUGINS}" - -DEPEND="${RDEPEND}" - -pkg_setup() { - if use python; then - python-single-r1_pkg_setup - fi -} - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - # Enable all users enabled lcd devices - local myeconfargs_lcd_devices - for lcd_device in "${IUSE_LCD_DEVICES[@]}"; do - if use "lcd_devices_${lcd_device,,}"; then - myeconfargs_lcd_devices+=",${lcd_device}" - fi - done - - # Enable all users enabled lcd4linux plugins - local myeconfargs_lcd4linux_plugins - for lcd4linux_plugin in "${IUSE_LCD4LINUX_PLUGINS[@]}"; do - if use "${lcd4linux_plugin}"; then - myeconfargs_lcd4linux_plugins+=",${lcd4linux_plugin}" - fi - done - - local myeconfargs=( - --disable-rpath - $(use_with dmalloc) - $(use_with outb) - $(use_with python) - $(use_with lcd_devices_x11 x) - --with-drivers="${myeconfargs_lcd_devices#,}" - --with-plugins="${myeconfargs_lcd4linux_plugins#,}" - --x-include="/usr/include" - --x-libraries="/usr/$(get_libdir)" - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - # Install sample config, and must have 600, as lcd4linux checks this. - insinto /etc/lcd4linux - insopts -m 0600 - doins lcd4linux.conf.sample - - newinitd "${FILESDIR}/lcd4linux-r2.initd" lcd4linux -} diff --git a/app-misc/lcd4linux/metadata.xml b/app-misc/lcd4linux/metadata.xml index d35d762d469..b2c00d71165 100644 --- a/app-misc/lcd4linux/metadata.xml +++ b/app-misc/lcd4linux/metadata.xml @@ -16,8 +16,8 @@ Enable the APM plugin. Enable the Asterisk plugin. - Enable the Button plugin, to execute something on keypress. Enable the Button plugin, to execute something on keypress. + Enable the Button plugin, to execute something on keypress. Enable the cpuinfo plugin. Enable the dbus plugin. Enable the diskstats plugin. @@ -30,23 +30,23 @@ Enable the gps plugin, for reading gps coordinates. Enable the hddtemp plugin, to read from the hddtemp daemon. Enable the huawei plugin, to read from a huawei device. - Enable the i2c-sensors plugin, to read sensor data. - Enable the i2c-sensors plugin, to read sensor data. + Enable the i2c_sensors plugin, to read sensor data. + Enable the i2c_sensors plugin, to read sensor data. Enable the iconv plugin, to convert between encodings. Enable the isdn plugin, to get information about ISDN. Enable the kvv plugin, to get realtime train schedule from the Karlsruher Verkehrsverbund. Enable the loadavg plugin, to get stats load Enable the meminfo plugin, to get memory statistics. Enable the mpd plugin, to read from the Music Player Daemon. - Enable the mpris plugin, to read data via dbus for mpris. Enable the mpris plugin, to read data via dbus for mpris. + Enable the mpris plugin, to read data via dbus for mpris. Enable the mysql plugin, to get mysql database information. Enable the netdev plugin, to get interface statistics. Enable the netinfo plugin, to get more interface statistic. Enable raw i/o access. Enable the pop3 plugin, to get notified about new mails. - Enable the proc-stat plugin, to read data from the proc file system. - Enable the proc-stat plugin, to read data from the proc file system. + Enable the proc_stat plugin, to read data from the proc file system. + Enable the proc_stat plugin, to read data from the proc file system. Enable support for dev-lang/python and enable the python plugin, to execute own python scripts. Enable the qnaplog plugin, to read a log from a QNAP device. Enable the raspi plugin, to read sensor data from a Raspberry Pi.