Commit graph

82 commits

Author SHA1 Message Date
Vladimir Druzenko
65906cb5ed audio/alsa-plugins: Fix build with JACK option: use of undeclared identifier 'program_invocation_short_name'
pcm_jack.c:606:23: error: use of undeclared identifier 'program_invocation_short_name'
  606 |                 const char *pname = program_invocation_short_name;
      |                                     ^
1 error generated.

Upstream broke build on FreeBSD in commit:
13a645e55a
Pool request:
https://github.com/alsa-project/alsa-plugins/pull/48

PR:		280144
Reported by:	Peter Much <pmc@citylink.dinoex.sub.org>
Tested by:	Peter Much <pmc@citylink.dinoex.sub.org>
Fixes:		1a782b3157 (update 1.2.7.1 → 1.2.12)
MFH:		2024Q4
2024-10-18 01:32:14 +03:00
Vladimir Druzenko
c22f1829dc audio/alsa-plugins: return maintainer to ports@
PR:		280144
Reported by:	diizzy (via email)
Fixes:		1a782b3157 (update 1.2.7.1 → 1.2.12)
2024-07-26 15:21:43 +03:00
Vladimir Druzenko
1a782b3157 audio/alsa-plugins: update 1.2.7.1 → 1.2.12
Also:
 * refresh patches;
 * change maintainer from ports@ to rodrigo@ - maintainer other alsa
   ports: audio/alsa-lib audio/alsa-utils (if he is against changing the
   maintainer, then I will return the old value ports@).

PR:		280144
Approved by:	rodrigo (maintainer, timeout > 2 weeks)
2024-07-25 21:50:52 +03:00
Jan Beich
390e208ac1 audio/alsa-plugins: disable PULSEAUDIO by default after 44c14328c0
- Reduce heavy dependencies for consumers e.g., wine, pipewire, qt?-webengine
- "pulse" plugin was partially broken until 5131751558
- All plugins with extra dependencies (like "pulse") to be subpackaged later

PR:		245321
2024-02-21 15:27:20 +01:00
Jan Beich
7dd904d917 audio/alsa-plugins: temporarily drop subpackages
https://github.com/freebsd/poudriere/issues/1113
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276845

Requested by:	makc (kde), bdrewery (pkgmgr)
Suggested by:	pizzamig (portmgr)

This reverts commit 06dbf1df62.
2024-02-21 15:27:19 +01:00
Jan Beich
06dbf1df62 audio/alsa-plugins: convert options to subpackages
Reduce heavy dependencies for consumers e.g.,
- chromium -> pipewire -> alsa-plugins -> pulseaudio
- wine -> alsa-plugins -> pulseaudio

Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D43667
2024-02-02 14:44:56 +01:00
Jan Beich
077152a79a audio/alsa-plugins: install vendor OSS config after 44c14328c0
Allows overriding /dev/dsp without adjusting config e.g.,

$ aplay -D oss:/dev/dsp4 foo.wav

PR:		245321
See also:	https://github.com/alsa-project/alsa-plugins/commit/6e40eb5fd346
2024-02-02 14:44:55 +01:00
Jan Beich
5131751558 audio/alsa-plugins: unbreak PULSEAUDIO=on config after 44c14328c0
For some reason, /usr/local/share/alsa/alsa.conf.d is no longer searched.

$ sed -i '' '/pulse/s/# //' /usr/local/etc/asound.conf
$ daemon -f pulseaudio
$ aplay foo.wav
ALSA lib pcm.c:2675:(snd_pcm_open_noupdate) Unknown PCM pcm.pulse
aplay: main:839: audio open error: No such file or directory

PR:		245321
2024-02-02 14:44:33 +01:00
Jan Beich
14b194a695 audio/alsa-plugins: make JACK independent from SAMPLERATE
Dates back to 4070922aac but the submitted patches unconditionally
passed --disable-samplerate, so SAMPLERATE option was added by fluffy@.
According to v1.0.23 vendor sources there was no such dependency.
Drop as JACK=on SAMPLERATE=off builds fine, and neither 50-jack.conf
nor alsa-lib/files/asound.conf.sample use samplerate.
2024-01-31 18:03:23 +01:00
Jan Beich
c402d06aa7 audio/alsa-plugins: drop unused SPEEX=on dependency
====> Running Q/A tests (stage-qa)
Warning: you might not need LIB_DEPENDS on libspeex.so
2024-01-30 18:01:42 +01:00
Jan Beich
9494bfd129 audio/alsa-plugins: track more SPEEX=on files 2024-01-30 18:01:41 +01:00
Florian Walpen
609ec25809 audio/alsa-plugins: unbreak JACK=on build after 6cd91556d4
pcm_jack.c:606:23: error: use of undeclared identifier 'program_invocation_short_name'
                const char *pname = program_invocation_short_name;
                                    ^

====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: etc/alsa/conf.d/50-jack.conf
Error: Orphaned: share/alsa/alsa.conf.d/50-jack.conf

PR:		274792
2024-01-30 17:50:58 +01:00
Rodrigo Osorio
6cd91556d4 audio/alsa-plugins: Update to version 1.2.7.1
Full changelog: https://github.com/alsa-project/alsa-plugins/tags

PR:       262089
2023-10-22 17:07:39 +02:00
Jan Beich
95a0d0389f audio/alsa-plugins: remove debug options to prevent footshooting
- BLKCNT_P2 and VERBOSE exposed compile knobs from
  https://people.freebsd.org/~ariff/libasound/20090928_00-alsa-plugins-1.0.21.diff
- BUFSZ_P2 worked around crashes and high CPU usage in Firefox until
  native OSS support phased out ALSA
- hselasky@ fixed many ALSA issues over the years
- users can still adjust compile knobs via make.conf(5) or Makefile.local

PR:		274047
2023-09-23 19:14:53 +02:00
Gleb Popov
b1ecad53b0 audio/pulseaudio: Update to 16.1
Bump PORTREVISION on consumers.

Sponsored by:	Serenity Cybersecurity, LLC

PR:		262713
2023-08-07 19:34:07 +03:00
Jan Beich
df94027c84 audio/alsa-plugins: unbreak FFMPEG=on after 685e477b80
checking for LIBAV... no
checking for avcodec_open in -lavcodec... no
[...]
configure:13617: checking for LIBAV
configure:13624: $PKG_CONFIG --exists --print-errors "libavcodec libavutil libavresample"
Package libavresample was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavresample.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavresample', required by 'virtual:world', not found
configure:13627: $? = 1
[...]
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: etc/alsa/conf.d/10-rate-lav.conf
Error: Missing: etc/alsa/conf.d/60-a52-encoder.conf
Error: Missing: lib/alsa-lib/libasound_module_pcm_a52.la
Error: Missing: lib/alsa-lib/libasound_module_pcm_a52.so
Error: Missing: lib/alsa-lib/libasound_module_rate_lavrate.la
Error: Missing: lib/alsa-lib/libasound_module_rate_lavrate.so
Error: Missing: lib/alsa-lib/libasound_module_rate_lavrate_fast.so
Error: Missing: lib/alsa-lib/libasound_module_rate_lavrate_faster.so
Error: Missing: lib/alsa-lib/libasound_module_rate_lavrate_high.so
Error: Missing: lib/alsa-lib/libasound_module_rate_lavrate_higher.so
Error: Missing: share/alsa/alsa.conf.d/10-rate-lav.conf
Error: Missing: share/alsa/alsa.conf.d/60-a52-encoder.conf
===> Error: Plist issues found.
*** Error code 1

PR:		271641 272337
2023-07-07 21:33:14 +00:00
Jan Beich
38462c18ed audio/alsa-plugins: revert ffmpeg workaround
Not a leaf consumer. Depending on ffmpeg4 can cause bustage or crashes
in ffmpeg consumers.

PR:		271641 272337

This reverts commit ca82785515.
2023-07-07 21:32:45 +00:00
Martin Neubauer
ca82785515 audio/alsa-plugins: fix build with FFMPEG option enabled
After the update to ffmpeg 6 the configure script failed to recognise the
components needed, causing packaging errors later on. Changing the dependency to
the new ffmpeg4 port fixes this.

PR:		271641
Reported by:	m.ne@gmx.net
2023-05-30 08:08:05 +02:00
Christian Weisgerber
feb1fa34f5 audio/opus: bump consumers after update to 1.4 2023-04-25 17:17:15 +02:00
Stefan Eßer
fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c0 has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022-09-07 23:58:51 +02:00
Stefan Eßer
b7f05445c0 Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00
Tobias C. Berner
213b0b7a75 audio: remove 'Created by' lines
A big Thank You to the original contributors of these ports:

  *  <dmagda+libsamplerate@ee.ryerson.ca>
  *  <trasz@FreeBSD.org>
  *  Adam Weinberger
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Aleksander Fafula <alex@bsdguru.org>
  *  Alex Allan <alex@kamaz.org.uk>
  *  Alexander Botero-Lowry <alex@foxybanana.com>
  *  Alexander Kojevnikov <alexander@kojevnikov.com>
  *  Alexander Nedotsukov <bland@FreeBSD.org>
  *  Alexander Vereeken <Alexander88207@protonmail.com>
  *  Alexander Yerenkow <yerenkow@gmail.com>
  *  Alexandr Kovalenko <never@nevermind.kiev.ua>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Anders Nordby <anders@FreeBSD.org>
  *  Anders Nordby <anders@fix.no>
  *  Andreas Kohn <andreas@syndrom23.de>
  *  Andrew Pantyukhin <infofarmer@FreeBSD.org>
  *  Andrey Zakhvatov
  *  Anes Mukhametov <anes@anes.su>
  *  Anthony Ginepro <anthony.ginepro@laposte.net>
  *  Anton Yuzhaninov <citrin@citrin.ru>
  *  Aragon Gouveia <aragon@phat.za.net>
  *  Ashish SHUKLA <wahjava@gmail.com>
  *  Ayumi M <ayu@commun.jp>
  *  Ayumi Mitsui <ayu@commun.jp>
  *  Bartoletti <lbartoletti@FreeBSD.org>
  *  Bernard Spil <brnrd@FreeBSD.org>
  *  Bill Fenner <fenner@FreeBSD.org>
  *  Brad Walker <tha_walka@hotmail.com>
  *  Brett Taylor <brett@peloton.physics.montana.edu>
  *  Byung-Hee HWANG <bh@izb.knu.ac.kr>
  *  Carey Jones <mcj@acquiesce.org>
  *  Carlos J. Puga Medina <cpm@FreeBSD.org>
  *  Cezary Morga <cm@therek.net>
  *  Chao Shin <quakelee@cn.freebsd.org>
  *  Charles Mercadal <mercadal@diablonet.net>
  *  Chia-liang Kao <clkao@CirX.ORG>
  *  Chip Marshall <chip@eboai.org>
  *  Choi Jun Ho <junker@moderato.snu.ac.kr>
  *  Chris Piazza <cpiazza@FreeBSD.org>
  *  Christian Laursen <xi@borderworlds.dk>
  *  Christopher Key <cjk32@cam.ac.uk>
  *  Daniel Menelkir <dmenelkir@gmail.com>
  *  Daniel O'Connor
  *  David Bushong <david@bushong.net>
  *  David Le Brun <david@dyn-ns.net>
  *  David MacKenzie <djm@pix.net>
  *  David Naylor <dbn@FreeBSD.org>
  *  David Naylor <naylor.b.david@gmail.com>
  *  David Yeske <dyeske@gmail.com>
  *  Denise H. G. <darcsis@gmail.com>
  *  Dennis Herrmann <adox@mcx2.org>
  *  Dennis Herrmann <dhn@FreeBSD.org>
  *  Devon Ryan <dpryan@dpryan.com>
  *  Ditesh Shashikant Gathani <ditesh@gathani.org>
  *  Dmitry Afanasiev <KOT@MATPOCKuH.Ru>
  *  Dominic Mitchell <dom@happygiraffe.net>
  *  Dominique Goncalves <dominique.goncalves@gmail.com>
  *  Dryice Liu <dryice@dryice.name>
  *  Edward Tomasz Napierala <trasz@FreeBSD.org>
  *  Edward Tomasz Napierala <trasz@pin.if.uz.zgora.pl>
  *  Emanuel Haupt <ehaupt@FreeBSD.org>
  *  Emanuel Haupt <ehaupt@critical.ch>
  *  Eric Anholt <anholt@FreeBSD.org>
  *  Erik Cederstrand <erich@FreeBSD.org>
  *  Francisco Gomez <francisco@gomezmarin.com>
  *  Frank Laszlo <laszlof@vonostingroup.com>
  *  František Dvořák <valtri@civ.zcu.cz>
  *  Fraser Tweedale <frase@frase.id.au>
  *  Gabor Kovesdan
  *  Gabor Zahemszky <Gabor@Zahemszky.HU>
  *  Ganael Laplanche <ganael.laplanche@martymac.org>
  *  Gea-Suan Lin <gslin@gslin.org>
  *  Gennady Sorokopud <gena@NetVision.net.il>
  *  George Reid <greid@FreeBSD.org>
  *  George Reid <greid@ukug.uk.freebsd.org>
  *  Goran Mekić <meka@tilda.center>
  *  Grzegorz Blach <gblach@FreeBSD.org>
  *  Gustau Perez <gustau.perez@gmail.com>
  *  Hans Petter Selasky <hselasky@FreeBSD.org>
  *  Hans Petter Selasky <hselasky@freebsd.org>
  *  Hye-Shik Chang
  *  Hye-Shik Chang <perky@FreeBSD.org>
  *  Jaap Akkerhuis <jaap@NLnetLabs.nl>
  *  Jamie Heckford <jamie@blackhole.net>
  *  Jean-Marc Zucconi <jmz@FreeBSD.org>
  *  Jean-Yves Lefort <jylefort@FreeBSD.org>
  *  Jean-Yves Lefort <jylefort@brutele.be>
  *  Jerry Eriksson <jerry@freebsd.se>
  *  Jim Mock <jim@FreeBSD.org>
  *  Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
  *  Joao Carlos Mendes Luis <jonny@jonny.eng.br>
  *  Joe Marcus Clarke <marcus@FreeBSD.org>
  *  John Hixson <jhixson@FreeBSD.org>
  *  John Hixson <john@pcbsd.org>
  *  Jonathan Lennox <lennox@cs.columbia.edu>
  *  Joris Vandalon <joris@vandalon.nl>
  *  Juha Erkkilä <erkkila@cc.jyu.fi>
  *  Juha Nygard <juha.nygard1@netikka.fi>
  *  Kawaguti Ginga <ginga@athena.club.ne.jp>
  *  Kengo Ichiki <kichiki@users.sourceforge.net>
  *  Koine Yuusuke(koinec) <koinec@users.osdn.me>
  *  Konstantinos Konstantinidis <kkonstan@daemon.gr>
  *  Koop Mast <kwm@FreeBSD.org>
  *  Lars Engels <lars.engels@0x20.net>
  *  Lars Engels <lme@FreeBSD.org>
  *  Lars Thegler <lth@FreeBSD.org>
  *  Leo Kim <leo@florida.sarang.net>
  *  Liam J. Foy <liamfoy@sepulcrum.org>
  *  Manuel Creach <manuel.creach@icloud.com>
  *  Marc van Woerkom <3d@FreeBSD.org>
  *  Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
  *  Mark Felder <feld@FreeBSD.org>
  *  Mark Kane <mark@mkproductions.org>
  *  Mark Pulford <mark@kyne.com.au>
  *  Mark Reidel <ports@mark.reidel.info>
  *  Mark Reidel <ports@mark.reidle.info>
  *  Martin Blapp <mbr@FreeBSD.org>
  *  Martin Dieringer <Martin.Dieringer@t-online.de>
  *  Martin Kraft <martin.kraft@fal.de>
  *  Martin Matuska <mm@FreeBSD.org>
  *  Martin Wilke (miwi@FreeBSD.org)
  *  Martin Wilke <miwi@FreeBSD.org>
  *  Masanori Kiriake <seiken@nbs.co.jp>
  *  Mathew Kanner <mat@hak.cnd.mcgill.ca>
  *  Matt Tosto <datahead4@gmail.com>
  *  Matthias Andree <matthias.andree@gmx.de>
  *  Maxim Sobolev <sobomax@FreeBSD.org>
  *  Michael Beer <beerml@sigma6audio.de>
  *  Michael Haro <mharo@area51.fremont.ca.us>
  *  Michael Johnson <ahze@FreeBSD.org>
  *  Michael Johnson <ahze@ahze.net>
  *  Michael Nottebrock <michaelnottebrock@gmx.net>
  *  Michael Vasilenko <acid@stu.cn.ua>
  *  Mike Makonnen <mtm@identd.net>
  *  Munish Chopra <mchopra@engmail.uwaterloo.ca>
  *  Mykola Dzham <i@levsha.me>
  *  Nadelyaev Stanislav <funkblaster@n11.bmstu.ru>
  *  Necati Ersen SISECI <siseci@enderunix.org>
  *  Nicola Vitale <nivit@FreeBSD.org>
  *  Nicola Vitale <nivit@email.it>
  *  Nicolas Herry <nicolasherry@gmail.com>
  *  Oliver Breuninger <ob@breuninger.org>
  *  Oliver Fromme <oliver.fromme@heim3.tu-clausthal.de>
  *  Oliver Lehmann <oliver@FreeBSD.org>
  *  Olivier Duchateau
  *  Oyvind Moll <oyvindmo@initio.no>
  *  Pav Lucistnik <pav@FreeBSD.org>
  *  Pav Lucistnik <pav@oook.cz>
  *  Peter Pentchev <roam@FreeBSD.org>
  *  Philip Paeps <philip@paeps.cx>
  *  Philippe Audeoud <jadawin@tuxaco.net>
  *  Pietro Cerutti <gahr@FreeBSD.org>
  *  Piotr Kubaj <emulation@FreeBSD.org$
  *  Piotr Kubaj <pkubaj@anongoth.pl>
  *  Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Putrya Statislav
  *  Rahul Siddharthan <rsidd@online.fr>
  *  Rich Neese <r.neese@gmail.com>
  *  Richard Neese
  *  Rob Zinkov <rzinkov@gmail.com>
  *  Romain Tartiere <romain@blogreen.org>
  *  Romain Tartière <romain@blogreen.org>
  *  Roman Bogorodskiy
  *  Roman Shterenzon <roman@xpert.com>
  *  Sander Janssen <janssen@rendo.dekooi.nl>
  *  Sascha Klauder <sklauder@trimind.de>
  *  Satoshi Taoka <taoka@FreeBSD.org>
  *  Sean McGovern <sean@sfarc.net>
  *  Sergey Akifyev <asa@gascom.ru>
  *  Seth Kingsley <sethk@osd.bsdi.com>
  *  Simon 'corecode' Schubert <corecode@corecode.ath.cx>
  *  Simon Barner <barner@gmx.de>
  *  Stas Timokhin <stast@bsdportal.ru>
  *  Stefan Ehmann <shoesoft@gmx.net>
  *  Stefan Jahn <stefan.jahn@nemesis-sektor.de>
  *  Stefan Zehl <sec@42.org>
  *  Stepan Zastupov [RedChrom] <redchrom@gmail.com>
  *  Steve Wills <swills@FreeBSD.org>
  *  Sue Blake <sue@FreeBSD.org>
  *  Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
  *  TOMIDA, Hiroaki <t.hiroaki.209 at gmail.com>
  *  Tatsuki Makino <tatsuki_makino@hotmail.com>
  *  The Anarcat <anarcat@anarcat.dyndns.org>
  *  Thomas Gellekum <tg@FreeBSD.org>
  *  Thomas M. Hermann <tmh.public@gmail.com>
  *  Thomas Runge <runge@rostock.zgdv.de>
  *  Thomas Zander <riggs@FreeBSD.org>
  *  Tilman Linneweh <arved@FreeBSD.org>
  *  Tim Bishop <tdb@FreeBSD.org>
  *  Timothy Beyer <beyert@cs.ucr.edu>
  *  Tobias Rehbein <tobias.rehbein@web.de>
  *  Tyler Spivey
  *  Ulrich Spoerlein <q@uni.de>
  *  Ulrich Spoerlein <uspoerlein@gmail.com>
  *  Vanilla I. Shu <vanilla@FreeBSD.org>
  *  Veniamin Gvozdikov <vg@FreeBSD.org>
  *  Vincent Tantardini <vinc@FreeBSD-fr.org>
  *  Wen Heping <wen@FreeBSD.org>
  *  Wen Heping <wenheping@gmail.com>
  *  Yanhui Shen <shen.elf@gmail.com>
  *  Yar Tikhiy <yar@FreeBSD.org>
  *  Yar Tikhiy <yar@comp.chem.msu.su>
  *  Ying-Chieh Liao <ijliao@FreeBSD.org>
  *  Yoichi Asai <yatt@luna2.org>
  *  Yoichi Asai <yatt@msc.biglobe.ne.jp>
  *  Yoshiaki Uchikawa
  *  Yoshihide SONODA <ysonoda@dontaku.csce.kyushu-u.ac.jp>
  *  Yuri Victorovich
  *  Yuri Victorovich <yuri@FreeBSD.org>
  *  Yuri Victorovich <yuri@rawbw.com>
  *  Zach Zurflu <zach@pabst.bendnet.com>
  *  Zane C. Bowers
  *  Zane C. Bowers-Hadley <vvelox@vvelox.net>
  *  Zhihao Yuan <lichray@gmail.com>
  *  ache
  *  arved
  *  chinsan
  *  chinsan <chinsan.tw@gmail.com>
  *  ericb@thedeepsky.com
  *  erich@FreeBSD.org
  *  faulkner@mpd.tandem.com
  *  gahr
  *  greg
  *  hrkfrd@googlemail.com
  *  ijliao
  *  janek@gaja.ipan.lublin.pl
  *  jkh
  *  jockl <jockl@pianojockl.org>
  *  kbyanc@posi.net
  *  kwm@rainbow-runner.nl
  *  lazyklimm <lazyklimm@gmail.com>
  *  leo
  *  lx
  *  mahonmesr@googlemail.com
  *  marius nuennerich
  *  mathias.picker@gmx.de
  *  michael johnson <ahze@ahze.net>
  *  michaelnottebrock@gmx.net and lioux@FreeBSD.org
  *  mtm@identd.net
  *  nemysis <nemysis@gmx.ch>
  *  nork@FreeBSD.org
  *  nox@jelal.kn-bremen.de
  *  numisemis at yahoo dot com
  *  patrick
  *  pjm <pierrejacqes.mimifir@gmail.com>
  *  pozar
  *  pst
  *  r.neese
  *  rene@FreeBSD.org (repocopied from audio/py-mpd)
  *  sethk
  *  shanee@augusta.de
  *  sobomax
  *  squell@alumina.nl
  *  swallace
  *  t.vanklaveren@student.utwente.nl
  *  torstenb
  *  trasz <trasz@FreeBSD.org
  *  trasz <trasz@pin.if.uz.zgora.pl>
  *  trevor
  *  ugen
  *  will
  *  yoshiaki Uchikawa

