Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
Date: Tue, 08 Nov 2022 08:52:55
Message-Id: 1667897558.99c987edb6bd43ff4d698f886ee6b435c4eb41f8.andrewammerlaan@gentoo
1 commit: 99c987edb6bd43ff4d698f886ee6b435c4eb41f8
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 8 08:50:45 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 8 08:52:38 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99c987ed
7
8 media-gfx/libredwg: drop 0.12.4
9
10 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
11
12 media-gfx/libredwg/Manifest | 1 -
13 media-gfx/libredwg/libredwg-0.12.4.ebuild | 83 -------------------------------
14 2 files changed, 84 deletions(-)
15
16 diff --git a/media-gfx/libredwg/Manifest b/media-gfx/libredwg/Manifest
17 index 9890c3c5ce28..792a2670d2a4 100644
18 --- a/media-gfx/libredwg/Manifest
19 +++ b/media-gfx/libredwg/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST libredwg-0.12.4.tar.gz 18318912 BLAKE2B 21ff443881c19782c747ddf880eba23090295432edf4367161472aeef970e1b93983967e667ca2c3e140bf0b97e7b238bbe4a342815df365cee10bde83a04178 SHA512 df9424f475be512a6e9e02a1156a7d6a966f684f5753f420843593ee9dc236bd33bd10dbd627bab1b9adab9b8e7cb3a6b464c15e643ae755bc7e11974c05cd7a
22 DIST libredwg-0.12.5.tar.gz 16855123 BLAKE2B 2ca0bfafdb0ca6e412d3aaf7df21f80a2eed4bad795bffacc1c767f23dc555b35b2aeedb35dffab099c5dbab2890f9363cfc1508c3fec16a6ff51ce79a272e3e SHA512 0b5da6e863410d9ce012d311e921a39fa0d9cb6d96d17f1df70ca767c1768cd625e35503f24830a6a33400ede92d14b36ce87b92f177a5af7e6d4573920cf50c
23 DIST libredwg-85695f3d5903b1cd5b4030efe50db3b4f5f3c928.tar.gz 12597 BLAKE2B cd01f6c446d5d129545fdae07c0101d133e1f4e69ee62e94c27c3c2853dcc30854f40aed0c6f38f6594c5f5eb9e7b2d18d3b2e4f487b7bf1a3f7f39facde38bc SHA512 1d08cfa6216e0fe671dab77a0bd0b4ef0c4eb174878eba909c680e0ee93a82079b3cbf60afe2de7b0078258de8bcc588961e59cf0c14fe5f2d1f70db639ef95a
24
25 diff --git a/media-gfx/libredwg/libredwg-0.12.4.ebuild b/media-gfx/libredwg/libredwg-0.12.4.ebuild
26 deleted file mode 100644
27 index 262672037473..000000000000
28 --- a/media-gfx/libredwg/libredwg-0.12.4.ebuild
29 +++ /dev/null
30 @@ -1,83 +0,0 @@
31 -# Copyright 1999-2022 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -PYTHON_COMPAT=( python3_{7..10} )
37 -DOCS_BUILDER="doxygen"
38 -# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR
39 -DOCS_CONFIG_NAME="doc/Doxyfile"
40 -
41 -inherit docs python-single-r1 perl-functions
42 -
43 -DESCRIPTION="C library to handle DWG files"
44 -HOMEPAGE="https://www.gnu.org/software/libredwg/"
45 -SRC_URI="https://github.com/LibreDWG/${PN}/releases/download/${PV}/${P}.tar.gz"
46 -
47 -LICENSE="GPL-3+ MIT"
48 -SLOT="0"
49 -KEYWORDS="~amd64"
50 -
51 -# https://github.com/LibreDWG/libredwg/issues/342
52 -RESTRICT="test"
53 -
54 -IUSE="debug python perl static-libs"
55 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
56 -
57 -RDEPEND="
58 - python? ( ${PYTHON_DEPS} )
59 - perl? ( dev-lang/perl )
60 - dev-libs/libpcre2
61 - dev-libs/pslib
62 -"
63 -DEPEND="${RDEPEND}
64 - python? ( dev-lang/swig )
65 - perl? ( dev-lang/swig )
66 -"
67 -BDEPEND="|| (
68 - sys-devel/gcc[sanitize]
69 - sys-libs/compiler-rt-sanitizers[asan(-)]
70 - )
71 -"
72 -
73 -src_configure() {
74 - perl_set_version
75 - local myconf=(
76 - --enable-write
77 - --enable-dxf
78 - --enable-json
79 - --disable-gcov
80 - $(use_enable !debug release)
81 - $(use_enable debug trace)
82 - $(use_enable debug)
83 - $(use_enable static-libs static)
84 - $(use_enable python python "${EPYTHON}")
85 - $(usex perl "--with-perl-install=vendor" "--with-perl-install=no")
86 - )
87 -
88 - if use python || use perl; then
89 - myconf+=( --enable-bindings )
90 - else
91 - myconf+=( --disable-bindings )
92 - fi
93 -
94 - econf ${myconf[@]}
95 -
96 - # Fix variable references itself error, fails in src_install otherwise.
97 - # Can't put this in src_prepare and use eautoreconf because eautoreconf
98 - # only works inside a git repository for this package.
99 - sed -i -e 's/TEXINPUTS = "$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS = "$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile || die
100 -}
101 -
102 -src_compile() {
103 - perl_set_version
104 - emake
105 - docs_compile
106 -}
107 -
108 -src_install() {
109 - perl_set_version
110 - default
111 - use python && python_optimize
112 - use perl && perl_domodule bindings/perl/LibreDWG.pm
113 -}