automatic version update by autodist [release 4.4-1mamba;Fri Jun 14 2024]

This commit is contained in:
Automatic Build System 2024-06-15 09:49:18 +02:00
parent 2d2b7f1ce1
commit 42cfe22fb4
3 changed files with 13 additions and 98 deletions

View File

@ -1,26 +0,0 @@
diff -ru audacious-plugins-1.5.1.orig/src/mtp_up/mtp.c audacious-plugins-1.5.1/src/mtp_up/mtp.c
--- audacious-plugins-1.5.1.orig/src/mtp_up/mtp.c 2009-01-02 21:32:23.000000000 +0100
+++ audacious-plugins-1.5.1/src/mtp_up/mtp.c 2009-01-02 21:31:53.000000000 +0100
@@ -161,7 +161,6 @@
return NULL;
}
filesize = (uint64_t) sb.st_size;
- parent_id = mtp_device->default_music_folder;
/* track metadata*/
tr = LIBMTP_new_track_t();
@@ -192,12 +191,12 @@
g_free(from_path);
g_free(tmp);
- parent_id = mtp_device->default_music_folder;
#if DEBUG
g_print("Uploading track '%s'\n",filename);
#endif
- ret = LIBMTP_Send_Track_From_File(mtp_device, filename , gentrack, NULL , NULL, parent_id);
+ gentrack->parent_id = mtp_device->default_music_folder;
+ ret = LIBMTP_Send_Track_From_File(mtp_device, filename , gentrack, NULL , NULL);
LIBMTP_destroy_track_t(gentrack);
if (ret == 0)
g_print("Track upload finished!\n");

View File

