summaryrefslogtreecommitdiff
path: root/media-libs/wxsvg
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-24 16:33:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-24 16:33:11 +0000
commitfaddeff65d652bda3291eba255955adb17f1aa19 (patch)
tree4352e6d85ce48c7c8d96159fad4d3dd90602a70a /media-libs/wxsvg
parent0e7b1da874d923b9f006e0000023f5fa528140a8 (diff)
gentoo auto-resync : 24:11:2023 - 16:33:11
Diffstat (limited to 'media-libs/wxsvg')
-rw-r--r--media-libs/wxsvg/Manifest3
-rw-r--r--media-libs/wxsvg/files/gcc13.patch24
-rw-r--r--media-libs/wxsvg/wxsvg-1.5.24.ebuild48
3 files changed, 75 insertions, 0 deletions
diff --git a/media-libs/wxsvg/Manifest b/media-libs/wxsvg/Manifest
index d566712b009e..fd2ff6470d2a 100644
--- a/media-libs/wxsvg/Manifest
+++ b/media-libs/wxsvg/Manifest
@@ -1,6 +1,9 @@
AUX ffmpeg5.patch 2264 BLAKE2B 35be30758a9c2c5b8f14d28a4c54dc26b0ec843ec7f9c1dda1b49f232de19cc114e3965f712cc4a158e24da3fd0ef058122c3d523a1519c72f9b71d584c23c2f SHA512 0d130f44f4b64ce369bf92d71c82c0b06b74470114dfe5b43787dffd3098d5642beb91a6d2d3c4fbee22c04cc810e5bc1f279bbfb753e732ba8c5b5195914245
+AUX gcc13.patch 614 BLAKE2B 0bef1364f976f9dc09bf67a48e0b82338bf3418703c433c4870b13beea060293d2ff4a455c7fd170c3de86ca129d77eb1fecc81f6aa28b56ac64478b5cf9732d SHA512 05f2ab51614ccad806204a2257e10217b9de95f690591442bae45d9ca30ea658fd883b84ed8dda76b5b58971e6c90c161e827c2759903e05fde432d65fb1475a
DIST wxsvg-1.5.11.tar.bz2 514919 BLAKE2B d15d3478b69c4db4bd1cfc5032ff4909d35aca45f69694dbb74db72bc9d651fae3b8948382f60abd3f93a36dd4756f8f8f2c37acf7ac0b8859a9b03cb8cfda55 SHA512 d3538969bc0dda6bab740efef6952c2ca92e0ca74780c6370e3c6daf21d641e894b570d13b6ca408839b1b37df2aca9a3cf32d6423ddbf5f9f84274cfb1b8582
DIST wxsvg-1.5.23.tar.bz2 500351 BLAKE2B 369bd7cee8581df72712183ecb997f0cebae6e7fe942d4cad123d77472b5e3f479f604854bc267990e7ec29c9420625433a4b8a3fe799fcae0e4d6173d411c50 SHA512 c15f58fecbee595f0f981c9347f1e1b929656b7d9c9dfb699252111df927d554cb88b6d7801b323451b0f906ec8c7d6935c9e15372e213f1921f0fdd90733422
+DIST wxsvg-1.5.24.tar.bz2 500480 BLAKE2B 2ecf863f8cb8980a14bcddfe014e595564033af17f710ebdb4352de8a2a3cea93ed471b1870dd111ab24100bbc307fb841bed579edbd00c0e0454c4ac5c77934 SHA512 cceba943102eece67d40f480b5b6fa3d6294e6d6733732f35112406453e2d86f516c07817983a074136dc929b911620ca87018cbe79ce4ba3a9e3562fb53cf58
EBUILD wxsvg-1.5.11-r1.ebuild 917 BLAKE2B 73fcf2c6c52b0e81e57b019eb459f89736a92793e51aefcc4a19ddeaa691b8760a79c8a9d879fd70a5baa16bc00ae3b140fac5bab845e223ba1be3bd6d915518 SHA512 4f530f4e96ad23c06100b2fa119045a7ab825bde2d93dda74d1819d70385ce593c025e65a2e45812a2c91fd3a5c2ba763b0517cd77e76cf98ed692354dc50f7c
EBUILD wxsvg-1.5.23.ebuild 964 BLAKE2B b199dadd10a3dcf9773b27f9c93f963be89fe9995b6cf2afe3ca10a697d005cccd3d66cb3979dedfa832dbe18d725ee073761c37fc95a4fe2e3aac55ed8fcc22 SHA512 f3320fd449d1758a9591b06049c6be776cd9de2b06ba38d33ad1beab3fce96a0e97deec540fb031fe7b5ef005cf4d0919c5e6f53750d4f6f07b1573d8b2f51d3
+EBUILD wxsvg-1.5.24.ebuild 966 BLAKE2B e580030bc6640730f03e3a58904a5bb4346d23519c97e9d44f9558d3769a95fac323e56cd1e732bd7724bfaf30ec8eab789026c427be54038b978fb1e4d4375f SHA512 592d8cbaa551764fef5e39462b85e9ee5b13bec71f2304910651a4933a23069a16988792f175325b2955168b588a0c9fb05b59cae2b5b132ccfeada641328ce6
MISC metadata.xml 337 BLAKE2B ff3fc593430adabb8ed657f5ce0ce689614750bf503c37c8b1a81aefccb2e5abb3b64e43febd8e0678db8d9b1c79ffbbd75d9912ac39ecd06d15434861ee6487 SHA512 a6a3cb4e46411e4dce39033cdb6fbe52d731c00919553ac8e40eb6260a228c80d6122b5a542b3863f7b743ce89d4248575aedefbe6b49654207476940ee2e71b
diff --git a/media-libs/wxsvg/files/gcc13.patch b/media-libs/wxsvg/files/gcc13.patch
new file mode 100644
index 000000000000..d9681843369e
--- /dev/null
+++ b/media-libs/wxsvg/files/gcc13.patch
@@ -0,0 +1,24 @@
+From 7b17fe365fb522618fb3520d7c5c1109b138358f Mon Sep 17 00:00:00 2001
+From: alex <alex@sinus.fritz.box>
+Date: Sat, 5 Aug 2023 23:29:54 +0200
+Subject: [PATCH 4/5] applied gcc 13 patch
+
+---
+ src/cairo/SVGCanvasCairo.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/cairo/SVGCanvasCairo.cpp b/src/cairo/SVGCanvasCairo.cpp
+index f482cbf..0a62a88 100644
+--- a/src/cairo/SVGCanvasCairo.cpp
++++ b/src/cairo/SVGCanvasCairo.cpp
+@@ -14,6 +14,7 @@
+ #include "SVGCanvasImageCairo.h"
+ #include <wx/log.h>
+ #include <wx/file.h>
++#include <cstdint>
+
+ wxSVGCanvasCairo::~wxSVGCanvasCairo() {
+ Destroy();
+--
+2.41.0
+
diff --git a/media-libs/wxsvg/wxsvg-1.5.24.ebuild b/media-libs/wxsvg/wxsvg-1.5.24.ebuild
new file mode 100644
index 000000000000..9a6d52400e3e
--- /dev/null
+++ b/media-libs/wxsvg/wxsvg-1.5.24.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+WX_GTK_VER=3.2-gtk3
+inherit 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"
+
+RDEPEND="
+ >=dev-libs/expat-2:=
+ media-libs/libexif:=
+ >=dev-libs/glib-2.28:2=
+ dev-libs/libxml2:=
+ media-libs/fontconfig:=
+ media-libs/freetype:2=
+ media-libs/harfbuzz:=
+ x11-libs/cairo:=
+ x11-libs/pango:=
+ x11-libs/wxGTK:${WX_GTK_VER}=[X]
+ >=media-video/ffmpeg-2.6:0="
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}/gcc13.patch"
+)
+
+src_configure() {
+ setup-wxwidgets base-unicode
+ econf \
+ --disable-static \
+ --with-wx-config=${WX_CONFIG}
+}
+
+src_install() {
+ default
+
+ # no static archives
+ find "${ED}" -name '*.la' -delete || die
+}