~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.1.0/third_party/portaudio/build/scons/SConscript_common

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (1.1.11)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: package-import@ubuntu.com-20140128182336-3xenud1kbnwmf3mz
* New upstream release 
  - Fixes "New Upstream Release" (Closes: #735846)
  - Fixes "Ringtone does not stop" (Closes: #727164)
  - Fixes "[sflphone-kde] crash on startup" (Closes: #718178)
  - Fixes "sflphone GUI crashes when call is hung up" (Closes: #736583)
* Build-Depends: ensure GnuTLS 2.6
  - libucommon-dev (>= 6.0.7-1.1), libccrtp-dev (>= 2.0.6-3)
  - Fixes "FTBFS Build-Depends libgnutls{26,28}-dev" (Closes: #722040)
* Fix "boost 1.49 is going away" unversioned Build-Depends: (Closes: #736746)
* Add Build-Depends: libsndfile-dev, nepomuk-core-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import os.path, sys
 
2
 
 
3
class ConfigurationError(Exception):
 
4
    def __init__(self, reason):
 
5
        Exception.__init__(self, "Configuration failed: %s" % reason)
 
6
 
 
7
env = Environment()
 
8
 
 
9
# sunos, aix, hpux, irix, sunos appear to be platforms known by SCons, assuming they're POSIX compliant
 
10
Posix = ("linux", "darwin", "sunos", "aix", "hpux", "irix", "sunos", "netbsd")
 
11
Windows = ("win32", "cygwin")
 
12
 
 
13
if env["PLATFORM"] == "posix":
 
14
    if sys.platform[:5] == "linux":
 
15
        Platform = "linux"
 
16
    elif sys.platform[:6] == "netbsd":
 
17
        Platform = "netbsd"
 
18
    else:
 
19
        raise ConfigurationError("Unknown platform %s" % sys.platform)
 
20
else:
 
21
    if not env["PLATFORM"] in ("win32", "cygwin") + Posix:
 
22
        raise ConfigurationError("Unknown platform %s" % env["PLATFORM"])
 
23
    Platform = env["PLATFORM"]
 
24
 
 
25
# Inspired by the versioning scheme followed by Qt, it seems sensible enough. There are three components: major, minor
 
26
# and micro. Major changes with each subtraction from the API (backward-incompatible, i.e. V19 vs. V18), minor changes
 
27
# with each addition to the API (backward-compatible), micro changes with each revision of the source code.
 
28
ApiVer = "2.0.0"
 
29
 
 
30
Export("Platform", "Posix", "ConfigurationError", "ApiVer")