mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <l.stach@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 2/3] sbc: new package
Date: Mon,  5 Nov 2018 16:01:16 +0100	[thread overview]
Message-ID: <20181105150117.13436-2-l.stach@pengutronix.de> (raw)
In-Reply-To: <20181105150117.13436-1-l.stach@pengutronix.de>

SBC (Low Complexity Subband Codec) is the audio codec
commonly used in Bluetooth devices.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 rules/sbc.in   |  8 +++++++
 rules/sbc.make | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)
 create mode 100644 rules/sbc.in
 create mode 100644 rules/sbc.make

diff --git a/rules/sbc.in b/rules/sbc.in
new file mode 100644
index 000000000000..3d19a36da16b
--- /dev/null
+++ b/rules/sbc.in
@@ -0,0 +1,8 @@
+## SECTION=multimedia_libs
+
+config SBC
+	tristate
+	prompt "sbc"
+	help
+	  SBC (Low Complexity Subband Codec) is the audio codec
+	  commonly used in Bluetooth devices.
diff --git a/rules/sbc.make b/rules/sbc.make
new file mode 100644
index 000000000000..a7bad239371c
--- /dev/null
+++ b/rules/sbc.make
@@ -0,0 +1,64 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 by Lucas Stach <l.stach@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_SBC) += sbc
+
+#
+# Paths and names
+#
+SBC_VERSION	:= 1.3
+SBC_MD5		:= 2d8b7841f2c11ab287718d562f2b981c
+SBC		:= sbc-$(SBC_VERSION)
+SBC_SUFFIX	:= tar.xz
+SBC_URL		:= https://www.kernel.org/pub/linux/bluetooth/$(SBC).$(SBC_SUFFIX)
+SBC_SOURCE	:= $(SRCDIR)/$(SBC).$(SBC_SUFFIX)
+SBC_DIR		:= $(BUILDDIR)/$(SBC)
+SBC_LICENSE	:= GPL-2.0-only
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+SBC_CONF_TOOL	:= autoconf
+SBC_CONF_OPT	:= \
+	$(CROSS_AUTOCONF_USR) \
+	--enable-optimization \
+	--disable-debug \
+	--$(call ptx/endis, PTXCONF_TARGET_HARDEN_PIE)-pie \
+	--enable-high-precision \
+	--disable-tools \
+	--disable-tester
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/sbc.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, sbc)
+	@$(call install_fixup, sbc,PRIORITY,optional)
+	@$(call install_fixup, sbc,SECTION,base)
+	@$(call install_fixup, sbc,AUTHOR,"Lucas Stach <l.stach@pengutronix.de>")
+	@$(call install_fixup, sbc,DESCRIPTION,missing)
+
+	@$(call install_lib, sbc, 0, 0, 0644, libsbc)
+
+	@$(call install_finish, sbc)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.19.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2018-11-05 15:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-05 15:01 [ptxdist] [PATCH 1/3] speex: version bump 1.2rc1 -> 1.2 Lucas Stach
2018-11-05 15:01 ` Lucas Stach [this message]
2018-11-05 15:01 ` [ptxdist] [PATCH 3/3] pulseaudio: version bump 8.0 -> 12.2 Lucas Stach
2018-11-22  6:24   ` Michael Olbrich
2018-11-22 10:06   ` Roland Hieber
2018-11-22 10:12     ` Michael Olbrich
2018-11-22 10:27       ` Lucas Stach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181105150117.13436-2-l.stach@pengutronix.de \
    --to=l.stach@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox