me
/
guix
Archived
1
0
Fork 0

gnu: Add libgpod.

* gnu/packages/music.scm (libgpod): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: If4dbf8648b95f9c47d39de870be3227522454cc6
master
Sergey Trofimov 2024-05-01 10:55:52 +02:00 committed by Ludovic Courtès
parent 030482493e
commit 475a8a76d2
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 53 additions and 0 deletions

View File

@ -183,6 +183,7 @@
#:use-module (gnu packages readline) #:use-module (gnu packages readline)
#:use-module (gnu packages rsync) #:use-module (gnu packages rsync)
#:use-module (gnu packages ruby) #:use-module (gnu packages ruby)
#:use-module (gnu packages scsi)
#:use-module (gnu packages sdl) #:use-module (gnu packages sdl)
#:use-module (gnu packages serialization) #:use-module (gnu packages serialization)
#:use-module (gnu packages sphinx) #:use-module (gnu packages sphinx)
@ -431,6 +432,58 @@ and play MIDI files with a few clicks in a user-friendly interface offering
score, keyboard, guitar, drum and controller views.") score, keyboard, guitar, drum and controller views.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public libgpod
(package
(name "libgpod")
(version "0.8.3")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.code.sf.net/p/gtkpod/libgpod")
(commit "8dc5015ae036b219c4c9579a156886aa3a722aa5")))
(file-name (git-file-name name version))
(sha256
(base32 "1yzngb7h1mibz4x56w9fh02vx8xi4wyq4fjc3ad0jayv3hxjjkqv"))))
(arguments
(list
#:configure-flags
#~(list
"--without-hal"
"--enable-udev"
(string-append "--with-udev-dir=" #$output "/lib/udev")
(string-append "--prefix=" #$output))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-autotools-version-requirement
(lambda _
(setenv "ACLOCAL_FLAGS"
(string-join
(map (lambda (s) (string-append "-I " s))
(string-split (getenv "ACLOCAL_PATH") #\:))
" "))
(substitute* "configure.ac"
(("libplist >= 1\\.0") "libplist-2.0 >= 2.2")
(("-Werror") ""))
;; patch for plist-2.0
(substitute* "tools/ipod-lockdown.c"
(("plist_dict_insert_item") "plist_dict_set_item"))
;; it expects version-suffixed binary
(substitute* "gnome-autogen.sh"
(("automake-1\\.13") "automake")))))))
(build-system gnu-build-system)
(native-inputs
(list automake libtool autoconf intltool pkg-config `(,glib "bin") gtk-doc))
(propagated-inputs (list libimobiledevice gdk-pixbuf))
(inputs (list libxml2 sg3-utils sqlite taglib libplist))
(home-page "https://sourceforge.net/projects/gtkpod")
(synopsis "Library to access iPod contents")
(description "This package provides a library to access iPod contents. It
enables iPod support in music players such as Clementine.")
(license license:lgpl2.1+)))
(define-public clementine (define-public clementine
(package (package
(name "clementine") (name "clementine")