summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Karbowski <slashbeast@gentoo.org>2023-07-23 18:20:18 +0200
committerPiotr Karbowski <slashbeast@gentoo.org>2023-07-23 18:40:45 +0200
commita3506360d7982d5978cbd64808e1d79e295e8eb8 (patch)
treedbeeebe59c6102c82e69da95eea4c59b9d3c9bd9 /media-libs/nanosvg
parentsys-devel/kgcc64: add 11.4.0 (diff)
downloadgentoo-a3506360d7982d5978cbd64808e1d79e295e8eb8.tar.gz
gentoo-a3506360d7982d5978cbd64808e1d79e295e8eb8.tar.bz2
gentoo-a3506360d7982d5978cbd64808e1d79e295e8eb8.zip
media-libs/nanosvg: new package.
Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Diffstat (limited to 'media-libs/nanosvg')
-rw-r--r--media-libs/nanosvg/Manifest1
-rw-r--r--media-libs/nanosvg/metadata.xml11
-rw-r--r--media-libs/nanosvg/nanosvg-20221222.ebuild22
3 files changed, 34 insertions, 0 deletions
diff --git a/media-libs/nanosvg/Manifest b/media-libs/nanosvg/Manifest
new file mode 100644
index 000000000000..cac8a0c9bf8a
--- /dev/null
+++ b/media-libs/nanosvg/Manifest
@@ -0,0 +1 @@
+DIST nanosvg-20221222.gh.tar.gz 298209 BLAKE2B 64e3342ad354dd08f4a1ffcb243603f6d3b940031415c3a1aed43f9879fca349bc0f71305584cd999bb44095bf6d157a8824c2f9ad8c49fdc66b37a0a6ea54b7 SHA512 a9b62cdc54c1803907da8d3553a71451a5a19588b951c32e3765e9d620a1dacb618d768e4df8f3dbf507518a6ce8fcfde5d8e8f5edcfccc975c1ad57e3e7f22c
diff --git a/media-libs/nanosvg/metadata.xml b/media-libs/nanosvg/metadata.xml
new file mode 100644
index 000000000000..d261c4ec4ece
--- /dev/null
+++ b/media-libs/nanosvg/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>slashbeast@gentoo.org</email>
+ <name>Piotr Karbowski</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">fltk/nanosvg</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-libs/nanosvg/nanosvg-20221222.ebuild b/media-libs/nanosvg/nanosvg-20221222.ebuild
new file mode 100644
index 000000000000..d1f4068f787b
--- /dev/null
+++ b/media-libs/nanosvg/nanosvg-20221222.ebuild
@@ -0,0 +1,22 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PV="fltk_${PV:0:4}-${PV:4:2}-${PV:6:2}"
+
+DESCRIPTION="NanoSVG is a simple stupid single-header-file SVG parse."
+HOMEPAGE="https://github.com/fltk/nanosvg"
+SRC_URI="https://github.com/fltk/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+S="${WORKDIR}/${PN}-${MY_PV}"