diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
commit | b7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (patch) | |
tree | 9fd110f9fc996e8a4213eeda994a8c112491b86d /app-misc/graphlcd-base | |
parent | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (diff) |
gentoo resync : 19.03.2019
Diffstat (limited to 'app-misc/graphlcd-base')
-rw-r--r-- | app-misc/graphlcd-base/Manifest | 4 | ||||
-rw-r--r-- | app-misc/graphlcd-base/graphlcd-base-1.0.1.ebuild | 86 | ||||
-rw-r--r-- | app-misc/graphlcd-base/metadata.xml | 33 |
3 files changed, 111 insertions, 12 deletions
diff --git a/app-misc/graphlcd-base/Manifest b/app-misc/graphlcd-base/Manifest index 4352e7a9f525..c42ce4f3f85d 100644 --- a/app-misc/graphlcd-base/Manifest +++ b/app-misc/graphlcd-base/Manifest @@ -1,5 +1,7 @@ AUX graphlcd-base-0.1.5-nostrip.patch 3062 BLAKE2B ebcb8bf96457871e9cea6a5f8bff6e4458ff8c5f1868216645b1b5fca062904adbd3865784cf3fa260a7653e757f8e9cc534a411ed3b92cbe9f4e76ef7fccf84 SHA512 10af50a5c223cfde3248e448ec02f1160bef6b2b66e11e6fc24d3f2a5e6c40d82e9808b9c2ddf3865cd8a15223ebb7acbed4c1e4f247eaed977a18595cf9b3a0 AUX graphlcd-base-0.1.9-freetype_pkgconfig.patch 906 BLAKE2B 5df340c5e11055ca45ee4f739d44eef28ec861040ca90b105cc8fa05ca1602d984c8ec9e08bcc8007825a3f87110f18371d530d65828b1a0d163fa9a98c2832a SHA512 7665e290b4e5e46fd62186ac1ab97b8245af8d96fa73e274e07c1660dc65c51c9b8048e4e5c0e316aa8c01233e758ef84c9202cf9142b1e92b9f172559081776 DIST graphlcd-base-0.1.9.tgz 130390 BLAKE2B e25180c3679f9625efce94de77842ca296ef3155278727e3c74a657b36b45d0d3c70ceae5eb4b452c5b86ba4f0869a9c80a559fc89cd767423fe8041b2c47334 SHA512 3769cd31281f40c1cb343a70cba1fee4b27b5ab1454609dca430199b731744d63244ac39d6460c18b236dd1eaaae8284e236c63493b2df23c394ff628f3fb834 +DIST graphlcd-base-1.0.1.tar.bz2 522727 BLAKE2B 2353ddf095fc5642705682130f3336a1610d058561ca0a3ee9f1644d8a4fecfc6b45865c06732d7ba75b874b7efd6b033c64345aa359f28a9c5a1d48ae8dc0d4 SHA512 bc0ee958475e7156d90ec818542324a4220873ad5a65a2677f75ace86db8905e4a8e8dda3076628a660f90dd90a94cdd2f76eadd8fdf35615f17729041aed40b EBUILD graphlcd-base-0.1.9.ebuild 1057 BLAKE2B 2d1925c6859ad5e99bb183ae9faaa0c3ed7b2d08ef5ae710b017b4af0912c7c5d2790f34b18cac36d00607c1eb0b81b2f72f4816b3dfc09c67dd68317b384872 SHA512 63d3ac21c5980b49fd5c86fcfad5fd26323ea483c560bc987af574fd09d2edaab6767591b5b9afea3896f90233fd54e94741e0596947ce04a5b4a4cc64dbe9a9 -MISC metadata.xml 464 BLAKE2B 2f69a92ffc1ac13154404024dade395001526ee2a787526034fa68857b01d41cf278ac4b13814e8f116ba16fa7f9e576d6dc09be8dafd8e4804199dc6194d3ca SHA512 a1c66dfad0b364ba3f03d42701c22f7e67c81fcbd03e8e5228f5072aa78d05ad0b09554173131456d789771cd53d3f77898c46ed853216407ace1786870fbcf9 +EBUILD graphlcd-base-1.0.1.ebuild 2165 BLAKE2B c332d4cb8da15b3d9e13b09546d343c3ba177874a124a221622340de5ef911a68e0fb80b4fe7e2ab7a378f76ab902f4f570718e119bcb3a88be2a8bdc3015639 SHA512 4f907a00cfa37e38cb6653b831361aa326abef143936c4ac9e0612c2d564ee6cda90e702d44cbb040f3423c66c263895269e8047c1c27c188d6b0938a16f75ae +MISC metadata.xml 1077 BLAKE2B e0356b1628b9485ac746483a17cd3f8b026001676c605751f0a14b476a6f0ec37937cda4c8f6d7f4a627f7a23a68d5f5002714af5cbdfca8fa6c8ccfa43aae74 SHA512 f087452936369496699927c86029277c90cdb95504c637b118042c90726ac54b2518eab963c16b6a3deffa11ee7dcbcd2900f72af0d8a39dc0f261a4e5121fd4 diff --git a/app-misc/graphlcd-base/graphlcd-base-1.0.1.ebuild b/app-misc/graphlcd-base/graphlcd-base-1.0.1.ebuild new file mode 100644 index 000000000000..1273e920f094 --- /dev/null +++ b/app-misc/graphlcd-base/graphlcd-base-1.0.1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic udev + +DESCRIPTION="Contains the lowlevel lcd drivers for GraphLCD" +HOMEPAGE="https://projects.vdr-developer.org/projects/graphlcd-base" +SRC_URI="https://projects.vdr-developer.org/git/${PN}.git/snapshot/${P}.tar.bz2" + +KEYWORDS="~amd64 ~ppc ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="fontconfig freetype g15 graphicsmagick imagemagick lcd_devices_ax206dpf lcd_devices_picolcd_256x64 lcd_devices_vnc" +REQUIRED_USE="?? ( graphicsmagick imagemagick )" + +RDEPEND=" + freetype? ( media-libs/freetype:2= ) + fontconfig? ( media-libs/fontconfig:1.0= ) + g15? ( app-misc/g15daemon ) + graphicsmagick? ( media-gfx/graphicsmagick:0/1.3 ) + imagemagick? ( media-gfx/imagemagick:0/6.9.10.28 ) + lcd_devices_ax206dpf? ( virtual/libusb:0 ) + lcd_devices_picolcd_256x64? ( virtual/libusb:0 ) + lcd_devices_vnc? ( net-libs/libvncserver ) +" + +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +DOCS=( "HISTORY" "README" "TODO" "docs/." ) + +src_prepare() { + default + + # Change '/usr/local/' to '/usr' + # Change '/usr/lib' to '/usr/$(get_libdir)' + sed -e "34s:/usr/local:/usr:" -e "37s:/lib:/$(get_libdir):" -i Make.config || die + + # Fix pkg-config names for GraphicsMagick/ImageMagick + sed -e 's/GraphicsMagick++/GraphicsMagick/g' -e 's/ImageMagick++/ImageMagick/g' -i glcdgraphics/Makefile || die + + tc-export CC CXX +} + +src_configure() { + # Build optional drivers + if use lcd_devices_ax206dpf; then + sed -e "78s:#::" -i Make.config || die + fi + if use lcd_devices_picolcd_256x64; then + sed -e "81s:#::" -i Make.config || die + fi + if use lcd_devices_vnc; then + sed -e "72s:1:0:" -i Make.config || die + fi + + # Build optional features + if ! use freetype; then + sed -e "59s:HAVE:#HAVE:" -i Make.config || die + fi + if ! use fontconfig; then + sed -e "62s:HAVE:#HAVE:" -i Make.config || die + fi + if use graphicsmagick; then + sed -e "69s:#::" -i Make.config || die + fi + if use imagemagick; then + sed -e "68s:#::" -i Make.config || die + fi +} + +src_install() { + default + + udev_dorules 99-graphlcd-base.rules +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} diff --git a/app-misc/graphlcd-base/metadata.xml b/app-misc/graphlcd-base/metadata.xml index dd4d7485b6a3..f095e3e18617 100644 --- a/app-misc/graphlcd-base/metadata.xml +++ b/app-misc/graphlcd-base/metadata.xml @@ -1,15 +1,26 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="project"> - <email>vdr@gentoo.org</email> - <name>gentoo-vdr-project</name> -</maintainer> -<longdescription lang="en"> - This package provides Graphical LCD Driver. -</longdescription> -<use> - <flag name="g15">Add support for <pkg>app-misc/g15daemon</pkg> driver - (e.g. Logitech G15 Keybord)</flag> -</use> + <maintainer type="person"> + <email>ck+gentoo@bl4ckb0x.de</email> + <name>Conrad Kostecki</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <maintainer type="project"> + <email>vdr@gentoo.org</email> + <name>gentoo-vdr-project</name> + </maintainer> + <longdescription> + Contains the lowlevel lcd drivers for GraphLCD, which are also used by GLCDprocDriver. + </longdescription> + <use> + <flag name="fontconfig">Add support for <pkg>media-libs/fontconfig</pkg> font names.</flag> + <flag name="freetype">Add support for <pkg>media-libs/freetype</pkg>.</flag> + <flag name="g15">Add support for <pkg>app-misc/g15daemon</pkg>, used by the Logitech G15 keyboard.</flag> + <flag name="graphicsmagick">Add support for <pkg>media-gfx/graphicsmagick</pkg>.</flag> + <flag name="imagemagick">Add support for <pkg>media-gfx/imagemagick</pkg>.</flag> + </use> </pkgmetadata> |