Diff gv-3.7.3.90-r1 with a gv-3.7.4
/usr/portage/app-text/gv/gv-3.7.4.ebuild 2023-10-09 14:52:28.876368335 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 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 | |
6 |
inherit desktop |
|
6 |
inherit desktop gnuconfig toolchain-funcs |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Viewer for PostScript and PDF documents using Ghostscript" |
9 | 9 |
HOMEPAGE="https://www.gnu.org/software/gv/" |
10 |
# Change 'gnu-alpha' to 'gnu' for final release, like 3.7.4 |
|
11 |
SRC_URI="https://alpha.gnu.org/gnu/gv/${P}.tar.gz" |
|
10 |
SRC_URI="https://ftp.gnu.org/gnu/gv/${P}.tar.gz" |
|
12 | 11 | |
13 | 12 |
LICENSE="GPL-3" |
14 | 13 |
SLOT="0" |
... | ... | |
30 | 29 |
x11-base/xorg-proto" |
31 | 30 |
BDEPEND="virtual/pkgconfig" |
32 | 31 | |
32 |
PATCHES=( |
|
33 |
"${FILESDIR}"/${P}-resource.patch |
|
34 |
"${FILESDIR}"/${P}-dat.patch |
|
35 |
"${FILESDIR}"/${P}-bounding-box.patch |
|
36 |
"${FILESDIR}"/${P}-bug1071238.patch |
|
37 |
"${FILESDIR}"/${P}-bz1536211.patch |
|
38 |
"${FILESDIR}"/${P}-overflow.patch |
|
39 |
"${FILESDIR}"/${P}-remove-aliasing-violation.patch |
|
40 |
) |
|
41 | ||
42 |
src_prepare() { |
|
43 |
default |
|
44 |
gnuconfig_update |
|
45 |
} |
|
46 | ||
33 | 47 |
src_configure() { |
34 | 48 |
export ac_cv_lib_Xinerama_main=$(usex xinerama) |
35 | 49 |
econf --enable-scrollbar-code |
36 | 50 |
} |
37 | 51 | |
52 |
src_compile() { |
|
53 |
emake AR="$(tc-getAR)" |
|
54 |
} |
|
55 | ||
38 | 56 |
src_install() { |
39 | 57 |
rm README.{I18N,TRANSLATION} || die |
40 | 58 |
default |