gstreamer: add git packages (#1946)
* gstreamer: add git packages * gstreamer: whitespace cleanup to make consistent with git packages
This commit is contained in:
1
mingw-w64-gst-editing-services-git/.gitignore
vendored
Normal file
1
mingw-w64-gst-editing-services-git/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
gst-editing-services
|
||||
@@ -0,0 +1,24 @@
|
||||
From 866aa40e6d61cbeb87c9eb5e191937a115119efd Mon Sep 17 00:00:00 2001
|
||||
From: Lubosz Sarnecki <lubosz@gmail.com>
|
||||
Date: Wed, 30 Jul 2014 17:27:51 +0200
|
||||
Subject: [PATCH 2/2] add cflags for gir
|
||||
|
||||
---
|
||||
ges/Makefile.am | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/ges/Makefile.am b/ges/Makefile.am
|
||||
index 859a33f..65e8b59 100644
|
||||
--- a/ges/Makefile.am
|
||||
+++ b/ges/Makefile.am
|
||||
@@ -177,6 +177,7 @@ GES-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libges-@GST_API_VERSION@.la
|
||||
$(gir_cincludes) \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir) \
|
||||
+ $(GST_BASE_CFLAGS) \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-pbutils-@GST_API_VERSION@` \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-audio-@GST_API_VERSION@` \
|
||||
--
|
||||
2.0.4
|
||||
|
||||
59
mingw-w64-gst-editing-services-git/PKGBUILD
Normal file
59
mingw-w64-gst-editing-services-git/PKGBUILD
Normal file
@@ -0,0 +1,59 @@
|
||||
# Maintainer: Philippe Renon <philippe_renon@yahoo.fr>
|
||||
# Contributor: Lubosz Sarnecki <lubosz@gmail.com>
|
||||
|
||||
_realname=gst-editing-services
|
||||
pkgbase=mingw-w64-${_realname}-git
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}-git"
|
||||
provides=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
conflicts=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
pkgver=r2575.9fbc717
|
||||
pkgrel=1
|
||||
pkgdesc="GStreamer Editing Services (mingw-w64)"
|
||||
arch=('any')
|
||||
url="https://gstreamer.freedesktop.org/"
|
||||
license=("LGPL")
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
|
||||
"${MINGW_PACKAGE_PREFIX}-gobject-introspection"
|
||||
"${MINGW_PACKAGE_PREFIX}-pkg-config"
|
||||
"${MINGW_PACKAGE_PREFIX}-python2")
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-gst-plugins-base-git")
|
||||
options=(!libtool strip staticlibs)
|
||||
source=("${_realname}::git+git://anongit.freedesktop.org/gstreamer/gst-editing-services")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/$_realname"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/$_realname"
|
||||
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
_pkgver=${_realname}-${pkgver} # How it's tagged in git
|
||||
|
||||
[[ -d "${srcdir}/build-${MINGW_CHOST}" ]] && rm -rf "${srcdir}/build-${MINGW_CHOST}"
|
||||
mkdir -p "${srcdir}/build-${MINGW_CHOST}"
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
|
||||
../${_realname}/configure \
|
||||
--prefix=${MINGW_PREFIX} \
|
||||
--build=${MINGW_CHOST} \
|
||||
--host=${MINGW_CHOST} \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--enable-silent-rules \
|
||||
--disable-gtk-doc
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
make -j1 DESTDIR="${pkgdir}" install
|
||||
|
||||
find "${pkgdir}${MINGW_PREFIX}" -name '*.def' -o -name '*.exp' | xargs -rtl1 rm
|
||||
rm -f ${pkgdir}${MINGW_PREFIX}/lib/gstreamer*/*.a
|
||||
}
|
||||
@@ -14,8 +14,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
|
||||
"${MINGW_PACKAGE_PREFIX}-gobject-introspection"
|
||||
"${MINGW_PACKAGE_PREFIX}-pkg-config"
|
||||
"${MINGW_PACKAGE_PREFIX}-python2")
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-gst-plugins-base"
|
||||
"${MINGW_PACKAGE_PREFIX}-gstreamer")
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-gst-plugins-base")
|
||||
options=(!libtool strip staticlibs)
|
||||
source=(https://gstreamer.freedesktop.org/src/${_realname}/${_srcname}-${pkgver}.tar.xz
|
||||
0002-add-cflags-for-gir.patch)
|
||||
@@ -23,17 +22,17 @@ sha256sums=('c48a75ab2a3b72ed33f69d8279c56c0f3a2d0881255f8b169a7a13518eaa13cd'
|
||||
'9d4c26c60c6a1b2ef4430c82ff5fcbf06f1aae61572ec005b387bb5419564e78')
|
||||
|
||||
prepare() {
|
||||
cd ${_srcname}-${pkgver}
|
||||
cd "${srcdir}"/${_srcname}-${pkgver}
|
||||
patch -p1 -i ${srcdir}/0002-add-cflags-for-gir.patch
|
||||
|
||||
autoreconf -fiv
|
||||
#NOCONFIGURE=1 ./autogen.sh
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
[[ -d "${srcdir}/build-${MINGW_CHOST}" ]] && rm -rf "${srcdir}/build-${MINGW_CHOST}"
|
||||
mkdir -p "${srcdir}/build-${MINGW_CHOST}"
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
|
||||
../${_srcname}-${pkgver}/configure \
|
||||
--prefix=${MINGW_PREFIX} \
|
||||
--build=${MINGW_CHOST} \
|
||||
@@ -42,13 +41,13 @@ build() {
|
||||
--enable-shared \
|
||||
--enable-silent-rules \
|
||||
--disable-gtk-doc
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
make -j1 DESTDIR="${pkgdir}" install
|
||||
|
||||
find "${pkgdir}${MINGW_PREFIX}" -name '*.def' -o -name '*.exp' | xargs -rtl1 rm
|
||||
rm -f ${pkgdir}${MINGW_PREFIX}/lib/gstreamer*/*.a
|
||||
}
|
||||
|
||||
1
mingw-w64-gst-libav-git/.gitignore
vendored
Normal file
1
mingw-w64-gst-libav-git/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
gst-libav
|
||||
60
mingw-w64-gst-libav-git/PKGBUILD
Normal file
60
mingw-w64-gst-libav-git/PKGBUILD
Normal file
@@ -0,0 +1,60 @@
|
||||
# Maintainer: Philippe Renon <philippe_renon@yahoo.fr>
|
||||
# Contributor: AlexWMF <alexxwmf@gmail.com>
|
||||
|
||||
_realname=gst-libav
|
||||
pkgbase=mingw-w64-${_realname}-git
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}-git"
|
||||
provides=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
conflicts=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
pkgver=r2034.ac4a47b
|
||||
pkgrel=1
|
||||
pkgdesc="GStreamer libav (mingw-w64)"
|
||||
arch=('any')
|
||||
url="https://gstreamer.freedesktop.org/"
|
||||
license=("LGPL")
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
|
||||
"${MINGW_PACKAGE_PREFIX}-pkg-config"
|
||||
"${MINGW_PACKAGE_PREFIX}-python2"
|
||||
"yasm")
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-bzip2"
|
||||
"${MINGW_PACKAGE_PREFIX}-gst-plugins-base-git")
|
||||
options=(!libtool strip staticlibs)
|
||||
source=("${_realname}::git+git://anongit.freedesktop.org/gstreamer/gst-libav")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/$_realname"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd ${srcdir}/${_realname}
|
||||
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
_pkgver=${_realname}-${pkgver} # How it's tagged in git
|
||||
|
||||
[[ -d "${srcdir}/build-${MINGW_CHOST}" ]] && rm -rf "${srcdir}/build-${MINGW_CHOST}"
|
||||
mkdir -p "${srcdir}/build-${MINGW_CHOST}"
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
|
||||
MSYSTEM=mingw32 \
|
||||
../${_realname}/configure \
|
||||
--prefix=${MINGW_PREFIX} \
|
||||
--build=${MINGW_CHOST} \
|
||||
--host=${MINGW_CHOST} \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--enable-silent-rules \
|
||||
--disable-gtk-doc
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
make -j1 DESTDIR="${pkgdir}" install
|
||||
|
||||
rm -f ${pkgdir}${MINGW_PREFIX}/lib/gstreamer*/*.a
|
||||
}
|
||||
@@ -12,11 +12,9 @@ license=("LGPL")
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
|
||||
"${MINGW_PACKAGE_PREFIX}-pkg-config"
|
||||
"${MINGW_PACKAGE_PREFIX}-python2"
|
||||
"yasm"
|
||||
)
|
||||
"yasm")
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-bzip2"
|
||||
"${MINGW_PACKAGE_PREFIX}-gst-plugins-base"
|
||||
"${MINGW_PACKAGE_PREFIX}-gstreamer")
|
||||
"${MINGW_PACKAGE_PREFIX}-gst-plugins-base")
|
||||
options=(!libtool strip staticlibs)
|
||||
source=(${url}/src/${_realname}/${_realname}-${pkgver}.tar.xz)
|
||||
sha256sums=('9006a05990089f7155ee0e848042f6bb24e52ab1d0a59ff8d1b5d7e33001a495')
|
||||
@@ -31,6 +29,7 @@ build() {
|
||||
[[ -d "${srcdir}/build-${MINGW_CHOST}" ]] && rm -rf "${srcdir}/build-${MINGW_CHOST}"
|
||||
mkdir -p "${srcdir}/build-${MINGW_CHOST}"
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
|
||||
MSYSTEM=mingw32 \
|
||||
../${_realname}-${pkgver}/configure \
|
||||
--prefix=${MINGW_PREFIX} \
|
||||
@@ -46,5 +45,6 @@ build() {
|
||||
package() {
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
make -j1 DESTDIR="${pkgdir}" install
|
||||
|
||||
rm -f ${pkgdir}${MINGW_PREFIX}/lib/gstreamer*/*.a
|
||||
}
|
||||
|
||||
1
mingw-w64-gst-plugins-bad-git/.gitignore
vendored
Normal file
1
mingw-w64-gst-plugins-bad-git/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
gst-plugins-bad
|
||||
22
mingw-w64-gst-plugins-bad-git/0005-Include-glext-h.patch
Normal file
22
mingw-w64-gst-plugins-bad-git/0005-Include-glext-h.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
diff -urN gst-plugins-bad-1.6.1.orig/tests/examples/gl/sdl/sdlshare.c gst-plugins-bad-1.6.1/tests/examples/gl/sdl/sdlshare.c
|
||||
--- gst-plugins-bad-1.6.1.orig/tests/examples/gl/sdl/sdlshare.c 2015-11-02 18:28:09.641044400 +0000
|
||||
+++ gst-plugins-bad-1.6.1/tests/examples/gl/sdl/sdlshare.c 2015-11-02 18:28:12.358449300 +0000
|
||||
@@ -26,6 +26,7 @@
|
||||
#endif
|
||||
|
||||
#include <GL/gl.h>
|
||||
+#include <GL/glext.h>
|
||||
#include "SDL/SDL.h"
|
||||
#include "SDL/SDL_opengl.h"
|
||||
|
||||
diff -urN gst-plugins-bad-1.6.1.orig/tests/examples/gl/sdl/sdlshare2.c gst-plugins-bad-1.6.1/tests/examples/gl/sdl/sdlshare2.c
|
||||
--- gst-plugins-bad-1.6.1.orig/tests/examples/gl/sdl/sdlshare2.c 2015-11-02 18:28:09.641044400 +0000
|
||||
+++ gst-plugins-bad-1.6.1/tests/examples/gl/sdl/sdlshare2.c 2015-11-02 18:28:12.358449300 +0000
|
||||
@@ -26,6 +26,7 @@
|
||||
#endif
|
||||
|
||||
#include <GL/gl.h>
|
||||
+#include <GL/glext.h>
|
||||
#include "SDL/SDL.h"
|
||||
#include "SDL/SDL_opengl.h"
|
||||
|
||||
22
mingw-w64-gst-plugins-bad-git/0006-No-X11-on-_WIN32.patch
Normal file
22
mingw-w64-gst-plugins-bad-git/0006-No-X11-on-_WIN32.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
--- gst-plugins-bad-1.6.1/tests/examples/gl/gtk/3dvideo/main.cpp.orig 2015-10-22 09:04:08.000000000 +0100
|
||||
+++ gst-plugins-bad-1.6.1/tests/examples/gl/gtk/3dvideo/main.cpp 2015-11-02 18:30:09.348270600 +0000
|
||||
@@ -23,7 +23,9 @@
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
+#if !defined(_WIN32)
|
||||
#include <X11/Xlib.h>
|
||||
+#endif
|
||||
|
||||
#include <gst/gst.h>
|
||||
#include <gtk/gtk.h>
|
||||
@@ -259,7 +261,9 @@
|
||||
GtkWidget *area, *combo, *w;
|
||||
const gchar *uri;
|
||||
|
||||
+#if !defined(_WIN32)
|
||||
XInitThreads ();
|
||||
+#endif
|
||||
|
||||
gst_init (&argc, &argv);
|
||||
gtk_init (&argc, &argv);
|
||||
101
mingw-w64-gst-plugins-bad-git/PKGBUILD
Normal file
101
mingw-w64-gst-plugins-bad-git/PKGBUILD
Normal file
@@ -0,0 +1,101 @@
|
||||
# Maintainer: Philippe Renon <philippe_renon@yahoo.fr>
|
||||
# Contributor: Alexey Pavlov <alexpux@gmail.com>
|
||||
# Contributor: Ray Donnelly <mingw.android@gmail.com>
|
||||
# Contributor: Marcin Sielski <marcin.sielski@motorolasolutions.com>
|
||||
|
||||
_realname=gst-plugins-bad
|
||||
pkgbase=mingw-w64-${_realname}-git
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}-git"
|
||||
provides=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
conflicts=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
pkgver=r21805.2b44392
|
||||
pkgrel=1
|
||||
pkgdesc="GStreamer Multimedia Framework Bad Plugins (mingw-w64)"
|
||||
arch=('any')
|
||||
url="https://gstreamer.freedesktop.org/"
|
||||
license=("LGPL")
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
|
||||
"${MINGW_PACKAGE_PREFIX}-pkg-config"
|
||||
"${MINGW_PACKAGE_PREFIX}-gobject-introspection")
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-celt"
|
||||
"${MINGW_PACKAGE_PREFIX}-chromaprint"
|
||||
"${MINGW_PACKAGE_PREFIX}-clutter"
|
||||
"${MINGW_PACKAGE_PREFIX}-curl"
|
||||
"${MINGW_PACKAGE_PREFIX}-daala"
|
||||
"${MINGW_PACKAGE_PREFIX}-faad2"
|
||||
"${MINGW_PACKAGE_PREFIX}-faac"
|
||||
"${MINGW_PACKAGE_PREFIX}-fluidsynth"
|
||||
"${MINGW_PACKAGE_PREFIX}-gnutls"
|
||||
"${MINGW_PACKAGE_PREFIX}-gsm"
|
||||
"${MINGW_PACKAGE_PREFIX}-gst-plugins-base-git"
|
||||
"${MINGW_PACKAGE_PREFIX}-gtk3"
|
||||
"${MINGW_PACKAGE_PREFIX}-libdca"
|
||||
"${MINGW_PACKAGE_PREFIX}-libdvdnav"
|
||||
"${MINGW_PACKAGE_PREFIX}-libexif"
|
||||
"${MINGW_PACKAGE_PREFIX}-libgme"
|
||||
"${MINGW_PACKAGE_PREFIX}-libjpeg"
|
||||
"${MINGW_PACKAGE_PREFIX}-libmimic"
|
||||
"${MINGW_PACKAGE_PREFIX}-libmodplug"
|
||||
"${MINGW_PACKAGE_PREFIX}-libmpeg2"
|
||||
"${MINGW_PACKAGE_PREFIX}-libpng"
|
||||
"${MINGW_PACKAGE_PREFIX}-librsvg"
|
||||
"${MINGW_PACKAGE_PREFIX}-libsrtp"
|
||||
"${MINGW_PACKAGE_PREFIX}-libwebp"
|
||||
"${MINGW_PACKAGE_PREFIX}-libxml2"
|
||||
"${MINGW_PACKAGE_PREFIX}-mpg123"
|
||||
"${MINGW_PACKAGE_PREFIX}-nettle"
|
||||
"${MINGW_PACKAGE_PREFIX}-openal"
|
||||
"${MINGW_PACKAGE_PREFIX}-opencv"
|
||||
"${MINGW_PACKAGE_PREFIX}-openexr"
|
||||
"${MINGW_PACKAGE_PREFIX}-openjpeg2"
|
||||
"${MINGW_PACKAGE_PREFIX}-opus"
|
||||
"${MINGW_PACKAGE_PREFIX}-orc"
|
||||
"${MINGW_PACKAGE_PREFIX}-schroedinger"
|
||||
"${MINGW_PACKAGE_PREFIX}-soundtouch"
|
||||
"${MINGW_PACKAGE_PREFIX}-openh264")
|
||||
options=(!libtool strip staticlibs)
|
||||
source=("${_realname}::git+git://anongit.freedesktop.org/gstreamer/gst-plugins-bad"
|
||||
"0005-Include-glext-h.patch"
|
||||
"0006-No-X11-on-_WIN32.patch")
|
||||
sha256sums=('SKIP'
|
||||
'439436d02724c07af95f509647238f271f4717958dcf42dc5adb5a8e6a2108e7'
|
||||
'da9b9c1cf8ce5ee77f7963a6ffecc2abfbc8d0e3c4ea88a49646c0c98a480e46')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/$_realname"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}"/${_realname}
|
||||
patch -p1 -i "${srcdir}"/0005-Include-glext-h.patch
|
||||
patch -p1 -i "${srcdir}"/0006-No-X11-on-_WIN32.patch
|
||||
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
_pkgver=${_realname}-${pkgver} # How it's tagged in git
|
||||
|
||||
[[ -d "${srcdir}/build-${MINGW_CHOST}" ]] && rm -rf "${srcdir}/build-${MINGW_CHOST}"
|
||||
mkdir -p "${srcdir}/build-${MINGW_CHOST}"
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
../${_realname}/configure \
|
||||
--prefix=${MINGW_PREFIX} \
|
||||
--build=${MINGW_CHOST} \
|
||||
--host=${MINGW_CHOST} \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-silent-rules \
|
||||
--enable-experimental \
|
||||
--disable-gtk-doc \
|
||||
--with-gtk=3.0
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
make -j1 DESTDIR="${pkgdir}" install
|
||||
|
||||
rm -f ${pkgdir}${MINGW_PREFIX}/lib/gstreamer*/*.a
|
||||
}
|
||||
@@ -65,6 +65,7 @@ prepare() {
|
||||
patch -p1 -i "${srcdir}"/0005-Include-glext-h.patch
|
||||
patch -p1 -i "${srcdir}"/0006-No-X11-on-_WIN32.patch
|
||||
patch -p1 -i "${srcdir}"/0007-daala-fix-typo-related-compilation-error.patch
|
||||
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
@@ -85,7 +86,6 @@ build() {
|
||||
--enable-experimental \
|
||||
--disable-gtk-doc \
|
||||
--with-gtk=3.0
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
|
||||
1
mingw-w64-gst-plugins-base-git/.gitignore
vendored
Normal file
1
mingw-w64-gst-plugins-base-git/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
gst-plugins-base
|
||||
67
mingw-w64-gst-plugins-base-git/PKGBUILD
Normal file
67
mingw-w64-gst-plugins-base-git/PKGBUILD
Normal file
@@ -0,0 +1,67 @@
|
||||
# Maintainer: Philippe Renon <philippe_renon@yahoo.fr>
|
||||
# Contributor: Alexey Pavlov <alexpux@gmail.com>
|
||||
|
||||
_realname=gst-plugins-base
|
||||
pkgbase=mingw-w64-${_realname}-git
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}-git"
|
||||
provides=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
conflicts=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
pkgver=r15566.a1a2a33
|
||||
pkgrel=1
|
||||
pkgdesc="GStreamer Multimedia Framework Base Plugins (mingw-w64)"
|
||||
arch=('any')
|
||||
url="https://gstreamer.freedesktop.org/"
|
||||
license=("LGPL")
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
|
||||
"${MINGW_PACKAGE_PREFIX}-pkg-config"
|
||||
"${MINGW_PACKAGE_PREFIX}-gobject-introspection")
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-freetype"
|
||||
"${MINGW_PACKAGE_PREFIX}-libvorbis"
|
||||
"${MINGW_PACKAGE_PREFIX}-libtheora"
|
||||
"${MINGW_PACKAGE_PREFIX}-libvorbisidec"
|
||||
"${MINGW_PACKAGE_PREFIX}-pango"
|
||||
#"${MINGW_PACKAGE_PREFIX}-libvisual"
|
||||
#"${MINGW_PACKAGE_PREFIX}-cdparanoia"
|
||||
"${MINGW_PACKAGE_PREFIX}-gstreamer-git"
|
||||
"${MINGW_PACKAGE_PREFIX}-orc")
|
||||
options=(!libtool strip staticlibs)
|
||||
source=("${_realname}::git+git://anongit.freedesktop.org/gstreamer/gst-plugins-base")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/$_realname"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd ${srcdir}/${_realname}
|
||||
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
_pkgver=${_realname}-${pkgver} # How it's tagged in git
|
||||
|
||||
[[ -d "${srcdir}/build-${MINGW_CHOST}" ]] && rm -rf "${srcdir}/build-${MINGW_CHOST}"
|
||||
mkdir -p "${srcdir}/build-${MINGW_CHOST}"
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
|
||||
../${_realname}/configure \
|
||||
--prefix=${MINGW_PREFIX} \
|
||||
--build=${MINGW_CHOST} \
|
||||
--host=${MINGW_CHOST} \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--enable-silent-rules \
|
||||
--enable-experimental \
|
||||
--disable-gtk-doc
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
make -j1 DESTDIR="${pkgdir}" install
|
||||
|
||||
find "${pkgdir}${MINGW_PREFIX}" -name '*.def' -o -name '*.exp' | xargs -rtl1 rm
|
||||
rm -f ${pkgdir}${MINGW_PREFIX}/lib/gstreamer*/*.a
|
||||
}
|
||||
@@ -11,8 +11,7 @@ url="https://gstreamer.freedesktop.org/"
|
||||
license=("LGPL")
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
|
||||
"${MINGW_PACKAGE_PREFIX}-pkg-config"
|
||||
"${MINGW_PACKAGE_PREFIX}-gobject-introspection"
|
||||
)
|
||||
"${MINGW_PACKAGE_PREFIX}-gobject-introspection")
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-freetype"
|
||||
"${MINGW_PACKAGE_PREFIX}-libvorbis"
|
||||
"${MINGW_PACKAGE_PREFIX}-libtheora"
|
||||
@@ -21,8 +20,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-freetype"
|
||||
#"${MINGW_PACKAGE_PREFIX}-libvisual"
|
||||
#"${MINGW_PACKAGE_PREFIX}-cdparanoia"
|
||||
"${MINGW_PACKAGE_PREFIX}-gstreamer"
|
||||
"${MINGW_PACKAGE_PREFIX}-orc"
|
||||
)
|
||||
"${MINGW_PACKAGE_PREFIX}-orc")
|
||||
options=(!libtool strip staticlibs)
|
||||
source=(${url}/src/${_realname}/${_realname}-${pkgver}.tar.xz
|
||||
0002-fix-test-running.mingw.patch
|
||||
@@ -35,6 +33,7 @@ prepare() {
|
||||
cd ${srcdir}/${_realname}-${pkgver}
|
||||
patch -p1 -i ${srcdir}/0002-fix-test-running.mingw.patch
|
||||
patch -p1 -i ${srcdir}/0006-disable-sse-detection.mingw.patch
|
||||
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
@@ -42,6 +41,7 @@ build() {
|
||||
[[ -d "${srcdir}/build-${MINGW_CHOST}" ]] && rm -rf "${srcdir}/build-${MINGW_CHOST}"
|
||||
mkdir -p "${srcdir}/build-${MINGW_CHOST}"
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
|
||||
../${_realname}-${pkgver}/configure \
|
||||
--prefix=${MINGW_PREFIX} \
|
||||
--build=${MINGW_CHOST} \
|
||||
@@ -57,6 +57,7 @@ build() {
|
||||
package() {
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
make -j1 DESTDIR="${pkgdir}" install
|
||||
|
||||
find "${pkgdir}${MINGW_PREFIX}" -name '*.def' -o -name '*.exp' | xargs -rtl1 rm
|
||||
rm -f ${pkgdir}${MINGW_PREFIX}/lib/gstreamer*/*.a
|
||||
}
|
||||
|
||||
1
mingw-w64-gst-plugins-good-git/.gitignore
vendored
Normal file
1
mingw-w64-gst-plugins-good-git/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
gst-plugins-good
|
||||
69
mingw-w64-gst-plugins-good-git/PKGBUILD
Normal file
69
mingw-w64-gst-plugins-good-git/PKGBUILD
Normal file
@@ -0,0 +1,69 @@
|
||||
# Maintainer: Philippe Renon <philippe_renon@yahoo.fr>
|
||||
# Contributor: Alexey Pavlov <alexpux@gmail.com>
|
||||
|
||||
_realname=gst-plugins-good
|
||||
pkgbase=mingw-w64-${_realname}-git
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}-git"
|
||||
provides=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
conflicts=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
pkgver=r16326.7fb278d
|
||||
pkgrel=1
|
||||
pkgdesc="GStreamer Multimedia Framework Base Plugins (mingw-w64)"
|
||||
arch=('any')
|
||||
url="https://gstreamer.freedesktop.org/"
|
||||
license=("LGPL")
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
|
||||
"${MINGW_PACKAGE_PREFIX}-pkg-config"
|
||||
"${MINGW_PACKAGE_PREFIX}-python2")
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-cairo"
|
||||
"${MINGW_PACKAGE_PREFIX}-flac"
|
||||
"${MINGW_PACKAGE_PREFIX}-gdk-pixbuf2"
|
||||
"${MINGW_PACKAGE_PREFIX}-gst-plugins-base-git"
|
||||
"${MINGW_PACKAGE_PREFIX}-libcaca"
|
||||
"${MINGW_PACKAGE_PREFIX}-libshout"
|
||||
"${MINGW_PACKAGE_PREFIX}-libsoup"
|
||||
"${MINGW_PACKAGE_PREFIX}-libvpx"
|
||||
"${MINGW_PACKAGE_PREFIX}-speex"
|
||||
"${MINGW_PACKAGE_PREFIX}-taglib"
|
||||
"${MINGW_PACKAGE_PREFIX}-wavpack")
|
||||
options=(!libtool strip staticlibs)
|
||||
source=("${_realname}::git+git://anongit.freedesktop.org/gstreamer/gst-plugins-good")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/$_realname"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd ${srcdir}/${_realname}
|
||||
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
_pkgver=${_realname}-${pkgver} # How it's tagged in git
|
||||
|
||||
[[ -d "${srcdir}/build-${MINGW_CHOST}" ]] && rm -rf "${srcdir}/build-${MINGW_CHOST}"
|
||||
mkdir -p "${srcdir}/build-${MINGW_CHOST}"
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
|
||||
../${_realname}/configure \
|
||||
--prefix=${MINGW_PREFIX} \
|
||||
--build=${MINGW_CHOST} \
|
||||
--host=${MINGW_CHOST} \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--enable-silent-rules \
|
||||
--enable-experimental \
|
||||
--disable-gtk-doc
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
make -j1 DESTDIR="${pkgdir}" install
|
||||
|
||||
find "${pkgdir}${MINGW_PREFIX}" -name '*.def' -o -name '*.exp' | xargs -rtl1 rm
|
||||
rm -f ${pkgdir}${MINGW_PREFIX}/lib/gstreamer*/*.a
|
||||
}
|
||||
@@ -11,12 +11,10 @@ url="https://gstreamer.freedesktop.org/"
|
||||
license=("LGPL")
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
|
||||
"${MINGW_PACKAGE_PREFIX}-pkg-config"
|
||||
"${MINGW_PACKAGE_PREFIX}-python2"
|
||||
)
|
||||
"${MINGW_PACKAGE_PREFIX}-python2")
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-cairo"
|
||||
"${MINGW_PACKAGE_PREFIX}-flac"
|
||||
"${MINGW_PACKAGE_PREFIX}-gdk-pixbuf2"
|
||||
"${MINGW_PACKAGE_PREFIX}-gstreamer"
|
||||
"${MINGW_PACKAGE_PREFIX}-gst-plugins-base"
|
||||
"${MINGW_PACKAGE_PREFIX}-libcaca"
|
||||
"${MINGW_PACKAGE_PREFIX}-libshout"
|
||||
@@ -24,8 +22,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-cairo"
|
||||
"${MINGW_PACKAGE_PREFIX}-libvpx"
|
||||
"${MINGW_PACKAGE_PREFIX}-speex"
|
||||
"${MINGW_PACKAGE_PREFIX}-taglib"
|
||||
"${MINGW_PACKAGE_PREFIX}-wavpack"
|
||||
)
|
||||
"${MINGW_PACKAGE_PREFIX}-wavpack")
|
||||
options=(!libtool strip staticlibs)
|
||||
source=(${url}/src/${_realname}/${_realname}-${pkgver}.tar.xz
|
||||
0002-fix-test-running.mingw.patch
|
||||
@@ -47,6 +44,7 @@ build() {
|
||||
mkdir -p "${srcdir}/build-${MINGW_CHOST}"
|
||||
#cp -r "${srcdir}/${_realname}-${pkgver}" "${srcdir}/build-${MINGW_CHOST}"
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
|
||||
../${_realname}-${pkgver}/configure \
|
||||
--prefix=${MINGW_PREFIX} \
|
||||
--build=${MINGW_CHOST} \
|
||||
@@ -56,13 +54,13 @@ build() {
|
||||
--enable-silent-rules \
|
||||
--enable-experimental \
|
||||
--disable-gtk-doc
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
make -j1 DESTDIR="${pkgdir}" install
|
||||
|
||||
find "${pkgdir}${MINGW_PREFIX}" -name '*.def' -o -name '*.exp' | xargs -rtl1 rm
|
||||
rm -f ${pkgdir}${MINGW_PREFIX}/lib/gstreamer*/*.a
|
||||
}
|
||||
|
||||
1
mingw-w64-gst-plugins-ugly-git/.gitignore
vendored
Normal file
1
mingw-w64-gst-plugins-ugly-git/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
gst-plugins-ugly
|
||||
68
mingw-w64-gst-plugins-ugly-git/PKGBUILD
Normal file
68
mingw-w64-gst-plugins-ugly-git/PKGBUILD
Normal file
@@ -0,0 +1,68 @@
|
||||
# Maintainer: Philippe Renon <philippe_renon@yahoo.fr>
|
||||
# Contributor: Alexey Pavlov <alexpux@gmail.com>
|
||||
|
||||
_realname=gst-plugins-ugly
|
||||
pkgbase=mingw-w64-${_realname}-git
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}-git"
|
||||
provides=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
conflicts=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
pkgver=r5356.4161c2e
|
||||
pkgrel=1
|
||||
pkgdesc="GStreamer Multimedia Framework Ugly Plugins (mingw-w64)"
|
||||
arch=('any')
|
||||
url="https://gstreamer.freedesktop.org/"
|
||||
license=("LGPL")
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
|
||||
"${MINGW_PACKAGE_PREFIX}-pkg-config"
|
||||
"${MINGW_PACKAGE_PREFIX}-python2")
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-a52dec"
|
||||
"${MINGW_PACKAGE_PREFIX}-gst-plugins-base-git"
|
||||
"${MINGW_PACKAGE_PREFIX}-lame"
|
||||
"${MINGW_PACKAGE_PREFIX}-libdvdread"
|
||||
"${MINGW_PACKAGE_PREFIX}-libmad"
|
||||
"${MINGW_PACKAGE_PREFIX}-libmpeg2"
|
||||
"${MINGW_PACKAGE_PREFIX}-libcdio"
|
||||
"${MINGW_PACKAGE_PREFIX}-opencore-amr"
|
||||
"${MINGW_PACKAGE_PREFIX}-twolame"
|
||||
"${MINGW_PACKAGE_PREFIX}-x264")
|
||||
options=(!libtool strip staticlibs)
|
||||
source=("${_realname}::git+git://anongit.freedesktop.org/gstreamer/gst-plugins-ugly")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/$_realname"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd ${srcdir}/${_realname}
|
||||
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
_pkgver=${_realname}-${pkgver} # How it's tagged in git
|
||||
|
||||
[[ -d "${srcdir}/build-${MINGW_CHOST}" ]] && rm -rf "${srcdir}/build-${MINGW_CHOST}"
|
||||
mkdir -p "${srcdir}/build-${MINGW_CHOST}"
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
|
||||
../${_realname}/configure \
|
||||
--prefix=${MINGW_PREFIX} \
|
||||
--build=${MINGW_CHOST} \
|
||||
--host=${MINGW_CHOST} \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--enable-silent-rules \
|
||||
--enable-experimental \
|
||||
--disable-gtk-doc
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
make -j1 DESTDIR="${pkgdir}" install
|
||||
|
||||
find "${pkgdir}${MINGW_PREFIX}" -name '*.def' -o -name '*.exp' | xargs -rtl1 rm
|
||||
rm -f ${pkgdir}${MINGW_PREFIX}/lib/gstreamer*/*.a
|
||||
}
|
||||
@@ -11,11 +11,9 @@ url="https://gstreamer.freedesktop.org/"
|
||||
license=("LGPL")
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
|
||||
"${MINGW_PACKAGE_PREFIX}-pkg-config"
|
||||
"${MINGW_PACKAGE_PREFIX}-python2"
|
||||
)
|
||||
"${MINGW_PACKAGE_PREFIX}-python2")
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-a52dec"
|
||||
"${MINGW_PACKAGE_PREFIX}-gst-plugins-base"
|
||||
"${MINGW_PACKAGE_PREFIX}-gstreamer"
|
||||
"${MINGW_PACKAGE_PREFIX}-lame"
|
||||
"${MINGW_PACKAGE_PREFIX}-libdvdread"
|
||||
"${MINGW_PACKAGE_PREFIX}-libmad"
|
||||
@@ -23,8 +21,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-a52dec"
|
||||
"${MINGW_PACKAGE_PREFIX}-libcdio"
|
||||
"${MINGW_PACKAGE_PREFIX}-opencore-amr"
|
||||
"${MINGW_PACKAGE_PREFIX}-twolame"
|
||||
"${MINGW_PACKAGE_PREFIX}-x264"
|
||||
)
|
||||
"${MINGW_PACKAGE_PREFIX}-x264")
|
||||
options=(!libtool strip staticlibs)
|
||||
source=(${url}/src/${_realname}/${_realname}-${pkgver}.tar.xz)
|
||||
sha256sums=('6fa2599fdd072d31fbaf50c34af406e2be944a010b1f4eab67a5fe32a0310693')
|
||||
@@ -39,6 +36,7 @@ build() {
|
||||
rm -rf "${srcdir}/build-${MINGW_CHOST}"
|
||||
mkdir -p "${srcdir}/build-${MINGW_CHOST}"
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
|
||||
../${_realname}-${pkgver}/configure \
|
||||
--prefix=${MINGW_PREFIX} \
|
||||
--build=${MINGW_CHOST} \
|
||||
@@ -48,13 +46,13 @@ build() {
|
||||
--enable-silent-rules \
|
||||
--enable-experimental \
|
||||
--disable-gtk-doc
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
make -j1 DESTDIR="$pkgdir" install
|
||||
|
||||
find "${pkgdir}${MINGW_PREFIX}" -name '*.def' -o -name '*.exp' | xargs -rtl1 rm
|
||||
rm -f ${pkgdir}${MINGW_PREFIX}/lib/gstreamer*/*.a
|
||||
}
|
||||
|
||||
1
mingw-w64-gst-python-git/.gitignore
vendored
Normal file
1
mingw-w64-gst-python-git/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
gst-python
|
||||
@@ -0,0 +1,25 @@
|
||||
From 57d1f7e6b49149dd0f48ce9c5891f499ab689925 Mon Sep 17 00:00:00 2001
|
||||
From: Lubosz Sarnecki <lubosz@gmail.com>
|
||||
Date: Thu, 31 Jul 2014 11:50:50 +0200
|
||||
Subject: [PATCH 1/2] msys2: python3-config returns 1, so use which
|
||||
|
||||
---
|
||||
acinclude.m4 | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/acinclude.m4 b/acinclude.m4
|
||||
index c0d1a5e..4ecce7e 100644
|
||||
--- a/acinclude.m4
|
||||
+++ b/acinclude.m4
|
||||
@@ -45,7 +45,7 @@ AC_MSG_CHECKING(for headers required to compile python extensions)
|
||||
dnl deduce PYTHON_INCLUDES
|
||||
py_prefix=`$PYTHON -c "import sys; print(sys.prefix)"`
|
||||
py_exec_prefix=`$PYTHON -c "import sys; print(sys.exec_prefix)"`
|
||||
-if $PYTHON-config --help 1>/dev/null 2>/dev/null; then
|
||||
+if which $PYTHON-config; then
|
||||
PYTHON_INCLUDES=`$PYTHON-config --includes 2>/dev/null`
|
||||
if $PYTHON-config --abiflags 1>/dev/null 2>/dev/null; then
|
||||
PYTHON_ABI_FLAGS=`$PYTHON-config --abiflags 2>/dev/null`
|
||||
--
|
||||
2.0.4
|
||||
|
||||
43
mingw-w64-gst-python-git/0002-msys2-fix-linking-errors.patch
Normal file
43
mingw-w64-gst-python-git/0002-msys2-fix-linking-errors.patch
Normal file
@@ -0,0 +1,43 @@
|
||||
From 835e75d3e98a2860ffec1ffb4e4969a90efdee66 Mon Sep 17 00:00:00 2001
|
||||
From: Lubosz Sarnecki <lubosz@gmail.com>
|
||||
Date: Thu, 31 Jul 2014 12:32:21 +0200
|
||||
Subject: [PATCH 2/2] msys2: fix linking errors
|
||||
|
||||
* add python lib manually
|
||||
* fix libtool error: add no-undefined flag
|
||||
* add glib libs
|
||||
* add gmodule library manually
|
||||
---
|
||||
gi/overrides/Makefile.am | 4 ++--
|
||||
plugin/Makefile.am | 4 ++--
|
||||
2 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/gi/overrides/Makefile.am b/gi/overrides/Makefile.am
|
||||
index ee94f7c..4f04707 100644
|
||||
--- a/gi/overrides/Makefile.am
|
||||
+++ b/gi/overrides/Makefile.am
|
||||
@@ -1,6 +1,6 @@
|
||||
common_cflags = $(PYGOBJECT_CFLAGS) $(GST_CFLAGS) -fno-strict-aliasing
|
||||
-common_libadd = $(GST_LIBS) $(PYGOBJECT_LIBS)
|
||||
-common_ldflags = -module -avoid-version -shrext $(PYTHON_SO)
|
||||
+common_libadd = $(PYTHON_LIBS) $(GST_LIBS) $(PYGOBJECT_LIBS)
|
||||
+common_ldflags = -module -avoid-version -no-undefined -shrext $(PYTHON_SO)
|
||||
|
||||
# We install everything in the gi/overrides folder
|
||||
pygioverridesdir = $(PYGI_OVERRIDES_DIR)
|
||||
diff --git a/plugin/Makefile.am b/plugin/Makefile.am
|
||||
index 042c2bc..4a9b60d 100644
|
||||
--- a/plugin/Makefile.am
|
||||
+++ b/plugin/Makefile.am
|
||||
@@ -8,6 +8,6 @@ INCLUDES = $(PYGOBJECT_CFLAGS) $(GST_CFLAGS)\
|
||||
$(PYTHON_INCLUDES)
|
||||
|
||||
libgstpythonplugin_la_SOURCES = gstpythonplugin.c
|
||||
-libgstpythonplugin_la_LDFLAGS = -avoid-version -shrext $(PYTHON_SO)
|
||||
-libgstpythonplugin_la_LIBADD = $(PYTHON_LIBS) $(PYGOBJECT_LIBS) $(GST_LIBS)
|
||||
+libgstpythonplugin_la_LDFLAGS = -avoid-version -no-undefined -shrext $(PYTHON_SO)
|
||||
+libgstpythonplugin_la_LIBADD = $(PYTHON_LIBS) $(PYGOBJECT_LIBS) $(GST_LIBS) -lgmodule-2.0
|
||||
libgstpythonplugin_la_CFLAGS = $(GST_CFLAGS) $(PYGOBJECT_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(PYTHON_INCLUDES)
|
||||
--
|
||||
2.0.4
|
||||
|
||||
48
mingw-w64-gst-python-git/0004-add-overrides.patch
Normal file
48
mingw-w64-gst-python-git/0004-add-overrides.patch
Normal file
@@ -0,0 +1,48 @@
|
||||
diff --git a/gi/__init__.py b/gi/__init__.py
|
||||
new file mode 100644
|
||||
index 0000000..09d180b
|
||||
--- /dev/null
|
||||
+++ b/gi/__init__.py
|
||||
@@ -0,0 +1,29 @@
|
||||
+#!/usr/bin/env python
|
||||
+#
|
||||
+# __init__.py
|
||||
+#
|
||||
+# Copyright (C) 2012 Thibault Saunier <thibaul.saunier@collabora.com>
|
||||
+#
|
||||
+# This program is free software; you can redistribute it and/or
|
||||
+# modify it under the terms of the GNU Lesser General Public
|
||||
+# License as published by the Free Software Foundation; either
|
||||
+# version 2.1 of the License, or (at your option) any later version.
|
||||
+#
|
||||
+# This program is distributed in the hope that it will be useful,
|
||||
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
+# Lesser General Public License for more details.
|
||||
+#
|
||||
+# You should have received a copy of the GNU Lesser General Public
|
||||
+# License along with this program; if not, write to the
|
||||
+# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
+# Boston, MA 02111-1307, USA.
|
||||
+# This program is free software; you can redistribute it and/or modify
|
||||
+# it under the terms of the GNU General Public License as published by
|
||||
+# the Free Software Foundation; either version 3, or (at your option)
|
||||
+# any later version.
|
||||
+
|
||||
+
|
||||
+from pkgutil import extend_path
|
||||
+
|
||||
+__path__ = extend_path(__path__, __name__)
|
||||
diff --git a/gi/overrides/__init__.py b/gi/overrides/__init__.py
|
||||
new file mode 100644
|
||||
index 0000000..802630a
|
||||
--- /dev/null
|
||||
+++ b/gi/overrides/__init__.py
|
||||
@@ -0,0 +1,4 @@
|
||||
+from pkgutil import extend_path
|
||||
+
|
||||
+__path__ = extend_path(__path__, __name__)
|
||||
+print __path__, __name__
|
||||
--
|
||||
cgit v0.10.2
|
||||
|
||||
14
mingw-w64-gst-python-git/0005-unix-override-dir.patch
Normal file
14
mingw-w64-gst-python-git/0005-unix-override-dir.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
--- gst-python-1.4.0/configure.ac.orig 2015-07-21 14:34:06.163625200 +0300
|
||||
+++ gst-python-1.4.0/configure.ac 2015-07-21 14:34:25.981643200 +0300
|
||||
@@ -101,11 +101,7 @@
|
||||
|
||||
AC_MSG_CHECKING(for pygobject overrides directory)
|
||||
if test "x$with_pygi_overrides_dir" = "x" ; then
|
||||
- overrides_dir="`$PYTHON -c 'import gi; print(gi._overridesdir)' 2>/dev/null`"
|
||||
- # fallback if the previous failed
|
||||
- if test "x$overrides_dir" = "x" ; then
|
||||
overrides_dir="${pyexecdir}/gi/overrides"
|
||||
- fi
|
||||
else
|
||||
overrides_dir="$with_pygi_overrides_dir"
|
||||
fi
|
||||
63
mingw-w64-gst-python-git/PKGBUILD
Normal file
63
mingw-w64-gst-python-git/PKGBUILD
Normal file
@@ -0,0 +1,63 @@
|
||||
# Maintainer: Philippe Renon <philippe_renon@yahoo.fr>
|
||||
# Contributor: Lubosz Sarnecki <lubosz@gmail.com>
|
||||
|
||||
_realname=gst-python
|
||||
pkgbase=mingw-w64-${_realname}-git
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}-git"
|
||||
replaces=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
pkgver=1.8.3
|
||||
pkgrel=1
|
||||
pkgdesc="GStreamer GObject Introspection overrides for Python 3 (mingw-w64)"
|
||||
arch=('any')
|
||||
license=('LGPL')
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-gstreamer-git"
|
||||
"${MINGW_PACKAGE_PREFIX}-python3-gobject"
|
||||
"${MINGW_PACKAGE_PREFIX}-gobject-introspection")
|
||||
makedepends=('git')
|
||||
url='https://gstreamer.freedesktop.org/modules/gst-python.html'
|
||||
options=(!libtool strip staticlibs)
|
||||
|
||||
source=(https://gstreamer.freedesktop.org/src/gst-python/${_realname}-${pkgver}.tar.xz
|
||||
'0001-msys2-python3-config-returns-1-so-use-which.patch'
|
||||
'0002-msys2-fix-linking-errors.patch'
|
||||
'0004-add-overrides.patch'
|
||||
'0005-unix-override-dir.patch')
|
||||
sha256sums=('149e7b9c2c361832bc765d39bce004d1ffe1b330c09c42dc902ca48867e804ce'
|
||||
'836cf2e9e713705e5fd0f09d4e38d3de839a3c663eb6fa85f0a3f9a5f0b224ee'
|
||||
'dc4cd0f1890d82e5d09e667763b6a7c1731864e3ddfe4f0ff42d3e83de4def20'
|
||||
'04f94d86379280d6a4d7970dd149f31ef9ea04f5151dc6f9be474069570366ac'
|
||||
'00803a24df44a66e6116b1a01fa381903216a4409a4926e05b43a34dea224c08')
|
||||
|
||||
prepare() {
|
||||
cd ${_realname}-${pkgver}
|
||||
patch -p1 -i ${srcdir}/0001-msys2-python3-config-returns-1-so-use-which.patch
|
||||
patch -p1 -i ${srcdir}/0002-msys2-fix-linking-errors.patch
|
||||
patch -p1 -i ${srcdir}/0004-add-overrides.patch
|
||||
patch -p1 -i ${srcdir}/0005-unix-override-dir.patch
|
||||
|
||||
WANT_AUTOMAKE=latest autoreconf -fiv
|
||||
}
|
||||
|
||||
build() {
|
||||
[[ -d "${srcdir}/build-${MINGW_CHOST}" ]] && rm -rf "${srcdir}/build-${MINGW_CHOST}"
|
||||
mkdir -p build-${MINGW_CHOST}
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
|
||||
PYTHON=${MINGW_PREFIX}/bin/python3 \
|
||||
../${_realname}-${pkgver}/configure \
|
||||
--prefix=${MINGW_PREFIX} \
|
||||
--bindir=${MINGW_PREFIX}/bin \
|
||||
--build=${MINGW_CHOST} \
|
||||
--host=${MINGW_CHOST} \
|
||||
--target=${MINGW_CHOST} \
|
||||
--disable-silent-rules
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build-${MINGW_CHOST}
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
mv ${pkgdir}${MINGW_PREFIX}/lib/bin/*.dll ${pkgdir}${MINGW_PREFIX}/lib/gstreamer-1.0/
|
||||
rm -rf ${pkgdir}${MINGW_PREFIX}/lib/bin
|
||||
}
|
||||
@@ -3,7 +3,6 @@
|
||||
_realname=gst-python
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
replaces=("${MINGW_PACKAGE_PREFIX}-${_realname}-git")
|
||||
pkgver=1.8.3
|
||||
pkgrel=1
|
||||
pkgdesc="GStreamer GObject Introspection overrides for Python 3 (mingw-w64)"
|
||||
@@ -50,7 +49,6 @@ build() {
|
||||
--host=${MINGW_CHOST} \
|
||||
--target=${MINGW_CHOST} \
|
||||
--disable-silent-rules
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
|
||||
59
mingw-w64-gst-rtsp-server-git/PKGBUILD
Normal file
59
mingw-w64-gst-rtsp-server-git/PKGBUILD
Normal file
@@ -0,0 +1,59 @@
|
||||
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
|
||||
|
||||
_realname=gst-rtsp-server
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
pkgver=1.10.0
|
||||
pkgrel=1
|
||||
pkgdesc="GStreamer RTSP server library (mingw-w64)"
|
||||
arch=('any')
|
||||
url="https://gstreamer.freedesktop.org/"
|
||||
license=("LGPL")
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
|
||||
"${MINGW_PACKAGE_PREFIX}-pkg-config"
|
||||
"${MINGW_PACKAGE_PREFIX}-gobject-introspection"
|
||||
"intltool"
|
||||
"gtk-doc"
|
||||
"flex"
|
||||
"bison")
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
|
||||
"${MINGW_PACKAGE_PREFIX}-glib2"
|
||||
"${MINGW_PACKAGE_PREFIX}-gettext"
|
||||
"${MINGW_PACKAGE_PREFIX}-gstreamer-git"
|
||||
"${MINGW_PACKAGE_PREFIX}-gst-plugins-base-git"
|
||||
"${MINGW_PACKAGE_PREFIX}-gst-plugins-good-git"
|
||||
"${MINGW_PACKAGE_PREFIX}-gst-plugins-ugly-git"
|
||||
"${MINGW_PACKAGE_PREFIX}-gst-plugins-bad-git")
|
||||
options=(!libtool strip staticlibs)
|
||||
source=(${url}/src/${_realname}/${_realname}-${pkgver}.tar.xz)
|
||||
sha256sums=('aa72a94cccdd2387ad25dc65c5c0b1f76269c3997cbde348232eec2a1565b3cd')
|
||||
|
||||
prepare() {
|
||||
cd ${srcdir}/${_realname}-${pkgver}
|
||||
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
[[ -d "${srcdir}/build-${MINGW_CHOST}" ]] && rm -rf "${srcdir}/build-${MINGW_CHOST}"
|
||||
mkdir -p "${srcdir}/build-${MINGW_CHOST}"
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
../${_realname}-${pkgver}/configure \
|
||||
--prefix=${MINGW_PREFIX} \
|
||||
--build=${MINGW_CHOST} \
|
||||
--host=${MINGW_CHOST} \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--enable-silent-rules \
|
||||
--enable-experimental \
|
||||
--disable-gtk-doc
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
make -j1 DESTDIR="${pkgdir}" install
|
||||
find "${pkgdir}${MINGW_PREFIX}" -name '*.def' -o -name '*.exp' | xargs -rtl1 rm
|
||||
rm -f ${pkgdir}${MINGW_PREFIX}/lib/gstreamer*/*.a
|
||||
}
|
||||
1
mingw-w64-gstreamer-git/.gitignore
vendored
Normal file
1
mingw-w64-gstreamer-git/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
gstreamer
|
||||
82
mingw-w64-gstreamer-git/PKGBUILD
Normal file
82
mingw-w64-gstreamer-git/PKGBUILD
Normal file
@@ -0,0 +1,82 @@
|
||||
# Maintainer: Philippe Renon <philippe_renon@yahoo.fr>
|
||||
# Contributor: Alexey Pavlov <alexpux@gmail.com>
|
||||
|
||||
_realname=gstreamer
|
||||
pkgbase=mingw-w64-${_realname}-git
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}-git"
|
||||
provides=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
conflicts=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
pkgver=r17279.f08c8d2
|
||||
pkgrel=1
|
||||
pkgdesc="GStreamer Multimedia Framework (mingw-w64)"
|
||||
arch=('any')
|
||||
url="https://gstreamer.freedesktop.org/"
|
||||
license=("LGPL")
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
|
||||
"${MINGW_PACKAGE_PREFIX}-pkg-config"
|
||||
"${MINGW_PACKAGE_PREFIX}-gobject-introspection"
|
||||
"intltool"
|
||||
"gtk-doc"
|
||||
"flex"
|
||||
"bison")
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
|
||||
"${MINGW_PACKAGE_PREFIX}-libxml2"
|
||||
"${MINGW_PACKAGE_PREFIX}-glib2"
|
||||
"${MINGW_PACKAGE_PREFIX}-gettext"
|
||||
"${MINGW_PACKAGE_PREFIX}-gmp"
|
||||
"${MINGW_PACKAGE_PREFIX}-gsl")
|
||||
options=(!libtool strip staticlibs)
|
||||
source=("${_realname}::git+git://anongit.freedesktop.org/gstreamer/gstreamer")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd ${srcdir}/${_realname}
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd ${srcdir}/${_realname}
|
||||
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
_pkgver=${_realname}-${pkgver} # How it's tagged in git
|
||||
|
||||
local -a extra_config
|
||||
if check_option "debug" "y"; then
|
||||
extra_config+=( --enable-debug=yes )
|
||||
else
|
||||
extra_config+=( --enable-debug=no )
|
||||
fi
|
||||
|
||||
[[ -d "${srcdir}/build-${MINGW_CHOST}" ]] && rm -rf "${srcdir}/build-${MINGW_CHOST}"
|
||||
#cp -r "${srcdir}/${_realname}-${pkgver}" "${srcdir}/build-${MINGW_CHOST}"
|
||||
mkdir -p "${srcdir}/build-${MINGW_CHOST}"
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
|
||||
CPPFLAGS+=" -D_POSIX_C_SOURCE"
|
||||
|
||||
../${_realname}/configure \
|
||||
--prefix=${MINGW_PREFIX} \
|
||||
--build=${MINGW_CHOST} \
|
||||
--host=${MINGW_CHOST} \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--enable-introspection \
|
||||
--disable-poisoning \
|
||||
--disable-gtk-doc \
|
||||
--enable-docbook \
|
||||
--enable-check \
|
||||
--disable-silent-rules \
|
||||
"${extra_config[@]}"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
make -j1 DESTDIR="${pkgdir}" install
|
||||
|
||||
find "${pkgdir}${MINGW_PREFIX}" -name '*.def' -o -name '*.exp' | xargs -rtl1 rm
|
||||
rm -f ${pkgdir}${MINGW_PREFIX}/lib/gstreamer*/*.a
|
||||
}
|
||||
@@ -31,6 +31,7 @@ sha256sums=('66b37762d4fdcd63bce5a2bec57e055f92420e95037361609900278c0db7c53f'
|
||||
prepare() {
|
||||
cd ${srcdir}/${_realname}-${pkgver}
|
||||
patch -p1 -i "${srcdir}"/0005-gstreamer-strsignal-prototype-does-not-match-method-.patch
|
||||
|
||||
#autoreconf -fi
|
||||
}
|
||||
|
||||
@@ -62,13 +63,13 @@ build() {
|
||||
--enable-check \
|
||||
--disable-silent-rules \
|
||||
"${extra_config[@]}"
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
make -j1 DESTDIR="${pkgdir}" install
|
||||
|
||||
find "${pkgdir}${MINGW_PREFIX}" -name '*.def' -o -name '*.exp' | xargs -rtl1 rm
|
||||
rm -f ${pkgdir}${MINGW_PREFIX}/lib/gstreamer*/*.a
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user