{"id":810789,"url":"http://patchwork.ozlabs.org/api/1.2/patches/810789/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/patch/20170906204908.30036-2-bernd.kuhls@t-online.de/","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/1.2/projects/27/?format=json","name":"Buildroot development","link_name":"buildroot","list_id":"buildroot.buildroot.org","list_email":"buildroot@buildroot.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170906204908.30036-2-bernd.kuhls@t-online.de>","list_archive_url":null,"date":"2017-09-06T20:49:06","name":"[2/4] package/tvheadend: bump version, add optional dependencies to opus & x265","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"597cbf1e95c894318a1d53cf4588abf22bb4318c","submitter":{"id":62613,"url":"http://patchwork.ozlabs.org/api/1.2/people/62613/?format=json","name":"Bernd Kuhls","email":"bernd.kuhls@t-online.de"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/20170906204908.30036-2-bernd.kuhls@t-online.de/mbox/","series":[{"id":1877,"url":"http://patchwork.ozlabs.org/api/1.2/series/1877/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/list/?series=1877","date":"2017-09-06T20:49:05","name":"[1/4] package/tvheadend: add option to en-/disable transcoding support","version":1,"mbox":"http://patchwork.ozlabs.org/series/1877/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/810789/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/810789/checks/","tags":{},"related":[],"headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","Received":["from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xnbKv21Cgz9sRY\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  7 Sep 2017 06:49:23 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id EEE8C89BF1;\n\tWed,  6 Sep 2017 20:49:20 +0000 (UTC)","from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id J-NpanTwWALP; Wed,  6 Sep 2017 20:49:20 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id F3DC589BE9;\n\tWed,  6 Sep 2017 20:49:19 +0000 (UTC)","from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 8577D1C3FA1\n\tfor <buildroot@lists.busybox.net>;\n\tWed,  6 Sep 2017 20:49:15 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 7BF8222FC5\n\tfor <buildroot@lists.busybox.net>;\n\tWed,  6 Sep 2017 20:49:15 +0000 (UTC)","from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id hKSt0G50T5vp for <buildroot@lists.busybox.net>;\n\tWed,  6 Sep 2017 20:49:14 +0000 (UTC)","from mailout01.t-online.de (mailout01.t-online.de [194.25.134.80])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 1EFB82CD69\n\tfor <buildroot@buildroot.org>; Wed,  6 Sep 2017 20:49:14 +0000 (UTC)","from fwd22.aul.t-online.de (fwd22.aul.t-online.de [172.20.26.127])\n\tby mailout01.t-online.de (Postfix) with SMTP id ADD8C420767F;\n\tWed,  6 Sep 2017 22:49:11 +0200 (CEST)","from fli4l.lan.fli4l\n\t(GoZQZoZEZhJE52TY2VaRdcggO4BYD1TiOaoIhSiL4Uv77ENAoP7YKzCPxCcroBggtg@[79.228.31.212])\n\tby fwd22.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted)\n\tesmtp id 1dphG2-1j9IYK0; Wed, 6 Sep 2017 22:49:10 +0200","from mahler.lan.fli4l ([192.168.1.1]:36400 helo=kuhls.lan.fli4l)\n\tby fli4l.lan.fli4l with esmtp (Exim 4.89)\n\t(envelope-from <bernd.kuhls@t-online.de>)\n\tid 1dphG1-0001mz-MS; Wed, 06 Sep 2017 22:49:10 +0200"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","From":"Bernd Kuhls <bernd.kuhls@t-online.de>","To":"buildroot@buildroot.org","Date":"Wed,  6 Sep 2017 22:49:06 +0200","Message-Id":"<20170906204908.30036-2-bernd.kuhls@t-online.de>","X-Mailer":"git-send-email 2.11.0","In-Reply-To":"<20170906204908.30036-1-bernd.kuhls@t-online.de>","References":"<20170906204908.30036-1-bernd.kuhls@t-online.de>","X-ID":"GoZQZoZEZhJE52TY2VaRdcggO4BYD1TiOaoIhSiL4Uv77ENAoP7YKzCPxCcroBggtg","X-TOI-MSGID":"7ff7841f-9cc0-417a-91bb-2098c1c03c78","Cc":"\"Yann E . MORIN\" <yann.morin.1998@free.fr>","Subject":"[Buildroot] [PATCH 2/4] package/tvheadend: bump version,\n\tadd optional dependencies to opus & x265","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"},"content":"This bump\nhttps://github.com/tvheadend/tvheadend/compare/54e63e3f9af8fdc0d23f61f3cda7fa7b246c1732...303f418e1ac2bb3078f7a974b69f04ab6a56c636\nupdated the transcoding support already present:\nhttps://github.com/tvheadend/tvheadend/commit/014bb9505e1d7eb6e37e10931dd89ab3b1a0dc01\n\nTo avoid these build errors\n\nsrc/transcoding/codec/codecs/libs/libx26x.c:105:18: fatal error: x264.h: No such file or directory\n #include <x264.h>\n\nsrc/transcoding/codec/codecs/libs/libx26x.c:213:18: fatal error: x265.h: No such file or directory\n #include <x265.h>\n\nsrc/transcoding/codec/codecs/libs/libopus.c:23:31: fatal error: opus/opus_defines.h: No such file or directory\n #include <opus/opus_defines.h>\n\nwe need to add dependency handling already with this patch and keep the\nhard dependency x264 as minimum codec for transcoding but we now need\nto enable BR2_PACKAGE_FFMPEG_GPL to enable x264-support also in ffmpeg.\n\nSigned-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>\n---\n package/tvheadend/Config.in      |  1 +\n package/tvheadend/tvheadend.hash |  2 +-\n package/tvheadend/tvheadend.mk   | 24 ++++++++++++++++++++----\n 3 files changed, 22 insertions(+), 5 deletions(-)","diff":"diff --git a/package/tvheadend/Config.in b/package/tvheadend/Config.in\nindex 191593eab..56a3b385d 100644\n--- a/package/tvheadend/Config.in\n+++ b/package/tvheadend/Config.in\n@@ -31,6 +31,7 @@ config BR2_PACKAGE_TVHEADEND_TRANSCODING\n \tbool \"transcoding support\"\n \tselect BR2_PACKAGE_FFMPEG\n \tselect BR2_PACKAGE_FFMPEG_AVRESAMPLE\n+\tselect BR2_PACKAGE_FFMPEG_GPL # needed for x264 support\n \tselect BR2_PACKAGE_FFMPEG_SWSCALE\n \tselect BR2_PACKAGE_LIBVPX if !BR2_bfin # libvpx\n \tselect BR2_PACKAGE_X264\ndiff --git a/package/tvheadend/tvheadend.hash b/package/tvheadend/tvheadend.hash\nindex 3154b3276..a33b0a5e5 100644\n--- a/package/tvheadend/tvheadend.hash\n+++ b/package/tvheadend/tvheadend.hash\n@@ -1,2 +1,2 @@\n # Locally computed\n-sha256 1994e379c798b118243e70f7fa38064a9b288d6e38b9ced0e8ad465f5d2e8fd9  tvheadend-54e63e3f9af8fdc0d23f61f3cda7fa7b246c1732.tar.gz\n+sha256 00f67fbf9d8cfea7da90f469b36a8205fb9a38727c4cc5022f4ee5fd322459d3  tvheadend-303f418e1ac2bb3078f7a974b69f04ab6a56c636.tar.gz\ndiff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk\nindex b1c1fcaf7..4722cb006 100644\n--- a/package/tvheadend/tvheadend.mk\n+++ b/package/tvheadend/tvheadend.mk\n@@ -4,7 +4,7 @@\n #\n ################################################################################\n \n-TVHEADEND_VERSION = 54e63e3f9af8fdc0d23f61f3cda7fa7b246c1732\n+TVHEADEND_VERSION = 303f418e1ac2bb3078f7a974b69f04ab6a56c636\n TVHEADEND_SITE = $(call github,tvheadend,tvheadend,$(TVHEADEND_VERSION))\n TVHEADEND_LICENSE = GPL-3.0+\n TVHEADEND_LICENSE_FILES = LICENSE.md\n@@ -27,10 +27,26 @@ TVHEADEND_CONF_OPTS += --disable-dbus-1\n endif\n \n ifeq ($(BR2_PACKAGE_TVHEADEND_TRANSCODING),y)\n-TVHEADEND_DEPENDENCIES += ffmpeg\n-TVHEADEND_CONF_OPTS += --enable-libav\n+TVHEADEND_CONF_OPTS += --enable-libav --enable-libx264\n+TVHEADEND_DEPENDENCIES += ffmpeg x264\n+ifeq ($(BR2_PACKAGE_OPUS),y)\n+TVHEADEND_CONF_OPTS += --enable-libopus\n+TVHEADEND_DEPENDENCIES += opus\n else\n-TVHEADEND_CONF_OPTS += --disable-libav\n+TVHEADEND_CONF_OPTS += --disable-libopus\n+endif\n+ifeq ($(BR2_PACKAGE_X265),y)\n+TVHEADEND_CONF_OPTS += --enable-libx265\n+TVHEADEND_DEPENDENCIES += x265\n+else\n+TVHEADEND_CONF_OPTS += --disable-libx265\n+endif\n+else\n+TVHEADEND_CONF_OPTS += \\\n+\t--disable-libav \\\n+\t--disable-libopus \\\n+\t--disable-libx264 \\\n+\t--disable-libx265\n endif\n \n ifeq ($(BR2_PACKAGE_LIBDVBCSA),y)\n","prefixes":["2/4"]}