aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-03-10 19:22:09 +0100
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-03-10 19:23:29 +0100
commit3d10bcaf4ad74752d3de70c0e604936811a5dd4d (patch)
tree7ffdaa72f9e058503e0082527a88bff055314859 /media-libs
parentsys-apps/intel-cmt-cat: do not strip membw (diff)
downloadguru-3d10bcaf4ad74752d3de70c0e604936811a5dd4d.tar.gz
guru-3d10bcaf4ad74752d3de70c0e604936811a5dd4d.tar.bz2
guru-3d10bcaf4ad74752d3de70c0e604936811a5dd4d.zip
media-libs/skia: fix useflags
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/skia/metadata.xml2
-rw-r--r--media-libs/skia/skia-97-r1.ebuild8
2 files changed, 6 insertions, 4 deletions
diff --git a/media-libs/skia/metadata.xml b/media-libs/skia/metadata.xml
index c4eacab6f..c9c4a6c8a 100644
--- a/media-libs/skia/metadata.xml
+++ b/media-libs/skia/metadata.xml
@@ -12,10 +12,12 @@ Skia is an open source 2D graphics library which provides common APIs that work
<use>
<flag name="ccpr">enable coverage counting path renderer</flag>
<flag name="freetype">enable <pkg>media-libs/freetype</pkg> support</flag>
+ <flag name="gpu">enable GPU backend</flag>
<flag name="harfbuzz">enable <pkg>media-libs/harfbuzz</pkg> support</flag>
<flag name="lottie">Play back bodymovin lottie files</flag>
<flag name="opencl">enable opencl support</flag>
<flag name="rive">enable support for rive files</flag>
+ <flag name="svg">enable support for SVG files</flag>
<flag name="vulkan">enable vulkan backend</flag>
</use>
</pkgmetadata>
diff --git a/media-libs/skia/skia-97-r1.ebuild b/media-libs/skia/skia-97-r1.ebuild
index cf53c41df..fd289b368 100644
--- a/media-libs/skia/skia-97-r1.ebuild
+++ b/media-libs/skia/skia-97-r1.ebuild
@@ -21,7 +21,7 @@ S="${WORKDIR}/${PN}-${COMMIT}"
KEYWORDS="~amd64"
LICENSE="BSD"
SLOT="0"
-IUSE="+ccpr debug ffmpeg +fontconfig +freetype +harfbuzz +icu jit +jpeg +lottie lua opencl +opengl +pdf +png +rive vulkan +webp +zlib +X +xml"
+IUSE="+ccpr debug ffmpeg +fontconfig +freetype gpu +harfbuzz +icu jit +jpeg +lottie lua opencl +opengl +pdf +png +rive svg vulkan +webp +zlib +X +xml"
#TODO: find out how to enable and link: angle dawn piex sfntly wuffs
CDEPEND="
@@ -92,10 +92,11 @@ src_configure() {
ar=\"${AR}\"
cc=\"${CC}\"
cxx=\"${CXX}\"
- is_component_build=false
+ is_component_build=true
is_official_build=true
is_shared_library=true
skia_build_fuzzers=false
+ skia_compile_processors = true
skia_compile_sksl_tests=false
skia_enable_android_utils=false #android
skia_enable_api_available_macro = true
@@ -128,8 +129,7 @@ src_configure() {
skia_use_wuffs=false #todo
skia_use_xps=false #windows
- skia_compile_processors = $(usex processors true false)
- skia_enable_ccpr=$(usex cppr true false)
+ skia_enable_ccpr=$(usex ccpr true false)
skia_enable_gpu=$(usex gpu true false)
skia_enable_gpu_debug_layers=$(usex debug true false)
skia_enable_pdf=$(usex pdf true false)