Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:NonFree
devilutionx
devilutionx.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File devilutionx.spec of Package devilutionx
# # spec file for package devilutionx # # Copyright (c) 2021 SUSE LLC # Copyright (c) 2019-2021, Martin Hauke <mardnh@gmx.de> # # 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: devilutionx Version: 1.2.1 Release: 0 Summary: An open source implementation of the Diablo 1 game engine # 3rdParty/asio/* is licensed under BSL-1.0 # 3rdParty/libsmacker/* is licensed under CC-BY-NC-2.0 and CC-BY-SA-NC-2.0 # 3rdParty/[Storm|StormLib]/* is licensed under MIT # 3rdParty/Radon/* is licensed under MIT License: SUSE-Public-Domain Group: Amusements/Games/RPG URL: https://github.com/diasurgical/devilutionX #Git-Clone: https://github.com/diasurgical/devilutionX.git Source: https://github.com/diasurgical/devilutionX/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source99: baselibs.conf BuildRequires: cmake >= 3.13 BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(SDL2_mixer) BuildRequires: pkgconfig(SDL2_ttf) BuildRequires: pkgconfig(libsodium) BuildRequires: pkgconfig(sdl2) # CharisSILB.ttf: Requires: sil-charis-fonts %description DevilutionX is a open source implementation of the game engine used in Diablo1. This package only includes the binary files, you still need the data files from the original Diablo1 CD. %prep %setup -q -n devilutionX-%{version} %build export CXXFLAGS='%{optflags} -DTTF_FONT_PATH=\"/usr/share/fonts/truetype/CharisSILB.ttf\"' %cmake \ -DVERSION_NUM=%{version} \ -DBINARY_RELEASE=ON %make_jobs %install install -D -m 0755 build/devilutionx %{buildroot}%{_bindir}/devilutionx install -p -D -m644 Packaging/resources/icon.png %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/%{name}.png %suse_update_desktop_file -c %{name} "DevilutionX" "A Diablo1 Game Engine" %{name} %{name} Game RolePlaying %post echo "copy diabdat.mpq to ~/.local/share/diasurgical/devilution/" %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/applications/%{name}.desktop %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor