Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/graphicsmagick/
Date: Fri, 23 Sep 2022 01:35:47
Message-Id: 1663896921.1a072dff077e732a083440a66ed369b7b72af766.sam@gentoo
1 commit: 1a072dff077e732a083440a66ed369b7b72af766
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 23 01:32:45 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 23 01:35:21 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a072dff
7
8 media-gfx/graphicsmagick: drop 1.3.38
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 .../graphicsmagick/graphicsmagick-1.3.38.ebuild | 151 ---------------------
13 1 file changed, 151 deletions(-)
14
15 diff --git a/media-gfx/graphicsmagick/graphicsmagick-1.3.38.ebuild b/media-gfx/graphicsmagick/graphicsmagick-1.3.38.ebuild
16 deleted file mode 100644
17 index 897007275eb7..000000000000
18 --- a/media-gfx/graphicsmagick/graphicsmagick-1.3.38.ebuild
19 +++ /dev/null
20 @@ -1,151 +0,0 @@
21 -# Copyright 1999-2022 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=8
25 -
26 -inherit autotools toolchain-funcs
27 -
28 -MY_P=${P/graphicsm/GraphicsM}
29 -DESCRIPTION="Collection of tools and libraries for many image formats"
30 -HOMEPAGE="http://www.graphicsmagick.org/ https://hg.osdn.net/view/graphicsmagick/GM"
31 -
32 -if [[ ${PV} == 9999 ]] ; then
33 - inherit mercurial
34 - EHG_REPO_URI="http://hg.code.sf.net/p/${PN}/code"
35 -else
36 - VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/bobfriesenhahn.asc
37 - inherit verify-sig
38 - SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz"
39 - SRC_URI+=" verify-sig? ( mirror://sourceforge/${PN}/${MY_P}.tar.xz.sig )"
40 - S="${WORKDIR}/${MY_P}"
41 -
42 - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
43 -
44 - BDEPEND="verify-sig? ( sec-keys/openpgp-keys-bobfriesenhahn )"
45 -fi
46 -
47 -LICENSE="MIT"
48 -SLOT="0/${PV%.*}"
49 -
50 -IUSE="bzip2 +cxx debug dynamic-loading fpx heif imagemagick jbig jpeg jpegxl lcms lzma"
51 -IUSE+=" openmp perl png postscript q16 q32 static-libs svg threads tiff truetype"
52 -IUSE+=" webp wmf X zlib"
53 -
54 -RDEPEND="dev-libs/libltdl
55 - bzip2? ( app-arch/bzip2 )
56 - fpx? ( media-libs/libfpx )
57 - heif? ( media-libs/libheif:= )
58 - imagemagick? ( !media-gfx/imagemagick )
59 - jbig? ( media-libs/jbigkit )
60 - jpeg? ( virtual/jpeg )
61 - jpegxl? ( media-libs/libjxl:= )
62 - lcms? ( media-libs/lcms:2 )
63 - lzma? ( app-arch/xz-utils )
64 - perl? ( dev-lang/perl:= )
65 - png? ( media-libs/libpng:= )
66 - postscript? ( app-text/ghostscript-gpl )
67 - svg? ( dev-libs/libxml2 )
68 - tiff? ( media-libs/tiff )
69 - truetype? (
70 - media-fonts/urw-fonts
71 - >=media-libs/freetype-2
72 - )
73 - webp? ( media-libs/libwebp:= )
74 - wmf? ( media-libs/libwmf )
75 - X? (
76 - x11-libs/libSM
77 - x11-libs/libXext
78 - )
79 - zlib? ( sys-libs/zlib )"
80 -DEPEND="${RDEPEND}"
81 -
82 -PATCHES=(
83 - "${FILESDIR}"/${PN}-1.3.36-flags.patch
84 - "${FILESDIR}"/${PN}-1.3.19-perl.patch
85 -)
86 -
87 -pkg_pretend() {
88 - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
89 -}
90 -
91 -pkg_setup() {
92 - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
93 -}
94 -
95 -src_prepare() {
96 - default
97 -
98 - eautoreconf
99 -}
100 -
101 -src_configure() {
102 - local depth=8
103 -
104 - use q16 && depth=16
105 - use q32 && depth=32
106 -
107 - local myeconfargs=(
108 - --enable-largefile
109 - --enable-shared
110 - $(use_enable static-libs static)
111 - $(use_enable debug prof)
112 - $(use_enable debug gcov)
113 - $(use_enable imagemagick magick-compat)
114 - $(use_enable openmp)
115 - $(use_with threads)
116 - $(use_with dynamic-loading modules)
117 - --with-quantum-depth=${depth}
118 - --without-frozenpaths
119 - $(use_with cxx magick-plus-plus)
120 - $(use_with heif)
121 - $(use_with jpegxl jxl)
122 - $(use_with perl)
123 - --with-perl-options=INSTALLDIRS=vendor
124 - $(use_with bzip2 bzlib)
125 - $(use_with postscript dps)
126 - $(use_with fpx)
127 - $(use_with jbig)
128 - $(use_with webp)
129 - $(use_with jpeg)
130 - --without-jp2
131 - $(use_with lcms lcms2)
132 - $(use_with lzma)
133 - $(use_with png)
134 - $(use_with tiff)
135 - $(use_with truetype ttf)
136 - $(use_with wmf)
137 - --with-fontpath="${EPREFIX}"/usr/share/fonts
138 - --with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts
139 - --with-windows-font-dir="${EPREFIX}"/usr/share/fonts/corefonts
140 - $(use_with svg xml)
141 - $(use_with zlib)
142 - $(use_with X x)
143 - )
144 -
145 - econf "${myeconfargs[@]}"
146 -}
147 -
148 -src_compile() {
149 - default
150 -
151 - use perl && emake perl-build
152 -}
153 -
154 -src_test() {
155 - unset DISPLAY # some perl tests fail when DISPLAY is set
156 -
157 - default
158 -}
159 -
160 -src_install() {
161 - default
162 -
163 - if use perl ; then
164 - emake -C PerlMagick DESTDIR="${D}" install
165 -
166 - find "${ED}" -type f -name perllocal.pod -exec rm -f {} + || die
167 - find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} + || die
168 - fi
169 -
170 - find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + || die
171 -}