summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVirgil Dupras <vdupras@gentoo.org>2018-07-17 00:55:28 +0300
committerMart Raudsepp <leio@gentoo.org>2018-07-17 00:55:28 +0300
commitdd60dd732e36423f296771bb096d7e9f0f07962c (patch)
tree6dee7c2129d20fa3154486b7f7f8709c09a3d3fb
parenteutils.eclass: make_wrapper, fix 'cd' error handling (diff)
downloadgentoo-dd60dd732e36423f296771bb096d7e9f0f07962c.tar.gz
gentoo-dd60dd732e36423f296771bb096d7e9f0f07962c.tar.bz2
gentoo-dd60dd732e36423f296771bb096d7e9f0f07962c.zip
media-libs/woff2: Initial import
Needed by webkit-gtk Package-Manager: Portage-2.3.40, Repoman-2.3.9
-rw-r--r--media-libs/woff2/Manifest1
-rw-r--r--media-libs/woff2/metadata.xml8
-rw-r--r--media-libs/woff2/woff2-1.0.2.ebuild26
3 files changed, 35 insertions, 0 deletions
diff --git a/media-libs/woff2/Manifest b/media-libs/woff2/Manifest
new file mode 100644
index 000000000000..2d9d0afce6d3
--- /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 000000000000..39980802b1da
--- /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>gnome@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 000000000000..c8fad39c9d5e
--- /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
+}