From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4206B158086 for ; Sat, 9 Oct 2021 15:02:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71670E07DB; Sat, 9 Oct 2021 15:02:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 58CB6E07DB for ; Sat, 9 Oct 2021 15:02:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 10EE8342B3A for ; Sat, 9 Oct 2021 15:02:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 917FB9B for ; Sat, 9 Oct 2021 15:02:22 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1633791709.bfbbc7e530e1607ba7d4157493eda0b8b7cd5369.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/json11/files/, dev-cpp/json11/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-cpp/json11/Manifest dev-cpp/json11/files/json11-1.0.0-fix-multiarch-install.patch dev-cpp/json11/json11-1.0.0.ebuild dev-cpp/json11/metadata.xml X-VCS-Directories: dev-cpp/json11/files/ dev-cpp/json11/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: bfbbc7e530e1607ba7d4157493eda0b8b7cd5369 X-VCS-Branch: master Date: Sat, 9 Oct 2021 15:02:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4fb57091-4df7-4e4d-af08-37f94e69f369 X-Archives-Hash: 4fde26351c268ba23104a7034433e763 commit: bfbbc7e530e1607ba7d4157493eda0b8b7cd5369 Author: Florian Schmaus gentoo org> AuthorDate: Sat Oct 9 15:00:56 2021 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Sat Oct 9 15:01:49 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfbbc7e5 dev-cpp/json11: initial import Signed-off-by: Florian Schmaus gentoo.org> dev-cpp/json11/Manifest | 1 + .../files/json11-1.0.0-fix-multiarch-install.patch | 14 ++++++++++++++ dev-cpp/json11/json11-1.0.0.ebuild | 18 ++++++++++++++++++ dev-cpp/json11/metadata.xml | 8 ++++++++ 4 files changed, 41 insertions(+) diff --git a/dev-cpp/json11/Manifest b/dev-cpp/json11/Manifest new file mode 100644 index 00000000000..f64a0cde584 --- /dev/null +++ b/dev-cpp/json11/Manifest @@ -0,0 +1 @@ +DIST json11-1.0.0.tar.gz 13104 BLAKE2B 9f4fef741b40f1d163dd96555a521b6220c47402624baa5446fb94592989a830a0c511162a6af64b76962c8b07b83a324845dc61c1ca91bbb99e2b0511fb962a SHA512 c49aa9ebc75199528a13cd255d9362acb797d73a17fd69fb22673e945b8719a3d70fdf2d886fed342ca13ed1b4ea578534520d87c46c4a418929f9124aee3ec3 diff --git a/dev-cpp/json11/files/json11-1.0.0-fix-multiarch-install.patch b/dev-cpp/json11/files/json11-1.0.0-fix-multiarch-install.patch new file mode 100644 index 00000000000..fef15e0e153 --- /dev/null +++ b/dev-cpp/json11/files/json11-1.0.0-fix-multiarch-install.patch @@ -0,0 +1,14 @@ +diff -Naur before/CMakeLists.txt after/CMakeLists.txt +--- before/CMakeLists.txt 2019-05-12 16:45:39.995871663 +0200 ++++ after/CMakeLists.txt 2019-05-12 16:44:56.154872666 +0200 +@@ -52,6 +52,7 @@ + target_link_libraries(json11_test json11) + endif() + +-install(TARGETS json11 DESTINATION lib/${CMAKE_LIBRARY_ARCHITECTURE}) +-install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/json11.hpp" DESTINATION include/${CMAKE_LIBRARY_ARCHITECTURE}) +-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/json11.pc" DESTINATION lib/${CMAKE_LIBRARY_ARCHITECTURE}/pkgconfig) ++install(TARGETS json11 DESTINATION ${CMAKE_INSTALL_LIBDIR}) ++install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/json11.hpp" DESTINATION include) ++install(FILES "${CMAKE_CURRENT_BINARY_DIR}/json11.pc" DESTINATION ++ ${CMAKE_INSTALL_LIBDIR}/pkgconfig) diff --git a/dev-cpp/json11/json11-1.0.0.ebuild b/dev-cpp/json11/json11-1.0.0.ebuild new file mode 100644 index 00000000000..94fcfeb98c4 --- /dev/null +++ b/dev-cpp/json11/json11-1.0.0.ebuild @@ -0,0 +1,18 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="A tiny JSON library for C++11" +HOMEPAGE="https://github.com/dropbox/json11" +SRC_URI="https://github.com/dropbox/json11/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +PATCHES=( + "${FILESDIR}"/${P}-fix-multiarch-install.patch +) diff --git a/dev-cpp/json11/metadata.xml b/dev-cpp/json11/metadata.xml new file mode 100644 index 00000000000..87a759d410c --- /dev/null +++ b/dev-cpp/json11/metadata.xml @@ -0,0 +1,8 @@ + + + + + Florian Schmaus + flow@gentoo.org + +