Moved sound bundles to Tools/

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28518 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Stefan Bidigaray 2009-08-23 15:35:58 +00:00
parent cc8f7ada0b
commit 695963974f
8 changed files with 2215 additions and 1695 deletions

View file

@ -2,9 +2,8 @@
# Sounds makefile for GNUstep GUI Library
# Copyright (C) 2009 Free Software Foundation, Inc.
#
# Author: Gregory Casamento <greg.casamento@gmail.com>,
# Stefan Bidigaray <stefanbidi@gmail.com>
# Date: July 2009, August 2009
# Author: Gregory Casamento <greg.casamento@gmail.com>
# Date: July 2009
#
# This file is part of the GNUstep GUI Library.
#
@ -44,25 +43,11 @@ Pop.wav \
Sosumi.wav \
Tink.wav
BUNDLE_NAME = Sndfile AudioOutput
BUNDLE_EXTENSION = .nssound
OBJCFLAGS += -Wall -I../Headers/Additions
Sndfile_OBJC_FILES = SndfileSource.m
AudioOutput_OBJC_FILES = AudioOutputSink.m
Sndfile_PRINCIPAL_CLASS = SndfileSource
AudioOutput_PRINCIPAL_CLASS = AudioOutputSink
Sndfile_BUNDLE_LIBS = -lsndfile
AudioOutput_BUNDLE_LIBS = -lao
-include GNUmakefile.preamble
-include GNUmakefile.local
# We don't actually build anything in this directory so
# just include the common makefile rules
include $(GNUSTEP_MAKEFILES)/rules.make
include $(GNUSTEP_MAKEFILES)/bundle.make
include GNUmakefile.postamble

View file

@ -28,7 +28,7 @@ include ../config.make
include ../Version
SUBPROJECTS = $(BUILD_SPEECH)
SUBPROJECTS = $(BUILD_SPEECH) $(BUILD_SOUND)
TOOL_NAME = make_services set_show_service gopen gclose gcloseall
SERVICE_NAME = GSspell

16
Tools/sound/GNUmakefile Normal file
View file

@ -0,0 +1,16 @@
PACKAGE_NAME = gnustep-gui
include $(GNUSTEP_MAKEFILES)/common.make
BUNDLE_NAME = Sndfile AudioOutput
BUNDLE_EXTENSION = .nssound
Sndfile_OBJC_FILES = SndfileSource.m
AudioOutput_OBJC_FILES = AudioOutputSink.m
Sndfile_PRINCIPAL_CLASS = SndfileSource
AudioOutput_PRINCIPAL_CLASS = AudioOutputSink
Sndfile_BUNDLE_LIBS = -lsndfile
AudioOutput_BUNDLE_LIBS = -lao
include $(GNUSTEP_MAKEFILES)/bundle.make

View file

@ -8,7 +8,7 @@ ADDITIONAL_DEPENDS = @LIBS@
# Build speech and sound.
BUILD_SPEECH=@BUILD_SPEECH@
BUILD_SOUNDS=@BUILD_SOUNDS@
BUILD_SOUND=@BUILD_SOUND@
# CUPS
GSCUPS_CFLAGS = @GSCUPS_CFLAGS@

3855
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -358,15 +358,15 @@ AC_ARG_ENABLE(sound,
[ --disable-sound Disable sound],,
enable_sound=yes)
# Initialize to nothing...
BUILD_SOUNDS=
# Check for the libs...
AC_CHECK_LIB(sndfile, sf_seek, have_sndfile=yes, have_sndfile=no)
AC_CHECK_LIB(ao, ao_open_live, have_ao=yes, have_ao=no)
BUILD_SOUND=
# Check for the headers...
AC_CHECK_HEADERS(sndfile.h, have_sndfile=yes, have_sndfile=no)
AC_CHECK_HEADERS(ao/ao.h, have_ao=yes, have_ao=no)
# Only if we have both...
if test $have_sndfile = yes -a $have_ao = yes -a $enable_sound = yes; then
BUILD_SOUNDS="Sounds"
BUILD_SOUND="sound"
fi
AC_SUBST(BUILD_SOUNDS)
AC_SUBST(BUILD_SOUND)
#--------------------------------------------------------------------
# NSSpeechSynthesizer