+++ /dev/null
-remove strip -s in makefile
-
-Joerg Bornkessel <hd_brummy@gentoo.org> 06 April 2007
-diff -Naur graphlcd-base-0.1.5.orig/tools/convpic/Makefile graphlcd-base-0.1.5/tools/convpic/Makefile
---- graphlcd-base-0.1.5.orig/tools/convpic/Makefile 2007-04-06 20:34:29.000000000 +0200
-+++ graphlcd-base-0.1.5/tools/convpic/Makefile 2007-04-06 20:35:17.000000000 +0200
-@@ -36,7 +36,7 @@
-
- install: $(PRGNAME)
- install -d $(BINDIR)
-- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
-+ install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
-
- uninstall:
- rm -f $(BINDIR)/$(PRGNAME)
-diff -Naur graphlcd-base-0.1.5.orig/tools/crtfont/Makefile graphlcd-base-0.1.5/tools/crtfont/Makefile
---- graphlcd-base-0.1.5.orig/tools/crtfont/Makefile 2007-04-06 20:34:29.000000000 +0200
-+++ graphlcd-base-0.1.5/tools/crtfont/Makefile 2007-04-06 20:35:32.000000000 +0200
-@@ -35,7 +35,7 @@
-
- install: $(PRGNAME)
- install -d $(BINDIR)
-- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
-+ install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
-
- uninstall:
- rm -f $(BINDIR)/$(PRGNAME)
-diff -Naur graphlcd-base-0.1.5.orig/tools/genfont/Makefile graphlcd-base-0.1.5/tools/genfont/Makefile
---- graphlcd-base-0.1.5.orig/tools/genfont/Makefile 2007-04-06 20:34:29.000000000 +0200
-+++ graphlcd-base-0.1.5/tools/genfont/Makefile 2007-04-06 20:35:43.000000000 +0200
-@@ -38,7 +38,7 @@
-
- install: $(PRGNAME)
- install -d $(BINDIR)
-- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
-+ install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
-
- uninstall:
- rm -f $(BINDIR)/$(PRGNAME)
-diff -Naur graphlcd-base-0.1.5.orig/tools/lcdtestpattern/Makefile graphlcd-base-0.1.5/tools/lcdtestpattern/Makefile
---- graphlcd-base-0.1.5.orig/tools/lcdtestpattern/Makefile 2007-04-06 20:34:29.000000000 +0200
-+++ graphlcd-base-0.1.5/tools/lcdtestpattern/Makefile 2007-04-06 20:35:57.000000000 +0200
-@@ -36,7 +36,7 @@
-
- install: $(PRGNAME)
- install -d $(BINDIR)
-- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
-+ install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
-
- uninstall:
- rm -f $(BINDIR)/$(PRGNAME)
-diff -Naur graphlcd-base-0.1.5.orig/tools/showpic/Makefile graphlcd-base-0.1.5/tools/showpic/Makefile
---- graphlcd-base-0.1.5.orig/tools/showpic/Makefile 2007-04-06 20:34:29.000000000 +0200
-+++ graphlcd-base-0.1.5/tools/showpic/Makefile 2007-04-06 20:36:09.000000000 +0200
-@@ -36,7 +36,7 @@
-
- install: $(PRGNAME)
- install -d $(BINDIR)
-- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
-+ install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
-
- uninstall:
- rm -f $(BINDIR)/$(PRGNAME)
-diff -Naur graphlcd-base-0.1.5.orig/tools/showtext/Makefile graphlcd-base-0.1.5/tools/showtext/Makefile
---- graphlcd-base-0.1.5.orig/tools/showtext/Makefile 2007-04-06 20:34:29.000000000 +0200
-+++ graphlcd-base-0.1.5/tools/showtext/Makefile 2007-04-06 20:36:21.000000000 +0200
-@@ -36,7 +36,7 @@
-
- install: $(PRGNAME)
- install -d $(BINDIR)
-- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
-+ install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
-
- uninstall:
- rm -f $(BINDIR)/$(PRGNAME)
+++ /dev/null
---- graphlcd-base-0.1.9/glcdgraphics/Makefile
-+++ graphlcd-base-0.1.9/glcdgraphics/Makefile
-@@ -33,9 +33,9 @@
- -include $(DEPFILE)
-
- ifdef HAVE_FREETYPE2
-- ifneq ($(shell which freetype-config),)
-- INCLUDES += $(shell freetype-config --cflags)
-- LIBS += $(shell freetype-config --libs)
-+ ifneq ($(shell which pkg-config),)
-+ INCLUDES += $(shell pkg-config --cflags freetype2)
-+ LIBS += $(shell pkg-config --libs freetype2)
- else
- INCLUDES += -I/usr/include/freetype -I/usr/local/include/freetype
- LIBS += -lfreetype
---- graphlcd-base-0.1.9/tools/genfont/Makefile
-+++ graphlcd-base-0.1.9/tools/genfont/Makefile
-@@ -9,10 +9,10 @@
- OBJS = genfont.o
-
- INCLUDES += -I../../
--INCLUDES += `freetype-config --cflags`
-+INCLUDES += `pkg-config --cflags freetype2`
-
- LIBDIRS += -L../../glcdgraphics/
--LIBS += `freetype-config --libs`
-+LIBS += `pkg-config --libs freetype2`
-
- all: $(PRGNAME)
- .PHONY: all
+++ /dev/null
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic multilib
-
-VERSION="501" #every bump, new version
-
-DESCRIPTION="Graphical LCD Driver"
-HOMEPAGE="https://projects.vdr-developer.org/projects/graphlcd-base"
-SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz"
-
-KEYWORDS="amd64 ~ppc x86"
-SLOT="0"
-LICENSE="GPL-2"
-IUSE="g15"
-
-CDEPEND="media-libs/freetype"
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-RDEPEND="${CDEPEND}
- g15? ( app-misc/g15daemon )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.1.5-nostrip.patch"
- "${FILESDIR}/${PN}-0.1.9-freetype_pkgconfig.patch"
-)
-
-src_prepare() {
- sed -i Make.config -e "s:usr\/local:usr:" -e "s:FLAGS *=:FLAGS ?=:"
-
- default
-
- sed -i glcdskin/Makefile -e "s:-shared:\$(LDFLAGS) -shared:"
-
- #gcc-6 fix
- sed -i glcddrivers/futabaMDM166A.c -e "s:0xff7f0004:(int) 0xff7f0004:"
-}
-
-src_install() {
- emake DESTDIR="${D}"/usr LIBDIR="${D}"/usr/$(get_libdir) install
-
- insinto /etc
- doins graphlcd.conf
-
- local DOCS=( HISTORY README docs/* )
-
- einstalldocs
-}