With hat:	portmgr
2022-07-20 16:20:54 +02:00
Alexey Dokuchaev
29fc493e22 audio/alsa-plugins: remove OSS-specific BUFSZ_P2 option from global list
Otherwise it would be listed twice on the option selection dialog screen.

PR:	262028
2022-02-18 10:13:16 +00:00
Matthias Andree
037eee2648 audio/alsa-plugins: Fix SPEEX option, and symlinks.
Fixes these errors:

Error: /usr/local/lib/alsa-lib/libasound_module_pcm_speex.so is linked
  to /usr/local/lib/libspeexdsp.so.1 from audio/speexdsp but it is not
  declared as a dependency
Error: Orphaned: etc/alsa/conf.d/60-speex.conf
Error: Orphaned: share/alsa/alsa.conf.d/60-speex.conf

Also makes symlinks from etc/alsa/conf.d to share/alsa/alsa.conf.d/
relative to fix stage-qa warnings.
2022-02-16 22:02:16 +01:00
Hans Petter Selasky
e66a5ac7ef audio/alsa-plugins: Fix more oss_pointer() calculation bugs.
Correctly set the water level based on min_avail to avoid infinite
polling loops.

Applications tested: chrome, musescore, aplay and arecord .

PR:		261767
Approved by:	pi (implicit)
2022-02-08 10:15:40 +01:00
Hans Petter Selasky
472a942f9c audio/alsa-plugins: Fix two bugs in ALSA OSS backend.
When computing the oss_pointer() return value, use the application
pointer value as reference, so that ALSA audio applications at any
time don't read/write more audio data than is possible. Following the
cyclic DMA pointer is not a good idea, because it doesn't account for
under- or overruns and this quickly leads to a situation where some
applications may want to write more data, ending in infinite loops.

