Skip to contentSkip to conversation

package/libdvbcsa: New package

PATCH Superseded Bernd Kuhls 3 participants 20 messages Oct 12, 2014 – Oct 14, 2014

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/8 package/libdvbcsa: New package

---
 package/Config.in                |    1 +
 package/libdvbcsa/Config.in      |    9 +++++++++
 package/libdvbcsa/libdvbcsa.hash |    6 ++++++
 package/libdvbcsa/libdvbcsa.mk   |   31 +++++++++++++++++++++++++++++++
 4 files changed, 47 insertions(+)
 create mode 100644 package/libdvbcsa/Config.in
 create mode 100644 package/libdvbcsa/libdvbcsa.hash
 create mode 100644 package/libdvbcsa/libdvbcsa.mk
package/Config.in +1 -0
index 186ffea..da059d8 100644
@@ -745,6 +745,7 @@ endmenu
 menu "Multimedia"
 	source "package/libass/Config.in"
 	source "package/libbluray/Config.in"
+	source "package/libdvbcsa/Config.in"
 	source "package/libdvbsi/Config.in"
 	source "package/libdvdnav/Config.in"
 	source "package/libdvdread/Config.in"
package/libdvbcsa/Config.in new file +9 -0
new file mode 100644
index 0000000..dd7dc15
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_LIBDVBCSA
+	bool "libdvbcsa"
+	help
+	  libdvbcsa is a free implementation of the DVB Common Scrambling
+	  Algorithm - DVB/CSA - with encryption and decryption capabilities
+
+	  As libdvbcsa implements a standard, it is completely legal to use it.
+
+	  http://www.videolan.org/developers/libdvbcsa.html
package/libdvbcsa/libdvbcsa.hash new file +6 -0
new file mode 100644
index 0000000..5b3fa4c
@@ -0,0 +1,6 @@
+# From http://download.videolan.org/pub/videolan/libdvbcsa/1.1.0/libdvbcsa-1.1.0.tar.gz.sha256
+sha256	4db78af5cdb2641dfb1136fe3531960a477c9e3e3b6ba19a2754d046af3f456d	libdvbcsa-1.1.0.tar.gz
+# From http://download.videolan.org/pub/videolan/libdvbcsa/1.1.0/libdvbcsa-1.1.0.tar.gz.sha1
+sha1	5f4640a7e93ae6494f24a881414e5c343f803365				libdvbcsa-1.1.0.tar.gz
+# From http://download.videolan.org/pub/videolan/libdvbcsa/1.1.0/libdvbcsa-1.1.0.tar.gz.md5
+md5	478ab1ca56ca58d2667da6ce22f74e39					libdvbcsa-1.1.0.tar.gz
package/libdvbcsa/libdvbcsa.mk new file +31 -0
new file mode 100644
index 0000000..ef1d957
@@ -0,0 +1,31 @@
+################################################################################
+#
+# libdvbcsa
+#
+################################################################################
+
+LIBDVBCSA_VERSION = 1.1.0
+LIBDVBCSA_SITE = http://download.videolan.org/pub/videolan/libdvbcsa/$(LIBDVBCSA_VERSION)
+LIBDVBCSA_LICENSE = GPLv2+
+LIBDVBCSA_LICENSE_FILES = COPYING
+LIBDVBCSA_INSTALL_STAGING = YES
+
+ifeq ($(BR2_X86_CPU_HAS_MMX),y)
+LIBDVBCSA_CONF_OPTS += --enable-mmx
+else
+LIBDVBCSA_CONF_OPTS += --disable-mmx
+endif
+
+ifeq ($(BR2_X86_CPU_HAS_SSE2),y)
+LIBDVBCSA_CONF_OPTS += --enable-sse2
+else
+LIBDVBCSA_CONF_OPTS += --disable-sse2
+endif
+
+ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y)
+LIBDVBCSA_CONF_OPTS += --enable-altivec
+else
+LIBDVBCSA_CONF_OPTS += --disable-altivec
+endif
+
+$(eval $(autotools-package))
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 2/8 package/ffmpeg: Enable support for libavresample

