Commit graph

102 commits

Author SHA1 Message Date
nia
22a6662531 libao-sun: convert 24-bit samples to 32-bit samples
working around the inability of the netbsd 9 kernel (at least) to
handle 24-bit lpcm directly in its default configuration. this
fixes problems playing 24-bit flac in cmus, at least.

with the kernel compiled with AUDIO_SUPPORT_LINEAR24 this is not
actually necessary and we should maybe consider doing that by default.
2020-05-28 19:30:45 +00:00
nia
3e162c3b3e *: Remove esound support from pkgsrc
Enlightened Sound Daemon was one of the earlier solutions to the old
"multiple programs can't open /dev/audio at once" problem that was once
a thing we had to worry about.

Eventually, it was adopted as part of GNOME. GNOME lost interest in it
about a decade ago and dropped it in favour of PulseAudio, newer
applications are generally uninterested in supporting it. Last release
was in 2008 and support for newer OS APIs is pretty nonexistent.

Several years ago the original website disappeared.

https://en.wikipedia.org/wiki/Enlightened_Sound_Daemon
https://tracker.debian.org/news/999428/removed-0241-11-from-unstable/
2020-01-20 21:54:00 +00:00
dbj
28a4abed17 audio/libao: fix Darwin build
libao tried disable the macos plugin by setting a configure
environment variable that didn't work.  This forces the option
off by the SUBST framework to edit the config file.
2019-12-24 05:07:45 +00:00
dbj
20974a9501 libao: revert PLIST.Darwin, this is likely the wrong fix 2019-12-23 22:16:33 +00:00
dbj
a529e0eadb libao: add PLIST.Darwin for platform specific plugin file 2019-12-23 22:07:00 +00:00
nia
142152cd9d libao: Update to 1.2.2
Fixes a NULL pointer dereference, among other issues.

Make libao-sun the default driver for NetBSD.
2019-11-24 00:35:56 +00:00
rillig
17e39f419d Fix indentation in buildlink3.mk files.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +00:00
wiz
a1e4174a9c Follow some http redirects. 2017-08-16 20:21:03 +00:00
nros
bc2d37bd21 Set LICENSE for a lot of audio packages. 2016-04-20 12:10:24 +00:00
agc
b734eb2ebf Add SHA512 digests for distfiles for audio category
Problems found with existing distfiles:
	/pub/pkgsrc/distfiles/amp-0.7.6.tgz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-music-32000-1.0.8.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-music-48000-1.0.8.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-en-us-callie-32000-1.0.22.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-en-us-callie-48000-1.0.22.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-32000-1.0.18.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-48000-1.0.18.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-16000-1.0.12.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-32000-1.0.12.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-48000-1.0.12.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-8000-1.0.12.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-32000-1.0.18.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-48000-1.0.18.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-32000-1.0.13.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-48000-1.0.13.tar.gz
	/pub/pkgsrc/distfiles/kid3-3.3.0.tar.gz
	/pub/pkgsrc/distfiles/libdca-0.0.5.tar.bz2
	/pub/pkgsrc/distfiles/mp3to.gz
	/pub/pkgsrc/distfiles/squeezeboxserver-7.5.1-noCPAN.tgz
