Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v6] kodi: allow enablement of libamcodec as codec if selected
@ 2016-11-05 15:40 Dagg Stompler
  2016-11-05 16:12 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Dagg Stompler @ 2016-11-05 15:40 UTC (permalink / raw)
  To: buildroot

allow usage of amcodec if kodi is built and libamcodec is selected

Signed-off-by: Dagg Stompler <daggs@gmx.com>
---

v5 -> v6:
 - simplify patch so it will fit kodi 17 too (Thomas Petazzoni)
 - allow multiple codecs enabled.

v4 -> v5:
 - add description and signed off to the kodi patch. (Thomas Petazzoni).

v3 -> v4:
 - properly define the includes for amcodec when cross compiling.

v2 -> v3:
 - fix change after kodi.mk was changed.

v1 -> v2:
 - fixed mail title and comment

 package/kodi/kodi.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index e0361da..4682d3f 100644
--- a/package/kodi/kodi.mk
+++ b/package/kodi/kodi.mk
@@ -113,6 +113,12 @@ KODI_DEPENDENCIES += imx-vpuwrap
 KODI_CONF_OPTS += --enable-codec=imxvpu
 endif
 
+ifeq ($(BR2_PACKAGE_LIBAMCODEC),y)
+KODI_DEPENDENCIES += libamcodec
+KODI_CONF_OPTS += --enable-codec=amcodec
+KODI_CONF_ENV += INCLUDES="-I$(STAGING_DIR)/usr/include/amcodec"
+endif
+
 ifeq ($(BR2_PACKAGE_LIBCAP),y)
 KODI_CONF_OPTS += --enable-libcap
 KODI_DEPENDENCIES += libcap
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-05 18:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-05 15:40 [Buildroot] [PATCH v6] kodi: allow enablement of libamcodec as codec if selected Dagg Stompler
2016-11-05 16:12 ` Thomas Petazzoni
2016-11-05 18:41   ` daggs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox