me
/
guix
Archived
1
0
Fork 0

gnu: Add libfm.

* gnu/packages/lxde.scm (libfm): New variable.
  (libfm-extra): Inherit from it.
master
Mathieu Lirzin 2015-07-12 19:36:17 +02:00
parent 6e6b5344b0
commit 19dd998313
1 changed files with 24 additions and 9 deletions

View File

@ -19,6 +19,7 @@
(define-module (gnu packages lxde) (define-module (gnu packages lxde)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
#:use-module (gnu packages glib) #:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk) #:use-module (gnu packages gtk)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
@ -27,30 +28,44 @@
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix utils)) #:use-module (guix utils))
(define-public libfm-extra (define-public libfm
(package (package
(name "libfm-extra") (name "libfm")
(version "1.2.3") (version "1.2.3")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://sourceforge/project/pcmanfm/" (uri (string-append "mirror://sourceforge/project/pcmanfm/"
"PCManFM%20%2B%20Libfm%20%28tarball%20" "PCManFM%20%2B%20Libfm%20%28tarball%20release"
"release%29/LibFM/libfm-" version ".tar.xz")) "%29/LibFM/" name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1ygvw52262r3jp1f45m9cdpx5xgvd4rkyfszslfqvg2c99ig34n6")))) "1ygvw52262r3jp1f45m9cdpx5xgvd4rkyfszslfqvg2c99ig34n6"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("glib" ,glib)
("gtk+" ,gtk+-2)))
(native-inputs `(("intltool" ,intltool)
("glib" ,glib "bin") ; for gtester
("libtool" ,libtool)
("menu-cache" ,menu-cache)
("pkg-config" ,pkg-config)
("vala" ,vala)))
(synopsis "File management support (core library)")
(description "LibFM provides file management functions built on top of
Glib/GIO giving a higher-level API.")
(home-page "http://lxde.org")
(license license:gpl2+)))
(define-public libfm-extra
(package (inherit libfm)
(name "libfm-extra")
(arguments '(#:configure-flags '("--with-extra-only"))) (arguments '(#:configure-flags '("--with-extra-only")))
(inputs `(("glib" ,glib))) (inputs `(("glib" ,glib)))
(native-inputs `(("intltool" ,intltool) (native-inputs `(("intltool" ,intltool)
("libtool" ,libtool) ("libtool" ,libtool)
("pkg-config" ,pkg-config))) ("pkg-config" ,pkg-config)))
(synopsis "File management support (extra library)") (synopsis "File management support (extra library)")
(description "LibFM provides file management functions built on top of (description "This package contains standalone library which extends the
Glib/GIO giving a higher-level API. This package contains standalone library libFM file management library.")))
which extends libfm.")
(home-page "http://lxde.org")
(license license:gpl2+)))
(define-public lxappearance (define-public lxappearance
(package (package