---
 package/ffmpeg/Config.in |    5 +++++
 package/ffmpeg/ffmpeg.mk |    6 ++++++
 2 files changed, 11 insertions(+)
package/ffmpeg/Config.in +5 -0
index 20d5231..6fde46e 100644
@@ -49,6 +49,11 @@ config BR2_PACKAGE_FFMPEG_FFSERVER
 	help
 	  FFserver is a streaming server for both audio and video.
 
+config BR2_PACKAGE_FFMPEG_AVRESAMPLE
+	bool "Build libavresample"
+	help
+	  Avresample is a audio conversion library for compatibility.
+
 config BR2_PACKAGE_FFMPEG_POSTPROC
 	bool "Build libpostproc"
 	depends on BR2_PACKAGE_FFMPEG_GPL
package/ffmpeg/ffmpeg.mk +6 -0
index af4e1f6..0493385 100644
@@ -104,6 +104,12 @@ else
 FFMPEG_CONF_OPTS += --disable-ffserver
 endif
 
+ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE),y)
+FFMPEG_CONF_OPTS += --enable-avresample
+else
+FFMPEG_CONF_OPTS += --disable-avresample
+endif
+
 ifeq ($(BR2_PACKAGE_FFMPEG_POSTPROC),y)
 FFMPEG_CONF_OPTS += --enable-postproc
 else
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH 2/8 package/ffmpeg: Enable support for libavresample

Bernd, All,

On 2014-10-12 20:13 +0200, Bernd Kuhls spake thusly:

Quoted 2 lines

Regards,
Yann E. MORIN.

Quoted 45 lines
---
 package/ffmpeg/Config.in |    5 +++++
 package/ffmpeg/ffmpeg.mk |    6 ++++++
 2 files changed, 11 insertions(+)
package/ffmpeg/Config.in +5 -0
index 20d5231..6fde46e 100644
@@ -49,6 +49,11 @@ config BR2_PACKAGE_FFMPEG_FFSERVER
 	help
 	  FFserver is a streaming server for both audio and video.
 
+config BR2_PACKAGE_FFMPEG_AVRESAMPLE
+	bool "Build libavresample"
+	help
+	  Avresample is a audio conversion library for compatibility.
+
 config BR2_PACKAGE_FFMPEG_POSTPROC
 	bool "Build libpostproc"
 	depends on BR2_PACKAGE_FFMPEG_GPL
package/ffmpeg/ffmpeg.mk +6 -0
index af4e1f6..0493385 100644
@@ -104,6 +104,12 @@ else
 FFMPEG_CONF_OPTS += --disable-ffserver
 endif
 
+ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE),y)
+FFMPEG_CONF_OPTS += --enable-avresample
+else
+FFMPEG_CONF_OPTS += --disable-avresample
+endif
+
 ifeq ($(BR2_PACKAGE_FFMPEG_POSTPROC),y)
 FFMPEG_CONF_OPTS += --enable-postproc
 else
Signature · 6 lines
1.7.10.4

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#3 lore raw

PATCH 3/8 package/tvheadend: Convert to autotools-package

In reply to Bernd Kuhls

tvheadend does not use autoconf but its configure script behaves as such.

---
 package/tvheadend/tvheadend.mk |   27 ++++++---------------------
 1 file changed, 6 insertions(+), 21 deletions(-)
package/tvheadend/tvheadend.mk +6 -21
index 1445838..25a732c 100644
@@ -20,26 +20,11 @@ endif
 
 TVHEADEND_DEPENDENCIES += dtv-scan-tables
 
