mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Update to 0.8
PR: 139763 Submitted by: Ports Fury
This commit is contained in:
parent
d74f3a6914
commit
ad5bc8bb0f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=243093
4 changed files with 19 additions and 35 deletions
|
@ -6,18 +6,30 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= gtkguitune
|
PORTNAME= gtkguitune
|
||||||
PORTVERSION= 0.7
|
PORTVERSION= 0.8
|
||||||
PORTREVISION= 3
|
|
||||||
CATEGORIES= audio
|
CATEGORIES= audio
|
||||||
MASTER_SITES= http://www.geocities.com/harpin_floh/mysoft/
|
MASTER_SITES= http://www.geocities.com/harpin_floh/mysoft/
|
||||||
|
DISTNAME= ${PORTNAME}-gtk2-${PORTVERSION}
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= A guitar (and other instruments) tuner for GTK
|
COMMENT= A guitar (and other instruments) tuner for GTK
|
||||||
|
|
||||||
LIB_DEPENDS= gtkmm-1.2.2:${PORTSDIR}/x11-toolkits/gtkmm12
|
LIB_DEPENDS= gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24
|
||||||
|
|
||||||
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
INSTALLS_ICONS= yes
|
||||||
|
|
||||||
PLIST_FILES= bin/gtkguitune
|
PLIST_FILES= bin/${PORTNAME} \
|
||||||
|
share/icons/hicolor/scalable/apps/guitune_logo.svg
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
@${REINPLACE_CMD} -e \
|
||||||
|
's|VERSION=0.7|VERSION=${PORTVERSION}|g' ${WRKSRC}/configure
|
||||||
|
.for file in guitune.cc main.cc
|
||||||
|
@${REINPLACE_CMD} -e \
|
||||||
|
's|<linux/soundcard.h>|<sys/soundcard.h>|' ${WRKSRC}/${file}
|
||||||
|
.endfor
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
MD5 (gtkguitune-0.7.tar.gz) = 1fa82bf4034b45750c831902a1a96bdf
|
MD5 (gtkguitune-gtk2-0.8.tar.gz) = aeed6895e76af1fd0bce500fbe3e492a
|
||||||
SHA256 (gtkguitune-0.7.tar.gz) = a2816ab63d85c86d2e352ec2c2d3b4cb6d607f7593798533da0993bfb2db5bf3
|
SHA256 (gtkguitune-gtk2-0.8.tar.gz) = be0e8a8b8085498201d3674a1a719d4841a4f79cd7bcff3e14fec83512c30849
|
||||||
SIZE (gtkguitune-0.7.tar.gz) = 54992
|
SIZE (gtkguitune-gtk2-0.8.tar.gz) = 660808
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
--- 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>
|
|
|
@ -1,14 +0,0 @@
|
||||||
--- 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>
|
|
Loading…
Add table
Reference in a new issue