[arch-commits] Commit in skia-sharp/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Thu Dec 6 19:25:14 UTC 2018


    Date: Thursday, December 6, 2018 @ 19:25:14
  Author: alucryd
Revision: 411914

upgpkg: skia-sharp 1.68.0-1

Modified:
  skia-sharp/trunk/PKGBUILD

----------+
 PKGBUILD |   57 ++++++++++++++++++++++++++++++++++-----------------------
 1 file changed, 34 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-06 18:15:55 UTC (rev 411913)
+++ PKGBUILD	2018-12-06 19:25:14 UTC (rev 411914)
@@ -1,25 +1,40 @@
 # Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 
 pkgname=skia-sharp
-pkgver=1.60.2
-_major=60
-_minor=2
+pkgver=1.68.0
+_major=68
+_minor=0
 _release=0
 pkgrel=1
 pkgdesc='The Skia 2D Graphics library from Google exposed to .NET languages and runtimes across the board'
-arch=('x86_64')
+arch=(x86_64)
 url='https://github.com/mono/SkiaSharp'
-license=('MIT')
-depends=('expat' 'fontconfig' 'libjpeg-turbo' 'libpng' 'libwebp' 'zlib'
-         'libfreetype.so')
-makedepends=('clang' 'git' 'python2')
-provides=('libSkiaSharp.so')
-source=("git+https://github.com/mono/SkiaSharp.git#tag=v${pkgver}"
-        "git+https://chromium.googlesource.com/chromium/tools/depot_tools"
-        "git+https://github.com/mono/skia.git")
-sha256sums=('SKIP'
-            'SKIP'
-            'SKIP')
+license=(MIT)
+depends=(
+  expat
+  fontconfig
+  libfreetype.so
+  libjpeg-turbo
+  libpng
+  libwebp
+  zlib
+)
+makedepends=(
+  clang
+  git
+  python2
+)
+provides=(libSkiaSharp.so)
+source=(
+  git+https://github.com/mono/SkiaSharp.git#tag=v${pkgver}
+  git+https://chromium.googlesource.com/chromium/tools/depot_tools
+  git+https://github.com/mono/skia.git
+)
+sha256sums=(
+  SKIP
+  SKIP
+  SKIP
+)
 
 prepare() {
   cd SkiaSharp
@@ -46,12 +61,7 @@
 
   CFLAGS="$CFLAGS \
     -I/usr/include/freetype2 \
-    -DSKIA_C_DLL \
-    -Wno-inconsistent-missing-destructor-override \
-    -Wno-tautological-unsigned-enum-zero-compare \
-    -Wno-null-pointer-arithmetic \
-    -Wno-unused-variable \
-    -Wno-tautological-type-limit-compare"
+    -DSKIA_C_DLL"
 
   extra_cflags=""
   for cflag in $CFLAGS; do
@@ -71,12 +81,13 @@
             extra_ldflags=[${extra_ldflags}] \
             skia_enable_gpu=true \
             skia_enable_tools=false \
-            skia_use_dng_sdk=false \
+            skia_use_dng_sdk=true \
             skia_use_icu=false \
+            skia_use_piex=true \
             skia_use_sfntly=false \
-            is_official_build=true \
             is_component_build=false \
             is_debug=false \
+            is_official_build=true \
             linux_soname_version=\"${_major}.${_minor}.${_release}\""
   ninja -C out
 }


More information about the arch-commits mailing list