diff options
Diffstat (limited to 'dev-libs/serdisplib')
-rw-r--r-- | dev-libs/serdisplib/Manifest | 6 | ||||
-rw-r--r-- | dev-libs/serdisplib/metadata.xml | 6 | ||||
-rw-r--r-- | dev-libs/serdisplib/serdisplib-2.01-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/serdisplib/serdisplib-2.02.ebuild | 100 |
4 files changed, 106 insertions, 8 deletions
diff --git a/dev-libs/serdisplib/Manifest b/dev-libs/serdisplib/Manifest index f74bf80f72d6..e2ff2c09b133 100644 --- a/dev-libs/serdisplib/Manifest +++ b/dev-libs/serdisplib/Manifest @@ -2,7 +2,9 @@ AUX disable-static-build.patch 3327 BLAKE2B 677d3dcc121cbc42345e987055aa202ea811 AUX use-destdir.patch 3400 BLAKE2B 77d9adc8c9a44586cbe352c6273677704d7335fc75c82d50a681c361a10a45484ae0dfb3241bf9d99ba242f6548df9cb036992b46e157f9c4ec3ca098397be7e SHA512 370ace46b39ba5e67d7f728a3cb3980b75a2c7e6e5fb25273f9c3bfbe10f33479bfcff92e3074a2cb80985c114d161b78115410dd88330810f654875e57d7575 DIST serdisplib-1.97.9.tar.gz 293190 BLAKE2B f11406acaedb724d51266510d10f5cbae7e3bf1a69e3378ed8a0f8c4551336e3d662eb104ccc938f72821aec3406e1eed27754c990e17940d8dbe7dd8c5d6805 SHA512 ab45202fd1fd85b12f1ebf7a7e1a4575ad363f6faffd45949300840456e26dd521c70b67ff57c32e1ff6c0a9f2668b3be6a653afb57ba6da701fbae6e8db3118 DIST serdisplib-2.01.tar.gz 472998 BLAKE2B 7ee78703d1d2cb4172e44db443825dd0fb3080284e832c60a102b853a1df6e0812a30a40504b8eb3e5ecda83f57138d78b43c3c40b8e4efabb7071eff7ad1b3e SHA512 0474cce4353edb3640d8432272905859e90efe6140e6791c84e1cb51df7f533734a9c78447d8d8448a70e62dda6d65061bbcc515ee346354825029874ae5e9a9 +DIST serdisplib-2.02.tar.gz 497028 BLAKE2B f35b6df60303a288b2a279d821a510089802019f33b7ee36b9c2fd1d1d6bef0b3118793e6d965076c1665e1e2555a553186ef1a9210712ef9d2bc1e090ec0a98 SHA512 d9936c25dc14e24eb02876f203476752340e621d8ee5c87ee99862575e45199bf46ff8487dfdd80b16a89543958fdf5a16a2aaf78d5cade06811cfb1592c45eb EBUILD serdisplib-1.97.9.ebuild 689 BLAKE2B 046e5cbc15c905f6e9ce98cd91798a7b08e93f0ab5409d3ca46a0f52f2cf5c600d53521720e584146c001dcf1a414ae65c98f469cfd203a89b427193cdbad07d SHA512 f1d713fc3c1005ad81b074a4b75638015f06b57141d2f83e02c4cf11a2b2cdaac56b89f1c3fbfc1b3e38d33f2c48e0e22a7ac6af31c47e50b1d4431231c613a9 -EBUILD serdisplib-2.01-r1.ebuild 2560 BLAKE2B 1857bbcc27ae21c882f30309047b0e82ed95e971683e996ce3f79a54aa61aee9ae7d0f7086be2a5635649f4ee68ded50e9522b82516150f0997c3a02a2bf6ff4 SHA512 e14108c215f9690e0d931bf328b086cca420ef5eaafaab85f1274d3176903202fdd4fd4a51a52316dee360b96a9b99b012939509a08f6bb9ef6234ee62b075e7 +EBUILD serdisplib-2.01-r1.ebuild 2558 BLAKE2B 0556b6f2ac51a53ae8160cfbbdd490e7ec0f0f65ed177d457a84f865c541c9ddb953d3d21700719f404dc8ca4bb8488e21ae3e15126fbb882417344c33b67720 SHA512 29036de8863534cd54ec9f72f7bcaf131d5a2b0c3ec63c5a3908481f0f946e3c339b92dc6bfc037d8ad67e4af46dbb6f5cceb4ec9848fac1a4c8ce7eaccb227a EBUILD serdisplib-2.01.ebuild 2508 BLAKE2B 4efd666b305375c65be803c8e79d91b9f8caf72cc74d2f655a6ccd790e80099fb44749d46749a8504b0f74902187fb2501402c330301e01d3de62e9b721cfe65 SHA512 cf3279873e09b74ef7c3c357c94fd8bc2a23840d4f606011c2cecad5a3a3972337c4f5ae4c9ca93afe1200aad54b0f8b958e9f80aa2591c525412286c1b9dc26 -MISC metadata.xml 781 BLAKE2B 39a77b8c97974cdd41d31afa7bc47def2f23f1137b00f79f6574c4f4236702f2ac12219520c7afb7346c4b51dafce61ae901f64da618972fdc44d80b918ab5bd SHA512 fd9814780e1fde17eacd0424f757b9d2b905cbf2116d44cc0966d703cbfe7878580a1afe7b2da4e02d641617922b3e057e9daf8213091a69b0820bd7d92186fd +EBUILD serdisplib-2.02.ebuild 2559 BLAKE2B 9d19520bb7762b794b49c6c0e110f680f1340b8b1cbfe8bf9e914a58f025f99b62950f95b1a56dc05e382e571bd903067df58d29d85b10ebbcc1edcce9482a6a SHA512 e0eb83121bd6e33b01c67f286733bd46aa48dd7fc3c5352b11be786e7f15bb7d72393dec569b15a791c18097dd3729e72846f41975a67acc7e45b1365c93ab96 +MISC metadata.xml 662 BLAKE2B 08a9e0f6642a8e77f31b102b1874b32e43728451e92ad3db770c06b93a3653c575844fdb1b92d4969640327b94ea56aec3caffe3afd48540709fde7c541644ac SHA512 5f67e02b44a93b45ac7f08be8e569d2974a761f54c4ddc90cc541459adc3e41b5702405d971f29c094e4b7755975d9f5cd4ba4ad0f6d9ee116e5fd6f4a2c2b91 diff --git a/dev-libs/serdisplib/metadata.xml b/dev-libs/serdisplib/metadata.xml index 74d9cf8a6041..b1114ec09a32 100644 --- a/dev-libs/serdisplib/metadata.xml +++ b/dev-libs/serdisplib/metadata.xml @@ -2,13 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>ck+gentoo@bl4ckb0x.de</email> + <email>conikost@gentoo.org</email> <name>Conrad Kostecki</name> </maintainer> - <maintainer type="project"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> <upstream> <bugs-to>https://sourceforge.net/p/serdisplib/bugs/</bugs-to> <remote-id type="sourceforge">serdisplib</remote-id> diff --git a/dev-libs/serdisplib/serdisplib-2.01-r1.ebuild b/dev-libs/serdisplib/serdisplib-2.01-r1.ebuild index 3511b8bfa006..19a3e815ea2c 100644 --- a/dev-libs/serdisplib/serdisplib-2.01-r1.ebuild +++ b/dev-libs/serdisplib/serdisplib-2.01-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ~ppc ~ppc64 x86" IUSE="threads tools" # Define the list of valid lcd devices. diff --git a/dev-libs/serdisplib/serdisplib-2.02.ebuild b/dev-libs/serdisplib/serdisplib-2.02.ebuild new file mode 100644 index 000000000000..3014edbec361 --- /dev/null +++ b/dev-libs/serdisplib/serdisplib-2.02.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit udev + +DESCRIPTION="Library to drive several displays with built-in controllers or display modules" +HOMEPAGE="http://serdisplib.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="threads tools" + +# Define the list of valid lcd devices. +IUSE_LCD_DEVICES=( + acoolsdcm ddusbt directgfx displaylink framebuffer glcd2usb + goldelox i2c ks0108 l4m lc7981 lh155 nokcol pcd8544 + remote rs232 sed133x sed153x sed156x ssdoled stv8105 t6963 +) + +# Add supported drivers from 'IUSE_LCD_DEVICES' to 'IUSE' and 'REQUIRED_USE' +IUSE+=" $(printf 'lcd_devices_%s ' ${IUSE_LCD_DEVICES[@]}) " +REQUIRED_USE+=" + || ( $(printf 'lcd_devices_%s ' ${IUSE_LCD_DEVICES[@]}) ) + lcd_devices_framebuffer? ( threads ) +" + +# Specific drivers will need some features to be enabled +RDEPEND=" + media-libs/gd[jpeg,png,tiff] + lcd_devices_acoolsdcm? ( virtual/libusb:1 ) + lcd_devices_directgfx? ( media-libs/libsdl ) + lcd_devices_displaylink? ( x11-libs/libdlo ) + lcd_devices_glcd2usb? ( virtual/libusb:1 ) +" + +DEPEND="${RDEPEND}" + +DOCS=( "AUTHORS" "BUGS" "DOCS" "HISTORY" "PINOUTS" "README" "TODO" ) + +PATCHES=( "${FILESDIR}/use-destdir.patch" "${FILESDIR}/disable-static-build.patch" ) + +src_prepare() { + default + + # Fix Makefile, as it will fail, when USE="tools" is not set + if ! use tools; then + sed -i -e '/$(INSTALL_PROGRAM) $(PROGRAMS)/d' src/Makefile.in || die + fi + + # Fix QA-Warning "QA Notice: pkg-config files with wrong LDFLAGS detected" + sed -i -e '/@LDFLAGS@/d' serdisplib.pc.in || die +} + +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 + + local use_usb="--disable-libusb" + if use lcd_devices_acoolsdcm || use lcd_devices_glcd2usb; then + use_usb="--enable-libusb" + fi + + local myeconfargs=( + $(use_enable lcd_devices_directgfx libSDL) + $(use_enable lcd_devices_displaylink deprecated) + $(use_enable lcd_devices_displaylink libdlo) + $(use_enable lcd_devices_remote experimental) + $(use_enable threads pthread) + $(use_enable tools) + ${use_usb} + --disable-dynloading + --disable-statictools + --with-drivers="${myeconfargs_lcd_devices#,}" + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + udev_dorules 90-libserdisp.rules +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} |