Projects
Games
pcsxr
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
pcsxr.changes
Changed
@@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Wed Sep 5 16:36:20 UTC 2012 - gber@opensuse.org + +- add missing dependencies on automake, libtool +- add pcsxr-1.9.92-fix-linking.patch which fixes the linking order + (http://pcsxr.codeplex.com/workitem/7815, backported from + upstream SVN) + +------------------------------------------------------------------- Mon Dec 5 20:17:28 UTC 2011 - gber@opensuse.org - initial packaging
View file
pcsxr.spec
Changed
@@ -1,7 +1,7 @@ # # spec file for package pcsxr # -# Copyright (c) 2011 Guido Berhoerster. +# Copyright (c) 2012 Guido Berhoerster. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,6 +31,8 @@ Patch2: pcsxr-1.9.92-fix-missing-headers.patch # PATH-FIX-UPSTREAM pcsxr-1.9.92-fix-ambiguous-expressions.patch gber@opensuse.org -- Fixes a number of ambiguous expressions invoking undefined behavior Patch3: pcsxr-1.9.92-fix-ambiguous-expressions.patch +# PATCH-FIX-UPSTREAM pcsxr-1.9.92-fix-linking.patch http://pcsxr.codeplex.com/workitem/7815 gber@opensuse.org -- Fixes the linking order (backported from upstream SVN) +Patch4: pcsxr-1.9.92-fix-linking-order.patch BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(libglade-2.0) BuildRequires: pkgconfig(x11) @@ -42,6 +44,8 @@ BuildRequires: update-desktop-files BuildRequires: dos2unix BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -61,6 +65,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" TIME="\"$(date -d "${modified}" "+%%R")\"" @@ -69,14 +74,17 @@ %build export CFLAGS='%{optflags} -fno-strict-aliasing' -autoreconf -fi +./autogen.sh %configure --enable-opengl make %{?_smp_mflags} %install %make_install + rm -f %{buildroot}%{_libdir}/psemu/*.la -%find_lang pcsx + +%find_lang pcsx %{?_no_lang_C} + %suse_update_desktop_file -r pcsx System Emulator %post
View file
pcsxr-1.9.92-fix-linking-order.patch
Added
@@ -0,0 +1,12 @@ +Index: pcsxr-1.9.92/gui/Makefile.am +=================================================================== +--- pcsxr-1.9.92.orig/gui/Makefile.am ++++ pcsxr-1.9.92/gui/Makefile.am +@@ -20,5 +20,5 @@ pcsx_SOURCES = \ + AboutDlg.c + + pcsx_LDADD = \ +- $(GTK2_LIBS) $(GLADE2_LIBS) -lpthread -lz -lm -lXext -lXtst \ +- ../libpcsxcore/libpcsxcore.a ++ ../libpcsxcore/libpcsxcore.a \ ++ $(GTK2_LIBS) $(GLADE2_LIBS) -lpthread -lz -lm -lXext -lXtst
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.