- Update to version 1.60: * Added an AUTO mode for VIDEOSCALE in protracker.ini. This is now the default. It will use the most optimal window size based on the screen resolution. If you want this feature but don't want to replace protracker.ini, set VIDEOSCALE to AUTO (make sure you have v1.60 or later). Manual settings (2X, 3X, ...) still work like expected. * Removed VIDEOSCALE limit of 2X for ARM systems. This was originally meant for Raspberry Pi, but it would affect all ARM systems (except Apple). OBS-URL: https://build.opensuse.org/request/show/1093818 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/pt2-clone?expand=0&rev=5
61 lines
2.0 KiB
RPMSpec
61 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package pt2-clone
|
|
#
|
|
# Copyright (c) 2023 SUSE LLC
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: pt2-clone
|
|
Version: 1.60
|
|
Release: 0
|
|
Summary: ProTracker 2 clone
|
|
License: BSD-3-Clause AND CC-BY-NC-SA-4.0
|
|
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
|
URL: https://16-bits.org/pt2.php
|
|
#Git-Clone: https://github.com/8bitbubsy/pt2-clone.git
|
|
Source: https://github.com/8bitbubsy/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
BuildRequires: cmake
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(sdl2)
|
|
|
|
%description
|
|
Multi-platform clone of the classic music making software
|
|
ProTracker 2.3D.
|
|
|
|
%prep
|
|
%setup -q
|
|
# HACK: fix icon
|
|
sed 's|Icon=ProTracker 2 clone|Icon=pt2-clone|g' \
|
|
-i "release/other/Freedesktop.org Resources/ProTracker 2 clone.desktop"
|
|
|
|
%build
|
|
%cmake
|
|
%cmake_build
|
|
|
|
%install
|
|
%cmake_install
|
|
install -Dpm 0644 "release/other/Freedesktop.org Resources/ProTracker 2 clone.desktop" %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
install -Dpm 0644 "release/other/Freedesktop.org Resources/ProTracker 2 clone.png" %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
|
|
|
%files
|
|
%license LICENSE LICENSES.txt
|
|
%doc README.md release/{effects.txt,help.txt,keybindings.txt}
|
|
%doc release/other/protracker.ini
|
|
%{_bindir}/pt2-clone
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
|
|
%changelog
|