summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2024-02-01 15:33:06 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2024-02-01 16:02:16 +0300
commit6da5da70b719e25917cf494b8dba76c53c34827b (patch)
tree8ec1fde764e4a7f41ddc3835e27f586519cc6b66 /media-gfx/libbgcode
parentdev-libs/heatshrink: new package, add 0.4.1 (diff)
downloadgentoo-6da5da70b719e25917cf494b8dba76c53c34827b.tar.gz
gentoo-6da5da70b719e25917cf494b8dba76c53c34827b.tar.bz2
gentoo-6da5da70b719e25917cf494b8dba76c53c34827b.zip
media-gfx/libbgcode: new package, add 0.0.20231116
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Diffstat (limited to 'media-gfx/libbgcode')
-rw-r--r--media-gfx/libbgcode/Manifest1
-rw-r--r--media-gfx/libbgcode/libbgcode-0.0.20231116.ebuild27
-rw-r--r--media-gfx/libbgcode/metadata.xml16
3 files changed, 44 insertions, 0 deletions
diff --git a/media-gfx/libbgcode/Manifest b/media-gfx/libbgcode/Manifest
new file mode 100644
index 000000000000..edb43024b6f7
--- /dev/null
+++ b/media-gfx/libbgcode/Manifest
@@ -0,0 +1 @@
+DIST libbgcode-0.0.20231116.tar.gz 455134 BLAKE2B 63c37b7a8189ef5f14539d6e32cc442b91e65a8e0047c1d7cc2b6970a31b2aa02c212c7ed7dec4497392755d64550a28652b04746eaef279d4fb4a8ec58aac12 SHA512 605110a0e4ca16fd497dbe8b15f9794a75c19d5d5367320ddacaa621eb1a4370fcc5b8a799440d8b449774595c5bcbcd2d96fcb574707da475ef85764f9760d3
diff --git a/media-gfx/libbgcode/libbgcode-0.0.20231116.ebuild b/media-gfx/libbgcode/libbgcode-0.0.20231116.ebuild
new file mode 100644
index 000000000000..c0cf7e5f4299
--- /dev/null
+++ b/media-gfx/libbgcode/libbgcode-0.0.20231116.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+LIBBGCODE_COMMIT=bc390aab4427589a6402b4c7f65cf4d0a8f987ec
+
+DESCRIPTION="Prusa Block & Binary G-code reader / writer / converter"
+HOMEPAGE="https://github.com/prusa3d/libbgcode"
+SRC_URI="https://github.com/prusa3d/libbgcode/archive/${LIBBGCODE_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+DEPEND="
+ >=dev-libs/boost-1.82
+ >=dev-libs/heatshrink-0.4.1
+ >=dev-cpp/catch-2.13:0
+ <dev-cpp/catch-3:0
+ >=dev-python/pybind11-2.11
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-${LIBBGCODE_COMMIT}"
diff --git a/media-gfx/libbgcode/metadata.xml b/media-gfx/libbgcode/metadata.xml
new file mode 100644
index 000000000000..7850cbb64c43
--- /dev/null
+++ b/media-gfx/libbgcode/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>3dprint@gentoo.org</email>
+ <name>Gentoo 3D Printer Project</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>alexxy@gentoo.org</email>
+ <name>Alexey Shvetsov</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/prusa3d/libbgcode/issues</bugs-to>
+ <remote-id type="github">prusa3d/libbgcode</remote-id>
+ </upstream>
+</pkgmetadata>