1 |
commit: a9316b2a7f2c247f61235d37e9f6da45678c8d1f |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 26 17:27:35 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 26 17:27:45 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9316b2a |
7 |
|
8 |
app-misc/lcd4linux: remove lcd4linux-0.10.1_rc2-r3 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
app-misc/lcd4linux/lcd4linux-0.10.1_rc2-r3.ebuild | 175 ---------------------- |
13 |
1 file changed, 175 deletions(-) |
14 |
|
15 |
diff --git a/app-misc/lcd4linux/lcd4linux-0.10.1_rc2-r3.ebuild b/app-misc/lcd4linux/lcd4linux-0.10.1_rc2-r3.ebuild |
16 |
deleted file mode 100644 |
17 |
index 79f87c6..0000000 |
18 |
--- a/app-misc/lcd4linux/lcd4linux-0.10.1_rc2-r3.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,175 +0,0 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=5 |
26 |
-PYTHON_COMPAT=( python2_7 ) |
27 |
-WANT_AUTOMAKE="1.9" |
28 |
-inherit eutils multilib autotools python-single-r1 |
29 |
- |
30 |
-MY_P=${P/_rc/-RC} |
31 |
- |
32 |
-DESCRIPTION="Shows system and ISDN information on an external display or in a X11 window" |
33 |
-HOMEPAGE="http://ssl.bulix.org/projects/lcd4linux" |
34 |
-SRC_URI="mirror://gentoo/${MY_P}.tar.gz" |
35 |
- |
36 |
-LICENSE="GPL-2" |
37 |
-SLOT="0" |
38 |
-KEYWORDS="amd64 ppc x86" |
39 |
- |
40 |
-IUSE="mysql python iconv mpd" |
41 |
- |
42 |
-# The following array holds the USE_EXPANDed keywords |
43 |
-IUSE_LCD_DEVICES=(beckmannegle bwct cfontz ncurses cwlinux |
44 |
- ea232 g15 hd44780 hd44780i2c lcd2usb |
45 |
- lcdlinux lcdterm ledmatrix lph7508 m50530 |
46 |
- mtxorb milfordbpk noritake null picolcd |
47 |
- png ppm routerboard serdisplib simplelcd |
48 |
- t6963 trefon usbhub usblcd wincor |
49 |
- X luise) |
50 |
- |
51 |
-# Iterate through the array and add the lcd_devices_* that we support |
52 |
-NUM_DEVICES=${#IUSE_LCD_DEVICES[@]} |
53 |
-index=0 |
54 |
-while [ "${index}" -lt "${NUM_DEVICES}" ] ; do |
55 |
- IUSE="${IUSE} lcd_devices_${IUSE_LCD_DEVICES[$index]}" |
56 |
- let "index = ${index} + 1" |
57 |
-done |
58 |
- |
59 |
-DEPEND=" |
60 |
- mysql? ( virtual/mysql ) |
61 |
- iconv? ( virtual/libiconv ) |
62 |
- mpd? ( media-libs/libmpd ) |
63 |
- |
64 |
- lcd_devices_bwct? ( =virtual/libusb-0* ) |
65 |
- lcd_devices_g15? ( =virtual/libusb-0* ) |
66 |
- lcd_devices_lcd2usb? ( =virtual/libusb-0* ) |
67 |
- lcd_devices_picolcd? ( =virtual/libusb-0* ) |
68 |
- lcd_devices_trefon? ( =virtual/libusb-0* ) |
69 |
- lcd_devices_usbhub? ( =virtual/libusb-0* ) |
70 |
- lcd_devices_usblcd? ( =virtual/libusb-0* ) |
71 |
- lcd_devices_luise? ( dev-libs/luise-bin ) |
72 |
- lcd_devices_ncurses? ( sys-libs/ncurses ) |
73 |
- lcd_devices_noritake? ( media-libs/gd ) |
74 |
- lcd_devices_t6963? ( media-libs/gd ) |
75 |
- lcd_devices_png? ( media-libs/libpng media-libs/gd ) |
76 |
- lcd_devices_X? ( x11-libs/libX11 media-libs/gd ) |
77 |
- lcd_devices_serdisplib? ( dev-libs/serdisplib media-libs/gd ) |
78 |
-" |
79 |
-RDEPEND="${DEPEND} |
80 |
- python? ( ${PYTHON_DEPS} ) |
81 |
-" |
82 |
- |
83 |
-S="${WORKDIR}/${MY_P}" |
84 |
- |
85 |
-pkg_setup() { |
86 |
- elog "If you wish to compile only specific plugins, please use" |
87 |
- elog "the LCD4LINUX_PLUGINS environment variable. Plugins must be comma separated and can be either of:" |
88 |
- elog "apm cpuinfo diskstats dvb exec file i2c_sensors imon isdn kvv loadavg meminfo netdev pop3 ppp proc_stat seti statfs uname uptime wireless" |
89 |
- |
90 |
- use python && python-single-r1_pkg_setup |
91 |
-} |
92 |
- |
93 |
-src_prepare() { |
94 |
- epatch "${FILESDIR}/${P}-warnings.patch" |
95 |
- epatch "${FILESDIR}/${P}-mpd.patch" |
96 |
- epatch "${FILESDIR}/${P}-nordtsc.patch" |
97 |
- epatch "${FILESDIR}/${P}-autoconf-2.65.patch" |
98 |
- epatch "${FILESDIR}/${P}-missing-header.patch" |
99 |
- epatch "${FILESDIR}/${P}-usbdebug.patch" |
100 |
- eautoreconf |
101 |
-} |
102 |
- |
103 |
-src_configure() { |
104 |
- # This array contains the driver names required by configure --with-drivers= |
105 |
- # The positions must be the same as the corresponding use_expand flags |
106 |
- local DEVICE_DRIVERS=(BeckmannEgle BWCT CrystalFontz Curses Cwlinux |
107 |
- EA232graphic G15 HD44780 HD44780-I2C LCD2USB |
108 |
- LCDLinux LCDTerm LEDMatrix LPH7508 M50530 |
109 |
- MatrixOrbital MilfordInstruments Noritake NULL picoLCD |
110 |
- PNG PPM RouterBoard serdisplib SimpleLCD |
111 |
- T6963 Trefon USBHUB USBLCD WincorNixdorf |
112 |
- X11 LUIse) |
113 |
- |
114 |
- local myconf myp |
115 |
- |
116 |
- # plugins |
117 |
- if [ -n "$LCD4LINUX_PLUGINS" ]; then |
118 |
- myp="$LCD4LINUX_PLUGINS" |
119 |
- else |
120 |
- myp="all,!xmms" |
121 |
- fi |
122 |
- use iconv || myp="${myp},!iconv" |
123 |
- use mpd || myp="${myp},!mpd" |
124 |
- use mysql || myp="${myp},!mysql" |
125 |
- use python || myp="${myp},!python" |
126 |
- elog "Active plugins: ${myp}" |
127 |
- |
128 |
- # Generate comma separated list of drivers |
129 |
- local COMMA_DRIVERS |
130 |
- local FIRST_DRIVER |
131 |
- local index=0 |
132 |
- local driver |
133 |
- |
134 |
- while [ "${index}" -lt "${NUM_DEVICES}" ] ; do |
135 |
- if use "lcd_devices_${IUSE_LCD_DEVICES[$index]}" ; then |
136 |
- driver=${DEVICE_DRIVERS[$index]} |
137 |
- if [ -z ${COMMA_DRIVERS} ] ; then |
138 |
- # First in the list |
139 |
- COMMA_DRIVERS="${driver}" |
140 |
- FIRST_DRIVER="${driver}" |
141 |
- else |
142 |
- # Second, third, ... include a comma at the front |
143 |
- COMMA_DRIVERS="${COMMA_DRIVERS},${driver}" |
144 |
- fi |
145 |
- fi |
146 |
- let "index = ${index} + 1" |
147 |
- done |
148 |
- |
149 |
- # activate at least one driver |
150 |
- if [ -z ${COMMA_DRIVERS} ] ; then |
151 |
- COMMA_DRIVERS="NULL" |
152 |
- fi |
153 |
- |
154 |
- # workaround the build failing because of b0rked settings |
155 |
- if use lcd_devices_hd44780 && use lcd_devices_hd44780i2c ; then |
156 |
- echo |
157 |
- ewarn "Disabling hd44780 LCD_DEVICE as hd44780i2c is set!" |
158 |
- echo |
159 |
- COMMA_DRIVERS="${COMMA_DRIVERS},!HD44780" |
160 |
- fi |
161 |
- |
162 |
- # avoid package brokenness |
163 |
- if use lcd_devices_X ; then |
164 |
- myconf="--x-libraries=/usr/$(get_libdir) --x-include=/usr/include" |
165 |
- else |
166 |
- myconf="--without-x" |
167 |
- fi |
168 |
- |
169 |
- econf \ |
170 |
- --sysconfdir=/etc/lcd4linux \ |
171 |
- --with-drivers="${COMMA_DRIVERS}" \ |
172 |
- --with-plugins="${myp}" \ |
173 |
- $(use_with python) \ |
174 |
- ${myconf} |
175 |
- |
176 |
- sed -i.orig -e 's/-L -lX11/ -lX11 /g' Makefile || die "sed fixup failed" |
177 |
-} |
178 |
- |
179 |
-src_install() { |
180 |
- default |
181 |
- |
182 |
- newinitd "${FILESDIR}/${P}.initd" ${PN} |
183 |
- |
184 |
- insinto /etc |
185 |
- insopts -o root -g root -m 0600 |
186 |
- newins lcd4linux.conf.sample lcd4linux.conf |
187 |
-} |
188 |
- |
189 |
-pkg_postinst() { |
190 |
- if use lcd_devices_lcdlinux; then |
191 |
- ewarn "To actually use the lcd-linux devices, you will need to install the lcd-linux kernel module." |
192 |
- ewarn "You can either do that yourself, see http://lcd-linux.sf.net or " |
193 |
- ewarn "checkout https://overlays.gentoo.org/dev/jokey/browser/trunk and emerge app-misc/lcd-linux" |
194 |
- fi |
195 |
-} |