No changes made to these file.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 01:12:23 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
wiz
8b765c474f Fix ``Please add a line "# used by foo/bar/Makefile" here.'' warnings. 2014-10-05 16:41:05 +00:00
wiz
eef3aa230b Fix libao-alsa. 2014-02-18 20:49:00 +00:00
wiz
76f3f4c31a Mention libao-alsa 2014-02-18 20:48:46 +00:00
wiz
1e4071e9e6 Update to 1.2.0:
1.2.0 - January 27, 2014
 - Added missing ao_file_extension() (see Trac #1841)
 - Fixed memory leak in ao_shutdown() (see Trac #1799)
 - Updated manpage libao.conf.5 (see Trac #1822)
 - Corrected doc/ao_play.html (see Trac #1808)
 - Latency adjustments
 - Implement PulseAudio client_name (see Trac #1924)
 - Other ALSA, Pulse, Roar, sndio and MacOS driver improvements
2014-02-06 18:37:07 +00:00
asau
2fead99d50 "user-destdir" is default these days 2012-09-11 23:59:21 +00:00
shattered
0b74b106d0 Update to 1.1.0. Notable changes:
Fix segfaults when closing a driver that did not successfully open.
Fix Mac OS X AUHAL support to properly handle suspend/wakeup, headphone plug/unplug, other hardware events
Fix building Mac OS X driver AUHAL compilation for 10.5, restore Mac OS X 10.4 support
Add 24 bit playback to Pulse plugin
Fix compilation of sndio plugin
Fix 24 bit playback in ALSA plugin
Improve/correct latency setup in ALSA (see Trac #1762)

Also fixes crash in ogg123 with libao-pulse (Trac #1689)
2011-04-09 13:20:20 +00:00
drochner
3e7c868ca0 update to 1.0.0
changes:
-Added surround channel mapping API and capability
-New config file options
-misc updates and fixes

pkgsrc note: The format structure passed to ao_open_*() has grown a new
member ("matrix", for channel mapping). All client pkgs need to be
checked that it is at least zero-initialized.
2010-05-19 18:17:27 +00:00
joerg
76039544d1 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
joerg
934e055ec2 Convert @exec/@unexec to @pkgdir or drop them. 2009-06-14 18:10:28 +00:00
joerg
e209761d06 Remove @dirrm entries from PLISTs 2009-06-14 17:28:16 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
jmcneill
73ba5c9267 ALSA plugin build fixes. 2008-12-19 04:26:56 +00:00
jmcneill
760f782b75 polypaudio option is now pulseaudio, and note libao-pulse package in
MESSAGE.common
2008-12-18 16:36:11 +00:00
obache
f3c567b580 Add notes about "# used by audio/libao-*/Makefile" 2008-11-02 13:22:12 +00:00
wiz
1a9512aabe Update to 0.8.8:
0.8.8 - Thu May 24
 - New win32 driver
 - Few fixes and changes in autotools and configuration files.

0.8.7 - unreleased snapshot
- obsolete alsa device renamed to alsa05
- the 'alsa' device now uses the 0.9/1.0 API
- ALSA driver fixes
2007-11-30 17:50:30 +00:00
rillig
8dec96ea13 Fixed PKGMANDIR. 2006-12-19 01:18:18 +00:00
joerg
5e43280b23 Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.
The redundant parsing of bsd.prefs.mk is mostly avoided now and
parse time e.g. for x11/kdebase3 gets reduced by up to 10%.
2006-12-12 21:52:34 +00:00
joerg
7f279c69f3 DESTDIR support. 2006-11-02 17:59:37 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
lukem
eb5046567d Reset MAINTAINER; I don't have the time nor inclination to maintain
these any more.
2006-04-22 07:32:24 +00:00
reed
1cf7c8fafd Improve DESCR more, by mentioning the file outputs.
In +DISPLAY mention that the plugins are not all available
on every platform.

(Ride on PKGREVISION bump from a few minutes ago.)
2006-04-13 21:40:26 +00:00
reed
ec34a0d8c3 Add a MESSAGE.common to tell user to install a libao plugin.
I used MESSAGE.common so a MESSAGE.${OPSYS} could also be added.

Bump PKGREVISION.

Clarify DESCR and do not mention all the outputs it supports as
this may make it appear it is works without installing another
plugin.

TODO: What about NULL, WAV, IRIX, and ALSA?
2006-04-13 21:26:17 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jlam
6ad6aef9d4 Replace references to ossaudio.buildlink3.mk with oss.buildlink3.mk.
Remove deprecated ossaudio.buildlink3.mk.
2006-03-09 21:04:39 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
jmmv
e0e78ff7d0 For packages using libao, add a default dependency on a plugin (either
oss or sun), based on the current OS name.  This is only used if no
other libao plugin is installed, and is binary package friendly.

Addresses PR pkg/30920 by Chuck Cranor.
2005-10-08 12:30:38 +00:00
jlam
7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables.  Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.

For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-08-10 20:56:10 +00:00
wiz
d774725534 Change path from devel/pkgconfig to devel/pkg-config.
No PKGREVISION bump since pkg-config is only a BUILD_DEPENDS.
2005-07-21 16:29:42 +00:00
minskim
003f933331 Fix the previous PKGREVISION bump by setting PKGREVISION in Makefile,
instead of Makefile.common.
2005-06-06 01:52:39 +00:00
minskim
b93dee1440 Replace patches that remove -ldl with those that use BUILDLINK_LDADD.dl.
Bump PKGREVISION.
2005-06-06 01:37:13 +00:00
rillig
56fdb6905a Removed trailing white-space. 2005-05-31 21:57:15 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
jmmv
3d5351f8df - Change libao to not build OSS, Sun, MacOS X nor several other plugins even
when the header files are found.  Bump its revision to 1 due to this.
  This makes the libao package completely audio-output agnostic.
- Add a libao-macosx package containing the MacOS X plugin (sorry, untested).
- Add a libao-oss package containing the OSS plugin.  While here, use
  ossaudio.buildlink3.mk to determine the audio device instead of hardcoding
  it in a patch.
- Add a libao-macosx package containing the Sun audio plugin (sorry, untested).

Change approved by silence on tech-pkg@ for quite a long time since my
proposal.

I'm doing these changes to cleanup the base libao package.  Before these,
it contained a huge conditional to determine when the OSS and/or Sun
plugins were built, which often failed in untested platforms (PLIST
inconsistencies, for example).  Having these plugins in independent packages
makes debugging easier, keeps the dependency tree clean and also lets us use
{ONLY,NOT}_FOR_PLATFORM directives to easily say where they work or don't.
2005-05-20 19:20:55 +00:00
xtraeme
d64123d4f9 Do not install the sun plugin on DragonFlyBSD, patch from
Joerg Sonnenberger in PR pkg/30120.
2005-05-03 14:50:28 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
71c8259803 Add RMD160 digests to the SHA1 ones. 2005-02-23 20:39:42 +00:00
wiz
662fd1a6b6 Update to 0.8.6:
0.8.6 - January 11, 2005
- Added Polypaudio driver(libao-polyp 0.4)
  from Lennart Poettering
- Use esd_close() in the esd driver
- Broaden sample rate tolerance in the OSS driver for nForce
  compatibility
2005-02-18 17:22:07 +00:00
grant
26e10e5e0d add libmacosx for Darwin. 2004-12-18 17:14:18 +00:00