From 073a889144d77058f1eff2100ad48a538bdc0422 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 11 Aug 2012 00:02:44 +0000 Subject: Sat Aug 11 00:02:44 UTC 2012 --- community/flashrom/PKGBUILD | 6 +-- community/kicad/PKGBUILD | 45 ++++++++++++++++++++++ ...cad-boost-polygon-declare-gtlsort-earlier.patch | 11 ++++++ community/kicad/kicad.install | 15 ++++++++ community/libmediainfo/PKGBUILD | 6 +-- community/libzen/PKGBUILD | 6 +-- community/mediainfo-gui/PKGBUILD | 6 +-- community/mediainfo/PKGBUILD | 6 +-- community/xfe/PKGBUILD | 11 +++--- 9 files changed, 92 insertions(+), 20 deletions(-) create mode 100644 community/kicad/PKGBUILD create mode 100644 community/kicad/kicad-boost-polygon-declare-gtlsort-earlier.patch create mode 100644 community/kicad/kicad.install (limited to 'community') diff --git a/community/flashrom/PKGBUILD b/community/flashrom/PKGBUILD index 45df02832..1b6db94b1 100644 --- a/community/flashrom/PKGBUILD +++ b/community/flashrom/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 68472 2012-03-25 09:15:40Z giovanni $ +# $Id: PKGBUILD 74911 2012-08-09 12:06:08Z giovanni $ # Maintainer: Giovanni Scafora # Contributor: Cilyan Olowen # Contributor: fill # Contributor: Anton Shestakov pkgname=flashrom -pkgver=0.9.5.2 +pkgver=0.9.6.1 pkgrel=1 pkgdesc="Utility for reading, writing, erasing and verifying flash ROM chips" url="http://www.flashrom.org/" @@ -14,7 +14,7 @@ license=('GPL') depends=('libftdi' 'pciutils') optdepends=('dmidecode: for SMBIOS/DMI table decoder support') source=("http://download.flashrom.org/releases/${pkgname}-${pkgver}.tar.bz2") -md5sums=('280f8b1d3ef0533d6ec913b0da857477') +md5sums=('407e836c0a2b17ec76583cb6809f65e5') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/community/kicad/PKGBUILD b/community/kicad/PKGBUILD new file mode 100644 index 000000000..686583d0e --- /dev/null +++ b/community/kicad/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 74934 2012-08-10 01:31:30Z kkeen $ +# Maintainer: Kyle Keen +# Contributor: Marq Schneider + +pkgname=kicad +pkgver=20120119 +_pkgver=${pkgver:0:4}-${pkgver:4:2}-${pkgver:6:2} +_pkgbzr=3256 +pkgrel=1 +pkgdesc="Electronic schematic and printed circuit board (PCB) design tools" +arch=('i686' 'x86_64') +url="http://iut-tice.ujf-grenoble.fr/kicad/" +license=('GPL') +depends=('mesa' 'wxgtk') +makedepends=('boost' 'cmake' 'zlib') +optdepends=('kicad-doc-bzr: for documentation' + 'kicad-library-bzr: for footprints') +install=kicad.install +source=(http://iut-tice.ujf-grenoble.fr/cao/${pkgname}_sources-$_pkgver-BZR$_pkgbzr-stable.zip + kicad-boost-polygon-declare-gtlsort-earlier.patch) +md5sums=('d65574c42efd72638aed80adef367c3b' + 'a2c39704238946e74a5ed0c38326345f') + +build() { + cd "$srcdir/KiCad_sources" + + patch -p0 < "$srcdir/kicad-boost-polygon-declare-gtlsort-earlier.patch" + + # build and install kicad + mkdir -p build/Release + cd build/Release + cmake ../.. -DKICAD_STABLE_VERSION=ON \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "$srcdir/KiCad_sources/build/Release" + + make DESTDIR="$pkgdir" install + + # copy updated linux icons + #cp -r -n "$srcdir/$pkgname-icons/resources/linux/mime/icons" "$pkgdir/usr/share/" +} diff --git a/community/kicad/kicad-boost-polygon-declare-gtlsort-earlier.patch b/community/kicad/kicad-boost-polygon-declare-gtlsort-earlier.patch new file mode 100644 index 000000000..b0c992297 --- /dev/null +++ b/community/kicad/kicad-boost-polygon-declare-gtlsort-earlier.patch @@ -0,0 +1,11 @@ +--- include/boost/polygon/polygon.hpp.orig 2012-04-09 13:07:03.293907598 -0500 ++++ include/boost/polygon/polygon.hpp 2012-04-09 13:07:43.759923812 -0500 +@@ -24,6 +24,8 @@ + #include "transform.hpp" + #include "detail/transform_detail.hpp" + ++#include "detail/polygon_sort_adaptor.hpp" ++ + //interval + #include "interval_data.hpp" + #include "interval_traits.hpp" diff --git a/community/kicad/kicad.install b/community/kicad/kicad.install new file mode 100644 index 000000000..7c21ff4c7 --- /dev/null +++ b/community/kicad/kicad.install @@ -0,0 +1,15 @@ +pkgname=kicad + +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-mime-database usr/share/mime > /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/community/libmediainfo/PKGBUILD b/community/libmediainfo/PKGBUILD index f7f2b1a64..6a2ba45f0 100644 --- a/community/libmediainfo/PKGBUILD +++ b/community/libmediainfo/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 71582 2012-05-30 09:15:22Z spupykin $ +# $Id: PKGBUILD 74895 2012-08-09 08:03:13Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: hydro pkgname=libmediainfo -pkgver=0.7.58 +pkgver=0.7.59 pkgrel=1 pkgdesc="shared library for mediainfo" arch=('i686' 'x86_64') @@ -14,7 +14,7 @@ makedepends=('libtool' 'automake' 'autoconf') options=(!libtool) source=(http://downloads.sourceforge.net/mediainfo/${pkgname}_${pkgver}.tar.bz2 libmediainfo-0.7.50-libmms.patch) -md5sums=('a87a32f243052fb1eca3918c519f64b6' +md5sums=('d3f74fd28810e5f1eb6b9d2b893b8a5c' '2f4b21cc250f663d52b497dedb963e3b') build() { diff --git a/community/libzen/PKGBUILD b/community/libzen/PKGBUILD index fdb19d7a2..5f009b9b0 100644 --- a/community/libzen/PKGBUILD +++ b/community/libzen/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 69420 2012-04-16 09:40:09Z spupykin $ +# $Id: PKGBUILD 74891 2012-08-09 07:50:09Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: hydro pkgname=libzen -pkgver=0.4.26 +pkgver=0.4.28 pkgrel=1 pkgdesc="shared library for libmediainfo and mediainfo" arch=('i686' 'x86_64') @@ -13,7 +13,7 @@ depends=('gcc-libs') makedepends=('libtool' 'automake' 'autoconf') options=('!libtool') source=(http://downloads.sourceforge.net/zenlib/${pkgname}_${pkgver}.tar.bz2) -md5sums=('6509bd3787509f4e62e48a99884db636') +md5sums=('f09e519b71e61a7226ffefe55d00eadf') build() { cd $srcdir/ZenLib/Project/GNU/Library diff --git a/community/mediainfo-gui/PKGBUILD b/community/mediainfo-gui/PKGBUILD index 2b74bc7a5..3c7881579 100644 --- a/community/mediainfo-gui/PKGBUILD +++ b/community/mediainfo-gui/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 71586 2012-05-30 09:16:55Z spupykin $ +# $Id: PKGBUILD 74899 2012-08-09 08:05:03Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: hydro pkgname=mediainfo-gui -pkgver=0.7.58 +pkgver=0.7.59 pkgrel=1 pkgdesc="GUI for mediainfo" arch=('i686' 'x86_64') @@ -13,7 +13,7 @@ depends=('libmediainfo' 'wxgtk') makedepends=('libtool' 'automake' 'autoconf') install=mediainfo-gui.install source=(http://downloads.sourceforge.net/mediainfo/mediainfo_${pkgver}.tar.bz2) -md5sums=('e0b0decf4a036fad431aa5149cc71d59') +md5sums=('485b160334254d9574ed0f7bb29ef35f') build() { cd $srcdir/MediaInfo/Project/GNU/GUI diff --git a/community/mediainfo/PKGBUILD b/community/mediainfo/PKGBUILD index 437975f56..17477c3df 100644 --- a/community/mediainfo/PKGBUILD +++ b/community/mediainfo/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 71584 2012-05-30 09:16:14Z spupykin $ +# $Id: PKGBUILD 74897 2012-08-09 08:04:05Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: hydro pkgname=mediainfo -pkgver=0.7.58 +pkgver=0.7.59 pkgrel=1 pkgdesc="supplies technical and tag information about a video or audio file" arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ license=('GPL') depends=('libmediainfo') makedepends=('libtool' 'automake' 'autoconf') source=(http://downloads.sourceforge.net/mediainfo/${pkgname}_${pkgver}.tar.bz2) -md5sums=('e0b0decf4a036fad431aa5149cc71d59') +md5sums=('485b160334254d9574ed0f7bb29ef35f') build() { cd $srcdir/MediaInfo/Project/GNU/CLI diff --git a/community/xfe/PKGBUILD b/community/xfe/PKGBUILD index c0e33d1e1..2498f4f8b 100644 --- a/community/xfe/PKGBUILD +++ b/community/xfe/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 69198 2012-04-10 02:25:31Z spupykin $ +# $Id: PKGBUILD 74893 2012-08-09 07:50:54Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Eric Belanger # Contributor: Ravi Desai pkgname=xfe -pkgver=1.32.5 +pkgver=1.33 pkgrel=1 pkgdesc="X File Explorer (Xfe) is an MS-Explorer like file manager for X." arch=('i686' 'x86_64') @@ -13,12 +13,13 @@ license=("GPL") depends=('fox') makedepends=('intltool') source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('3b80908b0ebaa78b7e8610d09ee2d154') +md5sums=('fb089ba73add411b08a6560eeb51742d') build() { cd $srcdir/$pkgname-$pkgver - LDFLAGS=-lX11 ./configure --prefix=/usr - sed -i 's|inline||' src/xfeutils.cpp +# LDFLAGS=-lX11 ./configure --prefix=/usr + ./configure --prefix=/usr +# sed -i 's|inline||' src/xfeutils.cpp make } -- cgit v1.2.3-54-g00ecf