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 8BCB9138350 for ; Wed, 15 Apr 2020 08:32:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2AFDE08AC; Wed, 15 Apr 2020 08:32:54 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 9DCA2E08AC for ; Wed, 15 Apr 2020 08:32:54 +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 9E1B734F2EA for ; Wed, 15 Apr 2020 08:32:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 108C61D7 for ; Wed, 15 Apr 2020 08:32:52 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1586939536.1cf6b7f87bf6a71f2d152b9d76e57efc2b9c0a98.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/woff2/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/woff2/woff2-1.0.2-r2.ebuild X-VCS-Directories: media-libs/woff2/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 1cf6b7f87bf6a71f2d152b9d76e57efc2b9c0a98 X-VCS-Branch: master Date: Wed, 15 Apr 2020 08:32:52 +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: 95a854af-448a-4ae0-a61b-66919eda3c67 X-Archives-Hash: 14a06beac8908ca2a00bea8f8d80a930 commit: 1cf6b7f87bf6a71f2d152b9d76e57efc2b9c0a98 Author: Hans de Graaff gentoo org> AuthorDate: Wed Apr 15 08:32:01 2020 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Wed Apr 15 08:32:16 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cf6b7f8 media-libs/woff2: also install cli tools Thanks for Wicher Minnaard in bug 688624 for providing the initial patch. Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Hans de Graaff gentoo.org> media-libs/woff2/woff2-1.0.2-r2.ebuild | 37 ++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/media-libs/woff2/woff2-1.0.2-r2.ebuild b/media-libs/woff2/woff2-1.0.2-r2.ebuild new file mode 100644 index 00000000000..9036f520f92 --- /dev/null +++ b/media-libs/woff2/woff2-1.0.2-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils + +DESCRIPTION="Encode/decode WOFF2 font format" +HOMEPAGE="https://github.com/google/woff2" +SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris" +IUSE="" + +RDEPEND="app-arch/brotli" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DCMAKE_SKIP_RPATH=ON # needed, causes QA warnings otherwise + -DCANONICAL_PREFIXES=ON #661942 + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + dobin ${BUILD_DIR}/woff2_compress + dobin ${BUILD_DIR}/woff2_decompress + dobin ${BUILD_DIR}/woff2_info + + einstalldocs +}