~ubuntu-branches/ubuntu/wily/soundscaperenderer/wily-proposed

« back to all changes in this revision

Viewing changes to .pc/upstreamversion.patch/configure.ac

  • Committer: Package Import Robot
  • Author(s): IOhannes m zmölnig (Debian/GNU)
  • Date: 2014-09-01 11:35:32 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20140901113532-svjohhyw755nkxef
Tags: 0.4.2~dfsg-1
* Imported Upstream version 0.4.2~dfsg

* Refreshed patches.
* Removed patches applied upstream.
* Install upstream's NEWS as changelog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
dnl initialize autoconf, this should be the first thing in configure.ac
16
16
dnl arguments: full package name, version, email address for bug reports,
17
17
dnl tarball name, homepage
18
 
AC_INIT([SoundScape Renderer (SSR)],
 
18
AC_INIT([SSR (SoundScape Renderer)],
19
19
        [m4_esyscmd_s([git describe || date +$USER%Y%m%d%H%M])],
20
20
        [ssr@spatialaudio.net],
21
21
        [ssr],
22
 
        [http://spatialaudio.net/ssr])
 
22
        [http://spatialaudio.net/ssr/])
 
23
 
 
24
SSR_COPYRIGHT="Copyright © 2014 Institut für Nachrichtentechnik, Universität Rostock\nCopyright © 2012 Quality & Usability Lab, Telekom Innovation Labs, TU Berlin\n\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law."
 
25
 
 
26
AC_DEFINE_UNQUOTED([SSR_COPYRIGHT], ["$SSR_COPYRIGHT"], [SSR copyright notice])
23
27
 
24
28
dnl read AUTHORS file and save (reformatted by sed) to SSR_AUTHORS(_QT)
25
 
SSR_AUTHORS=esyscmd([cat AUTHORS | sed -e :a -e '$!N;s/\n/\\n/;ta' -e 's/.*/"&"/'])
 
29
SSR_AUTHORS=esyscmd([cat AUTHORS | sed -e :a -e '$!N;s/\n\n/\\n/;ta' -e '$!N;s/\n/\\n/;ta' -e 's/.*/"&"/'])
26
30
SSR_AUTHORS_QT=esyscmd([cat AUTHORS | sed -e 's|^.*:|<EM>&</EM>|' -e 's/ /\&nbsp;/g' -e 's/é/\&eacute;/g' -e 's/ö/\&ouml;/g' | sed -e :a -e '$!N;s/\n/<BR>/;ta' -e 's/.*/"&"/'])
27
31
 
28
32
dnl reformat AUTHORS and write to authors.tex for the user manual:
130
134
dnl AC_DEFINE_UNQUOTED performs additional shell expansions, e.g. substitution
131
135
dnl of variable with value.
132
136
 
133
 
dnl TODO: option(s) for selecting a subset of renderers!
134
 
dnl Note: For full list of possible executables see src/Makefile.am
135
 
SSR_executables="ssr-binaural ssr-wfs ssr-generic ssr-brs ssr-nfc-hoa ssr-vbap ssr-aap"
 
137
AM_MISSING_PROG(HELP2MAN, help2man)
 
138
 
 
139
ENABLE_AUTO([all],
 
140
            [all renderers (use --enable-xyz to re-enable certain renderers)],
 
141
[
 
142
  AS_IF([test x$enable_all = xno], [have_all=no])
 
143
])
 
144
 
 
145
ENABLE_AUTO([binaural], [binaural renderer (using HRIRs)],
 
146
[
 
147
  AS_IF([test x$enable_binaural = xyes -o x$have_all = xyes],
 
148
    [SSR_executables="$SSR_executables ssr-binaural"])
 
149
])
 
150
 
 
151
ENABLE_AUTO([brs], [Binaural Room Synthesis renderer (using BRIRs)],
 
152
[
 
153
  AS_IF([test x$enable_brs = xyes -o x$have_all = xyes],
 
154
    [SSR_executables="$SSR_executables ssr-brs"])
 
155
])
 
156
 
 
157
ENABLE_AUTO([wfs], [Wave Field Synthesis renderer],
 
158
[
 
159
  AS_IF([test x$enable_wfs = xyes -o x$have_all = xyes],
 
160
    [SSR_executables="$SSR_executables ssr-wfs"])
 
161
])
 
162
 
 
163
ENABLE_AUTO([vbap], [Vector Base Amplitude Panning renderer],
 
164
[
 
165
  AS_IF([test x$enable_vbap = xyes -o x$have_all = xyes],
 
166
    [SSR_executables="$SSR_executables ssr-vbap"])
 
167
])
 
168
 
 
169
ENABLE_AUTO([aap], [Ambisonics Amplitude Panning renderer],
 
170
[
 
171
  AS_IF([test x$enable_aap = xyes -o x$have_all = xyes],
 
172
    [SSR_executables="$SSR_executables ssr-aap"])
 
173
])
 
174
 
 
175
ENABLE_AUTO([generic], [generic renderer],
 
176
[
 
177
  AS_IF([test x$enable_generic = xyes -o x$have_all = xyes],
 
178
    [SSR_executables="$SSR_executables ssr-generic"])
 
179
])
 
180
 
 
181
ENABLE_AUTO([nfc-hoa],[Near-Field-Compensated Higher-Order-Ambisonics renderer],
 
182
[
 
183
  AS_IF([test x$enable_nfc_hoa = xyes -o x$have_all = xyes],
 
184
    [SSR_executables="$SSR_executables ssr-nfc-hoa"])
 
185
])
 
186
 
 
187
dnl Note: For what happens with SSR_executables see src/Makefile.am
136
188
AC_SUBST(SSR_executables)
137
189
 
138
190
dnl Checking for sndfile
687
739
  ])
688
740
])
689
741
 
 
742
ENABLE_AUTO([isatty], [support for isatty()],
 
743
[
 
744
  AC_CHECK_HEADER([unistd.h], , [have_isatty=no])
 
745
  AC_SEARCH_LIBS([isatty], , , [have_isatty=no])
 
746
])
 
747
 
690
748
dnl trying to mimic the default setting
691
749
pkgdatadir="\$(datadir)/$PACKAGE"
692
750
 
723
781
AC_SUBST(DEBUGGING_FLAGS)
724
782
 
725
783
dnl List of output files generated by AC_OUTPUT from their respective *.in files
726
 
AC_CONFIG_FILES([Makefile src/Makefile data/Makefile data/MacOSX/Makefile])
 
784
AC_CONFIG_FILES([Makefile src/Makefile man/Makefile])
 
785
AC_CONFIG_FILES([data/Makefile data/MacOSX/Makefile])
727
786
AC_CONFIG_FILES([data/MacOSX/Info.plist data/MacOSX/DMG-Layout.applescript])
728
787
 
729
788
dnl AC_OUTPUT should be the last command (except maybe some status messages)