Commit graph

60 commits

Author SHA1 Message Date
reinoud
83ebf98bc5 Fix Sun/NetBSD audio support. uaudio(4) record-only audio devices would not
allow to be opened write-only and the logic would then skip to the next
device.
2021-01-16 21:06:52 +00:00
leot
b13a568190 *: revbump for libsndfile 2020-08-18 17:57:24 +00:00
nia
00b5b60c9d portaudio: Fix build on SunOS 2020-04-25 10:18:09 +00:00
nia
3d289a05b0 portaudio: Fix detection of sun 2020-04-25 09:41:31 +00:00
nia
7f5c87067f portaudio: Do not allow building with alsa/jack options on Darwin
PortAudio does not support building with this configuration.
2020-04-22 10:47:47 +00:00
nia
86ee769ac9 portaudio: Add a Sun/NetBSD audio backend. This works with Audacity.
While here, generally clean up the package...

Bump PKGREVISION
2020-04-17 15:50:03 +00:00
nia
869c35d13f portaudio: In the OSS hostapi, support additional sample formats.
While here, adjust some hacks around differences between NetBSD ossaudio
and OSSv4:

It turns out the problem was Audacity attempting to initialize with
an absurdly high sample rate. When a sample rate that's outside the
range of the kernel's maximum of 192000 is passed to SNDCTL_DSP_SPEED,
-1 was returned (until my commits today).

This is a violation of the OSSv4 spec in NetBSD. The spec states that if
an unsupported sample rate is requested, a supported one should be picked
and returned.
2020-04-15 17:12:14 +00:00
nia
7951ff26c7 portaudio: fix buildlink3 for alsa/jack 2019-12-22 04:14:33 +00:00
nia
b4e46b75a2 portaudio: Not make jobs safe.
I think we've been lucky until failures started cropping up in the aarch64
build...
2019-12-02 10:08:20 +00:00
nia
18f88826c6 portaudio: Fix PLIST for jack option 2019-11-29 17:31:39 +00:00
nia
2fb4f0d5ad portaudio: Update DESCR to remove references to SGI and BeOS 2019-11-25 14:07:48 +00:00
nia
918ab8286c Take MAINTAINER for portaudio. 2019-11-24 14:44:18 +00:00
nia
c401094e91 portaudio: Fix recording with the OSS backend on NetBSD.
This is trying to open /dev/audioX in non-blocking mode and poll() it.

This basically never works as expected, and is especially pointless with
the short reads PortAudio is doing. So don't do it.

It is also asserting some values to be returned from ioctls which the
emulation layer doesn't provide. This is also nearly entirely pointless,
so don't do it.

Recording now works in audacity.

Bump portaudio's PKGREVISION.
2019-11-24 13:15:15 +00:00
nia
3d775d2c8b portaudio: Add missing patch + debug option. 2019-10-28 15:32:24 +00:00
nia
7fd79f5b37 portaudio: Missing patches intended for last commit 2019-10-26 17:22:39 +00:00
nia
62f5915c03 audio: Allow audacity to use the system's portaudio.
This should make it easier to diagnose and fix recording problems later.
Probably.
2019-10-26 17:22:07 +00:00
nia
73b4b64fae Rename audio/portaudio-devel to audio/portaudio 2019-10-20 11:10:47 +00:00
nia
8eb77f47b5 Remove audio/portaudio, replacement audio/portaudio-devel.
This is v18 of the library. portaudio-devel is v19.
v19's initial release was in 2007, this was last updated in 2003.

Nothing is using this now.
2019-07-21 23:08:22 +00:00
wiz
48c2f68cf6 portaudio: honor LDFLAGS. Fixes RELRO build.
Bump PKGREVISION.
2018-02-28 21:46:51 +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
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
asau
99287c2a5e FreeBSD 9 uses sys/soundcard.h 2013-12-15 20:14:16 +00:00
gdt
8617581034 LICENSE=mit 2013-01-08 16:21:49 +00:00
asau
3997aff2d7 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 23:47:56 +00:00
dholland
7e751949e4 Set BUILDLINK_ABI_DEPENDS correctly (with +=, not ?=)
It turns out there were a lot of these.
2012-05-07 01:53:12 +00:00
hans
f3a0f5c697 Fix build on SunOS. 2012-01-11 20:14:10 +00:00
joerg
c6507d5377 Don't mess up the links created by libtool, resulting in symlinks to
Nirvana. Bump revision
2010-10-12 21:50:49 +00:00
obache
ddfb1f807b Fixes build failure with gmake-3.82.
Patch provided by Ryo ONODERA with PR#43755.
2010-08-14 12:15:43 +00:00
wiz
cf79fe6cb9 Get rid of now unnecessary EXTRACT_OPTS_ZIP. 2009-08-25 11:57:44 +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
drochner
6bd43d08b7 redo the librt patch so that libportaudio.so is linked against librt,
and try to introduce a scheme which could be used in a more general
framework (once NetBSD has stabilized and we got some experience
with the realtime stuff)
2008-02-05 20:21:56 +00:00
tnn
33ad651d2f Fix build on NetBSD-current 2008-02-03 16:10:22 +00:00
heinz
c5187dbe6f Added support for installation to DESTDIR. 2007-07-01 21:00:14 +00:00
ben
1a307bab1e Fix build on i386 Mac OS X 10.4.7. 2006-08-27 20:29:26 +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
minskim
832d39fb75 Add a compiler option to find a header file on Darwin. This addresses the
first problem reported in PR pkg/33420.  The second problem (link errors)
is not reproducible on my Darwin 8.6.0.
2006-05-16 08:09:42 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +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
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
jlam
81db182ecc Rename the following variables to reduce the number that we need to track:
EXTRACT_CMD_OPTS.bin		->  EXTRACT_OPTS_BIN
	EXTRACT_CMD_OPTS.lha		->  EXTRACT_OPTS_LHA
	EXTRACT_CMD_OPTS.rar		->  EXTRACT_OPTS_RAR
	EXTRACT_CMD_OPTS.tar		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tar.Z		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tar.bz2	->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tar.gz		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tbz		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tbz2		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tgz		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.zip		->  EXTRACT_OPTS_ZIP
	EXTRACT_CMD_OPTS.zoo		->  EXTRACT_OPTS_ZOO
	EXTRACT_CMD_OPTS_tar.gz		->  EXTRACT_OPTS_TAR
2006-01-20 23:41:29 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
tv
c4e47b6e2a NOT_FOR_PLATFORM Interix. 2005-10-31 16:09:18 +00:00
joerg
1374161753 Use pthread variables instead of hard-wired -lpthread for the detection
in configure. This allows DragonFly to get threading.
2005-10-10 15:24:08 +00:00
joerg
6355597e31 Set GNU_CONFIGURE to get config.guess / config.sub override 2005-10-10 15:24:07 +00:00
wiz
6301213966 Reset MAINTAINER -- he stopped working on pkgsrc. 2005-07-27 16:21:16 +00:00
rillig
f795c2e475 Removed trailing white-space. 2005-05-23 08:26:03 +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