diff options
author | Martin Dummer <martin.dummer@gmx.net> | 2024-07-04 17:08:50 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-07-21 17:07:53 +0200 |
commit | 3cbf7d8626187d10140193af0ce13ae1f380d692 (patch) | |
tree | c0bd93035dcaf561629c800095d560329cf34204 /media-plugins | |
parent | dev-libs/libmaxminddb: add missing keywords (diff) | |
download | gentoo-3cbf7d8626187d10140193af0ce13ae1f380d692.tar.gz gentoo-3cbf7d8626187d10140193af0ce13ae1f380d692.tar.bz2 gentoo-3cbf7d8626187d10140193af0ce13ae1f380d692.zip |
media-plugins/vdr-graphlcd: add 1.0.7
Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/vdr-graphlcd/Manifest | 1 | ||||
-rw-r--r-- | media-plugins/vdr-graphlcd/metadata.xml | 19 | ||||
-rw-r--r-- | media-plugins/vdr-graphlcd/vdr-graphlcd-1.0.7.ebuild | 70 |
3 files changed, 86 insertions, 4 deletions
diff --git a/media-plugins/vdr-graphlcd/Manifest b/media-plugins/vdr-graphlcd/Manifest index 1111ee505456..1f09ecef01d2 100644 --- a/media-plugins/vdr-graphlcd/Manifest +++ b/media-plugins/vdr-graphlcd/Manifest @@ -1 +1,2 @@ +DIST vdr-graphlcd-1.0.7.tar.gz 893541 BLAKE2B f6e340184a00d7e7e3e82b425f4519312e6dc400b5c6c8f1e6c9005d4b7294b8e15e2b95f38815a37ea4fb819cac6818c3d7887487a9d4b8b0d0c693f2981a68 SHA512 a285342ac12b217ae81c90095f25c347b7c51b095657815c94bbe48307c370a89c9d5e031c90493456141a0c79d53e89828a0c58df7533d1072d29abf552265b DIST vdr-plugin-graphlcd-1.0.1.tar.bz2 888594 BLAKE2B 852b39a9c38583f9927718966d8f2b7d86da105450f7ab383a50bafd2d2c9a0e8acb000f7ac03603e6f81c9b12c22af27c3713e3a14409743c61cb696968b304 SHA512 2d7ec1018013b54dd17bf894cc7dc4ecfbbc549d18b6cf64460891204ca8b5cc84b0d756a2ab866011b11d4525e0c1fe93bf90f447a195044717b8f63a878566 diff --git a/media-plugins/vdr-graphlcd/metadata.xml b/media-plugins/vdr-graphlcd/metadata.xml index 05348c63535c..56366447ddb9 100644 --- a/media-plugins/vdr-graphlcd/metadata.xml +++ b/media-plugins/vdr-graphlcd/metadata.xml @@ -1,8 +1,19 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="project"> - <email>vdr@gentoo.org</email> - <name>Gentoo VDR Project</name> - </maintainer> + <maintainer type="person" proxied="yes"> + <email>martin.dummer@gmx.net</email> + <name>Martin Dummer</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <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> + <upstream> + <remote-id type="github">vdr-projects/vdr-plugin-graphlcd</remote-id> + </upstream> </pkgmetadata> diff --git a/media-plugins/vdr-graphlcd/vdr-graphlcd-1.0.7.ebuild b/media-plugins/vdr-graphlcd/vdr-graphlcd-1.0.7.ebuild new file mode 100644 index 000000000000..f57747b52880 --- /dev/null +++ b/media-plugins/vdr-graphlcd/vdr-graphlcd-1.0.7.ebuild @@ -0,0 +1,70 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: support output on Graphical LCD" +HOMEPAGE="https://github.com/vdr-projects/vdr-plugin-graphlcd/" +SRC_URI="https://github.com/vdr-projects/vdr-plugin-graphlcd/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/vdr-plugin-graphlcd-${PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="acct-user/vdr[graphlcd]" +DEPEND="app-misc/graphlcd-base + media-fonts/corefonts + media-video/vdr" +RDEPEND="${DEPEND} + acct-user/vdr[graphlcd]" + +PATCHES=( "${FILESDIR}/${PN}-1.0.1_no-font.patch" ) + +src_prepare() { + vdr-plugin-2_src_prepare + + sed -e "s:SKIP_INSTALL_DOC ?= 0:SKIP_INSTALL_DOC ?= 1:" -i Makefile || die +} + +src_install() { + vdr-plugin-2_src_install + + insopts -m0644 -ovdr -gvdr + + insinto /usr/share/vdr/${VDRPLUGIN}/logos + doins -r ${VDRPLUGIN}/logos/* + + insinto /etc/vdr/plugins/${VDRPLUGIN} + doins ${VDRPLUGIN}/channels.alias + + # do we need this sym link? need testing.. + dosym "../../fonts/corefonts" "/usr/share/vdr/graphlcd/fonts" + + dosym ${sysroot}/usr/share/fonts/corefonts ${sysroot}/etc/vdr/plugins/"${VDRPLUGIN}"/fonts + dosym ${sysroot}/usr/share/vdr/"${VDRPLUGIN}"/logos ${sysroot}/etc/vdr/plugins/"${VDRPLUGIN}"/logos + dosym ${sysroot}/etc/graphlcd.conf ${sysroot}/etc/vdr/plugins/"${VDRPLUGIN}"/graphlcd.conf + + # do we need this sym link? need testing.. +# dosym "logonames.alias.1.3" "/etc/vdr/plugins/${VDRPLUGIN}/logonames.alias" +} + +pkg_preinst() { + if [[ -e /etc/vdr/plugins/graphlcd/fonts ]] && [[ ! -L /etc/vdr/plugins/graphlcd/fonts ]] \ + || [[ -e /etc/vdr/plugins/graphlcd/logos ]] && [[ ! -L /etc/vdr/plugins/graphlcd/logos ]] ; then + elog "Remove wrong DIR in /etc/vdr/plugins/graphlcd from prior install" + rm -R /etc/vdrplugins/graphlcd/{fonts,logos} || die + fi +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + einfo "Add additional options in /etc/conf.d/vdr.graphlcd\n" + + einfo "Please copy or link one of the supplied fonts.conf.*" + einfo "files in /etc/vdr/plugins/graphlcd/ to" + einfo "/etc/vdr/plugins/graphlcd/fonts.conf" +} |