-define TVHEADEND_CONFIGURE_CMDS
-	(cd $(@D);				\
-	 $(TARGET_CONFIGURE_OPTS)		\
-	 $(TARGET_CONFIGURE_ARGS)		\
-	 ./configure				\
-	 --prefix=/usr				\
-	 --arch="$(ARCH)"			\
-	 --cpu="$(BR2_GCC_TARGET_CPU)"		\
-	 --python="$(HOST_DIR)/usr/bin/python"	\
-	 --disable-dvbscan			\
-	)
-endef
-
-define TVHEADEND_BUILD_CMDS
-	$(MAKE) -C $(@D)
-endef
-
-define TVHEADEND_INSTALL_TARGET_CMDS
-	$(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
-endef
+TVHEADEND_CONF_OPTS += \
+	--arch="$(ARCH)" \
+	--cpu="$(BR2_GCC_TARGET_CPU)" \
+	--python="$(HOST_DIR)/usr/bin/python" \
+	--disable-dvbscan
 
 #----------------------------------------------------------------------------
 # To run tvheadend, we need:
@@ -62,4 +47,4 @@ define TVHEADEND_USERS
 tvheadend -1 tvheadend -1 * /home/tvheadend - video TVHeadend daemon
 endef
 
-$(eval $(generic-package))
+$(eval $(autotools-package))
Signature · 1 line
1.7.10.4
#4 lore raw

PATCH 3/8 package/tvheadend: Convert to autotools-package

Dear Bernd Kuhls,

Quoted 6 lines · Bernd Kuhls

tvheadend does not use autoconf but its configure script behaves as such.

---
 package/tvheadend/tvheadend.mk |   27 ++++++---------------------
 1 file changed, 6 insertions(+), 21 deletions(-)

I generally dislike this approach. The fact that a non-autoconf configure script currently behaves sufficiently closely to an autoconf configure script is just pure happenstance, and any change to the pkg-autotools infrastructure may break this fragile assumption.

So in general, I prefer non-autoconf packages to be handled with generic-package.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#5 lore raw

PATCH 3/8 package/tvheadend: Convert to autotools-package

Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8 @public.gmane.org> wrote in news:20141012213417.0ecdc736 at free-electrons.com:

Hi Thomas,

Quoted 2 lines

So in general, I prefer non-autoconf packages to be handled with generic-package.

ok, I removed the patch from v2.

Regards, Bernd

#6 lore raw

PATCH 4/8 package/tvheadend: Needs iconv()

In reply to Bernd Kuhls

Fixes
CC src/intlconv.o
src/intlconv.c:1:19: fatal error: iconv.h: No such file or directory
#include <iconv.h>

with this defconfig

BR2_arm=y
BR2_cortex_a15=y
BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_TVHEADEND=y

---
 package/tvheadend/Config.in |    1 +
 1 file changed, 1 insertion(+)
package/tvheadend/Config.in +1 -0
index bb71d81..f7182a1 100644
@@ -13,6 +13,7 @@ config BR2_PACKAGE_TVHEADEND
 	# architecture is avr32, which uses gcc 4.2.
 	depends on !BR2_avr32
 	select BR2_PACKAGE_DTV_SCAN_TABLES
+	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	select BR2_PACKAGE_OPENSSL
 	help
 	  Tvheadend is a TV streaming server for Linux supporting DVB-S,
Signature · 1 line
1.7.10.4
#7 lore raw

PATCH 4/8 package/tvheadend: Needs iconv()

Dear Bernd Kuhls,

Quoted 26 lines · Bernd Kuhls

Fixes
CC src/intlconv.o
src/intlconv.c:1:19: fatal error: iconv.h: No such file or directory
#include <iconv.h>

with this defconfig

BR2_arm=y
BR2_cortex_a15=y
BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_TVHEADEND=y

---
 package/tvheadend/Config.in |    1 +
 1 file changed, 1 insertion(+)
package/tvheadend/Config.in +0 -0
index bb71d81..f7182a1 100644

package/tvheadend/Config.in config BR2_PACKAGE_TVHEADEND · line 19

Quoted 7 lines
package/tvheadend/Config.in +1 -0
@@ -13,6 +13,7 @@ config BR2_PACKAGE_TVHEADEND
 	# architecture is avr32, which uses gcc 4.2.
 	depends on !BR2_avr32
 	select BR2_PACKAGE_DTV_SCAN_TABLES
+	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	select BR2_PACKAGE_OPENSSL
 	help
 	  Tvheadend is a TV streaming server for Linux supporting DVB-S,

(the .mk file already has the logic "if iconv package is enabled, then depend on it")

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#8 lore raw

PATCH 5/8 package/tvheadend: Add support for libdvbcsa

In reply to Bernd Kuhls
---
 package/tvheadend/tvheadend.mk |    7 +++++++
 1 file changed, 7 insertions(+)
package/tvheadend/tvheadend.mk +7 -0
index 25a732c..9909b5c 100644
@@ -14,6 +14,13 @@ ifeq ($(BR2_PACKAGE_AVAHI),y)
 TVHEADEND_DEPENDENCIES += avahi
 endif
 
+ifeq ($(BR2_PACKAGE_LIBDVBCSA),y)
+TVHEADEND_DEPENDENCIES += libdvbcsa
+TVHEADEND_CONF_OPTS += --enable-dvbcsa
+else
+TVHEADEND_CONF_OPTS += --disable-dvbcsa
+endif
+
 ifeq ($(BR2_PACKAGE_LIBICONV),y)
 TVHEADEND_DEPENDENCIES += libiconv
 endif
Signature · 1 line
1.7.10.4
#9 lore raw

PATCH 5/8 package/tvheadend: Add support for libdvbcsa

Bernd, All,

On 2014-10-12 20:13 +0200, Bernd Kuhls spake thusly:

Quoted 2 lines

Regards,
Yann E. MORIN.

Quoted 29 lines
---
 package/tvheadend/tvheadend.mk |    7 +++++++
 1 file changed, 7 insertions(+)
package/tvheadend/tvheadend.mk +7 -0
index 25a732c..9909b5c 100644
@@ -14,6 +14,13 @@ ifeq ($(BR2_PACKAGE_AVAHI),y)
 TVHEADEND_DEPENDENCIES += avahi
 endif
 
+ifeq ($(BR2_PACKAGE_LIBDVBCSA),y)
+TVHEADEND_DEPENDENCIES += libdvbcsa
+TVHEADEND_CONF_OPTS += --enable-dvbcsa
+else
+TVHEADEND_CONF_OPTS += --disable-dvbcsa
+endif
+
 ifeq ($(BR2_PACKAGE_LIBICONV),y)
 TVHEADEND_DEPENDENCIES += libiconv
 endif
Signature · 6 lines
1.7.10.4

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#10 lore raw

PATCH 6/8 package/tvheadend: Enable bundled build

In reply to Bernd Kuhls

host-python is needed to create a bundled version of the tvheadend binary which includes all files used by the web UI.

Having host-python alone as dependency is not enough, we need to add --enable-bundle to enable this functionality.

---
 package/tvheadend/tvheadend.mk |    1 +
 1 file changed, 1 insertion(+)
package/tvheadend/tvheadend.mk +1 -0
index 9909b5c..c152717 100644
@@ -31,6 +31,7 @@ TVHEADEND_CONF_OPTS += \
 	--arch="$(ARCH)" \
 	--cpu="$(BR2_GCC_TARGET_CPU)" \
 	--python="$(HOST_DIR)/usr/bin/python" \
+	--enable-bundle \
 	--disable-dvbscan
 
 #----------------------------------------------------------------------------
Signature · 1 line
1.7.10.4
#11 lore raw

PATCH 6/8 package/tvheadend: Enable bundled build

Bernd Kuhls <[email protected]> wrote in news:1413137610-21887-6-git-send-email-bernd.kuhls at t-online.de:

Quoted 2 lines

Having host-python alone as dependency is not enough, we need to add --enable-bundle to enable this functionality.

Hi,

the alternative is to remove host-python as a dependency and built /usr/bin/tvheadend without its bundled webinterface, this will reduce build time.

/usr/share/tvheadend, this is where the unbundled webinterface files are stored, takes ~8 MB on the target, the bundled binary is ~3 MB bigger due to the use of the Python gzip module when bundling the web files.

I leave this up for discussion ;)