The SNDCTL_DSP_GET space ioctls operate on buffer fragments. Any
size less than bi.fragsize is reported as zero bytes. Don't set the
water level less than bi.fragsize, because it leads to infinite
polling the way ALSA PCM is working.

Approved by: pi (implicit)
2022-01-30 15:54:47 +01:00
Hans Petter Selasky
fedba31a63 audio/alsa-plugins: Try to cleanup ALSA-OSS backend patch.
Approved by: pi (implicit)
2022-01-29 18:56:52 +01:00
Hans Petter Selasky
2738adad73 audio/alsa-plugins: Merge ALSA-OSS patches to simplify future patching.
Approved by: pi (implicit)
2022-01-29 18:56:52 +01:00
Rodrigo Osorio
decda8069b audio/alsa-plugins: Add USE_LDCONFIG
Add USE_LDCONFIG to made shared libs installed
by this port usable as a dependecy by other ports
such as audio/spotifyd
2021-12-30 23:34:55 +01:00
Dag-Erling Smørgrav
a4ab68d2ff audio/alsa-plugins: Switch master site to GitHub.
The original distfiles are getting hard to come by for some reason, so
switch to pulling source tarballs directly from GitHub.  Replace
patches that apply to generated files with patches that apply to their
sources.
2021-10-13 15:14:24 +00:00
Jan Beich
348c90c09f audio/alsa-plugins: disable BUFSZ_P2 again, after 44c14328c0
Seems to be a rebase mistake. 27f51d17e1 rationale still applies.
2021-09-12 14:07:17 +00:00
Yuri Victorovich
5708ae4005 audio/jack: Update to Jack2: 0.125.0 -> 1.9.16
Big thank you to Florian Walpen <dev@submerge.ch> and
Goran Mekić <meka@tilda.center> for working on Jack2.

