Commit Graph

74 Commits

Author SHA1 Message Date
jakemsr
d30e4ddda5 - quit building audio(4) support
- remove unused --disable-ltdl configure arg
2010-01-12 11:19:06 +00:00
kili
8fc6287292 WANTLIB changes after xcb addition and bump. 2009-08-10 06:29:51 +00:00
jakemsr
53ef50a03a cleanup sndio backend
- rename from "libsndio" to "sndio"
- remove support for "frame tick" synchronization; nothing uses it
- as with many other sndio backends, the audio device block size is the
  buffer-write-size the application wants and there are 2 blocks per
  device buffer
- if SDL will resample, increase the audio block and buffer size by
  the same ratio, so that device latency (or how much *time* the
  application has between write()s to not let the buffer underrun) does
  not change
- allow applications to disable conversions

tested with almost every port that uses this code (exceptions being some
games that require non-free game data) on a device most likely to be
affected by the changes (azalia(4) that only does 44.1 or 48 kHz s16)

unoverriding conversion disabling exposes brokenness in a few other
ports, those will be fixed soon
2009-01-24 10:56:11 +00:00
ratchov
0c13c69eeb bump PKGNAME, forgotten in the last commit
requested by sturm@
2009-01-08 20:38:11 +00:00
sthen
e6cdb88c0c add @pkgpath marker to ease updates from the removed -esd flavour and
bump version.  pointed out by ajacoutot; ok ajacoutot, jakemsr.
2008-12-30 22:17:54 +00:00
jakemsr
be62cb80f3 remove arts and esd backends
from Brad, thanks
2008-12-30 02:15:20 +00:00
jakemsr
3d85607ee9 bufsz -> appbufsz per recent libsndio changes 2008-12-23 07:45:32 +00:00
jakemsr
bb8f2fc023 add libsndio backend and use it by default.
take maintainership as suggested by current maintainer.

ok pvalchev@
2008-11-02 14:53:51 +00:00
brad
10afb425f9 - Remove ${LDFLAGS} from LDFLAGS specified with CONFIGURE_ENV since this
is not set elsewhere.
- Add disable option for PulseAudio so support is not built if it happens
  to be installed.
- Enable the use of YASM to build the i386 assembly blit code.

ok pvalchev@
2008-09-26 03:14:42 +00:00
naddy
c218631a73 Fix alignment error in SDL display output from sparc64 to i386.
From upstream SVN.  ok pvalchev@, brad@
2008-09-16 20:43:10 +00:00
pvalchev
546f4316e3 @X_LIBS@ and @C_CFLAGS@ for pkg-config too, from brad 2008-03-20 22:00:15 +00:00
pvalchev
7081132bbf add @X_CFLAGS@ to sdl-config --cflags (-I${X11BASE}/include), much
like -L{X11...} is in --libs
from Peter Hessler
2008-03-20 05:14:11 +00:00
jakemsr
99fccde5bc - make artsd audio output work by linking with libartsc instead
of trying to dlopen() it.  also fix a couple bugs in the artsd
  output module: when artsd is "suspended", it only means that
  it it not accessing the soundcard at the moment, not that it
  will not accept data.  fix output latency by setting parameters
  that actually are settable, instead of trying to set read-only(!)
  parameters.

- allow the default audio output method to be chosen with the
  SDL_AUDIO_DRIVER environment variable.  choices are 'arts',
  'esd' and 'audio'.  'audio' selects audio(4) output, and is
  the default if SDL_AUDIO_DRIVER is not set.

ok pvalchev@
2008-03-19 13:33:29 +00:00
pvalchev
3db60d1479 Fix libGL dynamic loading (let dlopen(3) do its job!)
From Antti Harri <iku@openbsd.fi>, tested by many
2008-01-27 18:43:20 +00:00
pvalchev
b5f395b069 Update to sdl-1.2.13
Bugfix release, notably:
- Fix a fullscreen crash with ffmpeg, etc. due to expecting memory to
be executable by default - use mprotect() - Reported by deanna@
- Worked around BadAlloc error when using XVideo on the XFree86 Intel
- Integrated Graphics driver
- Fixed use of sdl-config arguments in sdl.m4
2008-01-03 17:39:40 +00:00
ajacoutot
9e0758caca - remove the sun FLAVOR and add sunaudio support by default
note: people running with non-default FLAVOR(s) will need to update their
package manually as "pkg_add -u" won't be able to cope with this change

discussed with and ok steven@, "theorical ok" from pvalchev@
2007-12-09 13:40:16 +00:00
ajacoutot
881b752615 - fix altivec FLAVOR variable expansion 2007-11-18 09:39:02 +00:00
ajacoutot
f05b0f4cb8 - there's a bug in the SDL altivec code and altivec was enabled by
default, so now we:
* add an altivec FLAVOR
* mark is BROKEN (so that --disable-altivec is used)

Note that this is not a "set and forget" workaround, we will try fixing
this segfault but for now we need a working SDL for powerpc.

