[arch-commits] Commit in codeblocks/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Apr 25 05:53:57 UTC 2017
Date: Tuesday, April 25, 2017 @ 05:53:56
Author: foutrelis
Revision: 225258
archrelease: copy trunk to community-staging-x86_64, community-staging-i686
Added:
codeblocks/repos/community-staging-i686/
codeblocks/repos/community-staging-i686/PKGBUILD
(from rev 225257, codeblocks/trunk/PKGBUILD)
codeblocks/repos/community-staging-x86_64/
codeblocks/repos/community-staging-x86_64/PKGBUILD
(from rev 225257, codeblocks/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 43 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 43 ++++++++++++++++++++++++++++++++++++
2 files changed, 86 insertions(+)
Copied: codeblocks/repos/community-staging-i686/PKGBUILD (from rev 225257, codeblocks/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-04-25 05:53:56 UTC (rev 225258)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+# Contributor: Robert Hollencamp <rhollencamp at gmail.com>
+# Contributor: Daniel J Griffiths <griffithsdj at inbox.com>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: Roman Mikhayloff <rimf at inbox.ru>
+
+pkgname=codeblocks
+pkgver=16.01
+pkgrel=10
+pkgdesc='Cross-platform C/C++ IDE'
+arch=('x86_64' 'i686')
+url='http://www.codeblocks.org/'
+license=('GPL3')
+depends=('boost-libs' 'gamin' 'hunspell' 'wxgtk')
+makedepends=('boost' 'zip')
+source=("http://sourceforge.net/projects/codeblocks/files/Sources/$pkgver/codeblocks_$pkgver.tar.gz")
+sha256sums=('30fb9d206df4ab3c2e2fec2451a0a7c9723bfed9a673cc9be71e881c529d5a03')
+
+build() {
+ cd "$pkgname-$pkgver.release"
+
+ # Fix build with boost 1.59
+ export CPPFLAGS+=" -DBOOST_ERROR_CODE_HEADER_ONLY"
+ export WX_CONFIG_PATH=/usr/bin/wx-config
+
+ # FS#49799
+ export CPPFLAGS+=" -fno-delete-null-pointer-checks"
+
+ CXXFLAGS+=' -std=c++11'
+ ./bootstrap
+ ./configure --prefix=/usr --with-contrib-plugins=all
+ sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ make -C "$pkgname-$pkgver.release" DESTDIR="$pkgdir" install
+}
+
+# getver: -u 2 codeblocks.org/downloads/source
+# vim:set ts=2 sw=2 et:
Copied: codeblocks/repos/community-staging-x86_64/PKGBUILD (from rev 225257, codeblocks/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-04-25 05:53:56 UTC (rev 225258)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+# Contributor: Robert Hollencamp <rhollencamp at gmail.com>
+# Contributor: Daniel J Griffiths <griffithsdj at inbox.com>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: Roman Mikhayloff <rimf at inbox.ru>
+
+pkgname=codeblocks
+pkgver=16.01
+pkgrel=10
+pkgdesc='Cross-platform C/C++ IDE'
+arch=('x86_64' 'i686')
+url='http://www.codeblocks.org/'
+license=('GPL3')
+depends=('boost-libs' 'gamin' 'hunspell' 'wxgtk')
+makedepends=('boost' 'zip')
+source=("http://sourceforge.net/projects/codeblocks/files/Sources/$pkgver/codeblocks_$pkgver.tar.gz")
+sha256sums=('30fb9d206df4ab3c2e2fec2451a0a7c9723bfed9a673cc9be71e881c529d5a03')
+
+build() {
+ cd "$pkgname-$pkgver.release"
+
+ # Fix build with boost 1.59
+ export CPPFLAGS+=" -DBOOST_ERROR_CODE_HEADER_ONLY"
+ export WX_CONFIG_PATH=/usr/bin/wx-config
+
+ # FS#49799
+ export CPPFLAGS+=" -fno-delete-null-pointer-checks"
+
+ CXXFLAGS+=' -std=c++11'
+ ./bootstrap
+ ./configure --prefix=/usr --with-contrib-plugins=all
+ sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ make -C "$pkgname-$pkgver.release" DESTDIR="$pkgdir" install
+}
+
+# getver: -u 2 codeblocks.org/downloads/source
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list