Accepting request 701662 from home:XRevan86
- Update to version 3.0. OBS-URL: https://build.opensuse.org/request/show/701662 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/minitube?expand=0&rev=40
This commit is contained in:
parent
40b7526936
commit
edd27a6cf9
14
_service
Normal file
14
_service
Normal file
@ -0,0 +1,14 @@
|
||||
<services>
|
||||
<service mode="disabled" name="tar_scm">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/flaviotordini/minitube.git</param>
|
||||
<param name="filename">minitube</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="revision">3.0</param>
|
||||
</service>
|
||||
<service mode="disabled" name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service mode="disabled" name="set_version" />
|
||||
</services>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0f51fb86d0fdfbcf00af142868ceeacb6c27eb8a1e36d856162e23d63e90eb07
|
||||
size 1000060
|
3
minitube-3.0.tar.xz
Normal file
3
minitube-3.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9b41bb899d5015d09c2e38072165a0f29f3730e5eb9248bf92cd14ee0ca69805
|
||||
size 723892
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 8 21:35:19 UTC 2019 - Alexei Sorokin <sor.alexei@meowr.ru>
|
||||
|
||||
- Update to version 3.0:
|
||||
* Port from Phonon to MPV.
|
||||
* Support all YouTube video resolutions up to 4K.
|
||||
- Switch to SOURCE_DATE_EPOCH for fake build dates.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 3 11:19:55 UTC 2018 - aloisio@gmx.com
|
||||
|
||||
@ -19,6 +27,7 @@ Sun Nov 5 14:41:22 UTC 2017 - michael@stroeder.com
|
||||
- Update to 2.8
|
||||
* Improving the overall quality of the application by
|
||||
fixing small bugs and defects
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 31 19:01:51 UTC 2017 - kieltux@gmail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package minitube
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,36 +12,39 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: minitube
|
||||
Version: 2.9
|
||||
Version: 3.0
|
||||
Release: 0
|
||||
Summary: Native YouTube Client
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Productivity/Multimedia/Video/Players
|
||||
Url: http://flavio.tordini.org/minitube
|
||||
Source: https://github.com/flaviotordini/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
URL: https://flavio.tordini.org/minitube
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
# Manpage written by Jakob Haufe <sur5r@sur5r.net> for the Debian project.
|
||||
Source1: minitube.1
|
||||
%if 0%{?suse_version} < 1500
|
||||
Source99: %{name}.changes
|
||||
%endif
|
||||
# PATCH-FIX-OPENSUSE minitube-no-update-check.patch sur5r@sur5r.net -- Disable update check.
|
||||
Patch0: %{name}-no-update-check.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: libqt5-linguist
|
||||
BuildRequires: libqt5-qtdeclarative-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: pkgconfig(Qt5DBus)
|
||||
BuildRequires: pkgconfig(Qt5Network)
|
||||
BuildRequires: pkgconfig(Qt5Script)
|
||||
BuildRequires: pkgconfig(Qt5Sql)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(Qt5X11Extras)
|
||||
BuildRequires: pkgconfig(Qt5Xml)
|
||||
BuildRequires: pkgconfig(phonon4qt5)
|
||||
Requires: phonon4qt5-backend
|
||||
BuildRequires: pkgconfig(mpv) >= 0.29.0
|
||||
Recommends: %{name}-lang
|
||||
|
||||
%description
|
||||
@ -57,23 +60,28 @@ it strives to create a new TV-like experience.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%if 0%{?suse_version} < 1500
|
||||
SOURCE_DATE="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
|
||||
export SOURCE_DATE_EPOCH="$(date -d "$SOURCE_DATE" '+%%s')"
|
||||
%endif
|
||||
# Remove build time references so build-compare can do its work
|
||||
FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{SOURCE99} '+%%b %%e %%Y')
|
||||
sed -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -i src/aboutview.cpp
|
||||
FAKE_BUILDDATE="$(LC_ALL=C date -u -d "@${SOURCE_DATE_EPOCH}" '+%%b %%e %%Y')"
|
||||
sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/aboutview.cpp
|
||||
|
||||
%build
|
||||
%qmake5 \
|
||||
"DEFINES+=APP_GOOGLE_API_KEY=AIzaSyBs1wuIgc-QDnk5u7OavF1loJVO0r89B4Y" \
|
||||
PREFIX=%{_prefix}
|
||||
make %{?_smp_mflags}
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
%install
|
||||
%{qmake5_install}
|
||||
install -Dm 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
%qmake5_install
|
||||
install -Dpm 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
%suse_update_desktop_file -r %{name} AudioVideo Video Player
|
||||
%fdupes %{buildroot}%{_datadir}/
|
||||
|
||||
%if 0%{?suse_version} <= 1320
|
||||
%if 0%{?suse_version} < 1500
|
||||
%post
|
||||
%desktop_database_post
|
||||
%icon_theme_cache_post
|
||||
@ -84,8 +92,8 @@ install -Dm 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
%endif
|
||||
|
||||
%files
|
||||
%doc AUTHORS COPYING TODO
|
||||
%license CHANGES
|
||||
%license COPYING
|
||||
%doc AUTHORS CHANGES TODO
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/%{name}/
|
||||
%exclude %{_datadir}/%{name}/locale/
|
||||
@ -93,12 +101,11 @@ install -Dm 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
%dir %{_datadir}/icons/hicolor/*/
|
||||
%dir %{_datadir}/icons/hicolor/*/apps/
|
||||
%{_datadir}/icons/hicolor/*/apps/%{name}*
|
||||
%{_mandir}/man?/%{name}.?%{?ext_man}
|
||||
%dir %{_datadir}/appdata
|
||||
%dir %{_datadir}/appdata/
|
||||
%{_datadir}/appdata/%{name}.appdata.xml
|
||||
%{_mandir}/man?/%{name}.?%{?ext_man}
|
||||
|
||||
%files lang
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/%{name}/locale/
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user