pkgsrc/audio/spectro-edit/Makefile
wiz a096a6e046 Import spectro-edit-0.4 as audio/spectro-edit.
Spectro-Edit reads in regular PCM audio files (currently, only
16-bit mono WAV is supported), then shows you the audio visually
in a time vs. frequency plot.

The fun part is, you can "paint out" any part of the visualization
and play back the audio subject to your modifications. When you
are happy with the result, you can save your work back to a WAV
file.

This could be useful for podcasting (edit out microphone noise,
chair squeaks, phones ringing, and other background noise), music
(make strange and unusual modifications to the sound for artistic
reasons), research (visualize animal calls or noise pollution from
nearby industrial activity), and general purpose geekery (which is
why I made it).
2014-08-07 20:53:26 +00:00

30 lines
891 B
Makefile

# $NetBSD: Makefile,v 1.1 2014/08/07 20:53:26 wiz Exp $
DISTNAME= spectro-edit_0.4
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= audio
MASTER_SITES= https://spectro-edit.googlecode.com/files/
EXTRACT_SUFX= .jar
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://code.google.com/p/spectro-edit/
COMMENT= Graphically view and edit WAV files
LICENSE= gnu-gpl-v3
WRKSRC= ${WRKDIR}
USE_LANGUAGES= # none
INSTALLATION_DIRS= bin share/spectro-edit
USE_JAVA= run
USE_JAVA2= yes
do-build:
${ECHO} '#!/bin/sh' > ${WRKDIR}/spectro-edit.sh
${ECHO} "exec ${JAVA_BINPREFIX}-java -jar "'"'"${PREFIX}"'/share/spectro-edit/${DISTNAME}.jar" "$$@"' >> ${WRKDIR}/spectro-edit.sh
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/spectro-edit.sh ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar ${DESTDIR}${PREFIX}/share/spectro-edit
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"