From 0f69aedb3e9de1b30f10c07819169992a4689106 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Tue, 9 Apr 2024 23:33:50 +0200 Subject: [PATCH] update to 1.3.0 [release 1.3.0-1mamba;Tue Apr 09 2024] --- moodbar-0.1.2-g_thread_init.patch | 21 --------------------- moodbar.spec | 19 ++++++------------- 2 files changed, 6 insertions(+), 34 deletions(-) delete mode 100644 moodbar-0.1.2-g_thread_init.patch diff --git a/moodbar-0.1.2-g_thread_init.patch b/moodbar-0.1.2-g_thread_init.patch deleted file mode 100644 index 5324924..0000000 --- a/moodbar-0.1.2-g_thread_init.patch +++ /dev/null @@ -1,21 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 10_gthread_init.dpatch by -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Initialize the GLib threading system before we make any other calls -## DP: to glib. - -@DPATCH@ -diff -urNad moodbar-0.1.2~/analyzer/main.c moodbar-0.1.2/analyzer/main.c ---- moodbar-0.1.2~/analyzer/main.c 2006-10-12 01:43:30.000000000 -0400 -+++ moodbar-0.1.2/analyzer/main.c 2007-04-01 13:20:33.000000000 -0400 -@@ -262,6 +262,9 @@ - GOptionContext *ctx; - GError *err = NULL; - -+ // must be called before any other glib function is called -+ if (!g_thread_supported ()) g_thread_init(NULL); -+ - ctx = g_option_context_new ("[INFILE] - Run moodbar analyzer"); - g_option_context_add_group (ctx, gst_init_get_option_group ()); - g_option_context_add_main_entries (ctx, entries, NULL); diff --git a/moodbar.spec b/moodbar.spec index 4d1579e..d2ff7ea 100644 --- a/moodbar.spec +++ b/moodbar.spec @@ -1,15 +1,13 @@ Name: moodbar -Version: 1.2.1 +Version: 1.3.0 Release: 1mamba Summary: Creates a colorful visual representation of the contents of an audio file Group: Applications/Multimedia Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: https://amarok.kde.org/wiki/Moodbar -Source: https://github.com/exaile/moodbar/releases/download/v%{version}/moodbar-%{version}.tar.xz -#Source: http://pwsp.net/~qbob/moodbar-%{version}.tar.gz -Patch0: %{name}-0.1.2-g_thread_init.patch +URL: https://github.com/exaile/moodbar +Source: https://github.com/exaile/moodbar.git/v%{version}/moodbar-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -21,8 +19,6 @@ BuildRequires: libgstreamer-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: pkgconfig -#Requires: gst-plugins-ugly -#Provides: gst-plugins-moodbar = %{?epoch:%epoch:}%{version}-%{release} %description The Moodbar is an algorithm for creating a colorful visual representation of the contents of an audio file, giving an idea of its "mood" (this is a rather fanciful term for the simple analysis it actually does). @@ -33,7 +29,6 @@ This package contains a GStreamer plugin with elements that are used in the mood %prep %setup -q -#%patch0 -p1 %build %meson @@ -44,20 +39,18 @@ This package contains a GStreamer plugin with elements that are used in the mood [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %meson_install -#rm -f %{buildroot}%{_libdir}/gstreamer-0.10/libmoodbar.a - %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/moodbar -#%{_libdir}/gstreamer-0.10/libmoodbar.la -#%{_libdir}/gstreamer-0.10/libmoodbar.so %doc COPYING -#ChangeLog NEWS README TODO %changelog +* Tue Apr 09 2024 Silvan Calarco 1.3.0-1mamba +- update to 1.3.0 + * Mon Jul 12 2021 Silvan Calarco 1.2.1-1mamba - update to 1.2.1