summaryrefslogtreecommitdiff
path: root/dev-lang/swig
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/swig')
-rw-r--r--dev-lang/swig/Manifest2
-rw-r--r--dev-lang/swig/swig-4.3.0.ebuild64
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-lang/swig/Manifest b/dev-lang/swig/Manifest
index baa9586662cc..139cc0f68c03 100644
--- a/dev-lang/swig/Manifest
+++ b/dev-lang/swig/Manifest
@@ -2,7 +2,9 @@ AUX swig-4.1.1-ccache-configure-clang16.patch 1162 BLAKE2B 28889128bfd9a6cd883d5
DIST swig-4.1.1.tar.gz 8600805 BLAKE2B 898d3405f20c3e49626fb808b568e77c69b81ec2401c0a0c406f9e7a3d7d218353dc8b8ae88a3d485ddfc3be659971b961ee2c89d5b0c75aed0688e0952fd208 SHA512 1cea1918455a75ebc9b2653dd1715bd5dcd974554955f324295c6a6f14c0a715651b221b85fad4a8af5197e0c75bfe7b590bc6ba7178c26245fbbd9a7e110100
DIST swig-4.2.0.tar.gz 8339586 BLAKE2B 4f1c3c7d4b1e218b67a2d796d2171df73971036a433e5fb80233b3050f022d578efdff28fc44d98a6d176ec6270b4942f5f56e9a74bbd8b30d6836c76c620a04 SHA512 b7f508b25bc6e882ed6123f6c7ad12b02a7b74de09ac6e5789968e9c2f51407d1e3dafd5ea495087b4fb0f447ecce17e6070471479c67c4265166d8342a10862
DIST swig-4.2.1.tar.gz 8364050 BLAKE2B 0acffd4794d09f2347d669d1460a794c03f136ab3ddc6623741e182ff52b6bf5f639c736e38540918ebb1abbe36c2ce1957aef8a429f1a716d9c5361175569bf SHA512 019dee5a46d57e1030eef47cd5d007ccaadbdcd4e53cd30d7c795f0118ecf4406a78185534502c81c5f6d7bac0713256e7e19b20b5a2d14e2c552219edbaf5cf
+DIST swig-4.3.0.tar.gz 8616205 BLAKE2B ff9c9b9c139ebde89c46abd4b46903dc6c33aff969ed3bf873d7982ed9ad53793e2648460eb52e606e6295984698239118b10cef5d66333b1c3588286367d4d8 SHA512 5dfb8aa9898fccb063dbdf5d6266928cf46d671491308d2c122c59414377f1558015a37d7268729f62c5d4ee20438c98c83ee575fb00078dfe77564ee46a2f64
EBUILD swig-4.1.1-r1.ebuild 1292 BLAKE2B 603fef592558fff9c76f4d17608ebcbedf2e6b1c0c42470ae4e8cf288074c124a6a941fb9e33729d4ca40793c5f2130c2f2ab1a15a39eec6be69f37db705741f SHA512 f473e31803d2a1e9cec9319fb18a7d32c7a9e176c41ce4efdba56bfc195a62da6978a563ec3db2786efcc053d4135848c8d2df3d4e115a1a3f94ff4afad8b7af
EBUILD swig-4.2.0.ebuild 1084 BLAKE2B 964b843af3a661f59840043b67c3153a2c7c5f6021a44e9f8c302249bc60d02ddb7bbd92fdaad50d0d8a59fbc3e956322744db1fccbdd42e6b970b615568f012 SHA512 af5771e09b5a819611729b93ed66e5eb6ad3c59824185650265510451e913334134e293df01610fb952bb0de2a91a27c1487faf104be6dff1fa2e3d8ea10ceaa
EBUILD swig-4.2.1.ebuild 1691 BLAKE2B c16aef52b5cd1c53452587e34f126f28eaca19c0540e0660beab4f286a9f79f307660db37f9b4668cc4da432c552c27af3c3a624fcf34e583359e1046c97b144 SHA512 78a2d008e107f0223a2362003695bbc171821dd2652471bdaa547078d76905e7ea9b8833fa380e496edc021e62455ba98625c23e43d940b86513c1a1304c2870
+EBUILD swig-4.3.0.ebuild 1587 BLAKE2B 771ccffce14e1d0673d3b24005c4f51f3a6e3a49f759899605f7f912fda3d4724fe2c003bce2740587b6d20f3dd1dc52498f35ddddd6e51f5d215b9c2b235658 SHA512 e0139a4a4cc81e44ebada0c94bc9a1d28932d11023da7ca4839bc1cf18bc84ed77d0b6541fbb9b936ea75537f10e4f554710d0bb46c30c726c2c2b7bfee36d5a
MISC metadata.xml 1019 BLAKE2B 1f6a79945d3bb92bd9b5c06f7b4e96c8c9f8f6e68d5c13890247d2c08adf46409a194e3198fb3df19f699a176fe92bebc1e7ba6eb0944a0db12c5e3271043552 SHA512 5ba26e3670ba852648a243f14efe096e52781418eb4d07cabc1bcf46efcd098d099ecbb3d504862540db796279fd855a581d60dd3b1de2f60e9d542e3ccb9b00
diff --git a/dev-lang/swig/swig-4.3.0.ebuild b/dev-lang/swig/swig-4.3.0.ebuild
new file mode 100644
index 000000000000..5dc47d6b15e4
--- /dev/null
+++ b/dev-lang/swig/swig-4.3.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Simplified Wrapper and Interface Generator"
+HOMEPAGE="http://www.swig.org/ https://github.com/swig/swig"
+SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+ BSD BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="ccache doc pcre test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ pcre? ( dev-libs/libpcre2 )
+ ccache? ( sys-libs/zlib )
+"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-libs/boost )
+"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( ANNOUNCE CHANGES CHANGES.current README TODO )
+
+src_configure() {
+ # TODO: add USE for various langs? (https://bugs.gentoo.org/921504#c3)
+ econf \
+ PKGCONFIG="$(tc-getPKG_CONFIG)" \
+ --without-maximum-compile-warnings \
+ $(use_enable ccache) \
+ $(use_with pcre)
+}
+
+src_compile() {
+ # Override these variables per Makefile.in to get verbose logs
+ emake FLAGS="-k" RUNPIPE=""
+}
+
+src_test() {
+ # The tests won't get run w/o an explicit call, broken Makefiles?
+ # java skipped for bug #921504
+ # *-sections for bug #935318
+ emake check \
+ skip-java=true \
+ FLAGS="-k" \
+ RUNPIPE="" \
+ CFLAGS="${CFLAGS} -std=c++20 -ffunction-sections -fdata-sections" \
+ CXXFLAGS="${CXXFLAGS} -std=c++20 -ffunction-sections -fdata-sections" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ default
+
+ if use doc; then
+ docinto html
+ dodoc -r Doc/{Devel,Manual}
+ fi
+}