[arch-commits] Commit in skia-sharp/repos/community-x86_64 (4 files)
Maxime Gauduin
alucryd at gemini.archlinux.org
Sun Sep 11 10:42:00 UTC 2022
Date: Sunday, September 11, 2022 @ 10:42:00
Author: alucryd
Revision: 1300527
archrelease: copy trunk to community-x86_64
Added:
skia-sharp/repos/community-x86_64/PKGBUILD
(from rev 1300526, skia-sharp/trunk/PKGBUILD)
skia-sharp/repos/community-x86_64/skia-sharp-missing-include.patch
(from rev 1300526, skia-sharp/trunk/skia-sharp-missing-include.patch)
Deleted:
skia-sharp/repos/community-x86_64/PKGBUILD
skia-sharp/repos/community-x86_64/skia-sharp-missing-include.patch
----------------------------------+
PKGBUILD | 212 ++++++++++++++++++-------------------
skia-sharp-missing-include.patch | 24 ++--
2 files changed, 118 insertions(+), 118 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-11 10:41:49 UTC (rev 1300526)
+++ PKGBUILD 2022-09-11 10:42:00 UTC (rev 1300527)
@@ -1,106 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-
-pkgname=skia-sharp
-pkgver=2.88.0
-_major=88
-_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)
-url=https://github.com/mono/SkiaSharp
-license=(MIT)
-depends=(
- expat
- fontconfig
- libfreetype.so
- libjpeg-turbo
- libheif
- libpng
- libwebp
- zlib
-)
-makedepends=(
- clang
- git
- python
-)
-provides=(libSkiaSharp.so)
-_tag=2e12735359928ead60dd08cdf0b983c4e3d4dc56
-source=(
- git+https://github.com/mono/SkiaSharp.git#tag=${_tag}
- git+https://chromium.googlesource.com/chromium/tools/depot_tools.git
- git+https://github.com/mono/skia.git
- skia-sharp-missing-include.patch
-)
-b2sums=('SKIP'
- 'SKIP'
- 'SKIP'
- '8b4c33381f22225557fceae587fd1b8f7ac6fc75814fbb27db6eb6b0c772825f87d779d8e3d38849603a4f6c7c5ec7cdb88f34ecc58c0e0f83f1890b730b9df7')
-
-pkgver() {
- cd SkiaSharp
- git describe --tags | sed 's/^v//; s/-preview.*//'
-}
-
-prepare() {
- cd SkiaSharp
- for submodule in externals/{depot_tools,skia}; do
- git submodule init ${submodule}
- git config submodule.${submodule}.url ../${submodule#*/}
- git submodule update ${submodule}
- done
-
- pushd externals/skia
- patch -Np1 -i ../../../skia-sharp-missing-include.patch
- python tools/git-sync-deps
- popd
-}
-
-build(){
- cd SkiaSharp/externals/skia
-
- export PATH="${srcdir}/SkiaSharp/externals/depot_tools:$PATH"
-
- CFLAGS="$CFLAGS \
- -I/usr/include/freetype2 \
- -DSKIA_C_DLL"
-
- extra_cflags=""
- for cflag in $CFLAGS; do
- extra_cflags+="\"${cflag}\","
- done
- extra_ldflags=""
- for ldflag in $LDFLAGS; do
- extra_ldflags+="\"${ldflag}\","
- done
-
- bin/gn gen out \
- --args="target_os=\"linux\" \
- target_cpu=\"x64\" \
- cc=\"clang\" \
- cxx=\"clang++\" \
- extra_cflags=[${extra_cflags}] \
- extra_ldflags=[${extra_ldflags}] \
- skia_enable_gpu=true \
- skia_enable_tools=false \
- skia_use_dng_sdk=true \
- skia_use_heif=true \
- skia_use_icu=false \
- skia_use_piex=true \
- skia_use_sfntly=false \
- is_component_build=false \
- is_debug=false \
- is_official_build=true \
- linux_soname_version=\"${_major}.${_minor}.${_release}\""
- ninja -C out
-}
-
-package() {
- install -Dm 755 SkiaSharp/externals/skia/out/libSkiaSharp.so.${_major}.${_minor}.${_release} -t "${pkgdir}"/usr/lib/
- ln -s libSkiaSharp.so.${_major}.${_minor}.${_release} "${pkgdir}"/usr/lib/libSkiaSharp.so.${_major}
- ln -s libSkiaSharp.so.${_major} "${pkgdir}"/usr/lib/libSkiaSharp.so
- install -Dm 644 SkiaSharp/LICENSE.md -t "${pkgdir}"/usr/share/licenses/skia-sharp/
-}
-
-# vim: ts=2 sw=2 et:
Copied: skia-sharp/repos/community-x86_64/PKGBUILD (from rev 1300526, skia-sharp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-11 10:42:00 UTC (rev 1300527)
@@ -0,0 +1,106 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=skia-sharp
+pkgver=2.88.2
+_major=88
+_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)
+url=https://github.com/mono/SkiaSharp
+license=(MIT)
+depends=(
+ expat
+ fontconfig
+ libfreetype.so
+ libjpeg-turbo
+ libheif
+ libpng
+ libwebp
+ zlib
+)
+makedepends=(
+ clang
+ git
+ python
+)
+provides=(libSkiaSharp.so)
+_tag=193b587552cb0ed39372a049d7e6c692db98c267
+source=(
+ git+https://github.com/mono/SkiaSharp.git#tag=${_tag}
+ git+https://chromium.googlesource.com/chromium/tools/depot_tools.git
+ git+https://github.com/mono/skia.git
+ skia-sharp-missing-include.patch
+)
+b2sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ '8b4c33381f22225557fceae587fd1b8f7ac6fc75814fbb27db6eb6b0c772825f87d779d8e3d38849603a4f6c7c5ec7cdb88f34ecc58c0e0f83f1890b730b9df7')
+
+pkgver() {
+ cd SkiaSharp
+ git describe --tags | sed 's/^v//; s/-preview.*//'
+}
+
+prepare() {
+ cd SkiaSharp
+ for submodule in externals/{depot_tools,skia}; do
+ git submodule init ${submodule}
+ git config submodule.${submodule}.url ../${submodule#*/}
+ git submodule update ${submodule}
+ done
+
+ pushd externals/skia
+ patch -Np1 -i ../../../skia-sharp-missing-include.patch
+ python tools/git-sync-deps
+ popd
+}
+
+build(){
+ cd SkiaSharp/externals/skia
+
+ export PATH="${srcdir}/SkiaSharp/externals/depot_tools:$PATH"
+
+ CFLAGS="$CFLAGS \
+ -I/usr/include/freetype2 \
+ -DSKIA_C_DLL"
+
+ extra_cflags=""
+ for cflag in $CFLAGS; do
+ extra_cflags+="\"${cflag}\","
+ done
+ extra_ldflags=""
+ for ldflag in $LDFLAGS; do
+ extra_ldflags+="\"${ldflag}\","
+ done
+
+ bin/gn gen out \
+ --args="target_os=\"linux\" \
+ target_cpu=\"x64\" \
+ cc=\"clang\" \
+ cxx=\"clang++\" \
+ extra_cflags=[${extra_cflags}] \
+ extra_ldflags=[${extra_ldflags}] \
+ skia_enable_gpu=true \
+ skia_enable_tools=false \
+ skia_use_dng_sdk=true \
+ skia_use_heif=true \
+ skia_use_icu=false \
+ skia_use_piex=true \
+ skia_use_sfntly=false \
+ is_component_build=false \
+ is_debug=false \
+ is_official_build=true \
+ linux_soname_version=\"${_major}.${_minor}.${_release}\""
+ ninja -C out
+}
+
+package() {
+ install -Dm 755 SkiaSharp/externals/skia/out/libSkiaSharp.so.${_major}.${_minor}.${_release} -t "${pkgdir}"/usr/lib/
+ ln -s libSkiaSharp.so.${_major}.${_minor}.${_release} "${pkgdir}"/usr/lib/libSkiaSharp.so.${_major}
+ ln -s libSkiaSharp.so.${_major} "${pkgdir}"/usr/lib/libSkiaSharp.so
+ install -Dm 644 SkiaSharp/LICENSE.md -t "${pkgdir}"/usr/share/licenses/skia-sharp/
+}
+
+# vim: ts=2 sw=2 et:
Deleted: skia-sharp-missing-include.patch
===================================================================
--- skia-sharp-missing-include.patch 2022-09-11 10:41:49 UTC (rev 1300526)
+++ skia-sharp-missing-include.patch 2022-09-11 10:42:00 UTC (rev 1300527)
@@ -1,12 +0,0 @@
-diff '--color=auto' -rupN skia.orig/src/utils/SkParseColor.cpp skia/src/utils/SkParseColor.cpp
---- skia.orig/src/utils/SkParseColor.cpp 2022-08-09 18:22:40.804164408 +0200
-+++ skia/src/utils/SkParseColor.cpp 2022-08-09 18:23:32.245670523 +0200
-@@ -8,6 +8,8 @@
-
- #include "include/utils/SkParse.h"
-
-+#include <iterator>
-+
- static constexpr const char* gColorNames[] = {
- "aliceblue",
- "antiquewhite",
Copied: skia-sharp/repos/community-x86_64/skia-sharp-missing-include.patch (from rev 1300526, skia-sharp/trunk/skia-sharp-missing-include.patch)
===================================================================
--- skia-sharp-missing-include.patch (rev 0)
+++ skia-sharp-missing-include.patch 2022-09-11 10:42:00 UTC (rev 1300527)
@@ -0,0 +1,12 @@
+diff '--color=auto' -rupN skia.orig/src/utils/SkParseColor.cpp skia/src/utils/SkParseColor.cpp
+--- skia.orig/src/utils/SkParseColor.cpp 2022-08-09 18:22:40.804164408 +0200
++++ skia/src/utils/SkParseColor.cpp 2022-08-09 18:23:32.245670523 +0200
+@@ -8,6 +8,8 @@
+
+ #include "include/utils/SkParse.h"
+
++#include <iterator>
++
+ static constexpr const char* gColorNames[] = {
+ "aliceblue",
+ "antiquewhite",
More information about the arch-commits
mailing list