[arch-commits] Commit in codeblocks/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 28 12:36:54 UTC 2016
Date: Monday, November 28, 2016 @ 12:36:53
Author: foutrelis
Revision: 197124
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 197123, codeblocks/trunk/PKGBUILD)
codeblocks/repos/community-staging-x86_64/
codeblocks/repos/community-staging-x86_64/PKGBUILD
(from rev 197123, codeblocks/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+)
Copied: codeblocks/repos/community-staging-i686/PKGBUILD (from rev 197123, codeblocks/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-11-28 12:36:53 UTC (rev 197124)
@@ -0,0 +1,44 @@
+# $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=6
+pkgdesc='Cross-platform C/C++ IDE'
+arch=('x86_64' 'i686')
+url='http://www.codeblocks.org/'
+license=('GPL3')
+depends=('boost-libs' 'desktop-file-utils' 'gamin' 'gtk-update-icon-cache'
+ 'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk2.8' 'libsm' 'webkitgtk2')
+makedepends=('boost' 'zip' 'webkitgtk2')
+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-2.8
+
+ # FS#49799
+ export CFLAGS="-mtune=generic -O0 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
+ export CXXFLAGS="-mtune=generic -O0 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
+ export LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
+
+ ./bootstrap
+ ./configure --prefix=/usr --with-contrib-plugins=all
+ 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 197123, codeblocks/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-11-28 12:36:53 UTC (rev 197124)
@@ -0,0 +1,44 @@
+# $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=6
+pkgdesc='Cross-platform C/C++ IDE'
+arch=('x86_64' 'i686')
+url='http://www.codeblocks.org/'
+license=('GPL3')
+depends=('boost-libs' 'desktop-file-utils' 'gamin' 'gtk-update-icon-cache'
+ 'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk2.8' 'libsm' 'webkitgtk2')
+makedepends=('boost' 'zip' 'webkitgtk2')
+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-2.8
+
+ # FS#49799
+ export CFLAGS="-mtune=generic -O0 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
+ export CXXFLAGS="-mtune=generic -O0 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
+ export LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
+
+ ./bootstrap
+ ./configure --prefix=/usr --with-contrib-plugins=all
+ 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