Diff pngtools-0.4-r2 with a pngtools-0.4_p20220314

/usr/portage/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild 2023-10-09 14:52:31.644368404 +0300
1
# Copyright 1999-2019 Gentoo Authors
1
# Copyright 1999-2022 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

  
6 6
inherit autotools
7 7

  
8
MY_COMMIT="1ccca3a0f3f6882661bbafbfb62feb774ca195d1"
8 9
DESCRIPTION="A series of tools for the PNG image format"
9
HOMEPAGE="http://www.stillhq.com/pngtools/"
10
SRC_URI="http://www.stillhq.com/pngtools/source/pngtools_${PV/./_}.tgz"
10
HOMEPAGE="https://github.com/mikalstill/pngtools"
11
SRC_URI="https://github.com/mikalstill/pngtools/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
12
S="${WORKDIR}"/${PN}-${MY_COMMIT}
11 13

  
12 14
LICENSE="GPL-2"
13 15
SLOT="0"
......
15 17

  
16 18
RDEPEND="media-libs/libpng:="
17 19
DEPEND="${RDEPEND}"
20
# https://github.com/mikalstill/pngtools/issues/14
21
BDEPEND="app-text/docbook-sgml-utils"
18 22

  
19 23
PATCHES=(
20
	"${FILESDIR}"/${PN}-0.3-implicit-declarations.patch
21
	"${FILESDIR}"/${P}-libpng14.patch
22
	"${FILESDIR}"/${P}-libpng15-fixes.patch
24
	"${FILESDIR}"/${PN}-0.4_p20220314-docbook-dtd.patch
23 25
)
24 26

  
25 27
src_prepare() {
26 28
	default
27
	mv configure.{in,ac} || die
29

  
28 30
	eautoreconf
29 31
}
30 32

  
31 33
src_install() {
32 34
	default
35

  
33 36
	dodoc ABOUT chunks.txt
34 37

  
35 38
	docinto examples
Thank you!