PR:		251125
Submitted by:	Florian Walpen <dev@submerge.ch> (original version)
2021-08-02 09:03:15 -07:00
Charlie Li
933747467c
audio/alsa-plugins: fix non-default OPTIONS
- Update configure option and plist for FFMPEG
- Add two missing files with SAMPLERATE

PR: 245321
Approved by: arrowd (mentor)
Differential Revision: https://reviews.freebsd.org/D30223
2021-05-12 10:40:12 -04:00
Greg V
44c14328c0 audio/alsa-lib, audio/alsa-plugins, audio/alsa-utils: Update to 1.2.2
PR:		245321
Reviewed by:	swills
Tested by:	Oleh Hushchenkov <o.hushchenkov@gmail.com>
2021-05-11 19:53:01 +03:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Jan Beich
27f51d17e1 audio/alsa-plugins: disable BUFSZ_P2 after r545611
$ aplay foo.wav
Playing WAVE 'foo.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Assertion failed: (err >= 0), function set_params, file aplay.c, line 1353.
Aborted by signal Abort trap...

$ veloren
[...]
Panic Payload: "build_output_stream failed with all supported formats: BackendSpecific { err: BackendSpecificError { description: \"ALSA function \\\'snd_pcm_hw_params_set_period_time_near\\\' failed with error \\\'EINVAL: Invalid argument\\\'\" } }"
PanicInfo: panicked at 'build_output_stream failed with all supported formats: BackendSpecific { err: BackendSpecificError { description: "ALSA function \'snd_pcm_hw_params_set_period_time_near\' failed with error \'EINVAL: Invalid argument\'" } }', cargo-crates/rodio-0.13.0/src/stream.rs:202:22
Game version: v0.8.0 [2020-11-28]
2020-11-29 04:54:21 +00:00
Jan Beich
b88defae3a audio/alsa-*: drop maintainership
No time to engage upstream or keep up with updates.
2020-02-23 18:47:40 +00:00
Jan Beich
a185384bd9 audio/alsa-plugins: move r505839 to the correct file
files/alsa-plugins.patch contains an assortment of FreeBSD-specific
improvements that may not work on alternative OSS implementations.
So, restore the ability to exclude the patch for debugging.
2019-12-03 04:33:21 +00:00
Jan Beich
a3f26bc3b9 audio/alsa-plugins: regen via "make makepatch" 2019-12-03 04:33:06 +00:00
Jan Beich
325aed58cb multimedia/ffmpeg: update to 4.2
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.2:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
2019-08-05 23:06:50 +00:00
Jan Beich
edced9b58c audio/alsa-plugins: drop unnecessary newline after r505839
- Wasn't approved i.e., explicitly requested to not add it
- portlint style frequently changes and isn't mandatory to follow
- Newline here is dubious compared to putting USE/USES at the top
  of the section for better visibility
