diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-plugins/vdr-alcd |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-plugins/vdr-alcd')
-rw-r--r-- | media-plugins/vdr-alcd/Manifest | 7 | ||||
-rw-r--r-- | media-plugins/vdr-alcd/files/vdr-alcd-1.5.1-gcc-4.4.diff | 22 | ||||
-rw-r--r-- | media-plugins/vdr-alcd/files/vdr-alcd-1.5.1-makefile-cleanup.diff | 44 | ||||
-rw-r--r-- | media-plugins/vdr-alcd/metadata.xml | 20 | ||||
-rw-r--r-- | media-plugins/vdr-alcd/vdr-alcd-1.5.1.ebuild | 21 |
5 files changed, 114 insertions, 0 deletions
diff --git a/media-plugins/vdr-alcd/Manifest b/media-plugins/vdr-alcd/Manifest new file mode 100644 index 000000000000..2d0c1b6b9830 --- /dev/null +++ b/media-plugins/vdr-alcd/Manifest @@ -0,0 +1,7 @@ +AUX vdr-alcd-1.5.1-gcc-4.4.diff 963 SHA256 afb0353956f4a9cdf7b7a222928aa88cf579fde01ea80968485f5a99a1c054b9 SHA512 f9958ad264b7dedcd69c19db935b4484e3153dc8f5a201888d02123cd9157c9ef9f1f18934acc1a7e32e5ed0ff0c864739d1c6d212bf245a455cd32920c82429 WHIRLPOOL d45222ea6c23ccb8119d847180726566ca52630191b3356f6337450a6b993b01d3477fca25374f65b00a82a0dea3afdf2cd5a43c84bce0d3d6cfda2cea844ad9 +AUX vdr-alcd-1.5.1-makefile-cleanup.diff 1001 SHA256 fdd6e155f2b971e2f07a6f15750e56eb160199696e8dd235f5cad7d6b46e05ee SHA512 5d9bcddf3bf7fc56b59392e93d6e30c2eabf531d494cddf299fc6f04e39bcecb8715935339fca0a79b0505051d3071b1a89204aea5279b77c614f050432803b0 WHIRLPOOL e4c3b6f34f7cd3939c656dcd3df85b2524402c53002f9b053e64def5aa6677ff39aaec9d0a74ed35346473554fe99919ecfaf2b110bfecd6e872766b99644153 +DIST vdr-alcd-1.5.1.tgz 40104 SHA256 9643d9f1214c33c8e5743e715b0e8c9a476e2df6f41f077bcf297ab03a33fe49 SHA512 4f0c933dd1d9ed3b31f300a9aa7debd73a2e7262eba53b969699e94f757432c0dddd760a613fadb0cfd61f5137aef6ab2909336b601f353854cda9026178e1d1 WHIRLPOOL 44fc64df56a300e15f60987250c8852b6fa89897b654dd509db6664e1b1e707846816e121c5d8a93c99c03d1af710740163725a27e71e8f1935379c0e9abda06 +EBUILD vdr-alcd-1.5.1.ebuild 472 SHA256 573ca848cd75892f8bec76cced5be161578938209e40870f2f162908a9076fd8 SHA512 df05288b30f242369610e739dac9e15b298fee38357cbf9b7a8efb10bbac17c252e280a7aaf37b94728ce8bc0a1a582a4ae80bdda197b0b678f594d8bade4d20 WHIRLPOOL e3c62f6cdc5da7e256d95dedc8b1ee4fbaa6875f9f6922ca129b2d081c4691ea0f4892b1a5dea8ec71b842c5f574de631c48e49ae8b8aa1a9c6c3fa21eff2b17 +MISC ChangeLog 2913 SHA256 1450f3d49c699a0b5e1714239b24bd51a88f4785e5cb46dec72fc84ea7e5a392 SHA512 aeae9892d7c07190cdf302c69f7cfe2e76afe83c7c0834d40557472e54de522aeedb8692f4aa501d761975dcd48f5144ba27a7c519f59c5582e68a343ef37c43 WHIRLPOOL 6625125d942087134dbfd32864bd56040d5ecfeba397afd418f5b062dd374784dc4a5d870027968c80da2e97ffe802068891dd7590a10058fbe3a64af4dfefde +MISC ChangeLog-2015 1146 SHA256 17ab26783d4e265abcb3f9a4d97496cebd0f1756023a4554acc55142e30f529e SHA512 abe4c36ca59bb25bade0217c18ae9500fa176878b23f4fb41aa92287bd651b9859d62e2d58055c810b4a8d2b8b08636065085b5038867db1025ba3466944c21b WHIRLPOOL 253965680ede2a5916b5f6f8ef5616736ea70e4b9f6103a026d50cda53cc856d058a2396f576fd7ab05495744ae608717fe6d2c1c5065eb551bd89e4641e5710 +MISC metadata.xml 615 SHA256 be3899e177dc5b5602ba60f22f247ad2c31c1d7bf50a526ccdd2002fc7313f38 SHA512 9f4472cfbb56f10260147c6dc429108c2416570721632650aeefafdca6d7b8ce2fcc28fb1025964bc09c6dbf233cfc68dc961cc0ed77bd02efcd2d5e1c36946b WHIRLPOOL b48eea86552033d720748c16f336120678cb4624f72a6f05251d85c4a199630021a37fefc84fc9fd76fe0db47ce128528925f248f7fad46e52f812f876ca88db diff --git a/media-plugins/vdr-alcd/files/vdr-alcd-1.5.1-gcc-4.4.diff b/media-plugins/vdr-alcd/files/vdr-alcd-1.5.1-gcc-4.4.diff new file mode 100644 index 000000000000..a4465220534a --- /dev/null +++ b/media-plugins/vdr-alcd/files/vdr-alcd-1.5.1-gcc-4.4.diff @@ -0,0 +1,22 @@ +Index: alcd-1.5.1/thread.c +=================================================================== +--- alcd-1.5.1.orig/thread.c ++++ alcd-1.5.1/thread.c +@@ -104,7 +104,7 @@ void cLCD::SetText( const char *szText ) + // only proceed, if valid data + if( szText != NULL && strlen( szText ) > 0 ) { + // set channel name +- char *delim = strchr( szText, '|' ); ++ const char *delim = strchr( szText, '|' ); + if( delim ) { + char buffer[ BUFSIZE ]; + int sLen = ( delim - szText ) >= BUFSIZE ? BUFSIZE : ( delim - szText ); +@@ -420,7 +420,7 @@ void cLCD::Replaying( const cControl *co + if( szFileName[i] == ')' ) + strncpy( (char *)szReplayMode, szFileName + 8, i - 8 ); + } +- char *p = strstr( szFileName + i, " : " ); ++ const char *p = strstr( szFileName + i, " : " ); + if( p ) + strncpy( szTemp, p + 3, sizeof(szTemp )); + else diff --git a/media-plugins/vdr-alcd/files/vdr-alcd-1.5.1-makefile-cleanup.diff b/media-plugins/vdr-alcd/files/vdr-alcd-1.5.1-makefile-cleanup.diff new file mode 100644 index 000000000000..ea1488e40b0f --- /dev/null +++ b/media-plugins/vdr-alcd/files/vdr-alcd-1.5.1-makefile-cleanup.diff @@ -0,0 +1,44 @@ +Index: alcd-1.5.1/Makefile +=================================================================== +--- alcd-1.5.1.orig/Makefile ++++ alcd-1.5.1/Makefile +@@ -23,8 +23,8 @@ VDRINC = $(VDRDIR)/include + LIBDIR = ../../lib + TMPDIR = /tmp + +-CXX = g++ +-CXXFLAGS = -O2 -Wall -Woverloaded-virtual -D_GNU_SOURCE ++CXX ?= g++ ++CXXFLAGS ?= -fPIC -O2 -Wall -Woverloaded-virtual + + -include $(VDRDIR)/Make.config + +@@ -41,6 +41,8 @@ PACKAGE = vdr-$(ARCHIVE) + + INCLUDES = -I$(VDRDIR)/include + ++DEFINES += -D_GNU_SOURCE ++ + ### Allow user defined options to overwrite defaults: + + DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' +@@ -53,6 +55,10 @@ endif + + OBJS = $(PLUGIN).o lcd.o thread.o setup.o + ++### The main target: ++ ++all: libvdr-$(PLUGIN).so i18n ++ + ### Target directory for afp-tool binary + + PREFIX = /usr +@@ -100,8 +106,6 @@ i18n: $(I18Nmsgs) + + ### Targets: + +-all: libvdr-$(PLUGIN).so i18n +- + libvdr-$(PLUGIN).so: $(OBJS) + $(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@ + @cp $@ $(LIBDIR)/$@.$(APIVERSION) diff --git a/media-plugins/vdr-alcd/metadata.xml b/media-plugins/vdr-alcd/metadata.xml new file mode 100644 index 000000000000..ae985b64141c --- /dev/null +++ b/media-plugins/vdr-alcd/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> +</maintainer> +<maintainer type="person"> + <email>vdr@helmutauer.de</email> + <name>Helmut Auer</name> + <description>Upstream maintainer</description> +</maintainer> +<maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> +</maintainer> +<longdescription lang="en"> +VDR plugin: Control the LCD of the Siemens Activy 300 +</longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-alcd/vdr-alcd-1.5.1.ebuild b/media-plugins/vdr-alcd/vdr-alcd-1.5.1.ebuild new file mode 100644 index 000000000000..ae651b940671 --- /dev/null +++ b/media-plugins/vdr-alcd/vdr-alcd-1.5.1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Control Activy 300 LCD" +HOMEPAGE="http://www.htpc-forum.de" +SRC_URI="http://www.htpc-forum.de/download/${P}.tgz" + +KEYWORDS="amd64 x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.6.0" +RDEPEND="${DEPEND}" + +PATCHES=("${FILESDIR}/${P}-makefile-cleanup.diff" + "${FILESDIR}/${P}-gcc-4.4.diff") |