media-plugins/vdr-imonlcd: Bump to version 1.0.2

Also fix detection of freetype (via pkg-config)

Closes: https://bugs.gentoo.org/661590
Package-Manager: Portage-2.3.43, Repoman-2.3.10
This commit is contained in:
Lars Wendler
2018-07-24 13:06:07 +02:00
parent 583669758a
commit fd52499959
3 changed files with 70 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST vdr-imonlcd-0.0.5.tgz 43380 BLAKE2B fad5f62bc15a02819508157a07326ccfc2bf8afcd903f7b3b53d94321bf7fcd512b75ff9dfc3e469114d52d6f290c19ae04686205fc0b14aee33f345816d5638 SHA512 89082591c953d8f5883efc1d6e65d8c5fa54087b8baaff70b2de264323086cc76b33d9aa16e0bbe39c4f23ce94f5f1c31649c286b2034ea0d91fe8d8aa26edd6
DIST vdr-imonlcd-1.0.1.tgz 44423 BLAKE2B 82351e2b13fb8f932057f38ab6075e90ea020afeb8f32c4cae1411683ffa3770cc48af079c6078d7a923445137e04285800b4a002eb468db05c6c7fc586c3ffa SHA512 5912a51d01eab45c7a71cf9939e3947bde69ebbe413aefd5601734b60fb853bff6b2ae7a4c3e68aba7f5bd75b33921fec664d66128942ce0f223d4a2bbe53512
DIST vdr-imonlcd-1.0.2.tgz 44517 BLAKE2B 1cc675978ca2c8270592c552ca383468628382c28aca08f74c55aa40dfc4154797f0e49e038cb2a8c07d66dbbf9d3fed190256809e08c4dea9b379a29cd96acf SHA512 ad1f70c3c3f4754251bd47d23ac2c56503860461edfb6e91d8dfa8e1d585da9fdd36ad300821eb29ef727e5a0875aa41d5def5f6f89f36f06efbd4a5da2b2fae

View File

@@ -0,0 +1,29 @@
From 2168f20fb6b00f7ae2104c6f4eafae2402cb1d92 Mon Sep 17 00:00:00 2001
From: Lars Wendler <polynomial-c@gentoo.org>
Date: Tue, 24 Jul 2018 13:00:40 +0200
Subject: [PATCH] Makefile: Use pkg-config to query freetype
As of freetype-2.9.1 the freetype-config file no longer gets installed
by default.
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index fc165e9..36fc681 100644
--- a/Makefile
+++ b/Makefile
@@ -55,8 +55,8 @@ SOFILE = libvdr-$(PLUGIN).so
### Includes and Defines (add further entries here):
-INCLUDES += $(shell freetype-config --cflags)
-LIBS += $(shell freetype-config --libs)
+INCLUDES += $(shell pkg-config --cflags freetype2)
+LIBS += $(shell pkg-config --libs freetype2)
DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
--
2.18.0

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit vdr-plugin-2 linux-info udev
VERSION="2086" # every bump, new version
DESCRIPTION="VDR Plugin: shows information about the current state of VDR on iMON LCD"
HOMEPAGE="http://projects.vdr-developer.org/wiki/plg-imonlcd"
SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="media-libs/freetype"
DEPEND="${RDEPEND}
media-video/vdr"
PATCHES=(
"${FILESDIR}/${PN}-1.0.2-freetype_pkgconfig.patch"
)
CONFIG_CHECK="~IR_IMON"
pkg_setup() {
linux-info_pkg_setup
vdr-plugin-2_pkg_setup
}
src_install() {
rm -f README.git
vdr-plugin-2_src_install
insinto $(get_udevdir)/rules.d
doins "${FILESDIR}"/99-imonlcd.rules || die
}