[packages/gnome-sound-recorder] - updated to 3.34.0 - removed outdated ac patch

qboosh qboosh at pld-linux.org
Mon Nov 18 20:33:58 CET 2019


commit d58b6d4918e0c0d2efedfb6e2011d42f2191a918
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Nov 18 19:47:38 2019 +0100

    - updated to 3.34.0
    - removed outdated ac patch

 gnome-sound-recorder-ac.patch | 45 ------------------------
 gnome-sound-recorder.spec     | 79 +++++++++++++++++++++----------------------
 2 files changed, 39 insertions(+), 85 deletions(-)
---
diff --git a/gnome-sound-recorder.spec b/gnome-sound-recorder.spec
index dacb23e..19fdb72 100644
--- a/gnome-sound-recorder.spec
+++ b/gnome-sound-recorder.spec
@@ -1,44 +1,53 @@
 Summary:	GNOME Sound Recorder - a simple, modern sound recorder
 Summary(pl.UTF-8):	GNOME Sound Recorder - prosty, nowoczesny program do nagrywania dźwięku
 Name:		gnome-sound-recorder
-Version:	3.28.2
+Version:	3.34.0
 Release:	1
 License:	GPL v2+
 Group:		X11/Applications/Sound
-Source0:	http://ftp.gnome.org/pub/GNOME/sources/gnome-sound-recorder/3.28/%{name}-%{version}.tar.xz
-# Source0-md5:	b9d14e08fd93cfca5bbcdc1b16da10b2
-Patch0:		%{name}-ac.patch
-URL:		https://wiki.gnome.org/Design/Apps/SoundRecorder
-BuildRequires:	autoconf >= 2.50
-BuildRequires:	automake >= 1:1.11
-BuildRequires:	gdk-pixbuf2-devel >= 2.0
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/gnome-sound-recorder/3.34/%{name}-%{version}.tar.xz
+# Source0-md5:	8e067d3451e4c0494119b0e6ae56802c
+URL:		https://wiki.gnome.org/Apps/SoundRecorder
 BuildRequires:	gettext-tools
+BuildRequires:	gjs-devel >= 1.48.0
 BuildRequires:	glib2-devel >= 1:2.46
 BuildRequires:	gobject-introspection-devel >= 1.32
 BuildRequires:	gstreamer-devel >= 1.0
-BuildRequires:	gtk+3-devel >= 3.12
-BuildRequires:	intltool >= 0.26
-BuildRequires:	libtool >= 2:2
+BuildRequires:	gtk+3-devel >= 3.13.2
+BuildRequires:	meson >= 0.50.0
+BuildRequires:	ninja >= 1.5
 BuildRequires:	pkgconfig
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
 Requires(post,postun):	glib2 >= 1:2.46
 Requires(post,postun):	gtk-update-icon-cache
+Requires:	gdk-pixbuf2 >= 2.0
+Requires:	gjs >= 1.48.0
 Requires:	glib2 >= 1:2.46
+# base + elements: filesink
 Requires:	gstreamer >= 1.0
-# elements: flacenc flacparse
-Requires:	gstreamer-flac >= 1.0
-# elements: audioconvert playbin uridecodebin
+# elements: volume
+Requires:	gstreamer-audio-effects-base >= 1.0
+# elements: level
+Requires:	gstreamer-audio-effects-good >= 1.0
+# elements: audioconvert encodebin playbin
 Requires:	gstreamer-plugins-base >= 1.0
-# elements: qtdemux qtmux
-Requires:	gstreamer-plugins-good >= 1.0
-# elements: oggdemux
-Requires:	gstreamer-vorbis >= 1.0
-Requires:	gtk+3 >= 3.12
+# elements: pulsesink pulsesrc
+Requires:	gstreamer-pulseaudio >= 1.0
+Requires:	gtk+3 >= 3.13.2
 Requires:	hicolor-icon-theme
-# elements: id3mux
+# audio/x-flac
+Suggests:	gstreamer-flac >= 1.0
+# audio/mpeg,mpegversion=(int)1,layer=(int)3
+Suggests:	gstreamer-mpg123 >= 1.0
+# audio/x-opus
+Suggests:	gstreamer-opus >= 1.0
+# application/x-id3
 Suggests:	gstreamer-plugins-bad >= 1.0
