mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-04 23:52:55 +08:00
move pkgconfig/cflags all into c_util.go file, include only gst.go.h in go files
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0
|
||||
#cgo pkg-config: gstreamer-1.0 gstreamer-app-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||
#include <gst/gst.h>
|
||||
*/
|
||||
|
@@ -1,12 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0 gstreamer-app-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -Wno-unused-function -g
|
||||
#include <gst/gst.h>
|
||||
#include <gst/app/gstappsink.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
import "errors"
|
||||
|
||||
|
@@ -1,12 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0 gstreamer-app-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||
#include <gst/gst.h>
|
||||
#include <gst/app/gstappsrc.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
import "time"
|
||||
|
||||
|
@@ -1,11 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||
#include <gst/gst.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
import (
|
||||
"fmt"
|
||||
|
@@ -1,11 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0 gstreamer-app-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||
#include <gst/gst.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
import (
|
||||
"bytes"
|
||||
|
@@ -1,11 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||
#include <gst/gst.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
|
||||
import (
|
||||
|
@@ -1,12 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||
#include <gst/gst.h>
|
||||
#include <glib-object.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
|
||||
import (
|
||||
|
@@ -1,11 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||
#include <gst/gst.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
import "time"
|
||||
|
||||
|
@@ -1,11 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||
#include <gst/gst.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
|
||||
const (
|
||||
|
@@ -1,11 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||
#include <gst/gst.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
|
||||
import (
|
||||
|
@@ -1,11 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||
#include <gst/gst.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
|
||||
import (
|
||||
|
@@ -1,11 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0 gstreamer-app-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||
#include <gst/gst.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
import (
|
||||
"fmt"
|
||||
|
@@ -1,11 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||
#include <gst/gst.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
|
||||
import (
|
||||
|
@@ -1,11 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||
#include <gst/gst.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
|
||||
import (
|
||||
|
@@ -1,11 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||
#include <gst/gst.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
|
||||
import (
|
||||
|
@@ -1,11 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||
#include <gst/gst.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
import (
|
||||
"unsafe"
|
||||
|
@@ -1,11 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||
#include <gst/gst.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
|
||||
import (
|
||||
|
@@ -1,11 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -Wno-incompatible-pointer-types -g
|
||||
#include <gst/gst.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
|
||||
import (
|
||||
|
@@ -1,11 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||
#include <gst/gst.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
|
||||
// Plugin is a go representation of a GstPlugin.
|
||||
|
@@ -1,11 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||
#include <gst/gst.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
import (
|
||||
"unsafe"
|
||||
|
@@ -1,11 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||
#include <gst/gst.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
import (
|
||||
"fmt"
|
||||
|
@@ -1,12 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0 gstreamer-app-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -Wno-unused-function -g
|
||||
#include <gst/gst.h>
|
||||
#include <gst/app/gstappsink.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
|
||||
// Sample is a go wrapper around a GstSample object.
|
||||
|
@@ -1,11 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||
#include <gst/gst.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
|
||||
import (
|
||||
|
@@ -1,10 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||
#include <gst/gst.h>
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
|
||||
// URIType casts C GstURIType to a go type
|
||||
|
@@ -1,11 +1,6 @@
|
||||
package gst
|
||||
|
||||
/*
|
||||
#cgo pkg-config: gstreamer-1.0
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||
#include <gst/gst.h>
|
||||
#include "gst.go.h"
|
||||
*/
|
||||
// #include "gst.go.h"
|
||||
import "C"
|
||||
import (
|
||||
"unsafe"
|
||||
|
Reference in New Issue
Block a user