Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:X0F:HSF
d3d9
d3d9.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File d3d9.spec of Package d3d9
# # spec file for package d3d9 # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # Name: d3d9 Version: 0.8+2~git.0d89981 Release: 0 Summary: Mesa-based D3D9 implementation for Linux / Wine License: LGPL-2.1 Group: System/Emulators/PC Url: https://github.com/iXit/wine-nine-standalone Source0: wine-nine-standalone-%{version}.tar.xz BuildRequires: distribution-release BuildRequires: wine BuildRequires: wine-devel # compilation may be broken with >= 0.50.0 BuildRequires: cmake BuildRequires: meson BuildRequires: ninja BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: glslang-devel BuildRequires: libX11-devel BuildRequires: libxcb-devel BuildRequires: Mesa-devel BuildRequires: Mesa-libd3d-devel %ifarch x86_64 BuildRequires: mingw64-cross-cpp BuildRequires: mingw64-cross-gcc BuildRequires: mingw64-cross-gcc-c++ BuildRequires: mingw64-headers BuildRequires: wine-32bit BuildRequires: wine-devel-32bit Requires: %{name}-32bit %else BuildRequires: mingw32-cross-cpp BuildRequires: mingw32-cross-gcc BuildRequires: mingw32-cross-gcc-c++ BuildRequires: mingw32-headers %endif Provides: wine-nine = %{version} Provides: wine-nine-standalone = %{version} %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 %setup -q -n wine-nine-standalone-%{version} %build export CFLAGS="%optflags" CXXFLAGS="%optflags" CPPFLAGS="%optflags" LDFLAGS="${LDFLAGS} -L%{_libdir}" export PKG_CONFIG_PATH=%{_libdir}/pkgconfig mkdir ../build ./bootstrap.sh meson \ --cross-file tools/cross-wine$(arch | tail -c 3 | sed 's|86|32|g') \ --buildtype "release" \ --prefix %{_prefix} \ ../build || cat ../build/meson-logs/meson-log.txt cd ../build ninja %install #install wrapper script mkdir -p %{buildroot}%{_bindir} %{buildroot}%{_libexecdir}/%{name}/bin sed \ -e 's|$BASE/lib32|%{_prefix}/lib/wine|g' \ -e 's|$BASE/lib64|%{_prefix}/lib64/wine|g' \ tools/nine-install.sh > %{buildroot}%{_libexecdir}/%{name}/bin/nine-install.sh ln -s %{_libexecdir}/%{name}/bin/nine-install.sh %{buildroot}%{_bindir}/wine%{name}-install.sh cd ../build #DESTDIR=%{buildroot}%{_libexecdir} ninja install install -m 755 -d %{buildroot}/%{_libdir}/wine install -m 755 -d %{buildroot}/%{_libdir}/wine/fakedlls install -m 755 ninewinecfg/ninewinecfg.exe.so %{buildroot}/%{_libdir}/wine/ninewinecfg.exe.so install -m 755 ninewinecfg/ninewinecfg.exe.fake %{buildroot}/%{_libdir}/wine/fakedlls/ninewinecfg.exe install -m 755 d3d9-nine/d3d9-nine.dll.so %{buildroot}/%{_libdir}/wine/d3d9-nine.dll.so install -m 755 d3d9-nine/d3d9-nine.dll.fake %{buildroot}/%{_libdir}/wine/fakedlls/d3d9-nine.dll chmod +x -vR %{buildroot}/%{_libdir} %files %defattr(644,root,root) %doc README.rst %license LICENSE %dir %{_libexecdir}/%{name} %dir %{_libdir}/wine %dir %{_libdir}/wine/fakedlls %attr(755, root, root) %{_libexecdir}/%{name}/bin %{_bindir}/wine%{name}-install.sh %{_libdir}/wine/ninewinecfg.exe.so %{_libdir}/wine/fakedlls/ninewinecfg.exe %{_libdir}/wine/d3d9-nine.dll.so %{_libdir}/wine/fakedlls/d3d9-nine.dll %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