From b9d13f23ed10bb803607f6ef67f0df2f078aa70f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 15 Jan 2024 13:18:00 +0000 Subject: gentoo auto-resync : 15:01:2024 - 13:18:00 --- media-gfx/Manifest.gz | Bin 37701 -> 37705 bytes media-gfx/libredwg/Manifest | 4 +- media-gfx/libredwg/libredwg-0.12.5.6149.ebuild | 113 ------------------------ media-gfx/libredwg/libredwg-0.12.5.6938.ebuild | 114 +++++++++++++++++++++++++ 4 files changed, 116 insertions(+), 115 deletions(-) delete mode 100644 media-gfx/libredwg/libredwg-0.12.5.6149.ebuild create mode 100644 media-gfx/libredwg/libredwg-0.12.5.6938.ebuild (limited to 'media-gfx') diff --git a/media-gfx/Manifest.gz b/media-gfx/Manifest.gz index 15f9bc7b9e25..78dde5ad47a8 100644 Binary files a/media-gfx/Manifest.gz and b/media-gfx/Manifest.gz differ diff --git a/media-gfx/libredwg/Manifest b/media-gfx/libredwg/Manifest index 76b44e7b98ce..fa451d04385e 100644 --- a/media-gfx/libredwg/Manifest +++ b/media-gfx/libredwg/Manifest @@ -1,8 +1,8 @@ -DIST libredwg-0.12.5.6149.tar.gz 18995120 BLAKE2B 5e2698ef3edcdc99e658ac3d9f6ee4090b8e82518c655e4e3d837477b770adae3b159fab98ed3a802d61fcc831dfad3560a93eb268e8ac60aa32f2bb3f74b02a SHA512 e5deca193239c686ecb21aea9bd03005b1983fa9e5eb9c5d0fa4ecf00b3a990f4caaae3abed62bbc7bdf720f9e9d17466d519aa8390fa0109241dcc0eb0a4b40 DIST libredwg-0.12.5.6321.tar.gz 20413375 BLAKE2B 4645228ca6e4b8624df33b5584b3645a7e40cfa4840b7fd2473cb1b062c61973d89e0fdaf108ca8105835b3c5f4197d030339798c08a2c790b0ead2595b69bd4 SHA512 25ac81e4a6db1f0dea201a24b3cff7a865a18e67e1fa8fbdcecc4e95542812eb66907612593c9afa93aad51fa0e107226b495a477ceed76af4b8b71eadd99e5e DIST libredwg-0.12.5.6564.tar.gz 20424314 BLAKE2B c89b0a045190249eee5437ffde76fcc9b5cfa2017bfeb746de897cc191b9dd6b883694bd3b88f539782d5a3a8314620b2e51f538d91499743d67a862a8b29815 SHA512 68f35f5f16cf4c7537b563c0519eaca9d4aa0cd798067d60548e357579e427104e36aa9f3a65405949a869c8c8de4a47610ba97367fb1e2153ec89620fd54d97 +DIST libredwg-0.12.5.6938.tar.gz 20513164 BLAKE2B f70909fb32db8c03ca20e9d39a54073bf614c6826c45764a3616913322b0ac2d2e1bb57961ccd9108f068f4bd3a72b9349d9e30159c857372b938e9d2e525235 SHA512 6a53501ffed57b4dc8b8c34104f987f549b5bd3bd7335aee0fc69f2a3fecd694e8fbc672bf325414e0bb2b7e8bfd9bb7542efaf1dc1392aec5b70ab45529f11a DIST libredwg-85695f3d5903b1cd5b4030efe50db3b4f5f3c928.tar.gz 12597 BLAKE2B cd01f6c446d5d129545fdae07c0101d133e1f4e69ee62e94c27c3c2853dcc30854f40aed0c6f38f6594c5f5eb9e7b2d18d3b2e4f487b7bf1a3f7f39facde38bc SHA512 1d08cfa6216e0fe671dab77a0bd0b4ef0c4eb174878eba909c680e0ee93a82079b3cbf60afe2de7b0078258de8bcc588961e59cf0c14fe5f2d1f70db639ef95a -EBUILD libredwg-0.12.5.6149.ebuild 2752 BLAKE2B b38fb3e9c83793ec8cf5b35f9e39b9c12175e9c268ff80e7010a52054394c5e7c827a492e79db9865347c9f12b8e913348a1b0ea8c0c632663c77842510950b4 SHA512 2f3035a16adb1600466f39f170803ad73f8fc423850bbf3cf98a97968518213c5f0d64028d1349939f08feb51175191c96d8fdff4923f6a6bdaa181d7a41cfcb EBUILD libredwg-0.12.5.6321.ebuild 2771 BLAKE2B 3b7baa106757e770e84881330474fb46002f4e17659bb2e582ef76411320e658f3c5e9825652a34b0bd2c882cb887f5b4b9a97c6ceb8196cf77f2fde6ab7e51c SHA512 aef13f68099ee03f6bbcf544584c18ea3e4fc8faf0438f4d6bf8e4cf8b211385fb16ebca8bdc60d2e02842b637a1a6601bf99151cd91fab66b9cdae12f080a28 EBUILD libredwg-0.12.5.6564.ebuild 2771 BLAKE2B 3b7baa106757e770e84881330474fb46002f4e17659bb2e582ef76411320e658f3c5e9825652a34b0bd2c882cb887f5b4b9a97c6ceb8196cf77f2fde6ab7e51c SHA512 aef13f68099ee03f6bbcf544584c18ea3e4fc8faf0438f4d6bf8e4cf8b211385fb16ebca8bdc60d2e02842b637a1a6601bf99151cd91fab66b9cdae12f080a28 +EBUILD libredwg-0.12.5.6938.ebuild 2808 BLAKE2B d297fae57d55f3ac039d791870242af3692da80314f96e2388fbbde59ac7ca678b5ee5b5429ed8194aeeeabd11c7ceb8e05b1dfcc2db453c8f5245dd573b1b80 SHA512 fee4244e5d428c979b9efca95bb3b492c35d603a2f22fa0de5f5b5ea019aa34bb1142b96008207f124b301edd5cfda521cbcffa7f4b47c81e62f4f9eaf836d11 MISC metadata.xml 406 BLAKE2B c39713a8733c296d7b9c8d87210f1bec2bcebf415d2dcb6e6326fd6a89e9b84b44bffd781cd953de35894220b51277d39c3fd80ad8c9fe8f22cb29fdb920467c SHA512 a474d5abfc3db689b006dad09dc5ab003526141269d30e6acb7c241054be518a21f6a034ed9939a75098386cd01012d460bf70e0c12f0f14023ac48682c44e81 diff --git a/media-gfx/libredwg/libredwg-0.12.5.6149.ebuild b/media-gfx/libredwg/libredwg-0.12.5.6149.ebuild deleted file mode 100644 index 4d93c3aa1d28..000000000000 --- a/media-gfx/libredwg/libredwg-0.12.5.6149.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -DOCS_BUILDER="doxygen" -# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR -DOCS_CONFIG_NAME="doc/Doxyfile" - -inherit autotools docs python-single-r1 perl-functions - -JSMN_COMMIT="85695f3d5903b1cd5b4030efe50db3b4f5f3c928" - -DESCRIPTION="C library to handle DWG files" -HOMEPAGE="https://www.gnu.org/software/libredwg/" -SRC_URI=" - https://github.com/LibreDWG/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz - https://github.com/zserge/jsmn/archive/${JSMN_COMMIT}.tar.gz -> ${PN}-${JSMN_COMMIT}.tar.gz -" - -LICENSE="GPL-3+ MIT" -SLOT="0" -KEYWORDS="~amd64" - -# https://github.com/LibreDWG/libredwg/issues/342 -RESTRICT="test" - -IUSE="debug python perl static-libs" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - python? ( ${PYTHON_DEPS} ) - perl? ( dev-lang/perl ) - dev-libs/libpcre2 - dev-libs/pslib -" -DEPEND="${RDEPEND} - python? ( dev-lang/swig ) - perl? ( dev-lang/swig ) -" -BDEPEND="|| ( - sys-devel/gcc[sanitize] - sys-libs/compiler-rt-sanitizers[asan(-)] - ) - dev-vcs/git -" - -src_unpack() { - # Build system really wants jsmn to be here - default - rm -r "${S}/jsmn" || die - mv "${WORKDIR}/jsmn-${JSMN_COMMIT}" "${S}/jsmn" || die -} - -src_prepare() { - default - # Fix variable references itself error, fails in src_install otherwise. - sed -i -e 's/TEXINPUTS="$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS="$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile.am || die - # https://github.com/LibreDWG/libredwg/issues/404 - # Workaround: release tarball does not include dwg2ps.1. - # Upstream autotools stuff has to be run in git repo - git init -q || die - git config --global user.email "larry@gentoo.org" || die - git config --global user.name "Larry the Cow" || die - git add . || die - git commit -qm 'init' || die - git tag ${PV} || die - eautoreconf -} - -src_configure() { - perl_set_version - local myconf=( - --enable-write - --enable-dxf - --enable-json - --disable-gcov - $(use_enable !debug release) - $(use_enable debug trace) - $(use_enable debug) - $(use_enable static-libs static) - $(use_enable python python "${EPYTHON}") - $(usex perl "--with-perl-install=vendor" "--with-perl-install=no") - ) - - if use python || use perl; then - myconf+=( --enable-bindings ) - else - myconf+=( --disable-bindings ) - fi - - econf ${myconf[@]} -} - -src_compile() { - perl_set_version - emake - docs_compile -} - -src_install() { - perl_set_version - default - use python && python_optimize - # remove .la files if static-libs disabled - if ! use static-libs; then - rm "${ED}/usr/$(get_libdir)/libredwg.la" || die - if use python; then - rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die - fi - fi -} diff --git a/media-gfx/libredwg/libredwg-0.12.5.6938.ebuild b/media-gfx/libredwg/libredwg-0.12.5.6938.ebuild new file mode 100644 index 000000000000..57215dfb3169 --- /dev/null +++ b/media-gfx/libredwg/libredwg-0.12.5.6938.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DOCS_BUILDER="doxygen" +# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR +DOCS_CONFIG_NAME="doc/Doxyfile" + +inherit autotools docs python-single-r1 perl-functions + +JSMN_COMMIT="85695f3d5903b1cd5b4030efe50db3b4f5f3c928" + +DESCRIPTION="C library to handle DWG files" +HOMEPAGE="https://www.gnu.org/software/libredwg/ https://github.com/LibreDWG/libredwg" +SRC_URI=" + https://github.com/LibreDWG/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz + https://github.com/zserge/jsmn/archive/${JSMN_COMMIT}.tar.gz -> ${PN}-${JSMN_COMMIT}.tar.gz +" + +LICENSE="GPL-3+ MIT" +SLOT="0" +KEYWORDS="~amd64" + +# https://github.com/LibreDWG/libredwg/issues/342 +RESTRICT="test" + +IUSE="debug python perl static-libs" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + python? ( ${PYTHON_DEPS} ) + perl? ( dev-lang/perl ) + dev-libs/libpcre2 + dev-libs/pslib +" +DEPEND="${RDEPEND} + python? ( dev-lang/swig ) + perl? ( dev-lang/swig ) +" +BDEPEND="|| ( + sys-devel/gcc[sanitize] + sys-libs/compiler-rt-sanitizers[asan(-)] + ) + dev-vcs/git +" + +src_unpack() { + # Build system really wants jsmn to be here + default + rm -r "${S}/jsmn" || die + mv "${WORKDIR}/jsmn-${JSMN_COMMIT}" "${S}/jsmn" || die +} + +src_prepare() { + default + # Fix variable references itself error, fails in src_install otherwise. + sed -i -e 's/TEXINPUTS="$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS="$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile.am || die + # https://github.com/LibreDWG/libredwg/issues/404 + # Workaround: release tarball does not include dwg2ps.1. + # Upstream autotools stuff has to be run in git repo + git init -q || die + git config --global user.email "larry@gentoo.org" || die + git config --global user.name "Larry the Cow" || die + git add . || die + git commit -qm 'init' || die + git tag ${PV} || die + eautoreconf +} + +src_configure() { + perl_set_version + local myconf=( + --enable-write + --enable-dxf + --enable-json + --disable-gcov + --disable-werror + $(use_enable !debug release) + $(use_enable debug trace) + $(use_enable debug) + $(use_enable static-libs static) + $(use_enable python python "${EPYTHON}") + $(usex perl "--with-perl-install=vendor" "--with-perl-install=no") + ) + + if use python || use perl; then + myconf+=( --enable-bindings ) + else + myconf+=( --disable-bindings ) + fi + + econf ${myconf[@]} +} + +src_compile() { + perl_set_version + emake + docs_compile +} + +src_install() { + perl_set_version + default + use python && python_optimize + # remove .la files if static-libs disabled + if ! use static-libs; then + rm "${ED}/usr/$(get_libdir)/libredwg.la" || die + if use python; then + rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die + fi + fi +} -- cgit v1.2.3