diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2024-11-09 15:15:48 +0300 |
---|---|---|
committer | Alexander Golubev <fatzer2@gmail.com> | 2024-11-09 15:19:34 +0300 |
commit | f0ad6a6d46037102c2aac57cc1594c3310a93e10 (patch) | |
tree | f7e0d2e8e05773ed7691faf4466446cc6ab6e352 /media-libs | |
parent | dev-libs/asmjit: new package, add 2024.10.25, 9999 (diff) | |
download | guru-f0ad6a6d46037102c2aac57cc1594c3310a93e10.tar.gz guru-f0ad6a6d46037102c2aac57cc1594c3310a93e10.tar.bz2 guru-f0ad6a6d46037102c2aac57cc1594c3310a93e10.zip |
media-libs/blend2d: new package, add 0.11.4, 9999
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/blend2d/Manifest | 1 | ||||
-rw-r--r-- | media-libs/blend2d/blend2d-0.11.4.ebuild | 37 | ||||
-rw-r--r-- | media-libs/blend2d/blend2d-9999.ebuild | 34 | ||||
-rw-r--r-- | media-libs/blend2d/metadata.xml | 11 |
4 files changed, 83 insertions, 0 deletions
diff --git a/media-libs/blend2d/Manifest b/media-libs/blend2d/Manifest new file mode 100644 index 000000000..0ff3b1794 --- /dev/null +++ b/media-libs/blend2d/Manifest @@ -0,0 +1 @@ +DIST blend2d-0.11.4.tar.gz 2047624 BLAKE2B d2d9985e365a465d36e8a500a7fdf55e392370aec92af5d0059bcddd16ef590122fdfeff74c3ee4cacc06ca63e2434e56bbc477e25989d842c7512143d771323 SHA512 23d22e7aeccea66345cf9d2f3a6c96a16f899aaec611a8bdaa29a1f03ea40d02d2627d6b12661f0a9bc49405258e90bf23cf008310bf1f25309fb27a05d5f533 diff --git a/media-libs/blend2d/blend2d-0.11.4.ebuild b/media-libs/blend2d/blend2d-0.11.4.ebuild new file mode 100644 index 000000000..4160945ee --- /dev/null +++ b/media-libs/blend2d/blend2d-0.11.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit cmake + +DESCRIPTION="2D vector graphics library powered by a JIT compiler." +HOMEPAGE="https://blend2d.com/" +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN}/${PN}" +else + SRC_URI="https://blend2d.com/download/${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}" +fi + +LICENSE="ZLIB" +SLOT="0" +IUSE="test" + +RDEPEND=">=dev-libs/asmjit-2024.01.01" +DEPEND="${RDEPEND}" +RESTRICT="!test? ( test )" + +DOCS=( README.md CONTRIBUTING.md ) + +# see https://github.com/blend2d/blend2d/issues/217 +CMAKE_SKIP_TESTS="bl_test_image_io" + +src_configure() { + local mycmakeargs=( + -DBLEND2D_TEST=$(usex test) + -DBLEND2D_EXTERNAL_ASMJIT=ON + ) + cmake_src_configure +} diff --git a/media-libs/blend2d/blend2d-9999.ebuild b/media-libs/blend2d/blend2d-9999.ebuild new file mode 100644 index 000000000..c496de09e --- /dev/null +++ b/media-libs/blend2d/blend2d-9999.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit cmake + +DESCRIPTION="2D vector graphics library powered by a JIT compiler." +HOMEPAGE="https://blend2d.com/" +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN}/${PN}" +else + SRC_URI="https://blend2d.com/download/${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}" +fi + +LICENSE="ZLIB" +SLOT="0" +IUSE="test" + +RDEPEND=">=dev-libs/asmjit-2024.01.01" +DEPEND="${RDEPEND}" +RESTRICT="!test? ( test )" + +DOCS=( README.md CONTRIBUTING.md ) + +src_configure() { + local mycmakeargs=( + -DBLEND2D_TEST=$(usex test) + -DBLEND2D_EXTERNAL_ASMJIT=ON + ) + cmake_src_configure +} diff --git a/media-libs/blend2d/metadata.xml b/media-libs/blend2d/metadata.xml new file mode 100644 index 000000000..a34c8c685 --- /dev/null +++ b/media-libs/blend2d/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>fatzer2@gmail.com</email> + <name>Alexander Golubev</name> + </maintainer> + <upstream> + <remote-id type="github">blend2d/blend2d</remote-id> + </upstream> +</pkgmetadata> |