Move gst into its own directory

This commit is contained in:
2023-10-17 10:12:04 +02:00
parent a114003e54
commit a763f7cd33
3 changed files with 1 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
{
stdenv,
ntv2-gst-src,
autoconf,
automake,
pkgconfig,
libtool,
gst_all_1,
ntv2,
}:
stdenv.mkDerivation {
name = "ntv2-gst";
src = ntv2-gst-src;
sourceRoot = "source/gst-plugin";
patches = [./no.patch];
nativeBuildInputs = [autoconf automake pkgconfig libtool gst_all_1.gst-plugins-base ntv2];
GST_NTV2 = "${ntv2}/include";
preConfigure = ''
./autogen.sh
'';
}
+13
View File
@@ -0,0 +1,13 @@
diff --git a/gst-plugin/aja/gstntv2.h b/gst-plugin/aja/gstntv2.h
index 53906e9..0e287df 100644
--- a/aja/gstntv2.h
+++ b/aja/gstntv2.h
@@ -23,8 +23,6 @@
#include "ajabase/common/timebase.h"
#include "ajabase/system/thread.h"
-#include "ntv2m31.h"
-
#define VIDEO_RING_SIZE 16
#define VIDEO_ARRAY_SIZE 60
#define AUDIO_RING_SIZE (3*VIDEO_RING_SIZE)