1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
# -*-makefile-*-
#
# Copyright (C) 2013 by Michael Olbrich <m.olbrich@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_OPUS) += opus
#
# Paths and names
#
OPUS_VERSION := 1.2.1
OPUS_MD5 := 54bc867f13066407bc7b95be1fede090
OPUS := opus-$(OPUS_VERSION)
OPUS_SUFFIX := tar.gz
OPUS_URL := http://downloads.xiph.org/releases/opus/$(OPUS).$(OPUS_SUFFIX)
OPUS_SOURCE := $(SRCDIR)/$(OPUS).$(OPUS_SUFFIX)
OPUS_DIR := $(BUILDDIR)/$(OPUS)
OPUS_LICENSE := BSD-3-Clause
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
#
# autoconf
#
OPUS_CONF_TOOL := autoconf
OPUS_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
--disable-static \
--$(call ptx/disen, PTXCONF_HAS_HARDFLOAT)-fixed-point \
--disable-fixed-point-debug \
--enable-float-api \
--disable-custom-modes \
--enable-float-approx \
--enable-asm \
--enable-rtcd \
--enable-intrinsics \
--disable-assertions \
--disable-fuzzing \
--disable-check-asm \
--disable-ambisonics \
--disable-doc \
--disable-extra-programs \
--disable-update-draft
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/opus.targetinstall:
@$(call targetinfo)
@$(call install_init, opus)
@$(call install_fixup, opus,PRIORITY,optional)
@$(call install_fixup, opus,SECTION,base)
@$(call install_fixup, opus,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
@$(call install_fixup, opus,DESCRIPTION,missing)
@$(call install_lib, opus, 0, 0, 0644, libopus)
@$(call install_finish, opus)
@$(call touch)
# vim: syntax=make
|