public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/danmaq] rawhide: update to 0.3.0 fixes rhbz#2359020
@ 2026-07-23  3:22 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-07-23  3:22 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/danmaq
Branch : rawhide
Commit : 44ebd9f474ea9b00f7abb112bc01b5c766571e82
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-07-23T00:21:22-03:00
Stats  : +17/-36 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/danmaq/c/44ebd9f474ea9b00f7abb112bc01b5c766571e82?branch=rawhide

Log:
update to 0.3.0 fixes rhbz#2359020

---
diff --git a/danmaq.spec b/danmaq.spec
index a6a0120..5181ae5 100644
--- a/danmaq.spec
+++ b/danmaq.spec
@@ -1,69 +1,50 @@
-%global icondir %{_datadir}/icons/hicolor
 %global reponame danmaQ
 
 Name:		danmaq
-Version:	0.2.3.2
+Version:	0.3.0
 Release:	%autorelease
 Summary:	A small client side Qt program to play danmaku on any screen
 
 # Automatically converted from old format: GPLv3 - review is highly recommended.
 License:	GPL-3.0-only
 URL:		https://github.com/TUNA/%{reponame}
-Source0:        %{url}/archive/v%{version}/%{reponame}-v%{version}.tar.gz
+Source0:	%{url}/archive/v%{version}/%{reponame}-v%{version}.tar.gz
 
-BuildRequires:	qt5-qtx11extras-devel
-BuildRequires:	qt5-qtbase-devel
-BuildRequires:  cmake(Qt5LinguistTools)
+BuildRequires:	appstream
 BuildRequires:	cmake
+BuildRequires:	cmake(Qt6Core)
+BuildRequires:	cmake(Qt6LinguistTools)
+BuildRequires:	cmake(Qt6WebEngineWidgets)
+BuildRequires:	cmake(Qt6Widgets)
 BuildRequires:	desktop-file-utils
-BuildRequires:  libXext-devel
+BuildRequires:	gcc-c++
 
 %description
 DanmaQ is a small client side Qt program to play danmaku on any screen.
 
 %prep
-%setup -q -n %{reponame}-%{version}
+%autosetup -n %{reponame}-%{version}
+sed -i 's|<description>\(.*\)</description>|<description><p>\1</p></description>|' src/resource/moe.tuna.danmaq.metainfo.xml
 
 %build
-%cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5
+%cmake -DCMAKE_SKIP_RPATH=ON -DCMAKE_BUILD_TYPE=Release
 %cmake_build
 
 %install
 %cmake_install
 
-# icon files
-install -Dm0644 src/icons/statusicon.ico    %{buildroot}%{_datadir}/pixmaps/statusicon.ico
-install -Dm0644 src/icons/statusicon.png    %{buildroot}%{_datadir}/pixmaps/statusicon.png
-install -Dm0644 src/icons/statusicon_disabled.png    %{buildroot}%{_datadir}/pixmaps/statusicon_disabled.png
-install -Dm0644 src/icons/statusicon.svg %{buildroot}%{icondir}/scalable/apps/statusicon.svg
-install -Dm0644 src/resource/danmaQ.desktop %{buildroot}%{_datadir}/applications/%{reponame}.desktop
-install -Dm0644 src/resource/danmaQ.png    %{buildroot}%{_datadir}/pixmaps/danmaQ.png
-install -Dm0644 src/resource/danmaQ.svg %{buildroot}%{icondir}/scalable/apps/danmaQ.svg
-
-
 %check
 desktop-file-validate %{buildroot}%{_datadir}/applications/%{reponame}.desktop
-
-%post
-/bin/touch --no-create %{_datadir}/icons/scalable &>/dev/null ||:
-
-%postun
-if [ $1 -eq 0 ]; then
-  /bin/touch --no-create %{_datadir}/icons/scalable &>/dev/null ||:
-  /usr/bin/gtk-update-icon-cache %{_datadir}/icons/scalable &>/dev/null ||:
-fi
-
-%posttrans
-/usr/bin/gtk-update-icon-cache %{_datadir}/icons/scalable &>/dev/null ||:
+appstreamcli validate --no-net %{buildroot}%{_datadir}/metainfo/moe.tuna.danmaq.metainfo.xml
 
 %files
-%doc README.md
 %license LICENSE
+%doc README.md
 %{_bindir}/%{reponame}
-%{_mandir}/man1/%{reponame}.1.gz
-%{_datadir}/pixmaps/*
-%{_datadir}/icons/hicolor/*/apps/*
 %{_datadir}/applications/%{reponame}.desktop
+%{_datadir}/icons/hicolor/*/apps/%{reponame}.*
+%{_datadir}/metainfo/moe.tuna.danmaq.metainfo.xml
+%{_mandir}/man1/%{reponame}.1*
 
 %changelog
 %autochangelog

diff --git a/sources b/sources
index 20b1d55..9032d0c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (danmaQ-v0.2.3.2.tar.gz) = 69f88d26d12c65afba034c17b78993c81278334dc5ff9b0493ab6e316e50cf54cbaaae93e43725e1d04a12a67d238924884449ea52178560b2c53e58a2dd1fe7
+SHA512 (danmaQ-v0.3.0.tar.gz) = 4ca80db5c4e837048263ce7dd4b7b7a4000e593b59e8a8bd2def6f9e3d50e82883ea002bd184aaa32b167c7a9e7a077f800701bca332dc675f6ee2d6860febe4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-23  3:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-23  3:22 [rpms/danmaq] rawhide: update to 0.3.0 fixes rhbz#2359020 Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox