From: Sergey Trofimov <sarg@sarg.org.ru>
To: 70516@debbugs.gnu.org
Cc: Sergey Trofimov <sarg@sarg.org.ru>, Sergey Trofimov <sarg@sarg.org.ru>
Subject: [bug#70516] [PATCH v1 1/2] gnu: Add libgpod.
Date: Wed, 1 May 2024 10:55:52 +0200 [thread overview]
Message-ID: <6cd64a5b41237b0c01d604dacdb5ce6d3a29b071.1714553721.git.sarg@sarg.org.ru> (raw)
In-Reply-To: <569f457d71cc55c751fbd3958fb11870cad46d9b.1713809874.git.sarg@sarg.org.ru>
* gnu/packages/music.scm (libgpod): New variable.
---
gnu/packages/music.scm | 53 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 798aad11f7..1ce0570c28 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -183,6 +183,7 @@ (define-module (gnu packages music)
#:use-module (gnu packages readline)
#:use-module (gnu packages rsync)
#:use-module (gnu packages ruby)
+ #:use-module (gnu packages scsi)
#:use-module (gnu packages sdl)
#:use-module (gnu packages serialization)
#:use-module (gnu packages sphinx)
@@ -431,6 +432,58 @@ (define-public aria-maestosa
score, keyboard, guitar, drum and controller views.")
(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 "Library to access iPod contents. Enables iPod support in
+@code{Clementine}.")
+ (license license:lgpl2.1+)))
+
(define-public clementine
(package
(name "clementine")
base-commit: 7d7fca19429cf9d38125610f46333eb02fc2d3fd
prerequisite-patch-id: f9cc903b8048c8c6fde576fbf38ab110263020e3
prerequisite-patch-id: 1bcd992c56c1b094479b842032fc9731315cbf83
prerequisite-patch-id: 500c43ab90039ca164d6b0864adb110bd9bd9afe
prerequisite-patch-id: f7629448294f448f1914d9bc50a4136a05b77c03
--
2.41.0
next prev parent reply other threads:[~2024-05-01 8:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-22 18:24 [bug#70516] [PATCH] gnu: Add libgpod Sergey Trofimov
2024-05-01 8:55 ` Sergey Trofimov [this message]
2024-05-01 8:55 ` [bug#70516] [PATCH v1 2/2] gnu: clementine: Build with libgpod Sergey Trofimov
2024-05-31 11:43 ` bug#70516: " Ludovic Courtès
2024-05-31 11:41 ` [bug#70516] [PATCH v1 1/2] gnu: Add libgpod Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6cd64a5b41237b0c01d604dacdb5ce6d3a29b071.1714553721.git.sarg@sarg.org.ru \
--to=sarg@sarg.org.ru \
--cc=70516@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.