Regards, Bernd

#12 lore raw

PATCH 6/8 package/tvheadend: Enable bundled build

Dear Bernd Kuhls,

Quoted 9 lines · Bernd Kuhls

the alternative is to remove host-python as a dependency and built /usr/bin/tvheadend without its bundled webinterface, this will reduce build time.

/usr/share/tvheadend, this is where the unbundled webinterface files are stored, takes ~8 MB on the target, the bundled binary is ~3 MB bigger due to the use of the Python gzip module when bundling the web files.

I leave this up for discussion ;)

Size-wise and simplicity-wise, the bundled option seems like the right choice to me. If it doesn't suit someone in the future, it will always be time to make it optional if needed.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#13 lore raw

PATCH 6/8 package/tvheadend: Enable bundled build

Thomas, Bernd, All,

On 2014-10-12 21:35 +0200, Thomas Petazzoni spake thusly:

Quoted 12 lines

Dear Bernd Kuhls,

Quoted 8 lines · Bernd Kuhls

the alternative is to remove host-python as a dependency and built /usr/bin/tvheadend without its bundled webinterface, this will reduce build time.

/usr/share/tvheadend, this is where the unbundled webinterface files are stored, takes ~8 MB on the target, the bundled binary is ~3 MB bigger due to the use of the Python gzip module when bundling the web files.

