pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
praat: new package
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Tue May 10 08:40:07 2016 +0200
Changeset: 49e8d176ce5246384124c8a219b47cdf864fb8db
Added Files:
praat/DESCR
praat/Makefile
praat/PLIST
praat/distinfo
praat/patches/patch-makefile.defs
Log Message:
praat: new package
Praat (the Dutch word for "talk") is a free scientific computer software
package for the analysis of speech in phonetics.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=49e8d176ce5246384124c8a219b47cdf864fb8db
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
praat/DESCR | 2 ++
praat/Makefile | 28 ++++++++++++++++++++++++++++
praat/PLIST | 3 +++
praat/distinfo | 7 +++++++
praat/patches/patch-makefile.defs | 25 +++++++++++++++++++++++++
5 files changed, 65 insertions(+)
diffs:
diff --git a/praat/DESCR b/praat/DESCR
new file mode 100644
index 0000000..a757aa5
--- /dev/null
+++ b/praat/DESCR
@@ -0,0 +1,2 @@
+Praat (the Dutch word for "talk") is a free scientific computer software
+package for the analysis of speech in phonetics.
diff --git a/praat/Makefile b/praat/Makefile
new file mode 100644
index 0000000..abe1bbe
--- /dev/null
+++ b/praat/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD$
+
+DISTNAME= praat-6.0.16
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_GITHUB:=praat/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= cherry%NetBSD.org@localhost
+HOMEPAGE= http://www.praat.org/
+COMMENT= Doing phonetics by computer
+LICENSE= gnu-gpl-v2
+
+USE_LANGUAGES= c c++
+USE_TOOLS= gmake pkg-config
+
+NO_CONFIGURE= yes
+MAKE_FILE= makefile
+
+INSTALLATION_DIRS= bin # ${PKGMANDIR}/man1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/praat ${DESTDIR}${PREFIX}/bin/praat
+#XXX: ${INSTALL_MAN} ${WRKSRC}/praat.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../audio/pulseaudio/buildlink3.mk"
+.include "../../mk/oss.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/praat/PLIST b/praat/PLIST
new file mode 100644
index 0000000..edd7ad5
--- /dev/null
+++ b/praat/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/praat
+@comment man/man1/praat.1
diff --git a/praat/distinfo b/praat/distinfo
new file mode 100644
index 0000000..413562c
--- /dev/null
+++ b/praat/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (praat-6.0.16.tar.gz) = 6da2e95ff23514b57312c0a35036a1c2e015440d
+RMD160 (praat-6.0.16.tar.gz) = f37f31689f8acfeb3999181834f795048f935543
+SHA512 (praat-6.0.16.tar.gz) = 191f04dcb080572ff0a28e7f64e7a79949485c95b62ed280b1761b62448e61206200f6b845336ba986df190fb0245e45920101599295ff4c11b529014c983217
+Size (praat-6.0.16.tar.gz) = 11369580 bytes
+SHA1 (patch-makefile.defs) = f1a8bbc5be29d2d958046e91d57f6f22d16262cb
diff --git a/praat/patches/patch-makefile.defs b/praat/patches/patch-makefile.defs
new file mode 100644
index 0000000..b8d33d7
--- /dev/null
+++ b/praat/patches/patch-makefile.defs
@@ -0,0 +1,25 @@
+$NetBSD$
+
+pkgsrc Makefile
+
+--- makefile.defs.orig 2016-04-17 12:02:57.000000000 +0000
++++ makefile.defs
+@@ -0,0 +1,18 @@
++# NetBSD flags
++
++COMPILEFLAGS += -D_FILE_OFFSET_BITS=64 -DHAVE_PULSEAUDIO -DUNIX -Dlinux `pkg-config --cflags gtk+-2.0` -Werror=missing-prototypes -Werror=implicit -Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O1 -g1 -pthread
++
++CXXFLAGS += -std=c++11 $(COMPILEFLAGS) -Wshadow
++
++CFLAGS += -std=gnu99 $(COMPILEFLAGS)
++
++LINK = $(CXX)
++
++EXECUTABLE = praat
++
++LIBS = `pkg-config --libs gtk+-2.0` -lm -lpthread -lpulse -lossaudio
++
++AR = ar
++RANLIB = ls
++ICON =
++MAIN_ICON =
Home |
Main Index |
Thread Index |
Old Index