packages: pingus/pingus.spec - disable xinput build due to some missing fil...

lisu lisu at pld-linux.org
Thu Feb 2 20:36:16 CET 2012


Author: lisu                         Date: Thu Feb  2 19:36:16 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- disable xinput build due to some missing files in sources

---- Files affected:
packages/pingus:
   pingus.spec (1.69 -> 1.70) 

---- Diffs:

================================================================
Index: packages/pingus/pingus.spec
diff -u packages/pingus/pingus.spec:1.69 packages/pingus/pingus.spec:1.70
--- packages/pingus/pingus.spec:1.69	Thu Feb  2 16:42:00 2012
+++ packages/pingus/pingus.spec	Thu Feb  2 20:36:10 2012
@@ -1,11 +1,15 @@
 # $Revision$, $Date$
+#
+# TODO: when build with_xinput=true:
+#	src/engine/input/xinput/xinput_driver.cpp:20:28: fatal error: pingus/debug.hpp
+#
 Summary:	Pingus, a lemmings style game with penguins
 Summary(pl.UTF-8):	Gra typu lemmingi z pingwinami w roli głównej
 Summary(pt_BR.UTF-8):	Um clone de lemmings com pingüins
 Name:		pingus
 Version:	0.7.6
 Release:	0.1
-License:	GPL v2+
+License:	GPL v3+
 Group:		X11/Applications/Games
 Source0:	http://pingus.googlecode.com/files/%{name}-%{version}.tar.bz2
 # Source0-md5:	561798686f34d3fa4e69135d655f47ac
@@ -21,7 +25,7 @@
 BuildRequires:	libstdc++-devel
 BuildRequires:	rpmbuild(macros) >= 1.385
 BuildRequires:	scons
-BuildRequires:	xorg-lib-libXi-devel
+#BuildRequires:	xorg-lib-libXi-devel
 # sr at Latn vs. sr at latin
 Conflicts:	glibc-misc < 6:2.7
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -46,8 +50,9 @@
 rm -f data/po/pingus.pot
 
 %build
-export CXXFLAGS="%{rpmcxxflags} -std=c++0x" 
-%scons with_xinput=true
+export CXXFLAGS="%{rpmcxxflags} -std=c++0x"
+#%%scons with_xinput=true
+%scons
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -55,7 +60,7 @@
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
-install	%{name} $RPM_BUILD_ROOT%{_bindir}
+install	build/%{name} $RPM_BUILD_ROOT%{_bindir}
 cp -r data $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 %clean
@@ -63,7 +68,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS TODO
+%doc AUTHORS NEWS README TODO
 %attr(755,root,root) %{_bindir}/pingus
 %{_datadir}/%{name}
 %{_desktopdir}/%{name}.desktop
@@ -75,6 +80,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.70  2012/02/02 19:36:10  lisu
+- disable xinput build due to some missing files in sources
+
 Revision 1.69  2012/02/02 15:42:00  lisu
 - updated to 0.7.6
 - gcc4 patch commented for now
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pingus/pingus.spec?r1=1.69&r2=1.70&f=u



More information about the pld-cvs-commit mailing list