1 |
commit: 7b66292f231f6cb3985d41ab18cca8517f96bc7d |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 5 19:44:11 2020 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 5 19:48:19 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b66292f |
7 |
|
8 |
app-misc/lcd4linux: drop old version |
9 |
|
10 |
Package-Manager: Portage-3.0.1, Repoman-2.3.23 |
11 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
12 |
|
13 |
.../lcd4linux-0.11.0_pre20170527-r4.ebuild | 181 --------------------- |
14 |
1 file changed, 181 deletions(-) |
15 |
|
16 |
diff --git a/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r4.ebuild b/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r4.ebuild |
17 |
deleted file mode 100644 |
18 |
index 99a2dd057f5..00000000000 |
19 |
--- a/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r4.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,181 +0,0 @@ |
22 |
-# Copyright 1999-2019 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-PYTHON_COMPAT=( python2_7 ) |
28 |
- |
29 |
-inherit autotools flag-o-matic python-single-r1 |
30 |
- |
31 |
-DESCRIPTION="A small program that grabs information and displays it on an external LCD" |
32 |
-HOMEPAGE="https://lcd4linux.bulix.org/" |
33 |
-SRC_URI="https://dev.gentoo.org/~conikost/files/${P}.tar.bz2" |
34 |
- |
35 |
-LICENSE="GPL-2" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="amd64 x86" |
38 |
-IUSE="dmalloc outb" |
39 |
-REQUIRED_USE=" |
40 |
- ?? ( lcd_devices_hd44780 lcd_devices_hd44780-i2c ) |
41 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
42 |
-" |
43 |
- |
44 |
-# Define the list of valid lcd devices. |
45 |
-# Some drivers were removed from this list: |
46 |
-# - lcdlinux: It's an ancient driver, which needs app-misc/lcd-linux, that made it never to the portage tree. |
47 |
-# - lcdlinux: Besides, app-misc/lcd-linux won't compile on a modern linux kernel. |
48 |
-# - st2205: It's needs dev-libs/libst2205, which made it never to the portage tree and is quite outdated. |
49 |
-IUSE_LCD_DEVICES=( |
50 |
- ASTUSB BeckmannEgle BWCT CrystalFontz Curses Cwlinux D4D DPF EA232graphic EFN FutabaVFD |
51 |
- FW8888 G15 GLCD2USB HD44780 HD44780-I2C IRLCD LCD2USB LCDTerm LEDMatrix LPH7508 LUIse LW_ABP M50530 |
52 |
- MatrixOrbital MatrixOrbitalGX MilfordInstruments MDM166A Newhaven Noritake NULL Pertelian PHAnderson |
53 |
- PICGraphic picoLCD picoLCDGraphic PNG PPM RouterBoard Sample SamsungSPF serdisplib ShuttleVFD |
54 |
- SimpleLCD T6963 TeakLCM Trefon ULA200 USBHUB USBLCD VNC WincorNixdorf X11 |
55 |
-) |
56 |
- |
57 |
-# Define the list of valid lcd4linux plugins. |
58 |
-# Some plugins were removed from this list: |
59 |
-# - imon: Uses telmond, which is only available on a fli4l router or an eisfair server. |
60 |
-# - ppp: It has been replaced by the netdev plugin. |
61 |
-# - seti: SETI@home software was replaced by sci-misc/boinc, which is not compatible. |
62 |
-# - xmms: XMMS software was replaced by media-sound/xmms2, which is not compatible. |
63 |
-IUSE_LCD4LINUX_PLUGINS=( |
64 |
- apm asterisk button-exec cpuinfo dbus diskstats dvb exec event |
65 |
- fifo file gps hddtemp huawei i2c-sensors iconv isdn kvv |
66 |
- loadavg meminfo mpd mpris-dbus mysql netdev netinfo pop3 |
67 |
- proc-stat python qnaplog raspi sample statfs uname uptime |
68 |
- w1retap wireless |
69 |
-) |
70 |
- |
71 |
-# Add supported drivers from 'IUSE_LCD_DEVICES' to 'IUSE' and 'REQUIRED_USE' |
72 |
-REQUIRED_USE+=" || ( " |
73 |
-for LCD_DEVICE in "${IUSE_LCD_DEVICES[@]}"; do |
74 |
- LCD_DEVICE=${LCD_DEVICE,,} |
75 |
- IUSE+=" lcd_devices_${LCD_DEVICE} " |
76 |
- REQUIRED_USE+=" lcd_devices_${LCD_DEVICE} " |
77 |
-done |
78 |
-REQUIRED_USE+=" ) " |
79 |
-unset LCD_DEVICE |
80 |
- |
81 |
-# Add supported plugins from 'IUSE_LCD4LINUX_PLUGINS' to 'IUSE' and 'REQUIRED_USE' |
82 |
-IUSE+=" ${IUSE_LCD4LINUX_PLUGINS[*]} " |
83 |
-REQUIRED_USE+=" || ( ${IUSE_LCD4LINUX_PLUGINS[*]} ) " |
84 |
- |
85 |
-# Define dependencies for all drivers in 'IUSE_LCD_DEVICES' |
86 |
-DEPEND_LCD_DEVICES=" |
87 |
- lcd_devices_astusb? ( virtual/libusb:0= ) |
88 |
- lcd_devices_bwct? ( virtual/libusb:0= ) |
89 |
- lcd_devices_curses? ( sys-libs/ncurses:0= ) |
90 |
- lcd_devices_dpf? ( virtual/libusb:0= ) |
91 |
- lcd_devices_g15? ( virtual/libusb:0= ) |
92 |
- lcd_devices_glcd2usb? ( virtual/libusb:0= ) |
93 |
- lcd_devices_irlcd? ( virtual/libusb:0= ) |
94 |
- lcd_devices_lcd2usb? ( virtual/libusb:0= ) |
95 |
- lcd_devices_ledmatrix? ( virtual/libusb:0= ) |
96 |
- lcd_devices_luise? ( |
97 |
- dev-libs/luise-bin |
98 |
- virtual/libusb:0= |
99 |
- ) |
100 |
- lcd_devices_matrixorbitalgx? ( virtual/libusb:0= ) |
101 |
- lcd_devices_mdm166a? ( virtual/libusb:0= ) |
102 |
- lcd_devices_picolcd? ( virtual/libusb:0= ) |
103 |
- lcd_devices_picolcdgraphic? ( virtual/libusb:0= ) |
104 |
- lcd_devices_png? ( |
105 |
- media-libs/gd[png] |
106 |
- media-libs/libpng:0= |
107 |
- ) |
108 |
- lcd_devices_ppm? ( media-libs/gd ) |
109 |
- lcd_devices_samsungspf? ( virtual/libusb:0= ) |
110 |
- lcd_devices_serdisplib? ( dev-libs/serdisplib ) |
111 |
- lcd_devices_shuttlevfd? ( virtual/libusb:0= ) |
112 |
- lcd_devices_trefon? ( virtual/libusb:0= ) |
113 |
- lcd_devices_ula200? ( |
114 |
- dev-embedded/libftdi:1= |
115 |
- virtual/libusb:0= |
116 |
- ) |
117 |
- lcd_devices_usbhub? ( virtual/libusb:0= ) |
118 |
- lcd_devices_usblcd? ( virtual/libusb:0= ) |
119 |
- lcd_devices_vnc? ( net-libs/libvncserver ) |
120 |
- lcd_devices_x11? ( x11-libs/libX11 ) |
121 |
-" |
122 |
- |
123 |
-# Define dependencies for all plugins in 'IUSE_LCD4LINUX_PLUGINS' |
124 |
-DEPEND_LCD4LINUX_PLUGINS=" |
125 |
- asterisk? ( net-misc/asterisk ) |
126 |
- dbus? ( sys-apps/dbus ) |
127 |
- gps? ( dev-libs/nmeap ) |
128 |
- hddtemp? ( app-admin/hddtemp ) |
129 |
- iconv? ( virtual/libiconv ) |
130 |
- mpd? ( media-libs/libmpd ) |
131 |
- mpris-dbus? ( sys-apps/dbus ) |
132 |
- mysql? ( dev-db/mysql-connector-c:0= ) |
133 |
- python? ( ${PYTHON_DEPS} ) |
134 |
- wireless? ( |
135 |
- || ( |
136 |
- net-wireless/iw |
137 |
- net-wireless/wireless-tools |
138 |
- ) |
139 |
- ) |
140 |
-" |
141 |
- |
142 |
-RDEPEND=" |
143 |
- dmalloc? ( dev-libs/dmalloc ) |
144 |
- ${DEPEND_LCD_DEVICES} |
145 |
- ${DEPEND_LCD4LINUX_PLUGINS}" |
146 |
- |
147 |
-DEPEND="${RDEPEND}" |
148 |
- |
149 |
-pkg_setup() { |
150 |
- if use python; then |
151 |
- python-single-r1_pkg_setup |
152 |
- fi |
153 |
-} |
154 |
- |
155 |
-src_prepare() { |
156 |
- default |
157 |
- |
158 |
- eautoreconf |
159 |
-} |
160 |
- |
161 |
-src_configure() { |
162 |
- # Enable all users enabled lcd devices |
163 |
- local myeconfargs_lcd_devices |
164 |
- for lcd_device in "${IUSE_LCD_DEVICES[@]}"; do |
165 |
- if use "lcd_devices_${lcd_device,,}"; then |
166 |
- myeconfargs_lcd_devices+=",${lcd_device}" |
167 |
- fi |
168 |
- done |
169 |
- |
170 |
- # Enable all users enabled lcd4linux plugins |
171 |
- local myeconfargs_lcd4linux_plugins |
172 |
- for lcd4linux_plugin in "${IUSE_LCD4LINUX_PLUGINS[@]}"; do |
173 |
- if use "${lcd4linux_plugin}"; then |
174 |
- myeconfargs_lcd4linux_plugins+=",${lcd4linux_plugin/-/_}" |
175 |
- fi |
176 |
- done |
177 |
- |
178 |
- local myeconfargs=( |
179 |
- --disable-rpath |
180 |
- $(use_with dmalloc) |
181 |
- $(use_with outb) |
182 |
- $(use_with python) |
183 |
- $(use_with lcd_devices_x11 x) |
184 |
- --with-drivers="${myeconfargs_lcd_devices#,}" |
185 |
- --with-plugins="${myeconfargs_lcd4linux_plugins#,}" |
186 |
- --x-include="/usr/include" |
187 |
- --x-libraries="/usr/$(get_libdir)" |
188 |
- ) |
189 |
- |
190 |
- econf "${myeconfargs[@]}" |
191 |
-} |
192 |
- |
193 |
-src_install() { |
194 |
- default |
195 |
- |
196 |
- # Install sample config, and must have 600, as lcd4linux checks this. |
197 |
- insinto /etc/lcd4linux |
198 |
- insopts -m 0600 |
199 |
- doins lcd4linux.conf.sample |
200 |
- |
201 |
- newinitd "${FILESDIR}/lcd4linux-r2.initd" lcd4linux |
202 |
-} |