Quoted 5 lines
Quoted 1 line

I leave this up for discussion ;)

Size-wise and simplicity-wise, the bundled option seems like the right choice to me. If it doesn't suit someone in the future, it will always be time to make it optional if needed.

Agreed.

However, whether we use bundled or unbundled, the webinterface files are to be present, so the size would be a bit bigger when unbundled, since files would not be conmpressed (except if the filesystem is itself a compressed filesystem).

So, bundled seems like the correct option for now.

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#14 lore raw

PATCH 6/8 package/tvheadend: Enable bundled build

In reply to Bernd Kuhls

Bernd, All,

On 2014-10-12 20:13 +0200, Bernd Kuhls spake thusly:

Quoted 7 lines

host-python is needed to create a bundled version of the tvheadend binary which includes all files used by the web UI.

Having host-python alone as dependency is not enough, we need to add --enable-bundle to enable this functionality.

Regards,
Yann E. MORIN.

Quoted 23 lines
---
 package/tvheadend/tvheadend.mk |    1 +
 1 file changed, 1 insertion(+)
package/tvheadend/tvheadend.mk +1 -0
index 9909b5c..c152717 100644
@@ -31,6 +31,7 @@ TVHEADEND_CONF_OPTS += \
 	--arch="$(ARCH)" \
 	--cpu="$(BR2_GCC_TARGET_CPU)" \
 	--python="$(HOST_DIR)/usr/bin/python" \
+	--enable-bundle \
 	--disable-dvbscan
 
 #----------------------------------------------------------------------------
Signature · 6 lines
1.7.10.4

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#15 lore raw

PATCH 7/8 package/tvheadend: Bump version to current git master

In reply to Bernd Kuhls
---
 package/tvheadend/tvheadend.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/tvheadend/tvheadend.mk +1 -1
index c152717..7d27edc 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-TVHEADEND_VERSION = ca742e00a7717787351e1a432ca9b41f93369d60
+TVHEADEND_VERSION = 4c19cc8526b922d10b4d39bd5a25cb89e27d7ce8
 TVHEADEND_SITE = $(call github,tvheadend,tvheadend,$(TVHEADEND_VERSION))
 TVHEADEND_LICENSE = GPLv3+
 TVHEADEND_LICENSE_FILES = LICENSE.md
