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-video/dvbsnoop |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-video/dvbsnoop')
-rw-r--r-- | media-video/dvbsnoop/Manifest | 6 | ||||
-rw-r--r-- | media-video/dvbsnoop/dvbsnoop-1.4.50-r1.ebuild | 27 | ||||
-rw-r--r-- | media-video/dvbsnoop/files/dvbsnoop-1.4.50-crc32.patch | 59 | ||||
-rw-r--r-- | media-video/dvbsnoop/metadata.xml | 8 |
4 files changed, 100 insertions, 0 deletions
diff --git a/media-video/dvbsnoop/Manifest b/media-video/dvbsnoop/Manifest new file mode 100644 index 000000000000..55d9c874b612 --- /dev/null +++ b/media-video/dvbsnoop/Manifest @@ -0,0 +1,6 @@ +AUX dvbsnoop-1.4.50-crc32.patch 2031 SHA256 5b5782f8451ddcf9e68bd84f5f9094e1de26c0de735c40e77ae7c1da84d5dacf SHA512 29b0b0b4814680840df4ff5e9b480b939b2ed916357ae6cfaec26bf8275f2d1ab700b2d550384f437650932f2b1e98690afc470bb01e537ac4f556d15651d7a1 WHIRLPOOL bca5f63499f09409611986f894cc633378fef427bf8254f5175c8b7e1517954fd6a5ca6370ede235cd211f5d8d6074dc49a4efb4899e6d2657c837c0ecb5054e +DIST dvbsnoop-1.4.50.tar.gz 333992 SHA256 7658498b26a5d2a0242e81f0cfafa0e43a2bec56f8674e7ac197dfc310866ec6 SHA512 288b98e9205b9ee6638b65cd0d7c463c2c243c1f7e650a6df8592acd3f40eca3352a563cc8a1a04f0f2731b3718e6dc3d09f56f59da4b59fbe25b86acf434f81 WHIRLPOOL 2e9c779cf2689759be0c04b74952313d2b026e4819f7064fe919cbd41465a325300e1e0e0f864983b881006dea3de2fe30365c375f430d667e0cfc589eeb4690 +EBUILD dvbsnoop-1.4.50-r1.ebuild 555 SHA256 943c23d0bd3c39b2dcd20498343dd6fa9fd045ae62194beb79dbb5e00fbbac15 SHA512 285963b55d4f5d23190a41817c793801921fbff9ef7d6956bf2102d73fa1819b002a788fedd86c45956aac7228100c36ea4af9cda53b5c93b801afcd06ad5481 WHIRLPOOL a033afbbab6ffd1e895e03beba1dddcd30ea0a31df004809b9b50f68964a28ce232f489039ae721cf847b84e1839f9678fcaa11541d7d36da111e1ffedfc8050 +MISC ChangeLog 2508 SHA256 6507a422b7399e90974cd75657aa277ce2d8bfb75301ca154b33af84b9391daa SHA512 de302ae6b4561588b7880e4ae01095764736689a25484045a644f4104bff4a96a314ca0d7a5d36df9369d23a7d7ce14a940c4a68fc790245ed3a7965666ecdd4 WHIRLPOOL 07dae909f03dd8538866cbb13f326bcabc73fd7e4bcc6745bbf95b38390e4687e3e3e4f10ac6c4d2f15d707c4a1bccbf77925a211d6aa06f1b26fc054dff5cd6 +MISC ChangeLog-2015 2965 SHA256 4efe7add98b8b11cc73b980f90268304d394b1a99984905624219d959d530624 SHA512 505d943889c5fa619ecb35a0c9150cd616e6915c923087cc2a280cb7e6ce0e180c2849157f7aabde86ca412fb23f0ddb25bbb31218881096c80e8cfe2428f3f6 WHIRLPOOL df9ef02e53e5d0eadaa3cd50d0a72dcd1e2e48f87472255204bd2ae684ba1cfd5692cf137f2a38885dead1907f0350542505ee961a5cb430ef5992f790d3ac77 +MISC metadata.xml 245 SHA256 d99b26ca2fbca2938693a2955a53f4bd27ec389389c9dd0edc837a35b2338d77 SHA512 0b34b35bb16bcc796c549cb5b35da06ff468bcab0d1ea72eb9fd50c36fa44a5b0cb6e9db38b5a8007b0a3fd45c97a9a25bb9858f5d9ed12bda54a406380a1ec1 WHIRLPOOL 1ff94c08d0dbb374fa14d946a9d46def59e6963094abfb8d6c7514b12f960d2b34c829adf4fc0a5d3b3cfd3ec3d3c85fa78d89281ca35ecefd4416f812dedaa2 diff --git a/media-video/dvbsnoop/dvbsnoop-1.4.50-r1.ebuild b/media-video/dvbsnoop/dvbsnoop-1.4.50-r1.ebuild new file mode 100644 index 000000000000..f43b51400d77 --- /dev/null +++ b/media-video/dvbsnoop/dvbsnoop-1.4.50-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="DVB/MPEG stream analyzer program" +SRC_URI="mirror://sourceforge/dvbsnoop/${P}.tar.gz" +HOMEPAGE="http://dvbsnoop.sourceforge.net/" +LICENSE="GPL-2" +KEYWORDS="amd64 ~ppc x86" +DEPEND="virtual/linuxtv-dvb-headers" + +RDEPEND="" +SLOT="0" +IUSE="" + +src_prepare () { + epatch "${FILESDIR}/${P}-crc32.patch" +} + +src_install () { + emake DESTDIR="${D}" install || die "emake install failed" + + dodoc AUTHORS ChangeLog README +} diff --git a/media-video/dvbsnoop/files/dvbsnoop-1.4.50-crc32.patch b/media-video/dvbsnoop/files/dvbsnoop-1.4.50-crc32.patch new file mode 100644 index 000000000000..eb663a4426c4 --- /dev/null +++ b/media-video/dvbsnoop/files/dvbsnoop-1.4.50-crc32.patch @@ -0,0 +1,59 @@ +diff -rupN dvbsnoop-1.4.50-origdeb/src/misc/crc32.c dvbsnoop-1.4.50/src/misc/crc32.c +--- dvbsnoop-1.4.50-origdeb/src/misc/crc32.c 2006-01-02 21:24:04.000000000 +0200 ++++ dvbsnoop-1.4.50/src/misc/crc32.c 2010-01-19 13:21:37.000000000 +0200 +@@ -17,14 +17,14 @@ $Id$ + + + +-#include <sys/types.h> ++#include <stdint.h> + #include "crc32.h" + + + + // CRC32 lookup table for polynomial 0x04c11db7 + +-static u_long crc_table[256] = { ++static uint32_t crc_table[256] = { + 0x00000000, 0x04c11db7, 0x09823b6e, 0x0d4326d9, 0x130476dc, 0x17c56b6b, + 0x1a864db2, 0x1e475005, 0x2608edb8, 0x22c9f00f, 0x2f8ad6d6, 0x2b4bcb61, + 0x350c9b64, 0x31cd86d3, 0x3c8ea00a, 0x384fbdbd, 0x4c11db70, 0x48d0c6c7, +@@ -69,10 +69,10 @@ static u_long crc_table[256] = { + 0x933eb0bb, 0x97ffad0c, 0xafb010b1, 0xab710d06, 0xa6322bdf, 0xa2f33668, + 0xbcb4666d, 0xb8757bda, 0xb5365d03, 0xb1f740b4}; + +-u_long crc32 (char *data, int len) ++uint32_t crc32 (char *data, int len) + { + register int i; +- u_long crc = 0xffffffff; ++ uint32_t crc = 0xffffffff; + + for (i=0; i<len; i++) + crc = (crc << 8) ^ crc_table[((crc >> 24) ^ *data++) & 0xff]; +diff -rupN dvbsnoop-1.4.50-origdeb/src/misc/crc32.h dvbsnoop-1.4.50/src/misc/crc32.h +--- dvbsnoop-1.4.50-origdeb/src/misc/crc32.h 2006-01-02 21:24:04.000000000 +0200 ++++ dvbsnoop-1.4.50/src/misc/crc32.h 2010-01-19 13:21:37.000000000 +0200 +@@ -19,8 +19,9 @@ $Id$ + #ifndef __CRC32_H + #define __CRC32_H + ++#include <stdint.h> + +-u_long crc32 (char *data, int len); ++uint32_t crc32 (char *data, int len); + + + #endif +diff -rupN dvbsnoop-1.4.50-origdeb/src/sections/sectables.c dvbsnoop-1.4.50/src/sections/sectables.c +--- dvbsnoop-1.4.50-origdeb/src/sections/sectables.c 2005-12-29 05:43:40.000000000 +0200 ++++ dvbsnoop-1.4.50/src/sections/sectables.c 2010-01-19 13:59:07.000000000 +0200 +@@ -269,7 +269,7 @@ void decodeSI_packet (u_char *buf, int l + softcrc_fail = 0; + + if (opt->soft_crc) { +- u_long crc = crc32 ((char *)buf,len); ++ uint32_t crc = crc32 ((char *)buf,len); + if (crc) { + softcrc_fail = 1; + } diff --git a/media-video/dvbsnoop/metadata.xml b/media-video/dvbsnoop/metadata.xml new file mode 100644 index 000000000000..6586705a719e --- /dev/null +++ b/media-video/dvbsnoop/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="sourceforge">dvbsnoop</remote-id> + </upstream> +</pkgmetadata> |