2019-07-31 02:37:35 +00:00
Hans Petter Selasky
38b2315add Fix issues with ALSA OSS backend for firefox and chrome.
1) When read() or write() fails due to EAGAIN because no buffer is available or
   buffer is full, return 0 instead of failure. Else clients may simply close
   the device and re-open it instantly chopping the audio.
2) Implement OSS delay function to fix an issue with negative delays.
3) Use at least 16ms of HW buffer by default to avoid jitter.

Approved by:	pi, jbeich
2019-07-04 15:46:15 +00:00
Jan Beich
0872f77fd4 multimedia/ffmpeg: update to 4.1
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.1:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
2018-11-06 01:50:26 +00:00
Jan Beich
c400a2c8b6 multimedia/ffmpeg: update to 4.0
- FFSERVER support was removed upstream
- libressl now uses libtls backend instead of patching openssl one
- Clang i386 no longer uses 16-byte aligned stack

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.0:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
PR:		227726
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D15175
2018-05-02 15:07:27 +00:00
Jan Beich
84e727457f multimedia/ffmpeg: update to 3.4
Notable changes:
- i386/amd64 now depend on NASM per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/4f9297ac3b39
- NETCDF is now MYSOFA but the dependency doesn't exist in ports yet
- SCHROEDINGER is gone per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/220b24c7c9
- DRM, LIBRSVG2, LIBXML2 are new options
- ABI isn't completely compatible: some structs have changed