Signature · 1 line
1.7.10.4
#16 lore raw

PATCH 7/8 package/tvheadend: Bump version to current git master

Bernd, All,

On 2014-10-12 20:13 +0200, Bernd Kuhls spake thusly:

Quoted 2 lines

Regards,
Yann E. MORIN.

Quoted 24 lines
---
 package/tvheadend/tvheadend.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/tvheadend/tvheadend.mk +1 -1
index c152717..7d27edc 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-TVHEADEND_VERSION = ca742e00a7717787351e1a432ca9b41f93369d60
+TVHEADEND_VERSION = 4c19cc8526b922d10b4d39bd5a25cb89e27d7ce8
 TVHEADEND_SITE = $(call github,tvheadend,tvheadend,$(TVHEADEND_VERSION))
 TVHEADEND_LICENSE = GPLv3+
 TVHEADEND_LICENSE_FILES = LICENSE.md
Signature · 6 lines
1.7.10.4

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#17 lore raw

PATCH 8/8 package/tvheadend: Add transcoding support by ffmpeg

In reply to Bernd Kuhls
---
 package/tvheadend/tvheadend.mk |    7 +++++++
 1 file changed, 7 insertions(+)
package/tvheadend/tvheadend.mk +7 -0
index 7d27edc..5267a10 100644
@@ -14,6 +14,13 @@ ifeq ($(BR2_PACKAGE_AVAHI),y)
 TVHEADEND_DEPENDENCIES += avahi
 endif
 
+ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE)$(BR2_PACKAGE_FFMPEG_SWSCALE),yy)
+TVHEADEND_DEPENDENCIES += ffmpeg
+TVHEADEND_CONF_OPTS += --enable-libav
+else
+TVHEADEND_CONF_OPTS += --disable-libav
+endif
+
 ifeq ($(BR2_PACKAGE_LIBDVBCSA),y)
 TVHEADEND_DEPENDENCIES += libdvbcsa
 TVHEADEND_CONF_OPTS += --enable-dvbcsa
Signature · 1 line
1.7.10.4
#18 lore raw

PATCH 8/8 package/tvheadend: Add transcoding support by ffmpeg

Bernd, All,

On 2014-10-12 20:13 +0200, Bernd Kuhls spake thusly:

Quoted 2 lines

Regards,
Yann E. MORIN.

Quoted 29 lines
---
 package/tvheadend/tvheadend.mk |    7 +++++++
 1 file changed, 7 insertions(+)
package/tvheadend/tvheadend.mk +7 -0
index 7d27edc..5267a10 100644
@@ -14,6 +14,13 @@ ifeq ($(BR2_PACKAGE_AVAHI),y)
 TVHEADEND_DEPENDENCIES += avahi
 endif
 
+ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE)$(BR2_PACKAGE_FFMPEG_SWSCALE),yy)
+TVHEADEND_DEPENDENCIES += ffmpeg
+TVHEADEND_CONF_OPTS += --enable-libav
+else
+TVHEADEND_CONF_OPTS += --disable-libav
+endif
+
 ifeq ($(BR2_PACKAGE_LIBDVBCSA),y)
 TVHEADEND_DEPENDENCIES += libdvbcsa
 TVHEADEND_CONF_OPTS += --enable-dvbcsa
Signature · 6 lines
1.7.10.4

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#19 lore raw

PATCH 1/8 package/libdvbcsa: New package

In reply to Bernd Kuhls

Bernd, All,

On 2014-10-12 20:13 +0200, Bernd Kuhls spake thusly:

Quoted 2 lines

Hashes match. However, I wonder how interesting it is to have md5, especially since we have sha1 and sha256. I'd just remove it.

Otherwise:

Regards,
Yann E. MORIN.

