Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ahmedmoselhi2:branches:Emulators
dolphin-emu
_service:set_version:dolphin-emu.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:set_version:dolphin-emu.spec of Package dolphin-emu
# # spec file for package dolphin-emu # # Copyright (c) 2014 SUSE LINUX Products 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/ # %define _realname dolphin Name: dolphin-emu Version: 5.0.20160624T100907 Release: 0 Summary: Gamecube / Wii / Triforce Emulator License: GPL-2.0 Group: System/Emulators/Other Url: http://www.dolphin-emu.org/ # https://github.com/dolphin-emu/dolphin Source0: %{_realname}-%{version}.tar.xz Patch: dolphin-emu_gcc6.2.1-fix.patch BuildRequires: gcc-c++ >= 5 BuildRequires: cmake llvm binutils-gold BuildRequires: ffmpeg-devel libavresample-devel BuildRequires: alsa-devel BuildRequires: libpulse-devel BuildRequires: libao-devel BuildRequires: openal-devel BuildRequires: portaudio-devel BuildRequires: soundtouch-devel BuildRequires: libusb-1_0-devel BuildRequires: bluez-devel #BuildRequires: libminiupnpc-devel BuildRequires: enet-devel #BuildRequires: polarssl-devel BuildRequires: mbedtls-devel BuildRequires: libpng-devel BuildRequires: glew-devel BuildRequires: libSDL2-devel BuildRequires: libSOIL-devel BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(libevdev) BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(xrandr) BuildRequires: sfml2-devel BuildRequires: hicolor-icon-theme BuildRequires: update-desktop-files BuildRequires: wxWidgets-3_0-devel # or better yet, Qt #BuildRequires: libqt5-qtbase-devel BuildRequires: lzo-devel BuildRequires: zlib-devel PreReq: unzip BuildRequires: fdupes git %description Dolphin is a Gamecube and Wii emulator. Most games run perfectly or with minor bugs. Games are playable at HD quality, with 1080p and more. This is a remarkable feature the actual Gamecube and Wii consoles are not capable of. As an open source project everyone can commit improvements. The code is hosted on code.google.com. Dolphin is actively developed and almost every day new features are added and bugs fixed as well. Dolphin is a multiplatform project and many operating systems are supported. Dolphin runs on Windows 7 (x86 and x64), Mac OSX and Linux. %lang_package %prep %setup -q -n %{_realname}-%{version} #patch -p1 BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%R') rev=`echo %{version}|cut -f3 -d"."` sed -i \ -e s,__DATE__,"\"$BUILDDATE\"",g \ -e s,__TIME__,"\"$BUILDTIME\"",g \ $(grep -iRl "__DATE__" Source/*) %build # Qt UI is still incomplete # LTO & _FORTIFY_SOURCE breaks build: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751812 cmake . \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_LINKER=ld.gold \ -DDOLPHIN_WC_REVISION="$rev" \ -DDOLPHIN_WC_DESCRIBE="%{version}" \ -DDOLPHIN_WC_BRANCH="master" \ -DUSE_EGL=ON -DENABLE_LTO=ON # -DDISABLE_WX=ON -DENABLE_QT=ON make %{?_smp_mflags} %install make %{?_smp_mflags} install DESTDIR="%{?buildroot}" #install -m 755 Binaries/dolphin-emu-qt %{?buildroot}%{_bindir} %fdupes -s %{buildroot} %find_lang %{name} # cleaning garbage rm -rf %{buildroot}%{_includedir}/mbedtls %{buildroot}%{_libexecdir}/libmbed* # Still waiting for the day Game;Emulator; is supported %suse_update_desktop_file -c %name Dolphin 'Gamecube / Wii / Triforce Emulator' %{name} %{name} 'System;Emulator;' %post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun %files lang -f %name.lang %files %defattr(-, root, root) %doc license.txt Readme.md %{_bindir}/%{name}* %{_datadir}/%{name} %{_datadir}/icons/hicolor/*/*/* %{_datadir}/applications/%{name}.desktop %{_mandir}/man?/%{name}*.?.* %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