Accepting request 1066062 from home:mnhauke

Initial package for ft2-clone

OBS-URL: https://build.opensuse.org/request/show/1066062
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/ft2-clone?expand=0&rev=1
This commit is contained in:
Martin Pluskal 2023-02-17 08:50:52 +00:00 committed by Git OBS Bridge
commit c7308951b6
6 changed files with 113 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
ft2-clone-1.63.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eecff99aa37b0dc989066b35237bbcbd407e87b1d9e443c7e75ca09413d1b34b
size 6029757

12
ft2-clone.changes Normal file
View File

@ -0,0 +1,12 @@
-------------------------------------------------------------------
Tue Feb 14 21:42:47 UTC 2023 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.63
- Build with system-wide flac
- Use pkg-config style dependencies
-------------------------------------------------------------------
Sat Oct 9 14:04:02 UTC 2021 - Arachnos
- Initial package with Fasttracker II clone v1.47

10
ft2-clone.desktop Normal file
View File

@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Name=Fasttracker II clone
Comment=A clone of the classic music making software Fasttracker II
Exec=ft2-clone
Icon=ft2-clone
Terminal=false
Categories=AudioVideo;AudioVideoEditing;
Keywords=tracker;music;
MimeType=audio/xm;audio/mod;audio/s3m;audio/stm;

64
ft2-clone.spec Normal file
View File

@ -0,0 +1,64 @@
#
# spec file for package ft2-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: ft2-clone
Version: 1.63
Release: 0
Summary: Fasttracker II clone
License: BSD-3-Clause AND CC-BY-NC-SA-4.0
Group: Productivity/Multimedia/Sound/Editors and Convertors
URL: https://16-bits.org/ft2.php
#Git-Clone: https://github.com/8bitbubsy/ft2-clone.git
Source: https://github.com/8bitbubsy/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: %{name}.desktop
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: icns-utils
BuildRequires: pkgconfig
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(flac)
BuildRequires: pkgconfig(sdl2)
Provides: bundled(rtmidi)
%description
Multi-platform clone of the classic music making software
Fasttracker II. It can load XM, MOD, S3M, STM module files.
%prep
%setup -q
icns2png -x "release/macos/ft2-clone-macos.app/Contents/Resources/ft2-clone-macos.icns"
rm -R src/libflac
%build
%cmake -DEXTERNAL_LIBFLAC=ON
%cmake_build
%install
%cmake_install
install -Dpm 0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop
install -Dpm 0644 ft2-clone-macos_256x256x32.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
%files
%license LICENSE LICENSES.txt src/gfxdata/bmp/LICENSE.txt
%doc README.md release/problems.txt
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%changelog