Quoted 93 lines
---
 package/Config.in                |    1 +
 package/libdvbcsa/Config.in      |    9 +++++++++
 package/libdvbcsa/libdvbcsa.hash |    6 ++++++
 package/libdvbcsa/libdvbcsa.mk   |   31 +++++++++++++++++++++++++++++++
 4 files changed, 47 insertions(+)
 create mode 100644 package/libdvbcsa/Config.in
 create mode 100644 package/libdvbcsa/libdvbcsa.hash
 create mode 100644 package/libdvbcsa/libdvbcsa.mk
package/Config.in +1 -0
index 186ffea..da059d8 100644
@@ -745,6 +745,7 @@ endmenu
 menu "Multimedia"
 	source "package/libass/Config.in"
 	source "package/libbluray/Config.in"
+	source "package/libdvbcsa/Config.in"
 	source "package/libdvbsi/Config.in"
 	source "package/libdvdnav/Config.in"
 	source "package/libdvdread/Config.in"
package/libdvbcsa/Config.in new file +9 -0
new file mode 100644
index 0000000..dd7dc15
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_LIBDVBCSA
+	bool "libdvbcsa"
+	help
+	  libdvbcsa is a free implementation of the DVB Common Scrambling
+	  Algorithm - DVB/CSA - with encryption and decryption capabilities
+
+	  As libdvbcsa implements a standard, it is completely legal to use it.
+
+	  http://www.videolan.org/developers/libdvbcsa.html
package/libdvbcsa/libdvbcsa.hash new file +6 -0
new file mode 100644
index 0000000..5b3fa4c
@@ -0,0 +1,6 @@
+# From http://download.videolan.org/pub/videolan/libdvbcsa/1.1.0/libdvbcsa-1.1.0.tar.gz.sha256
+sha256	4db78af5cdb2641dfb1136fe3531960a477c9e3e3b6ba19a2754d046af3f456d	libdvbcsa-1.1.0.tar.gz
+# From http://download.videolan.org/pub/videolan/libdvbcsa/1.1.0/libdvbcsa-1.1.0.tar.gz.sha1
+sha1	5f4640a7e93ae6494f24a881414e5c343f803365				libdvbcsa-1.1.0.tar.gz
+# From http://download.videolan.org/pub/videolan/libdvbcsa/1.1.0/libdvbcsa-1.1.0.tar.gz.md5
+md5	478ab1ca56ca58d2667da6ce22f74e39					libdvbcsa-1.1.0.tar.gz
package/libdvbcsa/libdvbcsa.mk new file +31 -0
new file mode 100644
index 0000000..ef1d957
@@ -0,0 +1,31 @@
+################################################################################
+#
+# libdvbcsa
+#
+################################################################################
+
+LIBDVBCSA_VERSION = 1.1.0
+LIBDVBCSA_SITE = http://download.videolan.org/pub/videolan/libdvbcsa/$(LIBDVBCSA_VERSION)
+LIBDVBCSA_LICENSE = GPLv2+
+LIBDVBCSA_LICENSE_FILES = COPYING
+LIBDVBCSA_INSTALL_STAGING = YES
+
+ifeq ($(BR2_X86_CPU_HAS_MMX),y)
+LIBDVBCSA_CONF_OPTS += --enable-mmx
+else
+LIBDVBCSA_CONF_OPTS += --disable-mmx
+endif
+
+ifeq ($(BR2_X86_CPU_HAS_SSE2),y)
+LIBDVBCSA_CONF_OPTS += --enable-sse2
+else
+LIBDVBCSA_CONF_OPTS += --disable-sse2
+endif
+
+ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y)
+LIBDVBCSA_CONF_OPTS += --enable-altivec
+else
+LIBDVBCSA_CONF_OPTS += --disable-altivec
+endif
+
+$(eval $(autotools-package))
Signature · 6 lines
1.7.10.4

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 13 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20141014/182bd418/attachment.asc>