Minor cleanup:
- Don't pass --disable-{in,out}dev when it's already blocked by disabled dependency
- Drop redundant "Enable" from option descriptions
- Switch CDIO_DESC to use Mk/bsd.options.desc.mk

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n3.4:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
PR:		223057
Exp-run by:	antoine
2017-10-21 06:50:49 +00:00
Jan Beich
0c612c4aa3 multimedia/ffmpeg: update to 3.2.2
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n3.2.2:/Changelog
PR:		207547
Submitted by:	riggs, ebirth@b0ss.net (libressl fix)
Exp-run by:	antoine (3 tries)
2016-12-11 15:22:47 +00:00
Mathieu Arnold
9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00
Jan Beich
e68ffdaff6 bsd.sites.mk: with last mirror dead retire MASTER_SITE_ALSA
$ fetch -v http://alsa.cybermirror.org/lib/alsa-lib-1.1.0.tar.bz2
[...]
404 Not Found

Not Found
The requested URL /lib/alsa-lib-1.1.0.tar.bz2 was not found on this server.
2016-04-01 20:45:03 +00:00
Jan Beich
49190875e4 audio/alsa-*: update to 1.1.1
Changes:	http://www.alsa-project.org/main/index.php/Changes_v1.1.0_v1.1.1
ABI:		https://people.freebsd.org/~jbeich/compat_reports/alsa-lib/1.1.0_to_1.1.1/compat_report.html
2016-04-01 20:44:23 +00:00
Jan Beich
f7731c8be8 Drop default directory from _DEPENDS in my ports
https://lists.freebsd.org/pipermail/freebsd-ports/2015-October/100794.html
2016-03-16 12:58:16 +00:00