discussed with and ok pvalchev@
2007-11-14 07:16:39 +00:00
pvalchev
4967057365 update to sdl-1.2.12. long due update, possible now since the macppc
X acceleration bug is now gone (thanks for ajacoutot for endless testing
of this issue), diff from brad
2007-09-22 01:12:38 +00:00
merdely
376b75df06 Remove quotes surrounding COMMENT*/PERMIT_*/BROKEN 2007-09-16 02:52:56 +00:00
naddy
b0d9a3139b various audio fixes; from jakemsr@ 2007-08-14 15:51:07 +00:00
pvalchev
c5cfa910bf if requested sound settings fail, try 48000 Hz, as some audio devices
can only support that sample rate. reported by deanna, fixed by jakemsr
who asked me to commit it
2007-08-07 14:22:02 +00:00
jakemsr
26a9c9cc52 - use the sun audio interface instead of the OpenBSD interface
- sync patches with update-patches
- bump PKGNAME

the sun interface keeps fewer samples in the play buffer, and with
less fluctuation than the OpenBSD interface.  results in better
audio-video synchronization in e.g. ffplay and gnash

go for it -pval
2007-07-20 05:23:41 +00:00
sturm
a11f08faad fix WANTLIB after switch to xenocara 2007-04-08 15:31:01 +00:00
espie
30059c7ebb help people not mix up X11 with xenocara, by making sure they link against
X11 >= 10, and bump those major numbers accordingly, so that bug-reports
will get easier to process.

(artificial `flag day' as discussed with deraadt@)
2007-03-26 21:22:13 +00:00
ajacoutot
09b0321194 - better MASTER_SITES mirror for distfiles hosted on www.libsdl.org 2007-01-21 14:47:58 +00:00
jolan
c903391a58 use nanosleep 2006-12-04 03:52:08 +00:00
pvalchev
c6c8181980 revert to sdl-1.2.9 for now as this causes some breakage with
at least some macppc scenarios; discovered by ajacoutot
since it's only a few hour window of breakage, be careful reverting
things if you updated during that time
2006-10-19 00:26:33 +00:00
pvalchev
235247ab22 update to sdl-1.2.11
sdl-config --libs is now fixed to pass just -lSDL and the needed deps
get pulled implicitly as is proper
feedback/testing by various and ports@
2006-10-18 17:53:08 +00:00
espie
53d48f3c04 new libspecs 2006-08-01 23:39:08 +00:00
aanriot
c7dfb912a3 - USE_LIBTOOL=Yes and get ride of MODGNU_SHARED_LIBS.
- PKGNAME bump.

ok steven@ naddy@
2006-02-03 06:20:11 +00:00
espie
04d06f7b44 bump C++ shared libs after typedef changes.
note that all SDL libs link with supc++ (potentially, and thus are affected)
-> don't take a chance, bump.
2006-01-13 23:40:22 +00:00
pvalchev
11e3d0b837 SHARED_LIBS; ok espie 2005-12-24 17:40:00 +00:00
pvalchev
c60f742777 Update to sdl-1.2.9 2005-09-17 00:38:15 +00:00
jolan
fa968d4db6 fix opengl stuff 2005-08-10 00:25:16 +00:00
pvalchev
09a699de85 update to SDL-1.2.8 2005-05-11 17:26:15 +00:00
sturm
2df5e83b56 fix WANTLIB for no_x11 FLAVOR
fixes ports/4092
2005-02-11 18:52:04 +00:00
robert
d0b3bb1e3d fix libcaca support (distribution patch); bump PKGNAME
reported by Antoine Jacoutot <ajacoutot@lphp.org>
2005-01-29 22:56:34 +00:00
naddy
0d80779243 proper SUPDISTFILES, restore checksums 2005-01-05 21:52:50 +00:00
espie
b060aaf66c WANTLIB markers 2004-11-24 00:11:03 +00:00
espie
77bbf9b491 make sure we don't pick the wrong usb. 2004-11-18 17:48:50 +00:00
pvalchev
521b9c626b Update to SDL-1.2.7; based on work by jsg@ 2004-10-25 02:34:21 +00:00
robert
1838900473 Add caca FLAVOR to have support for libcaca (color ascii art library)
ok pvalchev@
2004-04-23 12:09:18 +00:00
pvalchev
36effa8ca1 remove post-patch kludges now done in bsd.port.mk; reminded by naddy 2004-04-18 17:21:13 +00:00
espie
7548e1358f gcc3 doesn't like multi-line literals, and pval already knew it's
unhappy with nasm.
2003-12-28 22:26:18 +00:00
espie
e3125a817b do not pick up libtool on the way.
okay pval@
2003-12-07 19:45:42 +00:00
pvalchev
8cb7c089bf Update to SDL-1.2.6; mostly from espie, much testing by jolan, thanks! 2003-09-29 05:41:37 +00:00
wcobb
c480039af9 Update to SDL-1.2.5.
- sdl-config no longer provides -I${LOCALBASE}/include.
- add an `aa' flavor (ASCII art display).
- GNU make is not needed.
- don't use nasm with gcc 3.
- don't install a SEGV handler.
- prevent the joystick driver from picking up usb keyboards.
ok pvalchev@
2002-11-30 11:17:26 +00:00
brad
e92e6ab0b0 having CONFIGURE_STYLE set to autoconf implies gnu. 2002-09-15 19:53:21 +00:00
pvalchev
fec07c0f89 use kde3 for arts flavor; bunch of people 2002-09-07 04:56:28 +00:00