commit 18bfd88a84df92c3efb1d7729eab367a85247230
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Tue Mar 26 00:44:36 2024 +0000
Update bino to 2.1
.gitignore | 1 +
bino.spec | 99 +++++++++++++++++++++++++++-----------------------------------
sources | 2 +-
3 files changed, 45 insertions(+), 57 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index bf53797..fd0a39c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
bino-*.tar.xz
+/bino-2.1.tar.gz
diff --git a/bino.spec b/bino.spec
index fe86db2..31bfa5d 100644
--- a/bino.spec
+++ b/bino.spec
@@ -1,34 +1,39 @@
Name: bino
-Version: 1.6.8
-Release: 5%{?dist}
+Version: 2.1
+Release: 1%{?dist}
Summary: 3D video player
-Group: System Environment/Base
-License: GPLv3+
+License: GPL-3.0-or-later
URL:
https://bino3d.org
-Source0: %url/releases/%{name}-%{version}.tar.xz
+Source0: %url/releases/%{name}-%{version}.tar.gz
# No libquadmath-devel on any other arch apart from x86
-ExclusiveArch: i686 x86_64
+#ExclusiveArch: i686 x86_64
-Requires(post): /sbin/install-info
-Requires(preun): /sbin/install-info
Requires: hicolor-icon-theme
-BuildRequires: automake
-%if 0%{?fedora} && 0%{?fedora} > 35
-BuildRequires: compat-ffmpeg4-devel
-%else
-BuildRequires: ffmpeg-devel
-%endif
-BuildRequires: gcc-c++
-BuildRequires: glew-devel
-BuildRequires: libass-devel
-BuildRequires: openal-devel
-BuildRequires: qt5-qtbase-devel
-BuildRequires: libquadmath-devel
-BuildRequires: gettext-devel
-BuildRequires: texinfo
-BuildRequires: desktop-file-utils
+BuildRequires: cmake
+BuildRequires: cmake(Qt6Core)
+BuildRequires: cmake(Qt6Gui)
+BuildRequires: cmake(Qt6OpenGL)
+BuildRequires: cmake(Qt6Widgets)
+BuildRequires: cmake(Qt6OpenGLWidgets)
+BuildRequires: cmake(Qt6Multimedia)
+BuildRequires: cmake(Qt6Svg)
+BuildRequires: cmake(Qt6Linguist)
+BuildRequires: cmake(QVR)
+BuildRequires: pkgconfig(freetype2)
+BuildRequires: pkgconfig(gl)
+BuildRequires: pkgconfig(glew) >= 1.5.0
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: desktop-file-utils
+BuildRequires: ffmpeg-devel
+BuildRequires: libappstream-glib
+BuildRequires: gettext-devel
+BuildRequires: gcc-c++
+BuildRequires: pkgconfig(libass)
+BuildRequires: pkgconfig(openal)
+BuildRequires: pkgconfig(libpng)
+BuildRequires: texinfo
%description
Bino is a 3D video player. It supports stereoscopic 3D video with a wide
@@ -39,48 +44,30 @@ multi-projector setups.
%prep
%autosetup -p1
-# Removal of unneeded stuff
-rm -rf pkg/macosx/*
-touch pkg/macosx/Info.plist.in
-
%build
-%if 0%{?fedora} && 0%{?fedora} > 35
-export PKG_CONFIG_PATH="%{_libdir}/compat-ffmpeg4/pkgconfig"
-%endif
-%configure --with-qt-version=5
-%make_build V=1
+%cmake
+%cmake_build
%install
-%make_install
-rm -f %{buildroot}%{_infodir}/dir
+%cmake_install
rm -rf %{buildroot}%{_datadir}/doc
-desktop-file-validate %{buildroot}%{_datadir}/applications/bino.desktop
-
-%find_lang %{name}
-
-%post
-/sbin/install-info \
- --entry="* bino: (bino). 3D video player" \
- --section="Miscellaneous" \
- %{_infodir}/%{name}.info \
- %{_infodir}/dir 2>/dev/null || :
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/org.bino3d.bino.desktop
+appstream-util validate-relax --nonet
%{buildroot}/%{_metainfodir}/org.bino3d.bino.metainfo.xml
-%preun
-if [ $1 -eq 0 ]; then
- /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null ||
:
-fi
-
-%files -f %{name}.lang
-%doc AUTHORS ChangeLog NEWS README doc/*
-%license COPYING
+%files
+%doc NEWS.md README.md
+%license LICENSE.md
%{_bindir}/bino
-%{_infodir}/*
-%{_mandir}/man1/*
-%{_datadir}/applications/bino.desktop
-%{_datadir}/icons/hicolor/*/apps/*
+%{_datadir}/applications/org.bino3d.bino.desktop
+%{_metainfodir}/org.bino3d.bino.metainfo.xml
+%{_datadir}/icons/hicolor/*/apps/org.bino3d.bino.*
%changelog
+* Mon Mar 25 2024 Leigh Scott <leigh123linux(a)gmail.com> - 2.1-1
+- Update bino to 2.1
+
* Sat Feb 03 2024 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> -
1.6.8-5
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
diff --git a/sources b/sources
index adc063e..24140bb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (bino-1.6.8.tar.xz) =
d8cf5be356add4ed3fb36673038b5ffd92d0dc840798cc616fa4b11fec221c7f114347dfc7cdb7a3a24c5599b56301cddc99f84d3862d8e874612960281319cc
+SHA512 (bino-2.1.tar.gz) =
6a7e22a311bdfce4fbfb4b0dedebc5524ea08af773d14e6ca235c3693c7aacea40b1941302e2a9c20564a0783b4728b38db9f6cbb727289df668d50dbba0180d