@ -1,39 +0,0 @@
diff -Nru audacious-plugins-2.2.orig/src/jack/jack.c audacious-plugins-2.2/src/jack/jack.c
--- audacious-plugins-2.2.orig/src/jack/jack.c 2009-11-22 23:49:53.000000000 +0100
+++ audacious-plugins-2.2/src/jack/jack.c 2010-01-16 06:58:24.000000000 +0100
@@ -235,35 +235,6 @@
}
-/* Return the amount of data that can be written to the device */
-static gint jack_free(void)
-{
- unsigned long return_val = JACK_GetBytesFreeSpace(driver);
- unsigned long tmp;
-
- /* adjust for frequency differences, otherwise xmms could send us */
- /* as much data as we have free, then we go to convert this to */
- /* the output frequency and won't have enough space, so adjust */
- /* by the ratio of the two */
- if(effect.frequency != output.frequency)
- {
- tmp = return_val;
- return_val = (return_val * effect.frequency) / output.frequency;
- TRACE("adjusting from %ld to %ld free bytes to compensate for frequency differences\n", tmp, return_val);
- }
-
- if(return_val > G_MAXINT)
- {
- TRACE("Warning: return_val > G_MAXINT\n");
- return_val = G_MAXINT;
- }
-
- TRACE("free space of %ld bytes\n", return_val);
-
- return return_val;
-}
-
-
/* Close the device */
static void jack_close(void)
{

View File

@ -1,5 +1,5 @@
Name: audacious-plugins
Version: 4.3.1
Version: 4.4
Release: 1mamba
Summary: Plugins for the Audacious media player
Group: Applications/Multimedia
@ -8,13 +8,9 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://audacious-media-player.org/
Source0: http://distfiles.audacious-media-player.org/audacious-plugins-%{version}.tar.bz2
Patch0: %{name}-1.5.1-libmtp-0.3.0.patch
Patch1: %{name}-2.2-jack-0.118.0.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt5Multimedia-devel
BuildRequires: libQt5X11Extras-devel
BuildRequires: libSDL2-devel
BuildRequires: libX11-devel
BuildRequires: libXcomposite-devel
@ -23,9 +19,9 @@ BuildRequires: libadplug-devel
BuildRequires: libalsa-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libaudacious-devel
BuildRequires: libavcodec-ffmpeg-devel
BuildRequires: libavformat-ffmpeg-devel
BuildRequires: libavutil-ffmpeg-devel
BuildRequires: libavcodec-devel
BuildRequires: libavformat-devel
BuildRequires: libavutil-devel
BuildRequires: libbinio-devel
BuildRequires: libbs2b-devel
BuildRequires: libcairo-devel
@ -37,15 +33,15 @@ BuildRequires: libcurl-devel
BuildRequires: libfaad2-devel
BuildRequires: libflac-devel
BuildRequires: libfluidsynth-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libglvnd-devel
BuildRequires: libgtk2-devel
BuildRequires: libgomp-devel
BuildRequires: libgtk3-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libjack-devel
BuildRequires: libjson-glib-devel
BuildRequires: liblame-devel
BuildRequires: libmms-devel
BuildRequires: libmodplug-devel
@ -53,7 +49,6 @@ BuildRequires: libmpg123-devel
BuildRequires: libneon-devel
BuildRequires: libnotify-devel
BuildRequires: libogg-devel
BuildRequires: libopus-devel
BuildRequires: libopusfile-devel
BuildRequires: libpango-devel
BuildRequires: libpipewire-devel
@ -61,6 +56,7 @@ BuildRequires: libpulseaudio-devel
BuildRequires: libsamplerate-devel
BuildRequires: libsidplayfp-devel
BuildRequires: libsndfile-devel
BuildRequires: libsndio-devel
BuildRequires: libsoxr-devel
BuildRequires: libstdc++6-devel
BuildRequires: libvorbis-devel
@ -68,7 +64,7 @@ BuildRequires: libwavpack-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
BuildRequires: lirc-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: desktop-file-utils
BuildRequires: libnotify-devel
@ -181,7 +177,6 @@ This package provides default and additional skins for Audacious.
%prep
%setup -q
#-D -T
#%patch1 -p1
%build
#:<< _EOF
@ -249,42 +244,29 @@ EOF
%files -f %{name}.lang
%defattr(-,root,root)
%dir %{_libdir}/audacious/Input
#%{_libdir}/audacious/Input/aac.so
%{_libdir}/audacious/Input/aac-raw.so
%{_libdir}/audacious/Input/adplug.so
#%{_libdir}/audacious/Input/alac.so
%{_libdir}/audacious/Input/cdaudio-ng.so
%{_libdir}/audacious/Input/console.so
#%{_libdir}/audacious/Input/cuesheet_ng.so
#%{_libdir}/audacious/Input/demac.so
%{_libdir}/audacious/Input/flacng.so
%{_libdir}/audacious/Input/madplug.so
%{_libdir}/audacious/Input/modplug.so
#%{_libdir}/audacious/Input/musepack.so
%{_libdir}/audacious/Input/opus.so
%{_libdir}/audacious/Input/psf2.so
%{_libdir}/audacious/Input/xsf.so
#%{_libdir}/audacious/Input/sexypsf.so
%{_libdir}/audacious/Input/sid.so
%{_libdir}/audacious/Input/sndfile.so
#%{_libdir}/audacious/Input/timidity.so
%{_libdir}/audacious/Input/tonegen.so
#%{_libdir}/audacious/Input/tta.so
%{_libdir}/audacious/Input/vorbis.so
#%{_libdir}/audacious/Input/wma.so
%exclude %{_libdir}/audacious/Input/amidi-plug.so
%exclude %{_libdir}/audacious/Input/wavpack.so
%exclude %{_libdir}/audacious/Input/metronom.so
%exclude %{_libdir}/audacious/Input/vtx.so
%dir %{_libdir}/audacious/Output
#%{_libdir}/audacious/Output/OSS.so
#%{_libdir}/audacious/Output/crossfade.so
%{_libdir}/audacious/Output/filewriter.so
#%{_libdir}/audacious/Output/icecast.so
#%{_libdir}/audacious/Output/null.so
%{_libdir}/audacious/Output/oss4.so
%{_libdir}/audacious/Output/pipewire.so
%{_libdir}/audacious/Output/qtaudio.so
%{_libdir}/audacious/Output/sndio-ng.so
%dir %{_libdir}/audacious/Container
%{_libdir}/audacious/Container/*.so
%dir %{_libdir}/audacious/Effect
@ -296,11 +278,6 @@ EOF
%dir %{_libdir}/audacious/Transport
%{_libdir}/audacious/Transport/*.so
%{_datadir}/applications/audacious-plugins.desktop
#%dir %{_datadir}/audacious/images
#%{_datadir}/audacious/images/*.png
#%{_datadir}/audacious/ui/*.ui
#%dir %{_datadir}/audacious/paranormal/Presets
#%{_datadir}/audacious/paranormal/Presets/*.pnv
%doc COPYING
%files jack
@ -354,6 +331,9 @@ EOF
%{_datadir}/audacious/Skins/TinyPlayer/*
%changelog
* Fri Jun 14 2024 Automatic Build System <autodist@openmamba.org> 4.4-1mamba
- automatic version update by autodist
* Sun Apr 30 2023 Automatic Build System <autodist@mambasoft.it> 4.3.1-1mamba
- automatic version update by autodist