82 Commits

Author SHA1 Message Date
tb 00e3f6d074 openal: drop bdep on llvm/19 now that base has llvm/22 2026-05-30 02:01:26 +00:00
tb 87665a16de openal: treat like poppler: set MODCLANG_VERSION = 22, bdep on llvm/19
The bdep kludge can be removed after the llvm22 switch.
2026-05-27 14:51:40 +00:00
sthen a794b41296 set MODCLANG_COMPILER_LINKS = No, we only want to install ports clang
(for clang-scan-deps which is needed for C++20 modules but not included
in base), we don't want to use it to compile.

this still adds as an unwanted BDEP on ports-gcc archs, but at least it
doesn't then get in the way of build. (we do want to use the module rather
than add a BDEP on a hardcoded lang/llvm/19).

found by jca@
2026-03-09 22:19:15 +00:00
sthen be477e4a0a pull in lang/clang MODULES; openal now uses C++20 modules, cmake's
support for these uses clang-scan-deps which is not currently included
in the version in base, so it needs to pull in the ports version of
llvm/clang.
2026-02-19 09:44:12 +00:00
sthen 7817fa1be8 update to openal-1.25.1, from Brad, ok David Carlier (maintainer) 2026-02-18 14:38:00 +00:00
rsadowski e8035d4760 Update CMake to 4.1.2
Major update from 3.31.8 to 4.1.2.

CMake 4.0 introduces a breaking change: compatibility with versions older than
3.5 has been removed. Projects calling cmake_minimum_required() or
cmake_policy() with versions < 3.5 now error out.

To maintain compatibility with existing ports during the transition, the cmake
module now provides MODCMAKE_POLICY_VERSION_OVERRIDE (idea from sthen@)
support:

- MODCMAKE_POLICY_VERSION_OVERRIDE ?= No
- MODCMAKE_POLICY_VERSION_OVERRIDE_VER ?= 3.5

When MODCMAKE_POLICY_VERSION_OVERRIDE is set to "yes", CMake is instructed to
accept policy versions down to the specified minimum (default 3.5) via
-DCMAKE_POLICY_VERSION_MINIMUM. This allows older ports to build while
acknowledging they may use deprecated features.

https://cmake.org/cmake/help/latest/release/4.0.html
https://cmake.org/cmake/help/latest/release/4.1.html

OK sthen@
2026-02-13 12:02:13 +00:00
sthen 9204531d03 distfile is now on github releases; switch SITES to avoid
the broken cert on openal-soft.org
2025-11-18 12:12:48 +00:00
kirill 3e21bf9637 audio/openal: fix building by gcc8
It is suceffuly compiled by tb@ on sparc64, but it has some warnings on
alignment. I've checked a few code paths which leads to this warnings,
and all of them looks false positive.

tested and OK: tb@
2025-04-29 12:50:31 +00:00
tb d805806beb openal: bump major to be on the safe side
While it's not 100% clear that this is needed, emulators/citra broke due
to the addition of noexcept to numerous callbacks, which changes a few
function signatures at least on the API level. It was a huge update, so
better be safe than sorry.

discussed with sthen
2025-02-01 09:56:08 +00:00
sthen 0f5bfb068b update to openal-1.24.2 and patch to fix 32-bit archs, from Brad, ok
David Carlier (maintainer)
2025-01-29 10:59:26 +00:00
sthen 395a5d93dc update to openal-1.24.1, from Brad, ok David Carlier (maintainer) 2025-01-27 12:14:02 +00:00
espie 7d8f57fcec move to new sites format 2023-09-05 16:13:35 +00:00
sthen addc0dd18e update to openal-1.23.1, from Brad; maintainer timeout 2023-05-29 17:44:28 +00:00
sthen b6137e081e openal tweaks from Brad, ok David Carlier (maintainer)
- Enable the SSE support on X86; there is run-time detection
- Disable NEON on arm
- The ALSOFT_CONFIG option has been deprecated
- The QSA backend was removed with the 1.21.0 release
- Sort the list of options
2022-11-15 17:41:37 +00:00
naddy d3be5a64c4 audio/openal: do not pick up libsndfile in configure; from Brad 2022-10-29 19:07:11 +00:00
sthen cab5a811f5 update to OpenAL 1.22.2, disable picking up pipewire for now
from Brad, maintainer timeout
2022-10-04 14:51:00 +00:00
naddy b80841c8ec drop RCS Ids 2022-03-11 18:20:04 +00:00
rsadowski a2e30ee0d3 Sndio poll fds fix from upstream
Use a local unique_ptr array instead of a struct member for the sndio
poll fds.

From Brad
2021-11-08 07:38:07 +00:00
rsadowski a7f0376334 Fix for a bug in the sndio backend with the capture support
Diff from Brad, OK maintainer David Carlier
2021-10-16 07:59:12 +00:00
brynet 28a8fba46b Backport the following two commits from upstream, which fixes the sndio
backend changes that were introduced in the 1.21.1 update.

Simplify channel handling in the sndio backend
620836f173ae6fc4505d0634984e0f2c46166367

Use non-block mode for sndio capture
1fd4c865fc084f134363db5155361d5483679235

From Brad, tested by me

ok maintainer (David CARLIER)
2021-08-20 21:54:22 +00:00
brynet cc75923b55 Improve comments on patch.
From brad (no code change)

-Bryan.
2021-07-31 00:27:59 +00:00
brynet 70ef95f7df The recent update to 1.21.1 broke sound output.
This was tracked down to two commits upstream which broke the sndio
backend due to >2 channel support being added.