-Suggests:	gstreamer-pulseaudio >= 1.0
+# video/quicktime,variant=(string)iso, audio/mpeg,mpegversion=(int)4
+Suggests:	gstreamer-plugins-good >= 1.0
+# application/ogg, application/ogg;audio/ogg;video/ogg, audio/x-vorbis
+Suggests:	gstreamer-vorbis >= 1.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -50,25 +59,16 @@ dźwięku.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-%{__libtoolize}
-%{__aclocal} -I m4
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-%configure \
-	GJS=/usr/bin/gjs \
-	--disable-silent-rules
+%meson build
 
-%{__make}
+%ninja_build -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+%ninja_install -C build
 
 %find_lang %{name}
 
@@ -85,14 +85,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS NEWS README
+%doc AUTHORS NEWS README.md
 %attr(755,root,root) %{_bindir}/gnome-sound-recorder
+%{_datadir}/glib-2.0/schemas/org.gnome.SoundRecorder.gschema.xml
 %{_datadir}/metainfo/org.gnome.SoundRecorder.appdata.xml
-%{_datadir}/glib-2.0/schemas/org.gnome.gnome-sound-recorder.gschema.xml
-%dir %{_datadir}/gnome-sound-recorder
-%attr(755,root,root) %{_datadir}/gnome-sound-recorder/org.gnome.SoundRecorder
-%{_datadir}/gnome-sound-recorder/org.gnome.SoundRecorder.src.gresource
-%{_datadir}/gnome-sound-recorder/application.css
+%dir %{_datadir}/org.gnome.SoundRecorder
+%attr(755,root,root) %{_datadir}/org.gnome.SoundRecorder/org.gnome.SoundRecorder
+%{_datadir}/org.gnome.SoundRecorder/org.gnome.SoundRecorder.*.gresource
 %{_desktopdir}/org.gnome.SoundRecorder.desktop
-%{_iconsdir}/hicolor/*x*/apps/org.gnome.SoundRecorder.png
+%{_iconsdir}/hicolor/scalable/apps/org.gnome.SoundRecorder.svg
 %{_iconsdir}/hicolor/symbolic/apps/org.gnome.SoundRecorder-symbolic.svg
diff --git a/gnome-sound-recorder-ac.patch b/gnome-sound-recorder-ac.patch
deleted file mode 100644
index c38aa7e..0000000
--- a/gnome-sound-recorder-ac.patch
+++ /dev/null
@@ -1,45 +0,0 @@
---- gnome-sound-recorder-3.24.0.1/configure.ac.orig	2017-03-22 05:05:59.000000000 +0100
-+++ gnome-sound-recorder-3.24.0.1/configure.ac	2017-06-25 15:11:08.621640859 +0200
-@@ -51,12 +51,11 @@
- 	else
- 		AC_MSG_RESULT([no])
--		AC_MSG_ERROR([
--			Cannot find required GStreamer-1.0 plugin '$1'.
-+		AC_MSG_WARN([
-+			Cannot find required GStreamer-1.0 plugin '$base_element'.
- 			It should be part of gst-plugins-base. Please install it.
- 		])
- 
- 	fi
--	shift;
- done
- 
- # Check for elements from gst-plugins-good
-@@ -69,11 +68,10 @@
- 	else
- 		AC_MSG_RESULT([no])
--		AC_MSG_ERROR([
--			Cannot find required GStreamer-1.0 plugin '$1'.
-+		AC_MSG_WARN([
-+			Cannot find required GStreamer-1.0 plugin '$good_element'.
- 			It should be part of gst-plugins-good. Please install it.
- 		])
- 	fi
--	shift;
- done
- 
- # Do a diff check for pulseaudio since we've run into problems on deb systems
-@@ -101,12 +99,11 @@
- 	else
- 		AC_MSG_RESULT([no])
- 		AC_MSG_WARN([
--			Cannot find required GStreamer-1.0 plugin '$1'.
-+			Cannot find required GStreamer-1.0 plugin '$bad_element'.
- 			It should be part of gst-plugins-bad. Please install it.
- 		])
- 
- 	fi
--	shift;
- done
- 
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gnome-sound-recorder.git/commitdiff/d58b6d4918e0c0d2efedfb6e2011d42f2191a918



More information about the pld-cvs-commit mailing list