1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

New port: gtkguitune, a guitar (and other instruments) tuner for GTK.

This commit is contained in:
Eric Anholt 2005-02-12 23:25:03 +00:00
parent ed300258b2
commit 6406f57df8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128654
6 changed files with 69 additions and 0 deletions

View File

@ -152,6 +152,7 @@
SUBDIR += gstreamer-monkeysaudio
SUBDIR += gtick
SUBDIR += gtkgep
SUBDIR += gtkguitune
SUBDIR += gtkpod
SUBDIR += holyshout
SUBDIR += hydrogen

29
audio/gtkguitune/Makefile Normal file
View File

@ -0,0 +1,29 @@
# New ports collection makefile for: gtkguitune
# Date created: 12 Feb 2005
# Whom: Eric Anholt <anholt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gtkguitune
PORTVERSION= 0.7
CATEGORIES= audio
MASTER_SITES= http://www.geocities.com/harpin_floh/mysoft/
MAINTAINER= anholt@FreeBSD.org
COMMENT= A guitar (and other instruments) tuner for GTK
LIB_DEPENDS= gtkmm.2:${PORTSDIR}/x11-toolkits/gtk--
GNU_CONFIGURE= yes
USE_GETOPT_LONG=yes
PLIST_FILES= bin/gtkguitune
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
CFLAGS+= -fhuge-objects
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
MD5 (gtkguitune-0.7.tar.gz) = 1fa82bf4034b45750c831902a1a96bdf
SIZE (gtkguitune-0.7.tar.gz) = 54992

View File

@ -0,0 +1,14 @@
--- guitune.cc.orig Sat Feb 12 11:14:56 2005
+++ guitune.cc Sat Feb 12 11:15:02 2005
@@ -24,7 +24,11 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/ioctl.h>
+#ifdef __linux__
#include <linux/soundcard.h>
+#else
+#include <sys/soundcard.h>
+#endif
#include <gtk--/main.h>
#include <gtk--/box.h>

View File

@ -0,0 +1,14 @@
--- main.cc.orig Sat May 31 16:31:12 2003
+++ main.cc Sat Feb 12 11:22:19 2005
@@ -24,7 +24,11 @@
#include <fcntl.h>
#include <unistd.h>
#include <sys/ioctl.h>
+#ifdef __linux__
#include <linux/soundcard.h>
+#else
+#include <sys/soundcard.h>
+#endif
#include <gtk/gtk.h>
#include <gtk--/window.h>

View File

@ -0,0 +1,9 @@
gtkguitune is a program for tuning guitars and other instruments. Rather than
using FFT like many programs, it counts the number of triggerings between two
trigger levels in a certain amount of time, which tends to be more accurate for
instrument tuning while requiring less processing than FFT.
WWW: http://www.geocities.com/harpin_floh/kguitune_page.html
- Eric Anholt
anholt@FreeBSD.org