Skip to content

Commit

Permalink
media-libs/wxsvg: update to latest version and support EAPI 7
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Samuel Bernardo <samuelbernardo.mail@gmail.com>
  • Loading branch information
samuelbernardo committed Sep 6, 2020
1 parent 4f222eb commit 63ec89c
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions media-libs/wxsvg/Manifest
@@ -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
43 changes: 43 additions & 0 deletions media-libs/wxsvg/wxsvg-1.5.22.ebuild
@@ -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!"
}

0 comments on commit 63ec89c

Please sign in to comment.