Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=6a617ab638de1aea101154041a8e70621eb016f1

commit 6a617ab638de1aea101154041a8e70621eb016f1
Author: Melko <[email protected]>
Date:   Fri Feb 28 20:46:06 2014 +0100

kicad-20130707-1-i686

* version bump

diff --git a/source/xapps-extra/kicad/FrugalBuild 
b/source/xapps-extra/kicad/FrugalBuild
index 74ee9ce..bc794e8 100644
--- a/source/xapps-extra/kicad/FrugalBuild
+++ b/source/xapps-extra/kicad/FrugalBuild
@@ -4,30 +4,31 @@
options+=('asneeded')

pkgname=kicad
-pkgver=20130611
-_realver=2013.06.11
+pkgver=20130707
pkgrel=1
pkgdesc="Electronic schematic and printed circuid board design tools."
url="http://iut-tice.ujf-grenoble.fr/kicad/";
depends=('wxgtk')
groups=('xapps-extra')
archs=('i686' 'x86_64')
-_F_cmake_confopts="-DKICAD_STABLE_VERSION=ON"
Finclude cmake
up2date="Flastarchive http://iut-tice.ujf-grenoble.fr/cao/ .zip"
-source=(http://ftp.frugalware.org/pub/other/people/melko/$pkgname-${_realver}.tar.bz2
-       
http://ftp.frugalware.org/pub/other/people/melko/$pkgname-libraries-${_realver}.tar.bz2
-       
http://ftp.frugalware.org/pub/other/people/melko/$pkgname-walter-libraries-${_realver}.tar.bz2)
-sha1sums=('e399600d45446c7a7b933e2c3180929ff5da161b' \
-          'b96ff28d1c1c6174888557a57cae7ed7783dfa6f' \
-          '7c3013ac165b737679e305bd8bbb796b1b880b70')
+source=(http://ftp.frugalware.org/pub/other/people/melko/$pkgname-$pkgver.tar.bz2
+       
http://ftp.frugalware.org/pub/other/people/melko/$pkgname-library-20130729.tar.bz2
+       
http://ftp.frugalware.org/pub/other/people/melko/$pkgname-walter-libraries-2013.06.11.tar.bz2
+       kicad-no-templates-install.fix)
+sha1sums=('c151dd09ab016b9afce5c351a539bd76b6dbabee' \
+          '5a5bb5e2fcde3da378b82f40d0fea97bc3ac82f5' \
+          '7c3013ac165b737679e305bd8bbb796b1b880b70' \
+          'a2b92e77cb7110dbbc251216511442f6a06dc1b8')

build() {
-       Fcd $pkgname-$_realver
+       Fcd $pkgname-$pkgver
+       Fpatch kikad-no-templates-install.fix
CMake_build -DKICAD_STABLE_VERSION=ON

-       cd $Fsrcdir/$pkgname-libraries-$_realver || Fdie
-       cp -r $Fsrcdir/$pkgname-walter-libraries-$_realver/{library,modules} . 
|| Fdie
+       cd $Fsrcdir/$pkgname-library-20130729 || Fdie
+       cp -r $Fsrcdir/$pkgname-walter-libraries-2013.06.11/{library,modules} . 
|| Fdie
CMake_build
}

diff --git a/source/xapps-extra/kicad/kicad-no-templates-install.fix 
b/source/xapps-extra/kicad/kicad-no-templates-install.fix
new file mode 100644
index 0000000..ebb7900
--- /dev/null
+++ b/source/xapps-extra/kicad/kicad-no-templates-install.fix
@@ -0,0 +1,22 @@
+Index: kicad-20130707/template/CMakeLists.txt
+===================================================================
+--- kicad-20130707.orig/template/CMakeLists.txt
++++ kicad-20130707/template/CMakeLists.txt
+@@ -2,17 +2,5 @@ install(FILES kicad.pro
+         DESTINATION ${KICAD_TEMPLATE}
+         COMPONENT resources)
+
+-# template_lst is a list of all templates.
+-set( template_lst
+-    raspberrypi-gpio
+-    stm32f100-discovery-shield
+-    ti-stellaris-boosterpack40
+-    ti-stellaris-boosterpack40_min
+-    )
+
+-foreach( tpl ${template_lst} )
+-    install( DIRECTORY ${tpl}
+-        DESTINATION ${KICAD_TEMPLATE}
+-        COMPONENT templates )
+-endforeach()
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to