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 07:54:42 UTC 2021
Modified Files:
pkgsrc/audio: Makefile
Added Files:
pkgsrc/audio/ossxmix: DESCR Makefile PLIST
pkgsrc/audio/ossxmix/files: Makefile ossxmix.desktop
Log Message:
add audio/ossxmix
Graphical (GTK+) mixer application from the Open Sound System.
Compatible with: NetBSD 10, Solaris 11, FreeBSD.
To generate a diff of this commit:
cvs rdiff -u -r1.627 -r1.628 pkgsrc/audio/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/ossxmix/DESCR \
pkgsrc/audio/ossxmix/Makefile pkgsrc/audio/ossxmix/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/ossxmix/files/Makefile \
pkgsrc/audio/ossxmix/files/ossxmix.desktop
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.627 pkgsrc/audio/Makefile:1.628
--- pkgsrc/audio/Makefile:1.627 Thu May 6 20:41:22 2021
+++ pkgsrc/audio/Makefile Sun May 9 07:54:42 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.627 2021/05/06 20:41:22 wiz Exp $
+# $NetBSD: Makefile,v 1.628 2021/05/09 07:54:42 nia Exp $
#
COMMENT= Audio tools, players, and libraries
@@ -352,6 +352,7 @@ SUBDIR+= openal-soft
SUBDIR+= opencore-amr
SUBDIR+= opus-tools
SUBDIR+= opusfile
+SUBDIR+= ossxmix
SUBDIR+= p5-Audio-CD
SUBDIR+= p5-Audio-Scan
SUBDIR+= p5-Audio-Wav
Added files:
Index: pkgsrc/audio/ossxmix/DESCR
diff -u /dev/null pkgsrc/audio/ossxmix/DESCR:1.1
--- /dev/null Sun May 9 07:54:42 2021
+++ pkgsrc/audio/ossxmix/DESCR Sun May 9 07:54:42 2021
@@ -0,0 +1,3 @@
+Graphical (GTK+) mixer application from the Open Sound System.
+
+Compatible with: NetBSD 10, Solaris 11, FreeBSD.
Index: pkgsrc/audio/ossxmix/Makefile
diff -u /dev/null pkgsrc/audio/ossxmix/Makefile:1.1
--- /dev/null Sun May 9 07:54:42 2021
+++ pkgsrc/audio/ossxmix/Makefile Sun May 9 07:54:42 2021
@@ -0,0 +1,57 @@
+# $NetBSD: Makefile,v 1.1 2021/05/09 07:54:42 nia Exp $
+
+DISTNAME= oss-v4.2-build2019-src-bsd
+PKGNAME= ossxmix-${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= Audio mixer GUI from OSSv4
+LICENSE= 2-clause-bsd
+
+USE_TOOLS+= pkg-config
+
+BUILD_DIRS= cmd/ossxmix
+
+# 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}/ossxmix.man
+SUBST_SED.paths= -e 's,/usr/bin,${PREFIX}/bin,g'
+
+INSTALLATION_DIRS+= bin
+INSTALLATION_DIRS+= share/applications
+INSTALLATION_DIRS+= share/doc/${PKGBASE}
+
+pre-build:
+ ${CP} ${FILESDIR}/Makefile ${WRKSRC}/cmd/${PKGBASE}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/cmd/${PKGBASE}/ossxmix \
+ ${DESTDIR}${PREFIX}/bin/ossxmix
+ ${INSTALL_DATA} ${FILESDIR}/ossxmix.desktop \
+ ${DESTDIR}${PREFIX}/share/applications
+ ${INSTALL_DATA} ${WRKSRC}/COPYING \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/cmd/${PKGBASE}/ossxmix.man \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+
+.include "../../sysutils/desktop-file-utils/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/audio/ossxmix/PLIST
diff -u /dev/null pkgsrc/audio/ossxmix/PLIST:1.1
--- /dev/null Sun May 9 07:54:42 2021
+++ pkgsrc/audio/ossxmix/PLIST Sun May 9 07:54:42 2021
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2021/05/09 07:54:42 nia Exp $
+bin/ossxmix
+share/applications/ossxmix.desktop
+share/doc/ossxmix/COPYING
+share/doc/ossxmix/ossxmix.man
Index: pkgsrc/audio/ossxmix/files/Makefile
diff -u /dev/null pkgsrc/audio/ossxmix/files/Makefile:1.1
--- /dev/null Sun May 9 07:54:42 2021
+++ pkgsrc/audio/ossxmix/files/Makefile Sun May 9 07:54:42 2021
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2021/05/09 07:54:42 nia Exp $
+
+GTK_CFLAGS!= pkg-config --cflags gtk+-2.0
+GTK_LIBS!= pkg-config --libs gtk+-2.0
+
+CFLAGS+= ${GTK_CFLAGS}
+LDFLAGS+= ${GTK_LIBS}
+
+OBJS= gtkvu.o ossxmix.o
+
+all: ossxmix
+
+.c.o:
+ ${CC} ${CFLAGS} -c ${.IMPSRC}
+
+ossxmix: ${OBJS}
+ ${CC} ${LDFLAGS} -o ossxmix ${OBJS}
Index: pkgsrc/audio/ossxmix/files/ossxmix.desktop
diff -u /dev/null pkgsrc/audio/ossxmix/files/ossxmix.desktop:1.1
--- /dev/null Sun May 9 07:54:42 2021
+++ pkgsrc/audio/ossxmix/files/ossxmix.desktop Sun May 9 07:54:42 2021
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Encoding=UTF-8
+Name=ossxmix
+GenericName=Mixer
+Comment=Graphical mixer application from OSSv4
+Icon=audio-card
+Exec=ossxmix
+Terminal=false
+Categories=AudioVideo;Audio;
Home |
Main Index |
Thread Index |
Old Index