Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/hugin/
Date: Wed, 01 Feb 2023 19:27:25
Message-Id: 1675279599.ef1fd49434b3944b7d197e159733b1debf4cf4fa.asturm@gentoo
1 commit: ef1fd49434b3944b7d197e159733b1debf4cf4fa
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 28 18:24:20 2023 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 1 19:26:39 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef1fd494
7
8 media-gfx/hugin: drop 2021.0.0-r1
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 media-gfx/hugin/Manifest | 1 -
13 media-gfx/hugin/hugin-2021.0.0-r1.ebuild | 98 --------------------------------
14 2 files changed, 99 deletions(-)
15
16 diff --git a/media-gfx/hugin/Manifest b/media-gfx/hugin/Manifest
17 index e30767d33cc1..f845f64e758e 100644
18 --- a/media-gfx/hugin/Manifest
19 +++ b/media-gfx/hugin/Manifest
20 @@ -1,2 +1 @@
21 -DIST hugin-2021.0.0.tar.bz2 10333565 BLAKE2B 4bde9bb491074a2f49a34c9af0e90246095c390abf2c49e924d4412e6c00148ae013e10a885799b7eeb1cd9977922a77dc5ebe032a38e2153138632ec818f038 SHA512 fb491af2543dda8c6d3c9d125936a32a04109eec39e3091347ef2856073d4e1f04017686acb8000e50e29a0ac8dcfe463b63613b277f8fb4aec0537f58a6c853
22 DIST hugin-2022.0.0.tar.bz2 10374360 BLAKE2B ea77614a650f832f39583328767a55ebe888a003fed117e73b22fd29c641fc8494b190b864b7ccb05f996ceca5d95c5391597333efdc19bce0eba93af14543be SHA512 752bdaaea666a24bddc72b4aa4ccfbf366af30022102a2e74fad9c86045b3aeae50929a8a3eb27e296b27bdb487ecd60b6e363b23413e08af6ed944686569c97
23
24 diff --git a/media-gfx/hugin/hugin-2021.0.0-r1.ebuild b/media-gfx/hugin/hugin-2021.0.0-r1.ebuild
25 deleted file mode 100644
26 index 71ada31d1b34..000000000000
27 --- a/media-gfx/hugin/hugin-2021.0.0-r1.ebuild
28 +++ /dev/null
29 @@ -1,98 +0,0 @@
30 -# Copyright 1999-2023 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -WX_GTK_VER="3.0-gtk3"
36 -PYTHON_COMPAT=( python3_{9..10} )
37 -
38 -inherit python-single-r1 wxwidgets cmake xdg
39 -
40 -DESCRIPTION="GUI for the creation & processing of panoramic images"
41 -HOMEPAGE="http://hugin.sf.net"
42 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
43 -
44 -LICENSE="GPL-2+ BSD BSD-2 MIT wxWinLL-3 ZLIB FDL-1.2"
45 -SLOT="0"
46 -KEYWORDS="amd64 arm64 x86"
47 -
48 -LANGS=" ca ca-valencia cs da de en-GB es eu fi fr hu it ja nl pl pt-BR ro ru sk sv zh-CN zh-TW"
49 -IUSE="debug lapack python raw sift $(echo ${LANGS//\ /\ l10n_})"
50 -
51 -CDEPEND="
52 - !!dev-util/cocom
53 - dev-db/sqlite:3
54 - dev-libs/boost:=
55 - dev-libs/zthread
56 - >=media-gfx/enblend-4.0
57 - media-gfx/exiv2:=
58 - media-libs/freeglut
59 - media-libs/glew:=
60 - >=media-libs/libpano13-2.9.19_beta1:=
61 - media-libs/libjpeg-turbo:=
62 - media-libs/libpng:=
63 - media-libs/openexr:=
64 - media-libs/tiff:=
65 - >=media-libs/vigra-1.11.1-r5[openexr]
66 - sci-libs/fftw:3.0=
67 - sci-libs/flann
68 - sys-libs/zlib
69 - virtual/glu
70 - virtual/opengl
71 - x11-libs/wxGTK:${WX_GTK_VER}=[X,opengl]
72 - lapack? ( virtual/blas virtual/lapack )
73 - python? ( ${PYTHON_DEPS} )
74 - sift? ( media-gfx/autopano-sift-C )"
75 -RDEPEND="${CDEPEND}
76 - media-libs/exiftool
77 - raw? ( media-gfx/dcraw )"
78 -DEPEND="${CDEPEND}
79 - dev-cpp/tclap
80 - sys-devel/gettext
81 - virtual/pkgconfig
82 - python? ( >=dev-lang/swig-2.0.4 )"
83 -
84 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
85 -
86 -DOCS=( authors.txt README TODO )
87 -
88 -S=${WORKDIR}/${PN}-$(ver_cut 1-2).0
89 -
90 -pkg_setup() {
91 - use python && python-single-r1_pkg_setup
92 - setup-wxwidgets
93 -}
94 -
95 -src_prepare() {
96 - sed -i \
97 - -e "/COMMAND.*GZIP/d" \
98 - -e "s/\.gz//g" \
99 - "${S}"/doc/CMakeLists.txt || die
100 - cmake_src_prepare
101 -}
102 -
103 -src_configure() {
104 - local mycmakeargs=(
105 - -DBUILD_HSI=$(usex python)
106 - -DENABLE_LAPACK=$(usex lapack)
107 - )
108 - cmake_src_configure
109 -}
110 -
111 -src_install() {
112 - cmake_src_install
113 - use python && python_optimize
114 -
115 - local lang
116 - for lang in ${LANGS} ; do
117 - case ${lang} in
118 - ca) dir=ca_ES;;
119 - ca-valencia) dir=ca_ES@valencia;;
120 - cs) dir=cs_CZ;;
121 - *) dir=${lang/-/_};;
122 - esac
123 - if ! use l10n_${lang} ; then
124 - rm -r "${ED}"/usr/share/locale/${dir} || die
125 - fi
126 - done
127 -}