[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: [wip] Add python-gst
From: |
Christopher Allan Webber |
Subject: |
02/02: [wip] Add python-gst |
Date: |
Thu, 25 Feb 2016 20:16:39 +0000 |
cwebber pushed a commit to branch wip-mediagoblin
in repository guix.
commit 215d10f8058d9a7beffd3c852a4c1c0f2f3b6a26
Author: Christopher Allan Webber <address@hidden>
Date: Tue Feb 23 12:34:56 2016 -0800
[wip] Add python-gst
---
gnu/packages/gstreamer.scm | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 45dded1..99d5c4c 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2014 John Darrington <address@hidden>
;;; Copyright © 2015 Sou Bunnbu <address@hidden>
;;; Copyright © 2015 Mark H Weaver <address@hidden>
+;;; Copyright © 2016 Christopher Allan Webber <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -41,6 +42,7 @@
#:use-module (gnu packages image)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
+ #:use-module (gnu packages libffi)
#:use-module (gnu packages mp3)
#:use-module (gnu packages perl)
#:use-module (gnu packages pulseaudio)
@@ -400,3 +402,31 @@ distribution problems in some jurisdictions, e.g. due to
patent threats.")
"This GStreamer plugin supports a large number of audio and video
compression formats through the use of the libav library.")
(license gpl2+)))
+
+(define-public python-gst
+ (package
+ (name "python-gst")
+ (version "1.6.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://gstreamer.freedesktop.org/src/" name "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1w84pmvzki8fza10b6bx5zf1xb3r9x0nrsgfvlisybpx30p37giw"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("python" ,python)
+ ("gstreamer" ,gstreamer)
+ ("libffi" ,libffi)
+ ("gobject-introspection" ,gobject-introspection)))
+ (propagated-inputs
+ `(("python-pygobject" ,python-pygobject)))
+ (home-page "https://gstreamer.freedesktop.org/modules/gst-python.html")
+ (synopsis "GStreamer Python bindings supplement")
+ (description "GStreamer Python overrides for the
gobject-introspection-based
+pygst bindings.")
+ (license lgpl2.0+)))