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