From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-libs/skia/
Date: Thu, 15 Apr 2021 12:51:42 +0000 (UTC) [thread overview]
Message-ID: <1618490621.d064df47e06b35da71c0daf6b58f6466dd8b8a73.andrewammerlaan@gentoo> (raw)
Message-ID: <20210415125142.CM91u-19uD236Gk9sY00Ckq0silXxC3746WEILrvXKM@z> (raw)
commit: d064df47e06b35da71c0daf6b58f6466dd8b8a73
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Apr 15 12:43:41 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Apr 15 12:43:41 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d064df47
media-libs/skia: remove old
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
media-libs/skia/skia-80_p20191220.ebuild | 159 -------------------------------
1 file changed, 159 deletions(-)
diff --git a/media-libs/skia/skia-80_p20191220.ebuild b/media-libs/skia/skia-80_p20191220.ebuild
deleted file mode 100644
index 05b6b9634..000000000
--- a/media-libs/skia/skia-80_p20191220.ebuild
+++ /dev/null
@@ -1,159 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit ninja-utils python-any-r1 toolchain-funcs
-
-#https://github.com/google/skia/blob/master/include/core/SkMilestone.h
-COMMIT="1c9ebb50024f80f3bf289838298e15185d8f6966"
-
-SRC_URI="https://github.com/google/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-DESCRIPTION="A complete 2D graphic library for drawing Text, Geometries, and Images"
-HOMEPAGE="
- https://skia.org
- https://github.com/google/skia
-"
-LICENSE="BSD"
-SLOT="0"
-IUSE=""
-#IUSE="dawn expat gif jpeg png pdf webp zlib"
-#TODO: find out how to enable and link: angle egl ffmpeg fontconfig freetype gl harfbuzz heif icu lua opencl piex sfntly wuffs vulkan xps s
-
-#TODO: find out which deps are needed for gl/egl/vulkan/X/gif/xps
-# ffmpeg? ( virtual/ffmpeg )
-# heif? ( media-libs/libheif )
-# icu? ( dev-libs/icu )
-# virtual/opengl
-# lua? ( dev-lang/lua )
-# opencl? ( virtual/opencl )
-RDEPEND="
- app-arch/bzip2
- dev-libs/expat
- dev-libs/libbsd
- dev-libs/libpcre
- media-gfx/graphite2
- media-libs/fontconfig
- media-libs/freetype
- media-libs/harfbuzz
- media-libs/libglvnd[X]
- media-libs/libjpeg-turbo
- media-libs/libpng
- media-libs/libwebp
- sys-apps/util-linux
- sys-libs/zlib
- x11-libs/libxcb
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXdmcp
-"
-DEPEND="
- ${PYTHON_DEPS}
- ${RDEPEND}
-"
-BDEPEND="
- dev-util/gn
-"
-
-S="${WORKDIR}/${PN}-${COMMIT}"
-
-src_prepare() {
- default
- # https://chromium.googlesource.com/chromium/src/third_party/zlib
- # https://github.com/jtkukunas/zlib
- sed \
- -e '/:zlib_x86/d' \
- -e '/third_party("zlib_x86/,/^}/d' \
- -i third_party/zlib/BUILD.gn
-
- #remove questionable cflags
- sed -i 's|-O3||g' gn/BUILD.gn || die
- sed -i 's|-ffunction-sections||g' gn/BUILD.gn || die
- sed -i 's|-fdata-sections||g' gn/BUILD.gn || die
-}
-
-src_configure() {
- python_setup
- tc-export AR CC CXX
-
- local myconf_gn=()
- passflags() {
- local _f _x
- _f=( ${1} )
- _x="[$(printf '"%s", ' "${_f[@]}")]"
- myconf_gn+=( extra_${2}="${_x}" )
- }
- passflags "${CFLAGS}" cflags_c
- passflags "${CXXFLAGS}" cflags_cc
- passflags "${CFLAGS}" ldflags
-
- myconf_gn+=(
- ar=\"${AR}\"
- cc=\"${CC}\"
- cxx=\"${CXX}\"
- is_component_build=true
- is_official_build=true
- skia_use_direct3d=false
- skia_use_dng_sdk=false
- skia_use_fonthost_mac=false
- skia_use_metal=false
- skia_use_sfntly=false
- )
-# skia_enable_pdf=$(usex pdf true false)
-#
-# skia_use_dawn=$(usex dawn true false)
-# skia_use_expat=$(usex expat true false)
-# skia_use_libgifcodec=$(usex gif true false)
-# skia_use_libjpeg_turbo_decode=$(usex jpeg true false)
-# skia_use_libjpeg_turbo_encode=$(usex jpeg true false)
-# skia_use_libpng_decode=$(usex png true false)
-# skia_use_libpng_encode=$(usex png true false)
-# skia_use_libwebp_decode=$(usex webp true false)
-# skia_use_libwebp_encode=$(usex webp true false)
-# skia_use_zlib=$(usex zlib true false)
-
-# skia_use_angle=$(usex angle true false)
-# skia_use_egl=$(usex egl true false)
-# skia_use_fontconfig=$(usex fontconfig true false)
-# skia_use_freetype=$(usex freetype true false)
-# skia_use_ffmpeg=$(usex ffmpeg true false)
-# skia_use_gl=$(usex gl true false)
-# skia_use_harfbuzz=$(usex harfbuzz true false)
-# skia_use_icu=$(usex icu true false)
-# skia_use_libheif=$(usex heif true false)
-# skia_use_lua=$(usex lua true false)
-# skia_use_opencl=$(usex opencl true false)
-# skia_use_vulkan=$(usex vulkan true false)
-# skia_use_x11=$(usex X true false)
-# skia_use_xps=$(usex xps true false)
-# skia_use_piex=$(usex piex true false)
-# skia_use_sfntly=$(usex sfntly true false)
-# skia_use_wuffs=$(usex wuffs true false)
-
-# use freetype && myconf_gn+=( skia_use_system_freetype2=true )
-# use harfbuzz && myconf_gn+=( skia_use_system_harfbuzz=true )
-# use icu && myconf_gn+=( skia_use_system_icu=true )
-# use jpeg && myconf_gn+=( skia_use_system_libjpeg_turbo=true )
-# use lua && myconf_gn+=( skia_use_system_lua=true )
-# use png && myconf_gn+=( skia_use_system_libpng=true )
-# use webp && myconf_gn+=( skia_use_system_libwebp=true )
-# use zlib && myconf_gn+=( skia_use_system_zlib=true )
-
- myconf_gn="${myconf_gn[@]} ${EXTRA_GN}"
- set -- gn gen --args="${myconf_gn% }" out/Release
- echo "$@"
- "$@" || die
-}
-
-src_compile() {
- eninja -C out/Release
-}
-
-src_install() {
- dolib.so out/Release/*.so
- insinto "/usr/include/${PN}"
- doins -r include/.
-}
next reply other threads:[~2021-04-15 12:52 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-15 12:44 Andrew Ammerlaan [this message]
2021-04-15 12:51 ` [gentoo-commits] repo/proj/guru:master commit in: media-libs/skia/ Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2022-05-29 21:04 [gentoo-commits] repo/proj/guru:dev " Alessandro Barbieri
2022-05-29 21:04 Alessandro Barbieri
2022-05-29 21:04 Alessandro Barbieri
2022-03-10 18:23 Alessandro Barbieri
2021-10-09 9:30 Theo Anderson
2021-05-05 7:32 Alessandro Barbieri
2021-04-24 18:51 Alessandro Barbieri
2021-04-15 12:51 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-04-15 12:44 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-12-23 8:22 Theo Anderson
2020-11-23 23:54 Theo Anderson
2020-04-30 19:17 Alessandro Barbieri
2020-04-26 20:38 Alessandro Barbieri
2020-04-25 0:37 Alessandro Barbieri
2020-04-25 0:37 Alessandro Barbieri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1618490621.d064df47e06b35da71c0daf6b58f6466dd8b8a73.andrewammerlaan@gentoo \
--to=andrewammerlaan@riseup.net \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox