diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /x11-plugins/gkrellm-radio | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'x11-plugins/gkrellm-radio')
-rw-r--r-- | x11-plugins/gkrellm-radio/Manifest | 2 | ||||
-rw-r--r-- | x11-plugins/gkrellm-radio/files/gkrellm-radio-2.0.4-r1-pkgconfig.patch | 15 | ||||
-rw-r--r-- | x11-plugins/gkrellm-radio/gkrellm-radio-2.0.4-r1.ebuild | 36 |
3 files changed, 53 insertions, 0 deletions
diff --git a/x11-plugins/gkrellm-radio/Manifest b/x11-plugins/gkrellm-radio/Manifest index dbca6ff8bc9d..da0c05624c75 100644 --- a/x11-plugins/gkrellm-radio/Manifest +++ b/x11-plugins/gkrellm-radio/Manifest @@ -1,4 +1,6 @@ AUX gkrellm-radio-2.0.4-makefile.patch 554 BLAKE2B ed67079c01041db8fe8e5d53e96469286d9f04ca02fc65d380665622ae3060e9b9289caf1617c952f4476a516a3971e9f5a760cac48dd0221466d35b9b410e41 SHA512 a994bfb44d8c3d1844d309d792c1084ffa5c2bb37769b714511fb90f626ed9d636d8720bb32dd536c3ce616dd25ae460ae831099f8a5b5dc6880d382b2d949ff +AUX gkrellm-radio-2.0.4-r1-pkgconfig.patch 578 BLAKE2B 413c85c649fb5e6bc2de13930fdf73a122cc6edce40681d0fdaa8abb6df0038dde448a7f149936070c17ffd39ce2f4946417739b686836d15d6914e1b745b8bc SHA512 c5b31868595d8adcc8992afe439a7805557dd9e0322d653a9c2dac7b4e9134efc96e17bc802cd8c4bd0cea2f803d6d899491db0b24dffb06474b7beabbf1fad7 DIST gkrellm-radio-2.0.4.tar.gz 15685 BLAKE2B c23d9627e503f0853bfd403cbb17c5550cc572540f1e7544179a57501e5793fe19aa654d2b622d34aa68765d89cbc45810b0fececbe9e9a0cfe810795b918406 SHA512 0e5de0cc114c915dcc78f3588766a0a6d9c7bd75da5626fbf7959e539c1f505babc94a0054cceb5a67c8145174d49adb331eefae69ba1637c9121ebd630998de +EBUILD gkrellm-radio-2.0.4-r1.ebuild 772 BLAKE2B 82aa71913066a3044d26a04abb0d316b8decd123b4c6b1e097262570be89bb795db65313dfd0b512f8569b14ef64557982296eb56ba4575e8e3bc87634bc843f SHA512 5fecab90d82f3f42b587146ba752ca813439f68c900b201e85f47275a35a9a6cbeecb0794916d384f27b7e727547bf976c3d87033dd53fb4875d5dddf40d5c69 EBUILD gkrellm-radio-2.0.4.ebuild 728 BLAKE2B b30b5a74fd283e7f875c606f5bf3597caa6a77a9d0732389d07fb88b54dd8cddb353cd9e3db909eb6a9a021d794e0e9698790b0b850d79f067330078bee5e301 SHA512 4e7a3a60d4f69d44ad7c4e1c3ce7300ae326eddbfc4c5b88bb57d2640a6dbea8ab9c397b607f14708dbd140e1c2dcaf898fa8b012ab56c547d18045b9893473e MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a diff --git a/x11-plugins/gkrellm-radio/files/gkrellm-radio-2.0.4-r1-pkgconfig.patch b/x11-plugins/gkrellm-radio/files/gkrellm-radio-2.0.4-r1-pkgconfig.patch new file mode 100644 index 000000000000..94405dc469df --- /dev/null +++ b/x11-plugins/gkrellm-radio/files/gkrellm-radio-2.0.4-r1-pkgconfig.patch @@ -0,0 +1,15 @@ +Respect user's pkg-config +--- a/Makefile ++++ b/Makefile +@@ -15,8 +15,9 @@ OBJS=gkrellm_radio.o radio.o + PLUGIN_DIR ?= /usr/local/lib/gkrellm2/plugins + INSTALL = install -c + INSTALL_PROGRAM = $(INSTALL) -s +-GTK_CONFIG = pkg-config gtk+-2.0 +-CFLAGS := ${CFLAGS} -fPIC -I$(GKRELLMDIR)/include `$(GTK_CONFIG) --cflags` -DVERSION=\"$(VERSION)\" -Wall ++PKG_CONFIG ?= pkg-config ++GTK_INCLUDE = $(shell ${PKG_CONFIG} gtk+-2.0 --cflags) ++CFLAGS := ${CFLAGS} -fPIC -I$(GKRELLMDIR)/include ${GTK_INCLUDE} -DVERSION=\"$(VERSION)\" -Wall + + ifdef WITH_LIRC + CFLAGS := ${CFLAGS} -DHAVE_LIRC diff --git a/x11-plugins/gkrellm-radio/gkrellm-radio-2.0.4-r1.ebuild b/x11-plugins/gkrellm-radio/gkrellm-radio-2.0.4-r1.ebuild new file mode 100644 index 000000000000..d5fcf32c4c2f --- /dev/null +++ b/x11-plugins/gkrellm-radio/gkrellm-radio-2.0.4-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gkrellm-plugin toolchain-funcs + +DESCRIPTION="A minimalistic GKrellM2 plugin to control radio tuners" +HOMEPAGE="http://gkrellm.luon.net/gkrellm-radio.php" +SRC_URI="http://gkrellm.luon.net/files/${P}.tar.gz" +S="${WORKDIR}/${PN}" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="lirc" + +RDEPEND=" + app-admin/gkrellm:2[X] + lirc? ( app-misc/lirc )" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-makefile.patch + "${FILESDIR}"/${P}-r1-pkgconfig.patch +) + +src_configure() { + PLUGIN_SO=( radio$(get_modname) ) + default +} + +src_compile() { + use lirc && myconf="${myconf} WITH_LIRC=1" + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" ${myconf} +} |