pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/alsa-plugins-oss



Module Name:    pkgsrc
Committed By:   hauke
Date:           Sun Nov 21 16:06:30 UTC 2021

Modified Files:
        pkgsrc/audio/alsa-plugins-oss: Makefile distinfo
Added Files:
        pkgsrc/audio/alsa-plugins-oss/patches: patch-oss_50-oss.conf

Log Message:
Substitute the patform's audio device in config file.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/audio/alsa-plugins-oss/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/audio/alsa-plugins-oss/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/audio/alsa-plugins-oss/patches/patch-oss_50-oss.conf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/alsa-plugins-oss/Makefile
diff -u pkgsrc/audio/alsa-plugins-oss/Makefile:1.14 pkgsrc/audio/alsa-plugins-oss/Makefile:1.15
--- pkgsrc/audio/alsa-plugins-oss/Makefile:1.14 Wed Jun 30 15:41:54 2021
+++ pkgsrc/audio/alsa-plugins-oss/Makefile      Sun Nov 21 16:06:30 2021
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2021/06/30 15:41:54 ryoon Exp $
+# $NetBSD: Makefile,v 1.15 2021/11/21 16:06:30 hauke Exp $
 
 DISTNAME=      alsa-plugins-1.2.5
 PKGNAME=       ${DISTNAME:S/plugins/plugins-oss/}
+PKGREVISION=   1
 CATEGORIES=    audio
 MASTER_SITES=  ftp://ftp.alsa-project.org/pub/plugins/
 EXTRACT_SUFX=  .tar.bz2
@@ -17,10 +18,17 @@ USE_LIBTOOL=        yes
 
 .include "../../mk/bsd.prefs.mk"
 
+SUBST_CLASSES+=                audiodev
+SUBST_STAGE.audiodev=  pre-configure
+SUBST_FILES.audiodev=  oss/50-oss.conf
+SUBST_VARS.audiodev=   DEVOSSAUDIO
+
 CFLAGS.SunOS+= -DSOUND_MIXER_PHONEIN=SOUND_MIXER_PHONE
 CFLAGS.SunOS+= -DSOUND_MIXER_PHONEOUT=SOUND_MIXER_MONO
 CFLAGS.SunOS+= -DSOUND_MIXER_MONITOR=SOUND_MIXER_DEPTH
-CFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -Du_int64_t=uint64_t
+CFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int16_t=uint16_t
+CFLAGS.SunOS+= -Du_int32_t=uint32_t -Du_int64_t=uint64_t
+
 CFLAGS+=       -DDEVOSSAUDIO=\"${DEVOSSAUDIO:U/dev/dsp}\"
 LIBS+=         ${LIBOSSAUDIO}
 

Index: pkgsrc/audio/alsa-plugins-oss/distinfo
diff -u pkgsrc/audio/alsa-plugins-oss/distinfo:1.12 pkgsrc/audio/alsa-plugins-oss/distinfo:1.13
--- pkgsrc/audio/alsa-plugins-oss/distinfo:1.12 Tue Oct 26 09:58:46 2021
+++ pkgsrc/audio/alsa-plugins-oss/distinfo      Sun Nov 21 16:06:30 2021
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2021/10/26 09:58:46 nia Exp $
+$NetBSD: distinfo,v 1.13 2021/11/21 16:06:30 hauke Exp $
 
 BLAKE2s (alsa-plugins-1.2.5.tar.bz2) = 2d677bca9733c8c9d704094d7e7d3088a230eea488e04a4e55bb9c1bee575ca0
 SHA512 (alsa-plugins-1.2.5.tar.bz2) = 32aa475ec4af040861c2bfb01eac71042242d2109d3c5102d0111f3327e3f6c9031c32cbb50eb4b6568a6bd9408691a047a39972f09d6087e31ec11f19ddc9cf
@@ -6,4 +6,5 @@ Size (alsa-plugins-1.2.5.tar.bz2) = 4061
 SHA1 (patch-aa) = ac2169b0a069bcf6ed60ca7ccd199ccd1988357f
 SHA1 (patch-ab) = 9cf0bda9f1928f46d0d5eac9464b790710ea2fda
 SHA1 (patch-ac) = 13da103ce3daad29d3c715f8f7d58dcd7bb9a72c
+SHA1 (patch-oss_50-oss.conf) = 74bf27539f8bc6bd3ee559f29437b5cc057d1a34
 SHA1 (patch-oss_Makefile.in) = 9ca6c96d426f7f150c86ad7a3a15fa0999a3cfdd

Added files:

Index: pkgsrc/audio/alsa-plugins-oss/patches/patch-oss_50-oss.conf
diff -u /dev/null pkgsrc/audio/alsa-plugins-oss/patches/patch-oss_50-oss.conf:1.1
--- /dev/null   Sun Nov 21 16:06:30 2021
+++ pkgsrc/audio/alsa-plugins-oss/patches/patch-oss_50-oss.conf Sun Nov 21 16:06:30 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-oss_50-oss.conf,v 1.1 2021/11/21 16:06:30 hauke Exp $
+
+Substitute actual audio device
+
+--- oss/50-oss.conf.orig       2021-05-27 17:18:39.000000000 +0000
++++ oss/50-oss.conf
+@@ -2,7 +2,7 @@ pcm.oss {
+       @args [ DEVICE ]
+       @args.DEVICE {
+               type string
+-              default "/dev/dsp"
++              default "@DEVOSSAUDIO@"
+       }
+       type oss
+       device $DEVICE



Home | Main Index | Thread Index | Old Index