[packages/sound-juicer] - updated to 3.38.0 (uses meson now) - added no-gst-modules-check patch (don't check for runtime dep
qboosh
qboosh at pld-linux.org
Sun Sep 13 17:13:21 CEST 2020
commit d755df20c19eb79e477b35c6f3e351531297393e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Sep 13 17:16:05 2020 +0200
- updated to 3.38.0 (uses meson now)
- added no-gst-modules-check patch (don't check for runtime dependencies at build time)
sound-juicer-no-gst-modules-check.patch | 13 ++++++++++
sound-juicer.spec | 44 ++++++++++++++++-----------------
2 files changed, 35 insertions(+), 22 deletions(-)
---
diff --git a/sound-juicer.spec b/sound-juicer.spec
index 6bf6717..a5c44ea 100644
--- a/sound-juicer.spec
+++ b/sound-juicer.spec
@@ -1,16 +1,15 @@
Summary: CD ripper
Summary(pl.UTF-8): Ripper płyt CD
Name: sound-juicer
-Version: 3.24.0
+Version: 3.38.0
Release: 1
License: GPL v2+
Group: X11/Applications/Multimedia
-Source0: http://ftp.gnome.org/pub/GNOME/sources/sound-juicer/3.24/%{name}-%{version}.tar.xz
-# Source0-md5: 09e1f132339c81e64a7a25620569b5c3
+Source0: http://ftp.gnome.org/pub/GNOME/sources/sound-juicer/3.38/%{name}-%{version}.tar.xz
+# Source0-md5: d6d6315a8fd872107940f71d24e5cda2
+Patch0: %{name}-no-gst-modules-check.patch
URL: https://wiki.gnome.org/Apps/SoundJuicer
-BuildRequires: appstream-glib-devel
-BuildRequires: autoconf >= 2.60
-BuildRequires: automake >= 1:1.9
+BuildRequires: appstream-glib
# libbrasero-media3
BuildRequires: brasero-devel >= 3.0.0
BuildRequires: docbook-dtd43-xml
@@ -26,16 +25,18 @@ BuildRequires: libdiscid-devel >= 0.4.0
BuildRequires: libmusicbrainz5-devel >= 5.0.1
BuildRequires: pkgconfig
BuildRequires: rpmbuild(find_lang) >= 1.23
-BuildRequires: rpmbuild(macros) >= 1.311
+BuildRequires: rpmbuild(macros) >= 1.736
BuildRequires: tar >= 1:1.22
BuildRequires: xz
BuildRequires: yelp-tools
+Requires(post,postun): desktop-file-utils
Requires(post,postun): glib2 >= 1:2.49.5
Requires(post,postun): gtk-update-icon-cache
Requires: desktop-file-utils
Requires: glib2 >= 1:2.49.5
Requires: gsettings-desktop-schemas
-Requires: gstreamer-cdparanoia >= 1.0.0
+Requires: gstreamer-cdparanoia >= 1.0
+Requires: gstreamer-plugins-base >= 1.0
Requires: gtk+3 >= 3.21.6
Requires: hicolor-icon-theme
Requires: iso-codes
@@ -56,22 +57,20 @@ Sound Juicer, ripper płyt CD używający GTK+ i GStreamera.
%prep
%setup -q
+%patch0 -p1
%build
-%{__libtoolize}
-%{__aclocal} -I m4
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-%configure \
- --disable-silent-rules
-%{__make}
+%meson build
+
+%ninja_build -C build
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+%ninja_install -C build
+
+# packaged as %doc
+%{__rm} -r $RPM_BUILD_ROOT%{_prefix}/doc
%find_lang %{name} --with-gnome
@@ -79,23 +78,24 @@ rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
%post
+%glib_compile_schemas
%update_desktop_database
%update_icon_cache hicolor
-%glib_compile_schemas
%postun
%glib_compile_schemas
+%update_desktop_database
%update_icon_cache hicolor
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS README TODO
+%doc AUTHORS MAINTAINERS NEWS README.md TODO
%attr(755,root,root) %{_bindir}/sound-juicer
%{_datadir}/GConf/gsettings/sound-juicer.convert
-%{_datadir}/appdata/org.gnome.SoundJuicer.appdata.xml
%{_datadir}/dbus-1/services/org.gnome.SoundJuicer.service
%{_datadir}/glib-2.0/schemas/org.gnome.sound-juicer.gschema.xml
+%{_datadir}/metainfo/org.gnome.SoundJuicer.metainfo.xml
%{_datadir}/sound-juicer
%{_desktopdir}/org.gnome.SoundJuicer.desktop
-%{_iconsdir}/hicolor/*x*/apps/sound-juicer.png
+%{_iconsdir}/hicolor/*x*/apps/org.gnome.SoundJuicer.png
%{_mandir}/man1/sound-juicer.1*
diff --git a/sound-juicer-no-gst-modules-check.patch b/sound-juicer-no-gst-modules-check.patch
new file mode 100644
index 0000000..92c50ea
--- /dev/null
+++ b/sound-juicer-no-gst-modules-check.patch
@@ -0,0 +1,13 @@
+--- sound-juicer-3.38.0/meson.build.orig 2020-09-12 05:40:20.643631200 +0200
++++ sound-juicer-3.38.0/meson.build 2020-09-13 17:10:44.776932926 +0200
+@@ -63,10 +63,6 @@
+ ]
+
+ gst_inspect = find_program('gst-inspect-1.0')
+-elements = ['vorbisenc', 'flacenc', 'wavenc', 'giosink']
+-foreach element : elements
+- run_command(gst_inspect, '--exists', '--atleast-version=1.0', element, check: true)
+-endforeach
+
+ configure_file(
+ output: 'config.h',
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sound-juicer.git/commitdiff/d755df20c19eb79e477b35c6f3e351531297393e
More information about the pld-cvs-commit
mailing list