summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-06-20 21:09:54 -0400
committerMark H Weaver <mhw@netris.org>2015-07-09 02:18:55 -0400
commit7b21252632cecd61759ef356f83fd9c324d84539 (patch)
treea12148d9fc9815454d70d54a059497305e4fa2e3 /gnu/packages
parent8d4791bfe808fdb219367f8c9a910b43d98011d7 (diff)
downloadpatches-7b21252632cecd61759ef356f83fd9c324d84539.tar
patches-7b21252632cecd61759ef356f83fd9c324d84539.tar.gz
gnu: Add grilo-plugins.
* gnu/packages/gnome.scm (grilo-plugins): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/gnome.scm54
1 files changed, 54 insertions, 0 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 07b7355229..30277f5495 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -34,6 +34,7 @@
#:use-module (guix build-system glib-or-gtk)
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
+ #:use-module (gnu packages avahi)
#:use-module (gnu packages base)
#:use-module (gnu packages bison)
#:use-module (gnu packages cups)
@@ -56,6 +57,7 @@
#:use-module (gnu packages libcanberra)
#:use-module (gnu packages linux)
#:use-module (gnu packages libusb)
+ #:use-module (gnu packages lua)
#:use-module (gnu packages image)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
@@ -2769,3 +2771,55 @@ as possible!")
"Grilo is a framework focused on making media discovery and browsing easy
for application developers.")
(license license:lgpl2.1+)))
+
+(define-public grilo-plugins
+ (package
+ (name "grilo-plugins")
+ (version "0.2.14")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1aykhc679pwn2qxsg19g8nh9hffpsqkgxcbqq7lcfn2hcwb83wfh"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
+ ("intltool" ,intltool)
+ ("itstool" ,itstool)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("grilo" ,grilo)
+ ("glib" ,glib)
+ ("libxml2" ,libxml2)
+ ("sqlite" ,sqlite)
+ ("gom" ,gom)
+ ;; XXX TODO: Add oauth
+ ;; XXX TODO: Add goa
+ ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
+ ;; XXX TODO: Add lua (needs help finding it)
+ ("json-glib" ,json-glib)
+ ("avahi" ,avahi)
+ ("gmime" ,gmime)
+ ("libsoup" ,libsoup)
+ ("libarchive" ,libarchive)
+ ("totem-pl-parser" ,totem-pl-parser)))
+ (arguments
+ `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
+ %output
+ "/lib/grilo-"
+ ,(version-major+minor version)))
+ ;; XXX FIXME: Try to get the test suite working. It appears to require
+ ;; a working system dbus. Inside the build container, all tests fail
+ ;; with: "assertion failed: (source)". Outside of the build container,
+ ;; most tests succeed.
+ #:tests? #f))
+ (home-page "http://live.gnome.org/Grilo")
+ (synopsis "Plugins for the Grilo media discovery library")
+ (description
+ "Grilo is a framework focused on making media discovery and browsing easy
+for application developers.")
+ (license license:lgpl2.1+)))