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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 487B115808B for ; Sun, 27 Feb 2022 09:28:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7078FE0918; Sun, 27 Feb 2022 09:28:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 53EEDE0918 for ; Sun, 27 Feb 2022 09:28:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D61B3343328 for ; Sun, 27 Feb 2022 09:28:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 718222FA for ; Sun, 27 Feb 2022 09:28:44 +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: <1645954120.8942f7becc4aca43fcac436fb59bd3336d988662.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-r5.ebuild X-VCS-Directories: media-libs/woff2/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 8942f7becc4aca43fcac436fb59bd3336d988662 X-VCS-Branch: master Date: Sun, 27 Feb 2022 09:28:44 +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: 06900dc6-184c-4d6c-98d0-0fe8a74c36f3 X-Archives-Hash: fedb78c36f9759d32de78777ba4056e8 commit: 8942f7becc4aca43fcac436fb59bd3336d988662 Author: Hans de Graaff gentoo org> AuthorDate: Sun Feb 27 07:29:53 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Feb 27 09:28:40 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8942f7be media-libs/woff2: EAPI 8; use cmake eclass Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Hans de Graaff gentoo.org> media-libs/woff2/woff2-1.0.2-r5.ebuild | 37 ++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/media-libs/woff2/woff2-1.0.2-r5.ebuild b/media-libs/woff2/woff2-1.0.2-r5.ebuild new file mode 100644 index 000000000000..21a221e8d610 --- /dev/null +++ b/media-libs/woff2/woff2-1.0.2-r5.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +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 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-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_src_configure +} + +src_install() { + cmake_src_install + + dobin ${BUILD_DIR}/woff2_compress + dobin ${BUILD_DIR}/woff2_decompress + dobin ${BUILD_DIR}/woff2_info + + einstalldocs +}