pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio
Module Name: pkgsrc
Committed By: nros
Date: Sun Oct 2 13:41:55 UTC 2022
Modified Files:
pkgsrc/audio: Makefile
Added Files:
pkgsrc/audio/SDL2_sound: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
Add SDL2_sound version 2.0.1 to pkgsrc-current
SDL2_sound is a library that handles the decoding of several popular sound file
formats, such as .WAV and .MP3. It is meant to make the programmer's sound
playback tasks simpler.
The programmer gives SDL2_sound a filename, or feeds it data directly from one
of many sources, and then reads the decoded waveform data back at her leisure.
If resource constraints are a concern, SDL2_sound can process sound data in
programmer-specified blocks. Alternately, SDL2_sound can decode a whole sound
file and hand back a single pointer to the whole waveform. SDL2_sound can also
handle sample rate, audio format, and channel conversion on-the-fly and
behind-the-scenes, if the programmer desires.
To generate a diff of this commit:
cvs rdiff -u -r1.659 -r1.660 pkgsrc/audio/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/SDL2_sound/DESCR \
pkgsrc/audio/SDL2_sound/Makefile pkgsrc/audio/SDL2_sound/PLIST \
pkgsrc/audio/SDL2_sound/buildlink3.mk pkgsrc/audio/SDL2_sound/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/audio/Makefile
diff -u pkgsrc/audio/Makefile:1.659 pkgsrc/audio/Makefile:1.660
--- pkgsrc/audio/Makefile:1.659 Sat Sep 24 20:21:25 2022
+++ pkgsrc/audio/Makefile Sun Oct 2 13:41:54 2022
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.659 2022/09/24 20:21:25 adam Exp $
+# $NetBSD: Makefile,v 1.660 2022/10/02 13:41:54 nros Exp $
#
COMMENT= Audio tools, players, and libraries
SUBDIR+= SDL2_mixer
+SUBDIR+= SDL2_sound
SUBDIR+= SDL_mixer
SUBDIR+= SDL_sound
SUBDIR+= abcde
Added files:
Index: pkgsrc/audio/SDL2_sound/DESCR
diff -u /dev/null pkgsrc/audio/SDL2_sound/DESCR:1.1
--- /dev/null Sun Oct 2 13:41:55 2022
+++ pkgsrc/audio/SDL2_sound/DESCR Sun Oct 2 13:41:55 2022
@@ -0,0 +1,12 @@
+SDL2_sound is a library that handles the decoding of several popular sound file
+formats, such as .WAV and .MP3. It is meant to make the programmer's sound
+playback tasks simpler.
+
+The programmer gives SDL2_sound a filename, or feeds it data directly from one
+of many sources, and then reads the decoded waveform data back at her leisure.
+
+If resource constraints are a concern, SDL2_sound can process sound data in
+programmer-specified blocks. Alternately, SDL2_sound can decode a whole sound
+file and hand back a single pointer to the whole waveform. SDL2_sound can also
+handle sample rate, audio format, and channel conversion on-the-fly and
+behind-the-scenes, if the programmer desires.
Index: pkgsrc/audio/SDL2_sound/Makefile
diff -u /dev/null pkgsrc/audio/SDL2_sound/Makefile:1.1
--- /dev/null Sun Oct 2 13:41:55 2022
+++ pkgsrc/audio/SDL2_sound/Makefile Sun Oct 2 13:41:55 2022
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2022/10/02 13:41:55 nros Exp $
+
+DISTNAME= SDL_sound-2.0.1
+PKGNAME= ${DISTNAME:S/SDL/SDL2/}
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_GITHUB:=icculus/}
+GITHUB_TAG= refs/tags/v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://icculus.org/SDL_sound/
+COMMENT= SDL2 library to handle the decoding of different sound formats
+LICENSE= zlib
+
+WRKSRC= ${WRKDIR}/${DISTNAME}
+
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
+
+# dont't build and install playsound
+# to not conflict with audio/SDL_sound
+CMAKE_ARGS+= -DSDLSOUND_BUILD_TEST:BOOL=FALSE
+
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/audio/SDL2_sound/PLIST
diff -u /dev/null pkgsrc/audio/SDL2_sound/PLIST:1.1
--- /dev/null Sun Oct 2 13:41:55 2022
+++ pkgsrc/audio/SDL2_sound/PLIST Sun Oct 2 13:41:55 2022
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2022/10/02 13:41:55 nros Exp $
+include/SDL2/SDL_sound.h
+lib/libSDL2_sound.a
+lib/libSDL2_sound.so
+lib/libSDL2_sound.so.2
+lib/libSDL2_sound.so.${PKGVERSION}
Index: pkgsrc/audio/SDL2_sound/buildlink3.mk
diff -u /dev/null pkgsrc/audio/SDL2_sound/buildlink3.mk:1.1
--- /dev/null Sun Oct 2 13:41:55 2022
+++ pkgsrc/audio/SDL2_sound/buildlink3.mk Sun Oct 2 13:41:55 2022
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/10/02 13:41:55 nros Exp $
+
+BUILDLINK_TREE+= SDL2_sound
+
+.if !defined(SDL2_SOUND_BUILDLINK3_MK)
+SDL2_SOUND_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.SDL2_sound+= SDL2_sound>=2.0.1
+BUILDLINK_PKGSRCDIR.SDL2_sound?= ../../audio/SDL2_sound
+
+.include "../../devel/SDL2/buildlink3.mk"
+.endif # SDL2_SOUND_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -SDL2_sound
Index: pkgsrc/audio/SDL2_sound/distinfo
diff -u /dev/null pkgsrc/audio/SDL2_sound/distinfo:1.1
--- /dev/null Sun Oct 2 13:41:55 2022
+++ pkgsrc/audio/SDL2_sound/distinfo Sun Oct 2 13:41:55 2022
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/10/02 13:41:55 nros Exp $
+
+BLAKE2s (SDL_sound-2.0.1.tar.gz) = cbe70c7112b322cd1abe188c427754f39edcd77d07a44f6166106b41ccaaae27
+SHA512 (SDL_sound-2.0.1.tar.gz) = 091842108ce115adfff106e036ce1ff8aa650a3ecf1375e59a78e7e1c55233edc4bc5ec584141eec7b155a4b372e041ee431a0290c3f59d8d5077d7edae4a2a7
+Size (SDL_sound-2.0.1.tar.gz) = 443682 bytes
Home |
Main Index |
Thread Index |
Old Index