From 0385d260761a948329a7af11f7f0476f8af5b6e11c942acc4d493534e2dfdd5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 3 Feb 2018 13:13:18 +0000 Subject: [PATCH] Accepting request 572105 from home:alois:branches:multimedia:apps Brought over from Packman OBS-URL: https://build.opensuse.org/request/show/572105 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/gst123?expand=0&rev=1 --- .gitattributes | 23 +++++++ .gitignore | 1 + gst123-0.3.5.tar.bz2 | 3 + gst123.changes | 146 +++++++++++++++++++++++++++++++++++++++++++ gst123.desktop | 10 +++ gst123.spec | 74 ++++++++++++++++++++++ 6 files changed, 257 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 gst123-0.3.5.tar.bz2 create mode 100644 gst123.changes create mode 100644 gst123.desktop create mode 100644 gst123.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/gst123-0.3.5.tar.bz2 b/gst123-0.3.5.tar.bz2 new file mode 100644 index 0000000..34939f7 --- /dev/null +++ b/gst123-0.3.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c7b4729773f66cc679e94df76bcc6a95a2222192730f906e527e72624f084a7d +size 125468 diff --git a/gst123.changes b/gst123.changes new file mode 100644 index 0000000..fdf1159 --- /dev/null +++ b/gst123.changes @@ -0,0 +1,146 @@ +------------------------------------------------------------------- +Fri Feb 2 17:15:48 UTC 2018 - aloisio@gmx.com + +- Update to version 0.3.5 + * Support faster/slower playback [David Fries]. + * Better status bar notification (on the same line as time). + * Minor bugfixes. + +- Drop gst123.ncurses.patch (merged upstream) + +- Spec cleanup + +------------------------------------------------------------------- +Fri Feb 10 15:01:26 UTC 2017 - olaf@aepfle.de + +- Update to version 0.3.4.20160601.c2edb28: + - Option parsing bug for "-@, --list" fixed. + - Avoid annoying redundant tag updates. + - Support video subtitles [Ahmed El-Mahmoudy]. + - Use A/a keys to set video opacity [Ahmed El-Mahmoudy]. + - Work around kwin window manager policy "focus stealing prevention". + - Fix image filetype detection bug. + - Fix Issue 14: Use sync bus handler to set window xid. + - Fix Issue 13: In some cases playing videos leads to g_criticals(). + - Added "-f, --fullscreen" option to start playback in fullscreen mode. + - Added "--volume" option to set initial playback volume. + - Ignore symlinks when crawling directories. + - Various bugfixes. + +------------------------------------------------------------------- +Wed Apr 23 13:20:10 CEST 2014 - ohering@suse.de + +- BuildRequire glib2-devel >= 2.32 due to GMutex/GCond usage + +------------------------------------------------------------------- +Mon Jul 29 02:04:35 UTC 2013 - malcolmlewis@opensuse.org + +- Update to version 0.3.3: + + Fix Issue 10: Local files not properly escaped when converted + to URLs. + + Added "-k, --skip=" option: skip first 'n' seconds + [Tobias Bengfort]. +- Updates from version 0.3.2: + + Support building with gstreamer 1.0 or gstreamer 0.10 + (Issue 11). + + Added "-a pulse" PulseAudio output support. + + Fix time display updates (broken by introduction of quiet + mode). + + Properly quit player if none of the files in the playlist can + be played. + + Cleanup code to avoid compiler warnings. +- Rebase gst123-gtk2_backport_GDK_BLANK_CURSOR.patch. + +------------------------------------------------------------------- +Sun Apr 22 21:15:30 UTC 2012 - pascal.bleser@opensuse.org + +- update to 0.3.1: + * added quiet mode + * ignore image files during playback + * added keybinding 'n' for 'play next file' + +------------------------------------------------------------------- +Thu Mar 29 21:28:36 UTC 2012 - pascal.bleser@opensuse.org + +- update to 0.3.0: + * support visualization plugins during audio playback + +------------------------------------------------------------------- +Fri Feb 17 07:03:28 UTC 2012 - pascal.bleser@opensuse.org + +- update to 0.2.2: + * disable screensaver during video playback (via xdg-screensaver) + * fixed includes to compile with gcc-4.7 + * fixed a problem with fullscreen/unfullscreen + +------------------------------------------------------------------- +Sun Sep 04 15:14:50 UTC 2011 - pascal.bleser@opensuse.org + +- update to 0.2.1: + * fixed minor memory leak + * fix warnings due to wrong glib option parsing + * use wikihtml2man for documentation (replaces old doxer based manpage) + +------------------------------------------------------------------- +Tue Apr 12 19:26:35 UTC 2011 - pascal.bleser@opensuse.org + +- update to 0.2.0: + * the behavior of the options --shuffle, --repeat, and --random is now + identical to ogg123 + * the colon character is now supported in filenames + * the "none" audio driver was added, which disables audio output + * the --full-version option is supported, which prints versions of the + libraries used by gst123 + * minor fixes were made + +------------------------------------------------------------------- +Sun Jan 16 20:55:25 UTC 2011 - pascal.bleser@opensuse.org + +- update to 0.1.4: + * a crash for "dumb" terminals was fixed + +------------------------------------------------------------------- +Sun Nov 28 22:44:41 UTC 2010 - pascal.bleser@opensuse.org + +- update to 0.1.3: + * support for m3u and pls playlists was added + * JACK audio output is available now + * the audio driver can be set using a configuration file (or on the command line, as before) + +------------------------------------------------------------------- +Mon Jul 5 23:05:39 UTC 2010 - pascal@links2linux.de + +- update to 0.1.2: + * adds an -a option to select the audio driver (OSS/ALSA) and device (/dev/dsp1, hw:1) + * fixes a crash triggered when closing the video window + +------------------------------------------------------------------- +Sat Jun 26 21:29:59 UTC 2010 - pascal@links2linux.de + +- update to 0.1.1: + * the code was fixed to allow URIs in playlists + +- changes from 0.1.0: + * proper support for watching video files with gst123 has been added, + including a full screen mode (f) and using keys (like page up, cursor left, + etc.) within the video window + * also hides the mouse in the video widget and uses the correct aspect ratio during zoom + * GStreamer playbin2 is now used instead of playbin + * option parsing was improved (--help, --help-gst, and --help-gtk work) + * the ability to disable video stream (-x, --novideo) was added + * pause / muted state is now printed in the status display + +------------------------------------------------------------------- +Tue May 11 05:49:47 UTC 2010 - pascal@links2linux.de + +- update to 0.0.3: + * fixes buggy key handling when keys are autorepeating + * restores proper terminal settings after Ctrl+Z + * adds keys for mute and volume control + * displays the video codec when present + +------------------------------------------------------------------- +Mon May 3 23:09:05 UTC 2010 - pascal@links2linux.de + +- initial package: 0.0.2 + diff --git a/gst123.desktop b/gst123.desktop new file mode 100644 index 0000000..fdd28f3 --- /dev/null +++ b/gst123.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Terminal=true +TryExec=gst123 +Exec=gst123 %U +Type=Application +Categories= +StartupNotify=false +Name=gst123 +GenericName=Audio Player +MimeType=audio/aac;audio/mp4;audio/mpeg;audio/mpegurl;audio/vnd.rn-realaudio;audio/vorbis;audio/x-flac;audio/x-mp3;audio/x-mpegurl;audio/x-ms-wma;audio/x-musepack;audio/x-oggflac;audio/x-pn-realaudio;audio/x-scpls;audio/x-speex;audio/x-vorbis;audio/x-wav;video/x-ms-asf;application/x-ogm-audio;audio/x-vorbis+ogg;application/ogg;audio/ogg; diff --git a/gst123.spec b/gst123.spec new file mode 100644 index 0000000..857676f --- /dev/null +++ b/gst123.spec @@ -0,0 +1,74 @@ +# +# spec file for package gst123 +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2012-2013 Pascal Bleser +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: gst123 +Version: 0.3.5 +Release: 0 +Summary: GStreamer based Command Line Music Player +License: LGPL-2.0+ +Group: Productivity/Multimedia/Sound/Players +URL: http://space.twc.de/~stefan/gst123.php +Source: http://space.twc.de/~stefan/gst123/%{name}-%{version}.tar.bz2 +Source1: gst123.desktop +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: update-desktop-files +BuildRequires: pkgconfig(gstreamer-1.0) +BuildRequires: pkgconfig(gstreamer-base-1.0) +BuildRequires: pkgconfig(gstreamer-video-1.0) +BuildRequires: pkgconfig(gtk+-2.0) +%if 0%{?suse_version} >= 1500 +BuildRequires: pkgconfig(ncurses) >= 5 +%else +BuildRequires: ncurses-devel +%endif + +%description +The gst123 program is designed to be a more flexible command line player akin +to ogg123 and mpg123, but based on gstreamer. It can play all the file formats +supported by gstreamer, like (but not limited to) flac, ogg and mp3. + +%prep +%setup -q + +%build +%configure +make %{?_smp_mflags} V=1 + +%install +%make_install +install -D -m0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop" +%suse_update_desktop_file -r "%{name}" AudioVideo Player +%find_lang "%{name}" || echo -n >"%{name}.lang" + +%if 0%{?suse_version} < 1500 +%post +%desktop_database_post + +%postun +%desktop_database_postun +%endif + +%files -f "%{name}.lang" +%doc AUTHORS COPYING NEWS +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1%{ext_man} +%{_datadir}/applications/%{name}.desktop + +%changelog