From nobody Tue Nov 5 20:20:42 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xjfpy4PC8z5bYP4; Tue, 05 Nov 2024 20:20:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xjfpy3xY5z4WNW; Tue, 5 Nov 2024 20:20:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730838042; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1qPGAxzRb6oNvnpakU37b9jkbqrWj73NBC7+61bPJ/U=; b=KjbZM9nk8ylK1Ow3C9p5cw433Y5uicwLjIwMN8PUdGfKl9bh05fEYYLhPkq9AometqVi9p XnsFaNH6Y+94wQ31X7k+UK8gAgFO1LEFjkrIKEFmT18A6CAEfH4P3Nrxi+bX/4VLxjKwZL LhEYJwAhgCu5ceR1MiV0TolGfuQKX+jo851w49H1pqfHD13lQvNWT6NjCjsRvx0+H3Gywl mbp5X8838sQrbgXfECz8GOY0+PLeNwNP1vXLWiMxWFROUgaUtcuMyyhdIZuVBi5yjlaTM8 JSnhmiKUqTWUcqVCqw4oXk3HiLh5OMuWl2UBp49ZR+OgTByfsUaYx9fKFshYug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730838042; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1qPGAxzRb6oNvnpakU37b9jkbqrWj73NBC7+61bPJ/U=; b=YZI1c/KTLBX9wgTo0np0n2V28QeboooOd1UvE9+UquBEaohX7XnFZ0C0PM6rw0TJ6xPdMi f6QIuW6XKHMKpicjDW78hZSPwwoKE7JqzDKZnVUo5vrer3HfngOs8uU7uLUeA39I+p2Q/G yBwPeFFhH7z0TZ+umilEqDN/JRtNQqfrp9jVRlI4pNoHCL+p+j4m5JuR/PirlVx7txOKOt bf8JuNWkOhNKYhA6BnZiq0ySUJ8hoask5IRObaB+sVM3aaMaz0k2QvGV5t9JIGxEp7i8VC 1fOl54XysVnPP5pzg6qmnlu8plcDWd00QP1kZZ7PtSGm1/wJeKGMqBjXDh2Vxg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730838042; a=rsa-sha256; cv=none; b=lhm2xsrT+D03IpD6+LweMOGezzBsiIzZdtMUiGSXf5QkhzdmgXQBHt6vdHmHNTxJBFvxAp QKddoYp2MUf38yNAEfzL2elknHPMg74tZy0C0X29eJbDET8nRn2n/wi9lB1wLewf8/TqKL /OsBc7Whgd7tL+Za4ZGnwRVelGjlHQvNmvUq8HDt5lf8MCaaPB6OdHCNZJHc2mdsFKVJjc w8tQjHS1hJ9l2gHxZBcK6r+qlLFXnsJzWW9YZ/UvbZ40GmGlBFz2J2idCfCSb4q6Y2YAk3 zWmQfssKZbfi/heK48Exg9EGe3ltd7eoTp/b8dxNnomxc792+QBHE3slQ/+Rhw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Xjfpy348qzXV2; Tue, 5 Nov 2024 20:20:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4A5KKgSc039648; Tue, 5 Nov 2024 20:20:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A5KKgxO039645; Tue, 5 Nov 2024 20:20:42 GMT (envelope-from git) Date: Tue, 5 Nov 2024 20:20:42 GMT Message-Id: <202411052020.4A5KKgxO039645@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Baptiste Daroussin Subject: git: faae48a566ac - main - graphics/libskiasharp: newport List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bapt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: faae48a566acf0494a14d91e6d385aac4c2992a3 Auto-Submitted: auto-generated The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=faae48a566acf0494a14d91e6d385aac4c2992a3 commit faae48a566acf0494a14d91e6d385aac4c2992a3 Author: Baptiste Daroussin AuthorDate: 2024-11-05 14:40:15 +0000 Commit: Baptiste Daroussin CommitDate: 2024-11-05 20:20:39 +0000 graphics/libskiasharp: newport Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. This is a dependency currently bundled prebuilt in multimedia/jellyfin, this port will allow to properly build everything from ports --- graphics/Makefile | 1 + graphics/libskiasharp/Makefile | 72 +++++++++++++++++++++++++++++++++++++++++ graphics/libskiasharp/distinfo | 3 ++ graphics/libskiasharp/pkg-descr | 1 + 4 files changed, 77 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index 22001c03421d..1b5d4af9aade 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -503,6 +503,7 @@ SUBDIR += librsvg2 SUBDIR += librsvg2-rust SUBDIR += librtprocess + SUBDIR += libskiasharp SUBDIR += libsixel SUBDIR += libspiro SUBDIR += libspng diff --git a/graphics/libskiasharp/Makefile b/graphics/libskiasharp/Makefile new file mode 100644 index 000000000000..0c040c8e5354 --- /dev/null +++ b/graphics/libskiasharp/Makefile @@ -0,0 +1,72 @@ +PORTNAME= libskiasharp +DISTVERSIONPREFIX= v +DISTVERSION= 2.88.3 +CATEGORIES= graphics + +MAINTAINER= bapt@FreeBSD.org +COMMENT= Complete 2D graphic library for drawing Text, Geometries, and Images +WWW= https://skia.org/ + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= gn:devel/gn +LIB_DEPENDS= libexpat.so:textproc/expat2 \ + libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 \ + libpng.so:graphics/png \ + libwebp.so:graphics/webp + +USES= jpeg ninja python:build + +USE_GITHUB= yes +GH_ACCOUNT= mono +GH_PROJECT= skia + +USE_LDCONFIG= yes +USE_BINUTILS= yes + +SOVERSION= 118.0.0 +GN_ARGS= is_official_build=true \ + skia_enable_tools=false \ + target_os="linux" \ + skia_use_icu=false \ + skia_use_sfntly=false \ + skia_use_piex=true \ + skia_use_harfbuzz=false \ + skia_use_system_expat=true \ + skia_use_system_libjpeg_turbo=true \ + skia_use_system_freetype2=true \ + skia_use_system_libpng=true \ + skia_use_system_libwebp=true \ + skia_use_system_zlib=true \ + skia_enable_gpu=true \ + skia_enable_skottie=true \ + skia_enable_pdf=true \ + skia_use_dng_sdk=false \ + extra_cflags=[ \ + "-DSKIA_C_DLL", \ + "-I${LOCALBASE}/include", \ + "-I${LOCALBASE}/include/freetype2"] \ + extra_ldflags=["-L${LOCALBASE}/lib"] \ + linux_soname_version="${SOVERSION}" + +BINARY_ALIAS= python=${PYTHON_CMD} \ + ar=${LOCALBASE}/bin/ar + +ALL_TARGET= SkiaSharp +BUILD_WRKSRC= ${WRKSRC}/out + +PLIST_FILES= lib/libSkiaSharp.so \ + lib/libSkiaSharp.so.${SOVERSION} + +do-configure: + cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} gn gen 'out' --args='${GN_ARGS}' + +do-install: + ${INSTALL_DATA} ${BUILD_WRKSRC}/libSkiaSharp.so.${SOVERSION} \ + ${STAGEDIR}${PREFIX}/lib + ${RLN} ${STAGEDIR}${PREFIX}/lib/libSkiaSharp.so.${SOVERSION} \ + ${STAGEDIR}${PREFIX}/lib/libSkiaSharp.so + +.include diff --git a/graphics/libskiasharp/distinfo b/graphics/libskiasharp/distinfo new file mode 100644 index 000000000000..a35a3a85b843 --- /dev/null +++ b/graphics/libskiasharp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1730816381 +SHA256 (mono-skia-v2.88.3_GH0.tar.gz) = 899ee3693575dd5f1e769070672253beb03ece414ab2803228e346889f268dda +SIZE (mono-skia-v2.88.3_GH0.tar.gz) = 51816808 diff --git a/graphics/libskiasharp/pkg-descr b/graphics/libskiasharp/pkg-descr new file mode 100644 index 000000000000..41c6af94da51 --- /dev/null +++ b/graphics/libskiasharp/pkg-descr @@ -0,0 +1 @@ +Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.