Until this can be sorted out, this diff reverts two upstream commits:
  5cffe7e50a2885d9b392c15f2cd3941cac49692c
  b4a52321c4ad8e8bc0eb29d2cdae2c043fc405e1

From Brad, tested by me and kmos@

ok kmos@ sthen@
2021-07-30 12:47:53 +00:00
sthen 8200b4a7f5 update to openal-1.21.1, from Brad, ok maintainer 2021-07-25 17:33:48 +00:00
ajacoutot 76ca49c9c2 Update to openal-1.20.1.
from Brad
"looks good" to maintainer David Carlier
2020-06-09 13:22:42 +00:00
sthen 9fe1e38b23 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:43:27 +00:00
bcallah ea7bf84de1 Update openal to 1.19.1 -- improved and upstreamed sndio support.
The result of work and comments from many, including ratchov@, sthen@,
Leonid Bobrov, David Carlier
ok jca@
2019-02-13 16:10:38 +00:00
ratchov 36f8f385b9 Add recording support to sndio backend. With help from Leonid Bobrov.
ok from David Carlier (maintainer), ok jca@
2018-08-09 20:50:47 +00:00
jca 6fe1321f41 Avoid a NULL pointer dereference due to missing sndio capture backend.
Backport a fix from upstream to avoid the crash.  The code has changed
since and all backends have been converted to the "new style" backend
API.  Fix tested by David Carlier (maintainer) and Thomas Frohwein.
2017-12-31 18:46:26 +00:00
sthen 21ae12d1c5 update to openal-1.17.2, from maintainer David Carlier (he has tested dep builds) 2017-11-15 13:02:42 +00:00
visa 25326d256a Remove BROKEN-mips64*. They seem to have been readded by mistake. 2017-08-18 12:47:58 +00:00
sthen 5e964ab0df bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports. 2017-07-26 22:45:14 +00:00
espie 8ac47fd9c6 use COMPILER_LIBCXX where applicable 2017-07-16 19:18:47 +00:00
espie cc5bc426ed switch everything to new COMPILER idiom, even stuff that won't build with clang
yet, but at least that part is done.
2017-05-31 08:08:15 +00:00
zhuk 60d699d0d0 ... and bump for safety as well. 2017-05-28 12:13:22 +00:00
zhuk 3af0f998a8 Leaving clang and/or gcc4 in modules could have fun effects after
switching to WANT_CXX. Zap 'em and unbreak openal.

reported by naddy@, okay espie@
2017-05-28 12:12:39 +00:00
espie 7f3650af58 use WANT_CXX, these build trivially 2017-05-27 04:41:43 +00:00
landry 6cd3a66e73 Use gcc4 MODULE instead of clang on sparc64 & powerpc
clang fails to build those with 'could not read symbols: Bad value' (cf
http://build-failures.rhaalovely.net/sparc64/2017-03-20/multimedia/gstreamer1/core.log
& ttp://build-failures.rhaalovely.net/sparc64/2017-03-20/audio/openal.log)

Fix only those as they take out a large part of the portstree for 6.1
package builds, but reasonably MODCLANG_ARCHS=* shouldnt be used unless
the compiler has been *really* tested on every platform - or clang
should be marked *BROKEN* on sparc64 & macppc, or those platforms should
be taken out of LLVM_ARCHS.

audio/mpd, textproc/link-grammar, devel/keystone and devel/cbmc are in
the same boat and fail the same.

The problem is probably fixable directly in clang for sparc64, and on
powerpc clang doesnt package anyway for 'relocation truncated to fit:
R_PPC_PLTREL24' errors:
http://build-failures.rhaalovely.net/powerpc/2017-02-16/devel/llvm.log
2017-04-08 18:21:07 +00:00
jca de35d67299 Don't build the Qt-based config editor.
Spotted by naddy@, initial diff from David Carlier (maintainer)
2017-01-05 23:04:24 +00:00
ajacoutot 6fe9c00def Drop bogus patch to unbreak.
spotted by nigel@
2016-11-04 08:40:47 +00:00
jasper e751df80ac add missing patch 2016-11-03 10:27:38 +00:00
jasper 3334b8cfa1 - update to openal-1.16.0
- remove BROKEN-arm marker

from David Carlier (MAINTAINER)
tested in a bulk and ok aja@
2016-11-03 10:27:15 +00:00
jasper 003e889c0a retire sparc 2016-09-01 10:53:26 +00:00
dcoppa 8260411546 Avoid an underflow in the SSE mixers if BufferSize is less than 4
(upstream git commit 564a1822595e287cf808ea63a03d96719e3cc7b4)

Fix a crash with games/ioquake3.
Reported and fix tested by Ryan Freeman.
2016-05-24 08:07:58 +00:00
sthen e8ed7ebd18 David Carlier takes maintainer of openal 2016-04-09 21:11:56 +00:00
sthen 26a3f4e28f drop Antti Harri as maintainer, as per his request. 2016-04-09 14:50:59 +00:00
jsg 578ae7c7ca Don't attempt to build on arm. sync atomic builtins required. 2016-02-21 16:17:25 +00:00
tobiasu ec1b03dbe2 mark broken on sparc, missing sync builtins 2016-02-15 12:00:29 +00:00
ajacoutot f816458f34 Remove more BROKEN markers for ports requiring built-in atomic ops.
from Brad, OK jasper@
2015-12-26 09:45:51 +00:00
ajacoutot a183b75553 "/usr/local/lib/pkgconfig/" is part of mtree(8).
Packages should not own this dir to prevent its deletion or a warning that it
cannot be removed because it's not empty at pkg_delete(1) time.
2015-05-22 11:31:10 +00:00
sthen b753bbad14 srand_deterministic 2014-12-09 20:45:59 +00:00