From 8d5dbd847cbc704a6a06405856e94b461011afe3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 27 Mar 2021 06:06:27 +0000 Subject: gentoo resync : 27.03.2021 --- media-plugins/vdr-graphlcd/Manifest | 2 +- .../vdr-graphlcd/vdr-graphlcd-1.0.1-r1.ebuild | 95 --------------------- .../vdr-graphlcd/vdr-graphlcd-1.0.1-r2.ebuild | 99 ++++++++++++++++++++++ 3 files changed, 100 insertions(+), 96 deletions(-) delete mode 100644 media-plugins/vdr-graphlcd/vdr-graphlcd-1.0.1-r1.ebuild create mode 100644 media-plugins/vdr-graphlcd/vdr-graphlcd-1.0.1-r2.ebuild (limited to 'media-plugins/vdr-graphlcd') diff --git a/media-plugins/vdr-graphlcd/Manifest b/media-plugins/vdr-graphlcd/Manifest index df4584fb3c40..794638581c14 100644 --- a/media-plugins/vdr-graphlcd/Manifest +++ b/media-plugins/vdr-graphlcd/Manifest @@ -2,5 +2,5 @@ AUX confd 565 BLAKE2B caf5867788b96423ba701ea645e212442f7881bb0d16b3c13924b64ff0 AUX rc-addon.sh 247 BLAKE2B f02545696c534397a2667e55e60d1c05067f4f11504ca724a4da71e71d8feb727a13d19601fbf7a08f15fa984139074da73cdd3dcf0ac9f3024af094ec87b149 SHA512 46d27b5feab6881721f480d6cc26e1a9796c9b46f083cf6e2f97523f8b54d2b93d373130e562235ec2a57d95cc37ac956e290467251572f5387db58a32ad1544 AUX vdr-graphlcd-1.0.1_no-font.patch 1080 BLAKE2B 1ddf114f5d495970fb7662ca622448ecd7bce4a766dd21cd3c2a774f7167c02abe0585307ef3d42899d23f7f03f90184064aab5208dbcd3c7aaa42929f603475 SHA512 56d1631430dafb94e25861cabfc719ea5e8c843802938c0715ee342be4870f9216010a8de214f8f16f58ec640deb3d8df7f4657a48f6f80a76e36c8e0c2864b6 DIST vdr-plugin-graphlcd-1.0.1.tar.bz2 888594 BLAKE2B 852b39a9c38583f9927718966d8f2b7d86da105450f7ab383a50bafd2d2c9a0e8acb000f7ac03603e6f81c9b12c22af27c3713e3a14409743c61cb696968b304 SHA512 2d7ec1018013b54dd17bf894cc7dc4ecfbbc549d18b6cf64460891204ca8b5cc84b0d756a2ab866011b11d4525e0c1fe93bf90f447a195044717b8f63a878566 -EBUILD vdr-graphlcd-1.0.1-r1.ebuild 2712 BLAKE2B 143407ddb541d359f0e8ff57687f9bb62928c6764c9a85397b4e90edbcacadf80d4be6fd6fdddf5baf3896454aed76db5f3d7756da22c86349ff02fae5c192e6 SHA512 70e1506f7697df26fe55497fb49aa8221fd4ab2560b96f3ac90b37241547953be08700e58af06fe15a85a38f6577a9032be03159371c7a1b43f95324eba03654 +EBUILD vdr-graphlcd-1.0.1-r2.ebuild 2775 BLAKE2B 11ef18e91afb12c6b6a739f29bd08cb0065be3c3e8d353f37db0da3306433c5790b552f4aea93e7e9ac64c4a4d6a8fb0bf8f4ae11eddcb9e57eaeb98474093b4 SHA512 cb3a0de7bff2bc7f6f943a3a581597e17e38ad40f16b3a1c95402e4cf674f46bc3d98972c977d278ab3a60f7c7b73b9ca85f4ad71b2006b07bd97400f3ba379e MISC metadata.xml 269 BLAKE2B ac30d048efa5f7b4beb4f77964479441f463e9ef91e1ed971d2dd7d4543dc6ce86c9d24c5983da6bad01d4754abc3e410444ec31f44f04b028e3063e57711538 SHA512 ce0dd47f44f80a213d70df31968c1f0b2316c1e3a9954ba0b75d2395bf0d68a541c6ddd4779841735f6c1ab79a1f59843cd127b65660d502906f3a900f69df73 diff --git a/media-plugins/vdr-graphlcd/vdr-graphlcd-1.0.1-r1.ebuild b/media-plugins/vdr-graphlcd/vdr-graphlcd-1.0.1-r1.ebuild deleted file mode 100644 index bdaa50b4841d..000000000000 --- a/media-plugins/vdr-graphlcd/vdr-graphlcd-1.0.1-r1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PN="vdr-plugin-graphlcd" -MY_P="${MY_PN}-${PV}" - -inherit vdr-plugin-2 - -DESCRIPTION="VDR Plugin: support output on Graphical LCD" -HOMEPAGE="https://projects.vdr-developer.org/projects/plg-graphlcd" -SRC_URI="https://projects.vdr-developer.org/git/${MY_PN}.git/snapshot/${MY_P}.tar.bz2" - -KEYWORDS="~amd64 ~x86" -LICENSE="GPL-2" -SLOT="0" - -DEPEND=">=app-misc/graphlcd-base-${PV} - media-fonts/corefonts - media-video/vdr" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - vdr-plugin-2_pkg_setup - - if ! getent group lp | grep -q vdr; then - einfo - einfo "Add user 'vdr' to group 'lp' for full user access to parport device" - elog - elog "User vdr added to group lp" - gpasswd -a vdr lp || die - fi - if ! getent group usb | grep -q vdr; then - einfo - einfo "Add user 'vdr' to group 'usb' for full user access to usb device" - elog - elog "User vdr added to group usb" - gpasswd -a vdr usb || die - fi -} - -src_prepare() { - vdr-plugin-2_src_prepare - - sed -i "s:/usr/local:/usr:" Makefile || die - sed -i "s:i18n.c:i18n.h:g" Makefile || die - sed -i "s:include \$(VDRDIR)/Make.global:-include \$(VDRDIR)/Make.global:" Makefile || die - - sed -i "s:SKIP_INSTALL_DOC ?= 0:SKIP_INSTALL_DOC ?= 1:" Makefile || die - - eapply "${FILESDIR}/${P}_no-font.patch" -} - -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" -} diff --git a/media-plugins/vdr-graphlcd/vdr-graphlcd-1.0.1-r2.ebuild b/media-plugins/vdr-graphlcd/vdr-graphlcd-1.0.1-r2.ebuild new file mode 100644 index 000000000000..d17c604261c5 --- /dev/null +++ b/media-plugins/vdr-graphlcd/vdr-graphlcd-1.0.1-r2.ebuild @@ -0,0 +1,99 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="vdr-plugin-graphlcd" +MY_P="${MY_PN}-${PV}" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: support output on Graphical LCD" +HOMEPAGE="https://projects.vdr-developer.org/projects/plg-graphlcd" +SRC_URI="https://projects.vdr-developer.org/git/${MY_PN}.git/snapshot/${MY_P}.tar.bz2" + +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-2" +SLOT="0" + +DEPEND=">=app-misc/graphlcd-base-${PV} + media-fonts/corefonts + media-video/vdr" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + vdr-plugin-2_pkg_setup + + if ! getent group lp | grep -q vdr; then + einfo + einfo "Add user 'vdr' to group 'lp' for full user access to parport device" + elog + elog "User vdr added to group lp" + gpasswd -a vdr lp || die + fi + if ! getent group usb | grep -q vdr; then + einfo + einfo "Add user 'vdr' to group 'usb' for full user access to usb device" + elog + elog "User vdr added to group usb" + gpasswd -a vdr usb || die + fi +} + +src_prepare() { + vdr-plugin-2_src_prepare + + sed -e "s:/usr/local:/usr:" \ + -e "s:i18n.c:i18n.h:g" \ + -e "s:include \$(VDRDIR)/Make.global:-include \$(VDRDIR)/Make.global:" \ + -i Makefile || die + + sed -e "s:SKIP_INSTALL_DOC ?= 0:SKIP_INSTALL_DOC ?= 1:" -i Makefile || die + + eapply "${FILESDIR}/${P}_no-font.patch" + + # bug 740296 + sed -e "s:\"PLUGIN_GRAPHLCDCONF:\" PLUGIN_GRAPHLCDCONF:" -i plugin.c || 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" +} -- cgit v1.2.3