forked from gentoo/gentoo
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-libs/wxsvg: update to latest version and support EAPI 7
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Samuel Bernardo <samuelbernardo.mail@gmail.com>
- Loading branch information
1 parent
4f222eb
commit 63ec89c
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST wxsvg-1.5.11.tar.bz2 514919 BLAKE2B d15d3478b69c4db4bd1cfc5032ff4909d35aca45f69694dbb74db72bc9d651fae3b8948382f60abd3f93a36dd4756f8f8f2c37acf7ac0b8859a9b03cb8cfda55 SHA512 d3538969bc0dda6bab740efef6952c2ca92e0ca74780c6370e3c6daf21d641e894b570d13b6ca408839b1b37df2aca9a3cf32d6423ddbf5f9f84274cfb1b8582 | ||
DIST wxsvg-1.5.22.tar.bz2 499287 BLAKE2B 08ae70032a03f30cbfa143b51d3f89c12d97fedf0088325697a1c2ac84d117c8637a396cd7cb228694fbbbde0d1db374beb4a94cafe4a913b77e0712987da80e SHA512 de9ffe314293267b728d0c9bd79b72c87ab057ca9e40af4e7f248ff4e39040a8f1b2a95a1e0bf2db20f3e718ad585e26dc8e69beeeb23b3161edac447e3cfe7b | ||
DIST wxsvg-1.5.9.tar.bz2 512874 BLAKE2B a81099720e8835637ca82c7c0a3738dba36d16425982aba92f72f1427787e281260b3d06a972b0739d090610f8ab487e23f056f87284251c2a87a960666fb088 SHA512 eda51832dfa646cd4a681acdbbc1282b9d82d3a0571633c1212f89093ac23cad57f8f8e03fb7c35591b956a9b18c48852d439c44204830f1efd813549bc7eada |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Copyright 1999-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
WX_GTK_VER=3.0 | ||
inherit eutils wxwidgets | ||
|
||
DESCRIPTION="C++ library to create, manipulate and render SVG files" | ||
HOMEPAGE="http://wxsvg.sourceforge.net/" | ||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" | ||
|
||
LICENSE="wxWinLL-3" | ||
SLOT="0/3" # based on SONAME of libwxsvg.so | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="static-libs libav" | ||
|
||
RDEPEND=">=dev-libs/expat-2:= | ||
media-libs/libexif:= | ||
>=dev-libs/glib-2.28:2= | ||
dev-libs/libxml2:= | ||
media-libs/fontconfig:= | ||
media-libs/freetype:2= | ||
x11-libs/cairo:= | ||
x11-libs/pango:= | ||
x11-libs/wxGTK:${WX_GTK_VER}=[X] | ||
libav? ( >=virtual/ffmpeg-9:0=[libav=] ) | ||
!libav? ( >=media-video/ffmpeg-2.6:0= )" | ||
DEPEND="${RDEPEND} | ||
virtual/pkgconfig" | ||
|
||
DOCS=( AUTHORS ChangeLog TODO ) | ||
|
||
src_configure() { | ||
need-wxwidgets base-unicode | ||
econf \ | ||
$(use_enable static-libs static) \ | ||
--with-wx-config=${WX_CONFIG} | ||
} | ||
|
||
src_install() { | ||
default | ||
find "${D}" -name '*.la' -delete || die "Error pruning libraries!" | ||
} |