Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:X0F:HSF
wine-nine-standalone
wine-nine-standalone.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wine-nine-standalone.spec of Package wine-nine-standalone
# # spec file for package wine-nine-standalone # # Copyright (c) 2024 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: wine-nine-standalone Version: 0.10+1~git20241006.909f059 Release: 0 Summary: Wine Gallium Nine Standalone version License: LGPL-2.1-or-later Group: System/Emulators/PC URL: https://github.com/iXit/wine-nine-standalone #Source0: https://github.com/iXit/wine-nine-standalone/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz # git snapshot to make it build Source0: %{name}-%{version}.tar.xz Source2: baselibs.conf Patch0: wine-nine-standalone_nodl.patch BuildRequires: Mesa-libEGL-devel BuildRequires: Mesa-libGL-devel BuildRequires: Mesa-libd3d-devel BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libX11-devel BuildRequires: linux-glibc-devel BuildRequires: meson BuildRequires: wine >= 9.21 BuildRequires: wine-devel >= 9.21 Requires: Mesa-libd3d Obsoletes: wine-nine < 4.2 ExclusiveArch: %{ix86} x86_64 %description Gallium Nine allows to run any Direct3D 9 application with nearly no CPU overhead, which provides a smoother gaming experience and increased FPS. Gallium Nine Standalone, as the name implies, is a standalone version of the WINE parts of Gallium Nine. This decouples Gallium Nine from the WINE tree, so that it can be used with any WINE version. There is no need for any WINE patches. A stable, development, or staging WINE release is sufficient. Gallium Nine Standalone consists of two parts: * d3d9-nine.dll: Gallium Nine Direct3D 9 library * ninewinecfg.exe: GUI to enable/disable Gallium Nine with some additional info about the current state %prep %autosetup -p1 %build # optimize for tier of x86 CPUs with AVX starting from 2012 export CFLAGS="%{optflags} -pthread -fopenmp -lgomp -fPIC -O3 -fpredictive-commoning -ftree-parallelize-loops=8 -fuse-linker-plugin" export CFLAGS="${CFLAGS} -fno-omit-frame-pointer -fno-stack-protector -fno-stack-clash-protection -fms-extensions" %ifarch x86_64 export CFLAGS="${CFLAGS} -march=x86-64 -mssse3 -msse4 -msse4.1 -msse4.2 -mavx -maes -mpclmul -mtune=generic" %else export CFLAGS="${CFLAGS} -march=x86-64 -mssse3 -msse4 -msse4.1 -msse4.2 -mavx -maes -mpclmul" %endif export CXXFLAGS="${CFLAGS}" export LDFLAGS="${LDFLAGS} -Wl,-ldl -pthread -fopenmp -lgomp -fPIC -Wl,--sort-common -Wl,--gc-sections -Wl,-O1 -fuse-linker-plugin" sed "s/@PKG_CONFIG@/pkg-config/" \ < tools/cross-wine32.in \ > tools/cross-wine32 sed "s/@PKG_CONFIG@/pkg-config/" \ < tools/cross-wine64.in \ > tools/cross-wine64 CROSS=tools/cross-wine64 [ %{_lib} = "lib" ] && CROSS=tools/cross-wine32 %meson \ --cross-file $CROSS \ --bindir=%{_libdir}/wine \ --libdir=%{_libdir}/wine \ || cat /home/abuild/rpmbuild/BUILD/wine-nine-standalone-*/*/meson-logs/meson-log.txt %meson_build %install %meson_install mkdir %{buildroot}%{_libdir}/wine/fakedlls mv %{buildroot}%{_libdir}/wine/d3d9-nine.dll.fake %{buildroot}%{_libdir}/wine/fakedlls/d3d9-nine.dll mv %{buildroot}%{_libdir}/wine/ninewinecfg.exe.fake %{buildroot}%{_libdir}/wine/fakedlls/ninewinecfg.exe %files %license LICENSE %doc README.rst %dir %{_libdir}/wine %{_libdir}/wine/*.so %dir %{_libdir}/wine/fakedlls %{_libdir}/wine/fakedlls/* %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