From fbabc1f2b5d2e4a84b62076a8c4e4f935b1807d2 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 6 Jan 2020 00:52:04 +0100 Subject: [PATCH] Add audio CD playback and ripping support Add the cdparanoia gst plugin to support audio CD playback. Closes: #11 --- org.gnome.Rhythmbox3.json | 41 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/org.gnome.Rhythmbox3.json b/org.gnome.Rhythmbox3.json index d8f2733..64f7ada 100644 --- a/org.gnome.Rhythmbox3.json +++ b/org.gnome.Rhythmbox3.json @@ -39,7 +39,9 @@ /* totem-pl-parser http support, for podcasts and streaming, and optical media detection */ "--talk-name=org.gtk.vfs", "--talk-name=org.gtk.vfs.*", /* FIXME See #16 */ - "--env=GIO_USE_VOLUME_MONITOR=udisks2" + "--env=GIO_USE_VOLUME_MONITOR=udisks2", + /* Ensure cdda gstreamer plugin is picked found for audio CD's */ + "--env=GST_PLUGIN_PATH=/app/lib/codecs/lib/gstreamer-1.0" ], "build-options" : { "cflags": "-O2 -g", @@ -137,6 +139,43 @@ } ] }, + /* gst-plugins-base needs cdparanoia to add support for cdda */ + { + "name": "cdparanoia", + "buildsystem": "simple", + "build-commands": [ + "mv configure.in configure.ac", + "autoreconf -vfi", + "./configure --prefix=/app", + "make all slib", + "make install" + ], + "sources": [ + { + "type": "archive", + "url": "http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-10.2.src.tgz", + "sha256": "005db45ef4ee017f5c32ec124f913a0546e77014266c6a1c50df902a55fe64df" + } + ] + }, + /* To play cdda */ + { + "name": "gst-plugins-base", + "buildsystem": "meson", + "config-opts": [ + "-Dauto_features=disabled", + "-Dcdparanoia=enabled" + ], + "cleanup": [ "*.la", "/share/gtk-doc" ], + "sources": [ + { + "type": "git", + "url": "https://gitlab.freedesktop.org/gstreamer/gst-plugins-base.git", + "branch" : "1.16.2", + "commit" : "9d3581b2e6f12f0b7e790d1ebb63b90cf5b1ef4e" + } + ] + }, { "name": "rhythmbox", "config-opts": [ "--disable-more-warnings" ],