## START: Set by rpmautospec ## (rpmautospec version 0.7.2) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 10; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %define inochi_session_ver 0.8.7 %define inochi_session_dist 2 %define inochi_session_short affd74e %define inochi_session_suffix ^%{inochi_session_dist}.git%{inochi_session_short} Name: inochi-session-devtest Version: %{inochi_session_ver}%{?inochi_session_suffix:} Release: %autorelease Summary: Tool to use Inochi2D puppets # Bundled lib licenses ## bindbc-loader licenses: BSL-1.0 ## bindbc-lua licenses: BSL-1.0 ## bindbc-sdl licenses: BSL-1.0 ## ddbus licenses: MIT ## diet-ng licenses: MIT ## dportals licenses: BSD-2-Clause ## dunit licenses: MIT ## eventcore licenses: MIT ## facetrack-d licenses: BSD-2-Clause ## fghj licenses: BSL-1.0 ## i18n-d licenses: BSD-2-Clause ## i2d-imgui licenses: BSL-1.0 and MIT ## i2d-opengl licenses: BSL-1.0 ## imagefmt licenses: BSD-2-Clause ## inmath licenses: BSD-2-Clause ## inochi2d licenses: BSD-2-Clause ## inui licenses: BSD-2-Clause ## lumars licenses: MIT ## mir-algorithm licenses: Apache-2.0 ## mir-core licenses: Apache-2.0 ## mir-linux-kernel licenses: BSL-1.0 ## openssl licenses: OpenSSL ## silly licenses: ISC ## stdx-allocator licenses: BSD-2-Clause ## taggedalgebraic licenses: BSD-2-Clause ## tinyfiledialogs licenses: Zlib ## vibe-container licenses: MIT ## vibe-core licenses: MIT ## vibe-d licenses: MIT ## vmc-d licenses: BSD-2-Clause License: BSD-2-Clause and Apache-2.0 and BSL-1.0 and ISC and MIT and OpenSSL and Zlib URL: https://github.com/grillo-delmal/inochi-session-devtest Source0: https://github.com/grillo-delmal/inochi-session-devtest/releases/download/nightly/inochi-session-source.zip Source1: inochi-session-devtest.desktop Source2: inochi-session-devtest.appdata.xml Source3: dub.selections.json Source4: icon.png # dlang BuildRequires: ldc BuildRequires: dub BuildRequires: jq BuildRequires: desktop-file-utils BuildRequires: libappstream-glib BuildRequires: git #bindbc-lua reqs BuildRequires: luajit-devel #dportals reqs BuildRequires: dbus-devel #i2d-imgui reqs BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: freetype-devel BuildRequires: SDL2-devel #openssl reqs BuildRequires: openssl-devel Requires: hicolor-icon-theme #bindbc-lua deps Requires: luajit #dportals deps Requires: dbus #i2d-imgui deps Requires: libstdc++ Requires: freetype Requires: SDL2 #openssl deps Requires: openssl %description This is a development test version of the software maintained by Grillo del Mal, use at your own risk. Inochi2D is a framework for realtime 2D puppet animation which can be used for VTubing, game development and digital animation. Inochi Session is a tool that lets you use your Inochi2D models for live streaming. %prep %setup -c jq "map(.path = ([\"$(pwd)\"] + (.path | split(\"/\"))[-4:] | join(\"/\")) )" <<<$(<.dub/packages/local-packages.json) > .dub/packages/local-packages.linux.json rm .dub/packages/local-packages.json mv .dub/packages/local-packages.linux.json .dub/packages/local-packages.json dub add-local .flatpak-dub/semver/*/semver dub add-local .flatpak-dub/gitver/*/gitver %build export DFLAGS="%{_d_optflags} -L-rpath=%{_libdir}/inochi-session-devtest/" # Build metadata dub build --skip-registry=all --compiler=ldc2 --config=update-version dub build --skip-registry=all --compiler=ldc2 --config=meta # Build the project, with its main file included, without unittests dub build --skip-registry=all --compiler=ldc2 --config=barebones --build=debug %install install -d ${RPM_BUILD_ROOT}%{_libdir}/inochi-session-devtest install -p ./out/cimgui.so ${RPM_BUILD_ROOT}%{_libdir}/inochi-session-devtest/cimgui.so install -d ${RPM_BUILD_ROOT}%{_bindir} install -p ./out/inochi-session ${RPM_BUILD_ROOT}%{_bindir}/inochi-session-devtest install -d ${RPM_BUILD_ROOT}%{_datadir}/applications/ install -p -m 644 %SOURCE1 ${RPM_BUILD_ROOT}%{_datadir}/applications/inochi-session-devtest.desktop desktop-file-validate \ ${RPM_BUILD_ROOT}%{_datadir}/applications/inochi-session-devtest.desktop install -d ${RPM_BUILD_ROOT}%{_metainfodir}/ install -p -m 644 %SOURCE2 ${RPM_BUILD_ROOT}%{_metainfodir}/inochi-session-devtest.appdata.xml appstream-util validate-relax --nonet \ ${RPM_BUILD_ROOT}%{_metainfodir}/inochi-session-devtest.appdata.xml install -d $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/256x256/apps/ install -p -m 644 %{SOURCE4} $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/256x256/apps/inochi-session-devtest.png install -d ${RPM_BUILD_ROOT}%{_datadir}/inochi-session-devtest/ install -p -m 644 %SOURCE3 ${RPM_BUILD_ROOT}%{_datadir}/inochi-session-devtest/dub.selections.json %files %license LICENSE %{_bindir}/inochi-session-devtest %{_libdir}/inochi-session-devtest/* %{_metainfodir}/inochi-session-devtest.appdata.xml %{_datadir}/applications/inochi-session-devtest.desktop %{_datadir}/icons/hicolor/256x256/apps/inochi-session-devtest.png %{_datadir}/inochi-session-devtest/dub.selections.json %changelog ## START: Generated by rpmautospec * Tue Oct 22 2024 Sync Process - 0.8.7^2.gitaffd74e-10 - RPM Update 202410220145 * Sat Oct 19 2024 Sync Process - 0.8.7^2.gitaffd74e-9 - RPM Update 202410190047 * Wed Oct 16 2024 Sync Process - 0.8.7^2.gitaffd74e-8 - RPM Update 202410160050 * Sun Oct 13 2024 Sync Process - 0.8.7^2.gitaffd74e-7 - RPM Update 202410130052 * Thu Oct 10 2024 Sync Process - 0.8.7^2.gitaffd74e-6 - RPM Update 202410100050 * Tue Oct 08 2024 Sync Process - 0.8.7^2.gitaffd74e-5 - RPM Update 202410080048 * Sun Oct 06 2024 Sync Process - 0.8.7^2.gitaffd74e-4 - RPM Update 202410060052 * Sat Oct 05 2024 Sync Process - 0.8.7^2.gitaffd74e-3 - RPM Update 202410050048 * Thu Oct 03 2024 Sync Process - 0.8.7^2.gitaffd74e-2 - RPM Update 202410031807 * Thu Oct 03 2024 Sync Process - 0.8.7^2.gitaffd74e-1 - RPM Update 202410030048 * Sat Sep 28 2024 Sync Process - 0.8.7^1.git3e80075-7 - RPM Update 202409280049 * Sun Sep 22 2024 Sync Process - 0.8.7^1.git3e80075-6 - RPM Update 202409220153 * Sun Sep 22 2024 Sync Process - 0.8.7^1.git3e80075-5 - RPM Update 202409220052 * Fri Sep 20 2024 Sync Process - 0.8.7^1.git3e80075-4 - RPM Update 202409202137 * Fri Sep 20 2024 Sync Process - 0.8.7^1.git3e80075-3 - RPM Update 202409201911 * Fri Sep 20 2024 Grillo del Mal - 0.8.7^1.git3e80075-2 - Add update-version process * Fri Sep 20 2024 Sync Process - 0.8.7^1.git3e80075-1 - RPM Update 202409200102 * Fri Sep 20 2024 Sync Process - 0.8.6^1.gitcf8b76f-1 - RPM Update 202409200045 * Wed Sep 18 2024 Sync Process - 0.8.4^1.gite885d16-5 - RPM Update 202409180048 * Tue Sep 17 2024 Sync Process - 0.8.4^1.gite885d16-4 - RPM Update 202409170040 * Sun Sep 15 2024 Sync Process - 0.8.4^1.gite885d16-3 - RPM Update 202409150334 * Sat Sep 14 2024 Sync Process - 0.8.4^1.gite885d16-2 - RPM Update 202409140046 * Fri Sep 13 2024 Sync Process - 0.8.4^1.gite885d16-1 - RPM Update 202409130212 * Thu Sep 12 2024 Grillo del Mal - 0.8.4^0.gitcc0e3a4-1 - Rename project to devtest ## END: Generated by rpmautospec