Patchwork packages/dvbsnoop: new package dvbsnoop

login
register
mail settings
Submitter Carsten Schoenert
Date Jan. 9, 2013, 5:03 p.m.
Message ID <1357751014-5123-2-git-send-email-c.schoenert@gmail.com>
Download mbox | patch
Permalink /patch/210775/
State Superseded
Headers show

Comments

Carsten Schoenert - Jan. 9, 2013, 5:03 p.m.
From: Carsten Schoenert <c.schoenert@t-online.de>

dvbsnoop is a DVB/MPEG stream analyzer. It's designed to debug, dump or
view the digital stream info available via

    satellit    -> DVB-S, DVB-S2
    cable       -> DVB-C, DVB-C2
    terrestrial -> DVB-T, DVB-T2

dvbsnoop can be used on any digital settopbox that running on linux and
provides the DVB APIv3. It's also usable on classical PCs that contains
a DVB hardware (PCI Card or USB Plug).

Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com>
---
 package/multimedia/Config.in            |    1 +
 package/multimedia/dvbsnoop/Config.in   |    9 +++++++++
 package/multimedia/dvbsnoop/dvbsnoop.mk |   13 +++++++++++++
 3 files changed, 23 insertions(+)
 create mode 100644 package/multimedia/dvbsnoop/Config.in
 create mode 100644 package/multimedia/dvbsnoop/dvbsnoop.mk
Yann E. MORIN - Jan. 9, 2013, 5:34 p.m.
Carsten, All,

On Wednesday 09 January 2013 Carsten Schoenert wrote:
> From: Carsten Schoenert <c.schoenert@t-online.de>
> 
> dvbsnoop is a DVB/MPEG stream analyzer. It's designed to debug, dump or
> view the digital stream info available via

Hmm. Interesting! :-)

> diff --git a/package/multimedia/Config.in b/package/multimedia/Config.in
> index 273d9bc..07b4f1a 100644
> --- a/package/multimedia/Config.in
> +++ b/package/multimedia/Config.in
> @@ -2,6 +2,7 @@ menu "Audio and video applications"
>  source "package/multimedia/alsa-utils/Config.in"
>  source "package/multimedia/aumix/Config.in"
>  source "package/multimedia/bellagio/Config.in"
> +source "package/multimedia/dvbsnoop/Config.in"

There's already dvb-apps that deals with DVB stuff, and it is not in the
multimedia/ sub-dir, and is also in the "Hardware handling" sub-menu.

I think dvb-apps and dvbsnoop should be in the same sub-menu, and
"hardware handling" seems (to me) a better place than "Multimedia".

[--SNIP--]
> diff --git a/package/multimedia/dvbsnoop/dvbsnoop.mk b/package/multimedia/dvbsnoop/dvbsnoop.mk
> new file mode 100644
> index 0000000..a3ff468
> --- /dev/null
> +++ b/package/multimedia/dvbsnoop/dvbsnoop.mk
> @@ -0,0 +1,13 @@
> +#############################################################
> +#
> +# dvbsnoop
> +#
> +#############################################################
> +
> +DVBSNOOP_VERSION        = 1.4.50
> +DVBSNOOP_SITE           = http://downloads.sourceforge.net/project/dvbsnoop/dvbsnoop/dvbsnoop-$(DVBSNOOP_VERSION)
> +DVBSNOOP_SITE_METHOD    = gz

'gz' is not a valid _SITE_METHOD.
Since you're downloading a tarball, then you should not set _SITE_METHOD.

Regards,
Yann E. MORIN.
Carsten Schoenert - Jan. 9, 2013, 6:56 p.m.
Hello Yann, All,

thanks for your reply.
I was searching for the right place and after some thinking about Video
and Audio I had it placed there, but yes, it was not the best place, and
after it's a system tool it's o.k. to put in the same section there
dvb-apps are placed.

The _SITE_METHOD comes just from copy & paste :) , don't know which
package i was using, thougt it was a generic-package but dvbsnoop is a
autotool package, but that's reviewing are for. :) Thx.

So here is the reworked version of the patch.

Regards
Carsten

Patch

diff --git a/package/multimedia/Config.in b/package/multimedia/Config.in
index 273d9bc..07b4f1a 100644
--- a/package/multimedia/Config.in
+++ b/package/multimedia/Config.in
@@ -2,6 +2,7 @@  menu "Audio and video applications"
 source "package/multimedia/alsa-utils/Config.in"
 source "package/multimedia/aumix/Config.in"
 source "package/multimedia/bellagio/Config.in"
+source "package/multimedia/dvbsnoop/Config.in"
 source "package/multimedia/faad2/Config.in"
 source "package/multimedia/flac/Config.in"
 source "package/multimedia/ffmpeg/Config.in"
diff --git a/package/multimedia/dvbsnoop/Config.in b/package/multimedia/dvbsnoop/Config.in
new file mode 100644
index 0000000..afd0bc5
--- /dev/null
+++ b/package/multimedia/dvbsnoop/Config.in
@@ -0,0 +1,9 @@ 
+config BR2_PACKAGE_DVBSNOOP
+	bool "dvbsnoop"
+	help
+	  DVB analyzer / MPEG analyzer program to monitor, analyze, debug,
+	  dump or view dvb/mpeg/dsm-cc/mhp stream information (TS, PES,
+	  SECTION) (e.g. digital television) send via satellite, cable or
+	  terrestrial.
+
+	  http://dvbsnoop.sourceforge.net/
diff --git a/package/multimedia/dvbsnoop/dvbsnoop.mk b/package/multimedia/dvbsnoop/dvbsnoop.mk
new file mode 100644
index 0000000..a3ff468
--- /dev/null
+++ b/package/multimedia/dvbsnoop/dvbsnoop.mk
@@ -0,0 +1,13 @@ 
+#############################################################
+#
+# dvbsnoop
+#
+#############################################################
+
+DVBSNOOP_VERSION        = 1.4.50
+DVBSNOOP_SITE           = http://downloads.sourceforge.net/project/dvbsnoop/dvbsnoop/dvbsnoop-$(DVBSNOOP_VERSION)
+DVBSNOOP_SITE_METHOD    = gz
+DVBSNOOP_LICENSE        = GPLv2
+DVBSNOOP_LICENSE_FILE   = COPYING
+
+$(eval $(autotools-package))