Niklas Poslovski
2023-03-22 4d1325d8fb3578344fd30f49daa52202bcb514cb
SDL2_mixer: Update to 2.6.3

4 files modified
44 ■■■■ changed files
components/encumbered/SDL2_mixer/Makefile 18 ●●●● patch | view | raw | blame | history
components/encumbered/SDL2_mixer/manifests/sample-manifest.p5m 12 ●●●●● patch | view | raw | blame | history
components/encumbered/SDL2_mixer/pkg5 3 ●●●● patch | view | raw | blame | history
components/encumbered/SDL2_mixer/sdl2-mixer.p5m 11 ●●●●● patch | view | raw | blame | history
components/encumbered/SDL2_mixer/Makefile
@@ -10,6 +10,7 @@
#
# Copyright (c) 2016 Jim Klimov
# Copyright (c) 2023 Niklas Poslovski
#
# NOTE: This recipe supports both "encumbered" and "license-clean"
@@ -26,22 +27,20 @@
# or inseparable run-time dependencies:
USE_ENCUMBERED?=yes
BUILD_STYLE=configure
BUILD_BITS=64
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME=         SDL2_mixer
COMPONENT_VERSION=      2.0.4
COMPONENT_PROJECT_URL=  https://www.libsdl.org/projects/SDL_mixer/
COMPONENT_VERSION=      2.6.3
COMPONENT_PROJECT_URL=  https://github.com/libsdl-org/SDL_mixer
COMPONENT_SUMMARY=      SDL_mixer is a sample multi-channel audio mixer library
COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH= sha256:b4cf5a382c061cd75081cf246c2aa2f9df8db04bdda8dcdc6b6cca55bede2419
COMPONENT_ARCHIVE_URL=  https://www.libsdl.org/projects/SDL_mixer/release/$(COMPONENT_ARCHIVE)
COMPONENT_ARCHIVE_HASH= sha256:7a6ba86a478648ce617e3a5e9277181bc67f7ce9876605eea6affd4a0d6eea8f
COMPONENT_ARCHIVE_URL=  https://github.com/libsdl-org/SDL_mixer/releases/download/release-$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
COMPONENT_FMRI=         library/audio/sdl2-mixer
COMPONENT_CLASSIFICATION= System/Multimedia Libraries
COMPONENT_LICENSE=      ZLIB
COMPONENT_LICENSE_FILE= COPYING.txt
COMPONENT_LICENSE_FILE= LICENSE.txt
ifeq ($(strip $(USE_ENCUMBERED)),yes)
COMPONENT_SUMMARY:=$(COMPONENT_SUMMARY) (encumbered version)
@@ -50,12 +49,13 @@
TEST_TARGET=$(NO_TESTS)
include $(WS_MAKE_RULES)/common.mk
PATH=/usr/gnu/bin:/usr/gnu/bin/$(MACH64):/usr/bin/$(MACH64):/usr/bin
PATH=$(PATH.gnu)
COMPONENT_PREP_ACTION = ( cd $(@D) && ./autogen.sh )
CONFIGURE_OPTIONS +=    --sysconfdir=/etc
CONFIGURE_OPTIONS +=    --libexecdir=$(CONFIGURE_LIBDIR.$(BITS))
CONFIGURE_OPTIONS +=    --disable-static
CONFIGURE_OPTIONS +=    --enable-music-cmd
CONFIGURE_OPTIONS +=    --enable-music-wave
CONFIGURE_OPTIONS +=    --enable-music-midi
@@ -71,6 +71,6 @@
CONFIGURE_OPTIONS +=    --disable-music-mp3
endif
# Auto-generated dependencies
REQUIRED_PACKAGES += library/sdl2
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/math
components/encumbered/SDL2_mixer/manifests/sample-manifest.p5m
@@ -10,10 +10,11 @@
#
#
# Copyright 2022 <contributor>
# Copyright 2023 <contributor>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
@@ -23,9 +24,10 @@
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
file path=usr/include/SDL2/SDL_mixer.h
file path=usr/lib/$(MACH64)/cmake/SDL2_mixer/sdl2_mixer-config-version.cmake
file path=usr/lib/$(MACH64)/cmake/SDL2_mixer/sdl2_mixer-config.cmake
link path=usr/lib/$(MACH64)/libSDL2_mixer-2.0.so.0 \
    target=libSDL2_mixer-2.0.so.0.2.2
file path=usr/lib/$(MACH64)/libSDL2_mixer-2.0.so.0.2.2
file path=usr/lib/$(MACH64)/libSDL2_mixer.a
link path=usr/lib/$(MACH64)/libSDL2_mixer.so target=libSDL2_mixer-2.0.so.0.2.2
    target=libSDL2_mixer-2.0.so.0.600.3
file path=usr/lib/$(MACH64)/libSDL2_mixer-2.0.so.0.600.3
link path=usr/lib/$(MACH64)/libSDL2_mixer.so target=libSDL2_mixer-2.0.so.0.600.3
file path=usr/lib/$(MACH64)/pkgconfig/SDL2_mixer.pc
components/encumbered/SDL2_mixer/pkg5
@@ -4,8 +4,7 @@
        "library/audio/libmad",
        "library/sdl2",
        "shell/ksh93",
        "system/library",
        "system/library/math"
        "system/library"
    ],
    "fmris": [
        "library/audio/sdl2-mixer"
components/encumbered/SDL2_mixer/sdl2-mixer.p5m
@@ -11,9 +11,11 @@
#
# Copyright 2016 Jim Klimov
# Copyright 2023 Niklas Poslovski
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
@@ -23,9 +25,10 @@
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
file path=usr/include/SDL2/SDL_mixer.h
file path=usr/lib/$(MACH64)/cmake/SDL2_mixer/sdl2_mixer-config-version.cmake
file path=usr/lib/$(MACH64)/cmake/SDL2_mixer/sdl2_mixer-config.cmake
link path=usr/lib/$(MACH64)/libSDL2_mixer-2.0.so.0 \
    target=libSDL2_mixer-2.0.so.0.2.2
file path=usr/lib/$(MACH64)/libSDL2_mixer-2.0.so.0.2.2
#file path=usr/lib/$(MACH64)/libSDL2_mixer.a
link path=usr/lib/$(MACH64)/libSDL2_mixer.so target=libSDL2_mixer-2.0.so.0.2.2
    target=libSDL2_mixer-2.0.so.0.600.3
file path=usr/lib/$(MACH64)/libSDL2_mixer-2.0.so.0.600.3
link path=usr/lib/$(MACH64)/libSDL2_mixer.so target=libSDL2_mixer-2.0.so.0.600.3
file path=usr/lib/$(MACH64)/pkgconfig/SDL2_mixer.pc