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 031D01382C5 for ; Thu, 3 Dec 2020 05:20:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 289ECE0885; Thu, 3 Dec 2020 05:20:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 10CF1E0885 for ; Thu, 3 Dec 2020 05:20:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 251DA3411ED for ; Thu, 3 Dec 2020 05:20:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 10577477 for ; Thu, 3 Dec 2020 05:20:03 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1606972198.bca7abd8fbd5870928969278a1b891577da2a81e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/openimageio/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/openimageio/openimageio-2.2.9.0-r1.ebuild media-libs/openimageio/openimageio-2.2.9.0.ebuild X-VCS-Directories: media-libs/openimageio/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: bca7abd8fbd5870928969278a1b891577da2a81e X-VCS-Branch: master Date: Thu, 3 Dec 2020 05:20:03 +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: 1b56720e-f4db-4d00-82f9-ad6d58c91df9 X-Archives-Hash: 5f5cb7fbbad4de9bd9a40e90d9b5c6d3 commit: bca7abd8fbd5870928969278a1b891577da2a81e Author: epsilonKNOT aisha cc> AuthorDate: Wed Dec 2 23:01:44 2020 +0000 Commit: Sam James gentoo org> CommitDate: Thu Dec 3 05:09:58 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bca7abd8 media-libs/openimageio: fix font installation Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Aisha Tammy aisha.cc> Closes: https://github.com/gentoo/gentoo/pull/18290 Signed-off-by: Sam James gentoo.org> ...o-2.2.9.0.ebuild => openimageio-2.2.9.0-r1.ebuild} | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/media-libs/openimageio/openimageio-2.2.9.0.ebuild b/media-libs/openimageio/openimageio-2.2.9.0-r1.ebuild similarity index 89% rename from media-libs/openimageio/openimageio-2.2.9.0.ebuild rename to media-libs/openimageio/openimageio-2.2.9.0-r1.ebuild index 2ddc9e37ad5..cdd096fdaca 100644 --- a/media-libs/openimageio/openimageio-2.2.9.0.ebuild +++ b/media-libs/openimageio/openimageio-2.2.9.0-r1.ebuild @@ -3,8 +3,9 @@ EAPI=7 +FONT_PN=OpenImageIO PYTHON_COMPAT=( python3_{6..9} ) -inherit cmake python-single-r1 +inherit cmake font python-single-r1 DESCRIPTION="A library for reading and writing images" HOMEPAGE="https://sites.google.com/site/openimageio/ https://github.com/OpenImageIO" @@ -112,6 +113,7 @@ src_configure() { local mycmakeargs=( -DVERBOSE=ON -DOIIO_BUILD_TESTS=OFF + -DINSTALL_FONTS=OFF -DBUILD_DOCS=$(usex doc) -DINSTALL_DOCS=$(usex doc) -DSTOP_ON_WARNING=OFF @@ -136,3 +138,18 @@ src_configure() { cmake_src_configure } + +src_install() { + cmake_src_install + # can't use font_src_install + # it does directory hierarchy recreation + FONT_S=( + "${S}/src/fonts/Droid_Sans" + "${S}/src/fonts/Droid_Sans_Mono" + "${S}/src/fonts/Droid_Serif" + ) + insinto ${FONTDIR} + for dir in "${FONT_S[@]}"; do + doins "${dir}"/*.ttf + done +}