[arch-commits] Commit in sugar-toolkit-gtk3/repos (2 files)

Balló György bgyorgy at archlinux.org
Fri Mar 29 06:15:42 UTC 2019


    Date: Friday, March 29, 2019 @ 06:15:41
  Author: bgyorgy
Revision: 445959

archrelease: copy trunk to community-testing-x86_64

Added:
  sugar-toolkit-gtk3/repos/community-testing-x86_64/
  sugar-toolkit-gtk3/repos/community-testing-x86_64/PKGBUILD
    (from rev 445958, sugar-toolkit-gtk3/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: sugar-toolkit-gtk3/repos/community-testing-x86_64/PKGBUILD (from rev 445958, sugar-toolkit-gtk3/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2019-03-29 06:15:41 UTC (rev 445959)
@@ -0,0 +1,37 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=sugar-toolkit-gtk3
+pkgver=0.113
+pkgrel=1
+pkgdesc="Sugar GTK library"
+arch=('x86_64')
+url="https://sugarlabs.org/"
+license=('LGPL')
+depends=('alsa-lib' 'gtk3' 'libsm' 'python2-cairo' 'python2-dateutil' 'python2-decorator' 'python2-six'
+         'python2-telepathy' 'sugar-artwork' 'sugar-datastore' 'telepathy-mission-control' 'unzip')
+makedepends=('intltool' 'gobject-introspection')
+optdepends=('webkit2gtk: run sugar-activity-web')
+source=(https://download.sugarlabs.org/sources/sucrose/glucose/$pkgname/$pkgname-$pkgver.tar.xz)
+sha256sums=('4062d981d551f1567d073389385ffc28793b75f0ed2485e8f9250a145239cba7')
+
+build() {
+  cd $pkgname-$pkgver
+  # Disable hardened build until fixed upstream
+  # https://bugs.sugarlabs.org/ticket/4886
+  export CFLAGS=${CFLAGS/ -fno-plt}
+  export LDFLAGS=${LDFLAGS/,-z,now}
+
+  # Don't use incomplete python3 port
+  sed -i 's/PYTHON=python3/PYTHON=python2/' configure
+  sed -i 's/exec sugar-activity3/exec sugar-activity/' bin/sugar-activity-web
+  sed -i '/dist_bin_SCRIPTS/ s/ sugar-activity3//' bin/Makefile.in
+
+  ./configure --prefix=/usr
+  sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list