Files
packages/sound/openal-soft/Makefile
T
Daniel Golle 728c00c992 openal-soft: update to 1.25.1
1.25.1:
 * Fixed the OpenSL and JACK backends.
 * Fixed WASAPI and CoreAudio capture.
 * Fixed building the OSS backend with OSS v4.
 * Fixed a debug assertion with HRTF enabled.
 * Fixed an STL hardening assertion in the polyphase resampler.
 * Added a new stereo-encoding option for Tetraphonic Surround Matrix
   Encoding.

1.25.0:
 * Updated library codebase to C++20.
 * Fixed alcIsExtensionPresent to do a case-insensitive compare.
 * Fixed potential noise when switching reverbs.
 * Fixed reverb panning with certain output modes.
 * Fixed retrieving the alGetProcAddressDirect extension function.
 * Fixed negative source offsets with a callback buffer.
 * Added build options for STL hardening (default ON for performant checks).
 * Added support for fourth-order ambisonics.
 * Added support for CAF files to the Wave Writer backend.
 * Added optional support for C++20 modules.
 * Updated alsoft-config to Qt6.
 * Changed default period size to 512 sample frames.

Link: https://github.com/kcat/openal-soft/blob/1.25.1/ChangeLog
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-05-09 19:13:52 +03:00

56 lines
1.6 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=openal-soft
PKG_VERSION:=1.25.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/kcat/openal-soft/tar.gz/$(PKG_VERSION)?
PKG_HASH:=5f8efe8dfba5e9307a50251ba615ace857c7fa9dddfe34130b83e213d7f7cf24
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=LGPL-2.0-only BSD-3-Clause
PKG_LICENSE_FILES:=BSD-3Clause COPYING LICENSE-pffft
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
CMAKE_OPTIONS +=\
-DALSOFT_UTILS=OFF \
-DALSOFT_EXAMPLES=OFF \
-DALSOFT_INSTALL_EXAMPLES=OFF \
-DALSOFT_INSTALL_UTILS=OFF
define Package/openal-soft
SECTION:=sound
CATEGORY:=Sound
TITLE:=OpenAL Soft
DEPENDS:=+libatomic +libstdcpp
URL:=https://openal-soft.org
endef
define Package/openal-soft/description
OpenAL Soft is an LGPL-licensed, cross-platform, software
implementation of the OpenAL 3D audio API.
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/AL
$(CP) $(PKG_INSTALL_DIR)/usr/include/AL/* $(1)/usr/include/AL
$(INSTALL_DIR) $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libopenal.so* $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/lib/cmake/OpenAL
$(CP) $(PKG_INSTALL_DIR)/usr/lib/cmake/OpenAL/* $(1)/usr/lib/cmake/OpenAL/
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/openal.pc $(1)/usr/lib/pkgconfig/
endef
define Package/openal-soft/install
$(INSTALL_DIR) $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libopenal.so* $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/share/openal
$(CP) $(PKG_INSTALL_DIR)/usr/share/openal/* $(1)/usr/share/openal
endef
$(eval $(call BuildPackage,openal-soft))