SPECS: pwc.spec - up to 10.0.9, 2.6.14 kernel pwc has decompresso...

sparky sparky at pld-linux.org
Sun Nov 13 02:47:57 CET 2005


Author: sparky                       Date: Sun Nov 13 01:47:57 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:

- up to 10.0.9, 2.6.14 kernel pwc has decompressor again, but its pwc is
  not working at all (on my ppc)
- added powerpc/ppc hack

---- Files affected:
SPECS:
   pwc.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/pwc.spec
diff -u SPECS/pwc.spec:1.5 SPECS/pwc.spec:1.6
--- SPECS/pwc.spec:1.5	Thu Sep 15 18:15:08 2005
+++ SPECS/pwc.spec	Sun Nov 13 02:47:52 2005
@@ -12,13 +12,13 @@
 Summary:	PWC - module with decompressor for Philips USB webcams
 Summary(pl):	PWC - moduł z dekompresorem obrazu dla kamer internetowych Philipsa
 Name:		pwc
-Version:	10.0.7a
+Version:	10.0.9
 %define		_rel	1
 Release:	%{_rel}
 License:	GPL
 Group:		Applications/Multimedia
 Source0:	http://www.saillard.org/linux/pwc/files/%{name}-%{version}.tar.bz2
-# Source0-md5:	8f6f61f49e84690a955a059f39577935
+# Source0-md5:	42206b0bdf3a7312c6ddb194820afd53
 Patch0:		%{name}-hotfix-for-kernel-2.6.10.patch
 URL:		http://www.saillard.org/linux/pwc/
 %if %{with kernel}
@@ -118,7 +118,17 @@
 	install -d include/{linux,config}
 	ln -sf %{_kernelsrcdir}/config-$cfg .config
 	ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h include/linux/autoconf.h
-	ln -sf %{_kernelsrcdir}/include/asm-%{_target_base_arch} include/asm
+%ifarch ppc
+        if [ -d "%{_kernelsrcdir}/include/asm-powerpc" ]; then
+                install -d include/asm
+                cp -a %{_kernelsrcdir}/include/asm-%{_target_base_arch}/* include/asm
+                cp -a %{_kernelsrcdir}/include/asm-powerpc/* include/asm
+        else
+                ln -sf %{_kernelsrcdir}/include/asm-powerpc include/asm
+        fi
+%else
+        ln -sf %{_kernelsrcdir}/include/asm-%{_target_base_arch} include/asm
+%endif
 	ln -sf %{_kernelsrcdir}/Module.symvers-$cfg Module.symvers
 	touch include/config/MARKER
 	%{__make} -C %{_kernelsrcdir} clean \
@@ -185,6 +195,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2005/11/13 01:47:52  sparky
+
+- up to 10.0.9, 2.6.14 kernel pwc has decompressor again, but its pwc is
+  not working at all (on my ppc)
+- added powerpc/ppc hack
+
 Revision 1.5  2005/09/15 16:15:08  sparky
 - typos :(
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pwc.spec?r1=1.5&r2=1.6&f=u




More information about the pld-cvs-commit mailing list