1 |
commit: 40221c02e85956db7999c850b72fc2570bf2ef4c |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 10 12:38:35 2020 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 10 13:17:06 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40221c02 |
7 |
|
8 |
dev-libs/serdisplib: drop old version |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
12 |
|
13 |
dev-libs/serdisplib/serdisplib-2.02.ebuild | 100 ----------------------------- |
14 |
1 file changed, 100 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/serdisplib/serdisplib-2.02.ebuild b/dev-libs/serdisplib/serdisplib-2.02.ebuild |
17 |
deleted file mode 100644 |
18 |
index 9fb47346044..00000000000 |
19 |
--- a/dev-libs/serdisplib/serdisplib-2.02.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,100 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-inherit udev |
28 |
- |
29 |
-DESCRIPTION="Library to drive several displays with built-in controllers or display modules" |
30 |
-HOMEPAGE="http://serdisplib.sourceforge.net" |
31 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
32 |
- |
33 |
-LICENSE="GPL-2+" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="amd64 ppc ~ppc64 x86" |
36 |
-IUSE="threads tools" |
37 |
- |
38 |
-# Define the list of valid lcd devices. |
39 |
-IUSE_LCD_DEVICES=( |
40 |
- acoolsdcm ddusbt directgfx displaylink framebuffer glcd2usb |
41 |
- goldelox i2c ks0108 l4m lc7981 lh155 nokcol pcd8544 |
42 |
- remote rs232 sed133x sed153x sed156x ssdoled stv8105 t6963 |
43 |
-) |
44 |
- |
45 |
-# Add supported drivers from 'IUSE_LCD_DEVICES' to 'IUSE' and 'REQUIRED_USE' |
46 |
-IUSE+=" $(printf 'lcd_devices_%s ' ${IUSE_LCD_DEVICES[@]}) " |
47 |
-REQUIRED_USE+=" |
48 |
- || ( $(printf 'lcd_devices_%s ' ${IUSE_LCD_DEVICES[@]}) ) |
49 |
- lcd_devices_framebuffer? ( threads ) |
50 |
-" |
51 |
- |
52 |
-# Specific drivers will need some features to be enabled |
53 |
-RDEPEND=" |
54 |
- media-libs/gd[jpeg,png,tiff] |
55 |
- lcd_devices_acoolsdcm? ( virtual/libusb:1 ) |
56 |
- lcd_devices_directgfx? ( media-libs/libsdl ) |
57 |
- lcd_devices_displaylink? ( x11-libs/libdlo ) |
58 |
- lcd_devices_glcd2usb? ( virtual/libusb:1 ) |
59 |
-" |
60 |
- |
61 |
-DEPEND="${RDEPEND}" |
62 |
- |
63 |
-DOCS=( "AUTHORS" "BUGS" "DOCS" "HISTORY" "PINOUTS" "README" "TODO" ) |
64 |
- |
65 |
-PATCHES=( "${FILESDIR}/use-destdir.patch" "${FILESDIR}/disable-static-build.patch" ) |
66 |
- |
67 |
-src_prepare() { |
68 |
- default |
69 |
- |
70 |
- # Fix Makefile, as it will fail, when USE="tools" is not set |
71 |
- if ! use tools; then |
72 |
- sed -i -e '/$(INSTALL_PROGRAM) $(PROGRAMS)/d' src/Makefile.in || die |
73 |
- fi |
74 |
- |
75 |
- # Fix QA-Warning "QA Notice: pkg-config files with wrong LDFLAGS detected" |
76 |
- sed -i -e '/@LDFLAGS@/d' serdisplib.pc.in || die |
77 |
-} |
78 |
- |
79 |
-src_configure() { |
80 |
- # Enable all users enabled lcd devices |
81 |
- local myeconfargs_lcd_devices |
82 |
- for lcd_device in ${IUSE_LCD_DEVICES[@]}; do |
83 |
- if use lcd_devices_${lcd_device}; then |
84 |
- myeconfargs_lcd_devices+=",${lcd_device}" |
85 |
- fi |
86 |
- done |
87 |
- |
88 |
- local use_usb="--disable-libusb" |
89 |
- if use lcd_devices_acoolsdcm || use lcd_devices_glcd2usb; then |
90 |
- use_usb="--enable-libusb" |
91 |
- fi |
92 |
- |
93 |
- local myeconfargs=( |
94 |
- $(use_enable lcd_devices_directgfx libSDL) |
95 |
- $(use_enable lcd_devices_displaylink deprecated) |
96 |
- $(use_enable lcd_devices_displaylink libdlo) |
97 |
- $(use_enable lcd_devices_remote experimental) |
98 |
- $(use_enable threads pthread) |
99 |
- $(use_enable tools) |
100 |
- ${use_usb} |
101 |
- --disable-dynloading |
102 |
- --disable-statictools |
103 |
- --with-drivers="${myeconfargs_lcd_devices#,}" |
104 |
- ) |
105 |
- |
106 |
- econf "${myeconfargs[@]}" |
107 |
-} |
108 |
- |
109 |
-src_install() { |
110 |
- default |
111 |
- |
112 |
- udev_dorules 90-libserdisp.rules |
113 |
-} |
114 |
- |
115 |
-pkg_postinst() { |
116 |
- udev_reload |
117 |
-} |
118 |
- |
119 |
-pkg_postrm() { |
120 |
- udev_reload |
121 |
-} |