commit:     dd60dd732e36423f296771bb096d7e9f0f07962c
Author:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 16 21:55:28 2018 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Mon Jul 16 21:55:28 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd60dd73

media-libs/woff2: Initial import

Needed by webkit-gtk

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-libs/woff2/Manifest           |  1 +
 media-libs/woff2/metadata.xml       |  8 ++++++++
 media-libs/woff2/woff2-1.0.2.ebuild | 26 ++++++++++++++++++++++++++
 3 files changed, 35 insertions(+)

diff --git a/media-libs/woff2/Manifest b/media-libs/woff2/Manifest
new file mode 100644
index 00000000000..2d9d0afce6d
--- /dev/null
+++ b/media-libs/woff2/Manifest
@@ -0,0 +1 @@
+DIST woff2-1.0.2.tar.gz 38934 BLAKE2B 
b4a762cb2377b896147d9ebdae97f17e80bdb94fa8ec1b04e28e9df48c2f3456f83fc548b10a49bbc271bead349348f7582a85c5011f60a9feb4dda84920b6f3
 SHA512 
c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d

diff --git a/media-libs/woff2/metadata.xml b/media-libs/woff2/metadata.xml
new file mode 100644
index 00000000000..39980802b1d
--- /dev/null
+++ b/media-libs/woff2/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+<maintainer type="project">
+       <email>gn...@gentoo.org</email>
+       <name>Gentoo GNOME Desktop</name>
+</maintainer>
+</pkgmetadata>

diff --git a/media-libs/woff2/woff2-1.0.2.ebuild 
b/media-libs/woff2/woff2-1.0.2.ebuild
new file mode 100644
index 00000000000..c8fad39c9d5
--- /dev/null
+++ b/media-libs/woff2/woff2-1.0.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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="~amd64"
+IUSE=""
+
+RDEPEND="app-arch/brotli"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               # needed, causes QA warnings otherwise
+               -DCMAKE_SKIP_RPATH=ON
+       )
+       cmake-utils_src_configure
+}

Reply via email to