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:   nia
Date:           Sun May  9 08:02:03 UTC 2021

Modified Files:
        pkgsrc/audio: Makefile
Added Files:
        pkgsrc/audio/ossmix: DESCR Makefile PLIST distinfo
        pkgsrc/audio/ossmix/files: Makefile

Log Message:
add audio/ossmix

Command line mixer application from the Open Sound System.

Compatible with: NetBSD 10, Solaris 11, FreeBSD.

NOTE: On NetBSD, use mixerctl(1) (included in base) instead.
This package primarily exists for testing OSSv4 compatibility.


To generate a diff of this commit:
cvs rdiff -u -r1.628 -r1.629 pkgsrc/audio/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/ossmix/DESCR pkgsrc/audio/ossmix/Makefile \
    pkgsrc/audio/ossmix/PLIST pkgsrc/audio/ossmix/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/ossmix/files/Makefile

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.628 pkgsrc/audio/Makefile:1.629
--- pkgsrc/audio/Makefile:1.628 Sun May  9 07:54:42 2021
+++ pkgsrc/audio/Makefile       Sun May  9 08:02:03 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.628 2021/05/09 07:54:42 nia Exp $
+# $NetBSD: Makefile,v 1.629 2021/05/09 08:02:03 nia Exp $
 #
 
 COMMENT=       Audio tools, players, and libraries
@@ -352,6 +352,7 @@ SUBDIR+=    openal-soft
 SUBDIR+=       opencore-amr
 SUBDIR+=       opus-tools
 SUBDIR+=       opusfile
+SUBDIR+=       ossmix
 SUBDIR+=       ossxmix
 SUBDIR+=       p5-Audio-CD
 SUBDIR+=       p5-Audio-Scan

Added files:

Index: pkgsrc/audio/ossmix/DESCR
diff -u /dev/null pkgsrc/audio/ossmix/DESCR:1.1
--- /dev/null   Sun May  9 08:02:03 2021
+++ pkgsrc/audio/ossmix/DESCR   Sun May  9 08:02:03 2021
@@ -0,0 +1,6 @@
+Command line mixer application from the Open Sound System.
+
+Compatible with: NetBSD 10, Solaris 11, FreeBSD.
+
+NOTE: On NetBSD, use mixerctl(1) (included in base) instead.
+This package primarily exists for testing OSSv4 compatibility.
Index: pkgsrc/audio/ossmix/Makefile
diff -u /dev/null pkgsrc/audio/ossmix/Makefile:1.1
--- /dev/null   Sun May  9 08:02:03 2021
+++ pkgsrc/audio/ossmix/Makefile        Sun May  9 08:02:03 2021
@@ -0,0 +1,50 @@
+# $NetBSD: Makefile,v 1.1 2021/05/09 08:02:03 nia Exp $
+
+DISTNAME=      oss-v4.2-build2019-src-bsd
+PKGNAME=       ossmix-${DISTNAME:S/oss-v//1:S/-src-bsd//1:S/-/./g}
+CATEGORIES=    audio
+MASTER_SITES=  http://www.opensound.com/developer/sources/stable/bsd/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    nia%NetBSD.org@localhost
+HOMEPAGE=      http://www.opensound.com/
+COMMENT=       Command line mixer from OSSv4
+LICENSE=       2-clause-bsd
+
+BUILD_DIRS=    cmd/${PKGBASE}
+
+# NOTE: Linux support will require an OSSv4 package integrated into
+# oss.buildlink3.mk
+ONLY_FOR_PLATFORM+=    FreeBSD-*-*
+ONLY_FOR_PLATFORM+=    NetBSD-*-*
+ONLY_FOR_PLATFORM+=    SunOS-*-*
+
+.include "../../mk/oss.buildlink3.mk"
+
+LDFLAGS+=      ${LIBOSSAUDIO}
+
+.if ${OPSYS} == "NetBSD" && \
+       (!empty(OS_VERSION:M[5-9].*) && empty(OS_VERSION:M9.99.*))
+PKG_SKIP_REASON+=      "Requires OSSv4 support"
+.endif
+
+SUBST_CLASSES+=                paths
+SUBST_STAGE.paths=     pre-configure
+SUBST_FILES.paths=     cmd/${PKGBASE}/${PKGBASE}.man
+SUBST_SED.paths=       -e 's,/usr/bin,${PREFIX}/bin,g'
+
+INSTALLATION_DIRS+=    bin
+INSTALLATION_DIRS+=    share/doc/${PKGBASE}
+
+pre-build:
+       ${CP} ${FILESDIR}/Makefile ${WRKSRC}/cmd/${PKGBASE}/Makefile
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/cmd/${PKGBASE}/${PKGBASE} \
+               ${DESTDIR}${PREFIX}/bin/${PKGBASE}
+       ${INSTALL_DATA} ${WRKSRC}/COPYING \
+               ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/COPYING
+       ${INSTALL_DATA} ${WRKSRC}/cmd/${PKGBASE}/${PKGBASE}.man \
+               ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/${PKGBASE}.man
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/audio/ossmix/PLIST
diff -u /dev/null pkgsrc/audio/ossmix/PLIST:1.1
--- /dev/null   Sun May  9 08:02:03 2021
+++ pkgsrc/audio/ossmix/PLIST   Sun May  9 08:02:03 2021
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2021/05/09 08:02:03 nia Exp $
+bin/ossmix
+share/doc/ossmix/COPYING
+share/doc/ossmix/ossmix.man
+@pkgdir share/applications
Index: pkgsrc/audio/ossmix/distinfo
diff -u /dev/null pkgsrc/audio/ossmix/distinfo:1.1
--- /dev/null   Sun May  9 08:02:03 2021
+++ pkgsrc/audio/ossmix/distinfo        Sun May  9 08:02:03 2021
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/05/09 08:02:03 nia Exp $
+
+SHA1 (oss-v4.2-build2019-src-bsd.tar.bz2) = f6e03cbb5b5010aa48dd6d963b7e68c991c7d7dc
+RMD160 (oss-v4.2-build2019-src-bsd.tar.bz2) = be04756160843acdaacbb610d5e8ebd9f7acf572
+SHA512 (oss-v4.2-build2019-src-bsd.tar.bz2) = 9d43fa3e3abe4cf006cabfedf2c9fc51372f8cbe499c2e4bee6ba489291c31eb93b66b312054bcf92fc26df329bc3c7ef14a633fece8af38256bc7198d0c1556
+Size (oss-v4.2-build2019-src-bsd.tar.bz2) = 1723557 bytes

Index: pkgsrc/audio/ossmix/files/Makefile
diff -u /dev/null pkgsrc/audio/ossmix/files/Makefile:1.1
--- /dev/null   Sun May  9 08:02:03 2021
+++ pkgsrc/audio/ossmix/files/Makefile  Sun May  9 08:02:03 2021
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2021/05/09 08:02:03 nia Exp $
+
+CFLAGS+=       -DLOCAL_BUILD
+
+OBJS=          ossmix.o
+PROG=          ossmix
+
+all: ${PROG}
+
+.c.o:
+       ${CC} ${CFLAGS} -c ${.IMPSRC}
+
+${PROG}: ${OBJS}
+       ${CC} ${LDFLAGS} -o ${PROG} ${OBJS}



Home | Main Index | Thread Index | Old Index