Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:RedDwarf:NonFree:multimedia
dolphin-emu
dolphin-emu.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dolphin-emu.spec of Package dolphin-emu
%define _with_ffmpeg 1 # # spec file for package dolphin-emu # # Copyright (c) 2012 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/ # %bcond_with ffmpeg Name: dolphin-emu Version: 3.0.1348762545 Release: 0 Summary: Gamecube / Wii / Triforce Emulator License: GPL-2.0 Group: System/Emulators/Other Url: http://www.dolphin-emu.com/ Source0: dolphin-emu-%{version}.tar.bz2 # http://code.google.com/p/dolphin-emu/issues/detail?id=5542 Patch0: dolphin-emu-3.0.1343066217-wx.patch BuildRequires: cg-devel BuildRequires: cmake >= 2.6 BuildRequires: gcc-c++ BuildRequires: libSOIL-devel BuildRequires: lzo-devel BuildRequires: sfml-devel BuildRequires: wxWidgets-devel >= 2.9.3 BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(bluez) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glew) BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(portaudio-2.0) BuildRequires: pkgconfig(sdl) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(zlib) %define _use_internal_dependency_generator 0 %define __find_requires %wx_requires %if %{with ffmpeg} BuildRequires: pkgconfig(libavcodec) >= 53.5.0 BuildRequires: pkgconfig(libavformat) >= 53.2.0 BuildRequires: pkgconfig(libavutil) >= 51.7.0 BuildRequires: pkgconfig(libswscale) >= 2.0.0 %endif %description Gamecube / Wii / Triforce Emulator. %prep %setup -q %patch0 FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" Source/Core/DolphinWX/Src/AboutDolphin.cpp FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S') sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" Source/Core/DolphinWX/Src/AboutDolphin.cpp Source/Core/Common/Src/Log.h %build export CFLAGS='%{optflags}' export CXXFLAGS='%{optflags}' mkdir build cd build cmake -DCMAKE_BUILD_WITH_INSTALL_RPATH=1 \ -DCMAKE_VERBOSE_MAKEFILE=1 \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_BUILD_TYPE=Release \ .. make %{?_smp_mflags} %install cd build %make_install cd .. %find_lang %{name} install -p -D -m 0644 Source/Core/DolphinWX/resources/Dolphin.xpm %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/dolphin-emu.xpm mkdir -p %{buildroot}%{_datadir}/applications/ # Still waiting for the day Game;Emulator; is supported cat > %{buildroot}%{_datadir}/applications/dolphin-emu.desktop <<EOF [Desktop Entry] Type=Application Name=Dolphin Comment=Gamecube / Wii / Triforce Emulator Exec=dolphin-emu Icon=dolphin-emu Categories=System;Emulator; EOF %files -f %{name}.lang %defattr(0644, root, root, 0755) %doc license.txt Readme.txt %attr(0755, root, root) %{_bindir}/dolphin-emu %{_datadir}/dolphin-emu/ %{_datadir}/icons/hicolor/32x32/apps/dolphin-emu.xpm %{_datadir}/applications/dolphin-emu.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