Сравнение chemical-mime-data-0.1.94-r4 с chemical-mime-data-0.1.95_pre20171122

/usr/portage/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.95_pre20171122.ebuild 2023-10-09 14:52:35.032368490 +0300
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5
inherit autotools xdg
6 6

  
7 7
DESCRIPTION="A collection of data files to add support for chemical MIME types"
8 8
HOMEPAGE="https://github.com/dleidert/chemical-mime"
9
SRC_URI="mirror://sourceforge/${PN/-data/}/${P}.tar.bz2"
9
COMMIT="4fd66e3b3b7d922555d1e25587908b036805c45b"
10
SRC_URI="https://github.com/dleidert/chemical-mime/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
10 11

  
11 12
LICENSE="LGPL-2.1"
12 13
SLOT="0"
13 14
KEYWORDS="amd64 arm arm64 x86"
14 15
IUSE=""
15 16

  
16
RDEPEND="
17
	x11-misc/shared-mime-info
18
"
17
RDEPEND="x11-misc/shared-mime-info"
19 18
DEPEND="${RDEPEND}"
20 19
BDEPEND="
21 20
	dev-util/intltool
22 21
	dev-util/desktop-file-utils
23 22
	dev-libs/libxslt
24
	|| (
25
		gnome-base/librsvg
26
		media-gfx/imagemagick[xml,png,svg]
27
	)
28
	media-gfx/imagemagick[png]
29 23
	virtual/pkgconfig
30 24
"
31 25

  
32 26
PATCHES=(
33
	"${FILESDIR}"/${P}-turbomole.patch
34
	"${FILESDIR}"/${P}-pigz.patch
35
	"${FILESDIR}"/${P}-namespace-svg.patch
36
	"${FILESDIR}"/${P}-rsvg-convert-r2.patch
37
	# https://github.com/dleidert/chemical-mime/issues/1
38
	"${FILESDIR}"/${P}-drop-turbomole-vibrational.patch
27
	# https://github.com/dleidert/chemical-mime/issues/5
28
	"${FILESDIR}"/${PN}-0.1.95-turbomole.patch
39 29
)
40 30

  
31
S="${WORKDIR}/${PN/-data/}-${COMMIT}"
32

  
41 33
src_prepare() {
42
	xdg_src_prepare
34
	default
35
	# https://github.com/dleidert/chemical-mime/issues/4
36
	sed -i -e \
37
		'/<_comment/a\\t\t<generic-icon name="image-x-generic"/>' \
38
		src/chemical-mime-database.xml.in || die
39
	sed -i -e \
40
		's:acronym|alias|comment|:acronym|alias|comment|generic-icon|:' \
41
		xsl/cmd_freedesktop_org.xsl || die
43 42
	eautoreconf
44 43
}
45 44

  
......
47 46
	econf \
48 47
		--disable-update-database \
49 48
		--without-gnome-mime \
50
		--without-pixmaps \
51
		--without-kde-mime
49
		--without-kde-mime \
50
		--without-kde-magic
52 51
}
Спасибо!