summaryrefslogtreecommitdiff
path: root/x11-plugins/gkrellm-radio
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/gkrellm-radio
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/gkrellm-radio')
-rw-r--r--x11-plugins/gkrellm-radio/Manifest6
-rw-r--r--x11-plugins/gkrellm-radio/files/gkrellm-radio-2.0.4-makefile.patch22
-rw-r--r--x11-plugins/gkrellm-radio/gkrellm-radio-2.0.4.ebuild29
-rw-r--r--x11-plugins/gkrellm-radio/metadata.xml5
4 files changed, 62 insertions, 0 deletions
diff --git a/x11-plugins/gkrellm-radio/Manifest b/x11-plugins/gkrellm-radio/Manifest
new file mode 100644
index 000000000000..f212e1205bce
--- /dev/null
+++ b/x11-plugins/gkrellm-radio/Manifest
@@ -0,0 +1,6 @@
+AUX gkrellm-radio-2.0.4-makefile.patch 554 SHA256 b5cd4e46d63805199250142df8660990a59d31e3ffcf534456c48b73faff67ca SHA512 a994bfb44d8c3d1844d309d792c1084ffa5c2bb37769b714511fb90f626ed9d636d8720bb32dd536c3ce616dd25ae460ae831099f8a5b5dc6880d382b2d949ff WHIRLPOOL eeaf56e9b1887f354c7f4c0949b08f33b4a4dd6aa95def42a7affd9a8b2b9b26000c76f1712776204f46dbac9f861d3ef5a2b1c3ee1f043b6719a72a44f563d9
+DIST gkrellm-radio-2.0.4.tar.gz 15685 SHA256 a416e25f835af6b4a9702fe4a8f2b2eb520c7c908444e2d95c223c3b7d0d70b0 SHA512 0e5de0cc114c915dcc78f3588766a0a6d9c7bd75da5626fbf7959e539c1f505babc94a0054cceb5a67c8145174d49adb331eefae69ba1637c9121ebd630998de WHIRLPOOL 18dfa224edbe515a796781b7629631b7b0871ab7f4c5d45dffd29236fd3aafdc8d0bfaba60ca5d718542631b3a8a6f994c84c418d90ebb5ffe9d915ff4640a53
+EBUILD gkrellm-radio-2.0.4.ebuild 684 SHA256 0ad4d2b3cfee28ce901be4f5e32ffd1e723af8e288c20515bec30bd5143a73ea SHA512 241059d6fbdb2b7bd465cea1da649004ebdded67841462949e353872520b7e564f9685a37eb22edc8d4fa1c0d4fd93a44f266fd9671d9bcfc839d5efce13a860 WHIRLPOOL cfd5340ebfd4fa10050901b66bd38edf2bf8a0ba78d2ba2836767f9a253430f453b3e6937ba2e9222a35fc7a8aae02c74073fdef5ff0e56035ab94f457173e33
+MISC ChangeLog 2718 SHA256 42e2ee4e5bf8526b2b0f4965304c9763f8a2950babde7bfbe26f76fdddb7e180 SHA512 1881b152094c4250429b726c3a49a01e4b1342cb0bb774ecd7642dd1a3e1ac591a28936a3ad3db73f2bd2fded3b01530ac1415d592a0ecca08d7c221eea9be96 WHIRLPOOL ec028c8fea0be9c4ef83bfadf0a1d8016138cf4c5768d2b6cbfa8720ef7172dc9e741ecb34c60cad6e306178070dc2b3ce51c9f9a23d53469aa13b1d7e38ed2b
+MISC ChangeLog-2015 3034 SHA256 d6b68de845f028ef306482c06fce75395d2fb7777aee0dbeb7190a30f874063a SHA512 df1df1acfb360938eccce1873333ad0832945f3cd0725eca7fa365fb87114758139c613ac7b4df8eeebfe983298cd8ab157f52fa92c750a9d8f44232edcd8a86 WHIRLPOOL 26012dc786438ff9313ac3feec3c2e1a7b9c0e904e69172c79d30820dffe63f399584317f429179f6c2bcaa6157979f898206dbd42715ec113b181338485d6b3
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/x11-plugins/gkrellm-radio/files/gkrellm-radio-2.0.4-makefile.patch b/x11-plugins/gkrellm-radio/files/gkrellm-radio-2.0.4-makefile.patch
new file mode 100644
index 000000000000..a5fcabfea07b
--- /dev/null
+++ b/x11-plugins/gkrellm-radio/files/gkrellm-radio-2.0.4-makefile.patch
@@ -0,0 +1,22 @@
+--- a/Makefile 2003-09-20 13:02:15.000000000 +0200
++++ b/Makefile_new 2013-03-16 14:38:19.122375762 +0100
+@@ -9,8 +9,8 @@
+
+ DISTFILES=gkrellm_radio.c radio.c radio.h videodev.h README Makefile CHANGES
+
+-CC=gcc
+-LDFLAGS=
++CC=$(CC)
++LDFLAGS=$(LDFLAGS)
+ OBJS=gkrellm_radio.o radio.o
+ PLUGIN_DIR ?= /usr/local/lib/gkrellm2/plugins
+ INSTALL = install -c
+@@ -35,7 +35,7 @@
+ export PACKAGE LOCALEDIR
+
+ radio.so: $(OBJS)
+- $(CC) -shared -Wl -o radio.so $(OBJS) $(LDFLAGS)
++ $(CC) -shared -o radio.so $(OBJS) $(LDFLAGS)
+ (cd po && ${MAKE} all )
+
+ %.o: %.c
diff --git a/x11-plugins/gkrellm-radio/gkrellm-radio-2.0.4.ebuild b/x11-plugins/gkrellm-radio/gkrellm-radio-2.0.4.ebuild
new file mode 100644
index 000000000000..541296313c57
--- /dev/null
+++ b/x11-plugins/gkrellm-radio/gkrellm-radio-2.0.4.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gkrellm-plugin toolchain-funcs
+
+DESCRIPTION="A minimalistic GKrellM2 plugin to control radio tuners"
+SRC_URI="http://gkrellm.luon.net/files/${P}.tar.gz"
+HOMEPAGE="http://gkrellm.luon.net/gkrellm-radio.php"
+
+DEPEND="lirc? ( app-misc/lirc )"
+RDEPEND="${DEPEND}
+ app-admin/gkrellm[X]
+"
+
+IUSE="lirc"
+SLOT="2"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ppc sparc x86"
+
+PLUGIN_SO="radio.so"
+S="${WORKDIR}/${PN}"
+
+PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
+
+src_compile() {
+ use lirc && myconf="${myconf} WITH_LIRC=1"
+ emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" ${myconf}
+}
diff --git a/x11-plugins/gkrellm-radio/metadata.xml b/x11-plugins/gkrellm-radio/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/x11-plugins/gkrellm-radio/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>