From nobody Wed Jan 8 19:29:13 2025 X-Original-To: dev-commits-ports-all@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 4YSyf21VP8z5jmSX; Wed, 08 Jan 2025 19:29:14 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YSyf20wWQz4MrD; Wed, 8 Jan 2025 19:29:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736364554; 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=W7t0XsB6Hecb7AYgVqQ7J/jZSaL0RffpNjsbtyGiKW4=; b=OUr+5VyzOL3THKAJfH8Cj0Fv20lnapmJhZAT0RfRE/H7zKp60e7kFTWG/ARvihwWVFbQlR hKSx1XgtlzB1Tmv8noXLTdDvnpb1szX2ao13oJ/NDbCyHUKv0mZB6a/Sn/J/x6iNaa6UGo 4PRY9pLEoDwlfYb00QiLUbe72C0a1rcDRfNkrjuq/u/7o0mFrmqLmBmg1z+afY8xwkPOyN 2828R5/8drvRK8P3FC3ShGfnYwJcEPbi0leA2uptedgrfNOxmicxr3jlOkqtAjE6uAMFzO XlKLy0xg1nPccOKbq2FNMwdqCY8CEnXbzvJ2SKlenLTl0hfJqmoYwuzNzRQA/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736364554; 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=W7t0XsB6Hecb7AYgVqQ7J/jZSaL0RffpNjsbtyGiKW4=; b=wqZ/1NgjPB1MEr1Si3NSXVbo6q2pjZGNcJyx3SCxIPJs4679skJzyWgoAyRD+aTv98uTcY DlYjwFxnP+LyRPcO7C78rxY3dPsAJIgUMid5BPkLbu3YrgxR113i4x7nSKAMavxRdty71e /J9AFqEi5NOby6GJ87FJw2w0RInP2M9oftwUpVzaKCIxXMqTAagT5d/8M2n4jEfN5OnbWD iBMdIiUiZ6YN7JSUixJzZHEVt53FJGKD6Km+DDsgzDkibuoaWcxFDUDUZB0EQau+r8PwI1 MuaefoVCgBoRJGM6uX5C5GlFuoEF94Xa54oMx685pFXtAcitNu+Q8+qFlpSdYw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736364554; a=rsa-sha256; cv=none; b=Gzg4/avlyLiQjOAXI5mFxlocnJZkz78LMvbl2M6E7C5fK4PSTi0Xc5GQspjdeANkqGgmEw sQAkelvIKUMqB/8Jg/QQQOYYFzikHUm3NTUc73NCghwxjwSu0hzyOlydCnU5t25AsYRpqz ImuAdp8YuuG0OrZlu8RrMHCU8YcZuE2A5e3xEooP0nJvIYmtPilfF5i9o1tZk/AkZcF/W3 9QS0MptOYR2VFk0FtT/FL6dIVkFATWp1BNreYfWaBFvEBhmzjKTZIDDNf1SorwoDTt0jtw pe5EAGbcze3VVUiJ1VnwMQ66TLDAFXHLyplEio+HFhirj/eI1vZ1gw5xXYdThQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YSyf203x6z17cT; Wed, 08 Jan 2025 19:29:14 +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 508JTD9j057052; Wed, 8 Jan 2025 19:29:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 508JTDpv057049; Wed, 8 Jan 2025 19:29:13 GMT (envelope-from git) Date: Wed, 8 Jan 2025 19:29:13 GMT Message-Id: <202501081929.508JTDpv057049@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: ff31e477ff37 - main - graphics/plutosvg: New port: Tiny SVG rendering library in C List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ff31e477ff37005c2af30d71087e80c689e7c019 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=ff31e477ff37005c2af30d71087e80c689e7c019 commit ff31e477ff37005c2af30d71087e80c689e7c019 Author: Älven AuthorDate: 2025-01-08 14:01:59 +0000 Commit: Yuri Victorovich CommitDate: 2025-01-08 14:01:59 +0000 graphics/plutosvg: New port: Tiny SVG rendering library in C PR: 283635 --- graphics/Makefile | 1 + graphics/plutosvg/Makefile | 31 +++++++++++++++++++++++++++++++ graphics/plutosvg/distinfo | 3 +++ graphics/plutosvg/pkg-descr | 4 ++++ graphics/plutosvg/pkg-plist | 6 ++++++ 5 files changed, 45 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index 974f6dcda946..b895b788c024 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -840,6 +840,7 @@ SUBDIR += plantuml SUBDIR += plasma-kmod SUBDIR += plotutils + SUBDIR += plutosvg SUBDIR += plutovg SUBDIR += png SUBDIR += png++ diff --git a/graphics/plutosvg/Makefile b/graphics/plutosvg/Makefile new file mode 100644 index 000000000000..4a7cdcfe328c --- /dev/null +++ b/graphics/plutosvg/Makefile @@ -0,0 +1,31 @@ +PORTNAME= plutosvg +DISTVERSIONPREFIX= v +DISTVERSION= 0.0.4 +CATEGORIES= graphics + +MAINTAINER= alster@vinterdalen.se +COMMENT= Tiny SVG rendering library in C +WWW= https://github.com/sammycage/plutosvg/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libplutovg.so:graphics/plutovg + +USES= cpe meson pkgconfig +CPE_VENDOR= sammycage +USE_GITHUB= yes +GH_ACCOUNT= sammycage +USE_LDCONFIG= yes + +PLIST_SUB= SOVERSION=${DISTVERSION} + +OPTIONS_DEFINE= FREETYPE STATIC +OPTIONS_DEFAULT= FREETYPE +OPTIONS_SUB= yes + +FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 +FREETYPE_MESON_ENABLED= freetype +STATIC_MESON_ON= -Ddefault_library=both + +.include diff --git a/graphics/plutosvg/distinfo b/graphics/plutosvg/distinfo new file mode 100644 index 000000000000..d783f3255b14 --- /dev/null +++ b/graphics/plutosvg/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1736307612 +SHA256 (sammycage-plutosvg-v0.0.4_GH0.tar.gz) = 1fd07a15f701a045afa8cb3d2709709180b0d27edbb8f366322c74084684d215 +SIZE (sammycage-plutosvg-v0.0.4_GH0.tar.gz) = 113695 diff --git a/graphics/plutosvg/pkg-descr b/graphics/plutosvg/pkg-descr new file mode 100644 index 000000000000..77e493791a3f --- /dev/null +++ b/graphics/plutosvg/pkg-descr @@ -0,0 +1,4 @@ +PlutoSVG is a compact and efficient SVG rendering library written in C. +It is specifically designed for parsing and rendering SVG documents embedded in +OpenType fonts, providing an optimal balance between speed and minimal memory +usage. It is also suitable for rendering scalable icons. diff --git a/graphics/plutosvg/pkg-plist b/graphics/plutosvg/pkg-plist new file mode 100644 index 000000000000..8440b1e15814 --- /dev/null +++ b/graphics/plutosvg/pkg-plist @@ -0,0 +1,6 @@ +include/plutosvg/plutosvg.h +%%STATIC%%lib/libplutosvg.a +lib/libplutosvg.so +lib/libplutosvg.so.0 +lib/libplutosvg.so.%%SOVERSION%% +libdata/pkgconfig/plutosvg.pc