summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2022-06-16 07:56:57 +0200
committerAlfredo Tupone <tupone@gentoo.org>2022-06-16 07:56:57 +0200
commitd36ca8367dda974dc93433c17c0fc26c58f296ac (patch)
treea02e8f4f5522261debe60e9e4e63db9cb4dd3a86 /dev-cpp
parentapp-misc/rpick: Stabilize 0.8.10 x86, #852206 (diff)
downloadgentoo-d36ca8367dda974dc93433c17c0fc26c58f296ac.tar.gz
gentoo-d36ca8367dda974dc93433c17c0fc26c58f296ac.tar.bz2
gentoo-d36ca8367dda974dc93433c17c0fc26c58f296ac.zip
dev-cpp/gemmlowp: add to tree
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/gemmlowp/Manifest1
-rw-r--r--dev-cpp/gemmlowp/gemmlowp-2021.12.20.ebuild30
-rw-r--r--dev-cpp/gemmlowp/metadata.xml11
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-cpp/gemmlowp/Manifest b/dev-cpp/gemmlowp/Manifest
new file mode 100644
index 000000000000..02c0ffa3e692
--- /dev/null
+++ b/dev-cpp/gemmlowp/Manifest
@@ -0,0 +1 @@
+DIST gemmlowp-2021.12.20.tar.gz 842220 BLAKE2B 74139935c01683f894a2ee8bb6f5373a64b8346e5860addd9dcccd47ceffe8942509def3ed242fcd92021c7f82f2e8858313df12369257e2172143a14cec82ed SHA512 934bc79cc951dd18bff413148f3526332685bf0980ddcc0f990ba347bafcd73725e5ffd4bd255dcaa21f0fd71698d26726e2f9f36aa8df87380048041e536e20
diff --git a/dev-cpp/gemmlowp/gemmlowp-2021.12.20.ebuild b/dev-cpp/gemmlowp/gemmlowp-2021.12.20.ebuild
new file mode 100644
index 000000000000..b7aebddd6910
--- /dev/null
+++ b/dev-cpp/gemmlowp/gemmlowp-2021.12.20.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit cmake
+
+CommitId=e844ffd17118c1e17d94e1ba4354c075a4577b88
+DESCRIPTION="Low-precision matrix multiplication"
+HOMEPAGE="https://github.com/google/gemmlowp/"
+SRC_URI="https://github.com/google/${PN}/archive/${CommitId}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND="test? ( dev-cpp/gtest )"
+RESTRICT="!test? ( test )"
+
+S="${WORKDIR}"/${PN}-${CommitId}/contrib
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTING=$(usex test ON OFF)
+ )
+ cmake_src_configure
+}
diff --git a/dev-cpp/gemmlowp/metadata.xml b/dev-cpp/gemmlowp/metadata.xml
new file mode 100644
index 000000000000..13b16c5be808
--- /dev/null
+++ b/dev-cpp/gemmlowp/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>tupone@gentoo.org</email>
+ <name>Tupone Alfredo</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">google/gemmlowp</remote-id>
+ </upstream>
+</pkgmetadata>