summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authortriaxx <triaxx@pkgsrc.org>2017-08-18 12:21:29 +0000
committertriaxx <triaxx@pkgsrc.org>2017-08-18 12:21:29 +0000
commit53f949272691b0f754f8b639ab495481fde61123 (patch)
treeaf6f626168d08a2e9e42abde9ad2d976d04d20e7 /audio
parent6afb4333e4548e3471f527a1103ca75cc4eac9fe (diff)
downloadpkgsrc-53f949272691b0f754f8b639ab495481fde61123.tar.gz
Add audio/grip package version 3.5.2
Grip is a GTK-based CD-player and CD-ripper / MP3 encoder. It has the ripping capabilities of cdparanoia built in, but can also use external rippers (such as cdda2wav). Encoder presets are provided for lame, bladeenc, l3enc, xingmp3enc, mp3encode, gogo)
Diffstat (limited to 'audio')
-rw-r--r--audio/grip/patches/patch-src_cdpar.h21
-rw-r--r--audio/grip/patches/patch-src_cdplay.c16
-rw-r--r--audio/grip/patches/patch-src_grip.c16
-rw-r--r--audio/grip/patches/patch-src_grip.h18
4 files changed, 71 insertions, 0 deletions
diff --git a/audio/grip/patches/patch-src_cdpar.h b/audio/grip/patches/patch-src_cdpar.h
new file mode 100644
index 00000000000..6ced3040911
--- /dev/null
+++ b/audio/grip/patches/patch-src_cdpar.h
@@ -0,0 +1,21 @@
+$NetBSD: patch-src_cdpar.h,v 1.1 2017/08/18 12:21:29 triaxx Exp $
+
+Add a test to include cdparanoia headers.
+
+XXX: this patch could be useless if the cdparanoia package provided by pkgsrc
+did not override the default include directory.
+
+--- src/cdpar.h.orig 2016-12-30 19:56:07.000000000 +0000
++++ src/cdpar.h
+@@ -26,7 +26,10 @@
+ #ifdef HAVE_CDDA_INTERFACE_H
+ #include <cdda_interface.h>
+ #include <cdda_paranoia.h>
+-#else
++#elif HAVE_CDDA_CDDA_INTERFACE_H
+ #include <cdda/cdda_interface.h>
+ #include <cdda/cdda_paranoia.h>
++#else
++#include <cdparanoia/cdda_interface.h>
++#include <cdparanoia/cdda_paranoia.h>
+ #endif
diff --git a/audio/grip/patches/patch-src_cdplay.c b/audio/grip/patches/patch-src_cdplay.c
new file mode 100644
index 00000000000..20915bc0c22
--- /dev/null
+++ b/audio/grip/patches/patch-src_cdplay.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_cdplay.c,v 1.1 2017/08/18 12:21:29 triaxx Exp $
+
+Add system dependent headers.
+
+--- src/cdplay.c.orig 2017-07-31 21:04:11.000000000 +0000
++++ src/cdplay.c
+@@ -20,6 +20,9 @@
+ * USA
+ */
+
++#if defined(__NetBSD__)
++#include <sys/wait.h>
++#endif
+ #include "cdplay.h"
+ #include "grip.h"
+ #include "config.h"
diff --git a/audio/grip/patches/patch-src_grip.c b/audio/grip/patches/patch-src_grip.c
new file mode 100644
index 00000000000..663ab548da8
--- /dev/null
+++ b/audio/grip/patches/patch-src_grip.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_grip.c,v 1.1 2017/08/18 12:21:29 triaxx Exp $
+
+Add system dependent headers.
+
+--- src/grip.c.orig 2017-07-31 21:04:12.000000000 +0000
++++ src/grip.c
+@@ -26,6 +26,9 @@
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <sys/param.h>
++#if defined(__NetBSD__)
++#include <sys/wait.h>
++#endif
+ #include <gdk/gdkx.h>
+ #include <X11/Xlib.h>
+ #include <time.h>
diff --git a/audio/grip/patches/patch-src_grip.h b/audio/grip/patches/patch-src_grip.h
new file mode 100644
index 00000000000..d506e3a193c
--- /dev/null
+++ b/audio/grip/patches/patch-src_grip.h
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_grip.h,v 1.1 2017/08/18 12:21:29 triaxx Exp $
+
+Add a test on the macro needed by pkgsrc cdparanoia.
+
+XXX: this patch could be useless if the cdparanoia package provided by pkgsrc
+did not override the default include directory.
+
+--- src/grip.h.orig 2017-06-03 21:05:41.000000000 +0000
++++ src/grip.h
+@@ -33,7 +33,7 @@
+ #include "status_window.h"
+ #include "eggtrayicon.h"
+
+-#if defined(HAVE_CDDA_INTERFACE_H) || defined(HAVE_CDDA_CDDA_INTERFACE_H)
++#if defined(HAVE_CDDA_INTERFACE_H) || defined(HAVE_CDDA_CDDA_INTERFACE_H) || defined(HAVE_CDPARANOIA_CDDA_INTERFACE_H)
+ #define CDPAR
+ #endif
+