Сравнение xwxapt-3.4.2 с xwxapt-3.4.3
/usr/portage/media-radio/xwxapt/xwxapt-3.4.3.ebuild 2023-10-09 14:52:31.764368407 +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 | |
6 | 6 |
inherit autotools |
7 | 7 | |
... | ... | |
23 | 23 |
sys-devel/gettext |
24 | 24 |
virtual/pkgconfig" |
25 | 25 | |
26 |
PATCHES=( "${FILESDIR}"/${PN}-3.4.2-fix-autotools.patch ) |
|
26 |
PATCHES=( "${FILESDIR}"/${PN}-fix-autotools.patch |
|
27 |
"${FILESDIR}"/${PN}-example-data.patch ) |
|
27 | 28 |
HTML_DOCS=( doc/xwxapt.html ) |
28 | 29 | |
29 | 30 |
src_prepare() { |
30 | 31 |
default |
31 | ||
32 |
# create missing mkinstalldir and prepare package |
|
32 |
# bug 895356 |
|
33 |
sed -i -e "s/-D_FORTIFY_SOURCE=2//g" src/Makefile.am || die |
|
33 | 34 |
eautoreconf |
34 | 35 |
} |
35 | 36 | |
36 | 37 |
src_install() { |
37 | 38 |
default |
38 | 39 | |
39 |
insinto /usr/share/${PN} |
|
40 |
doins xwxapt/xwxaptrc |
|
41 |
doins xwxapt/xwxapt.glade |
|
42 |
dodir /usr/share/${PN}/images /usr/share/${PN}/records |
|
43 |
} |
|
44 | ||
45 |
pkg_postinst() { |
|
46 |
einfo "You must copy the /usr/share/xwxapt directory into your home directory" |
|
47 |
einfo "and configure the contained xwxaptrc file before starting the program" |
|
48 | ||
49 |
ewarn |
|
50 |
ewarn "If you just upgraded from <=xwxapt-3 do not miss to check" |
|
51 |
ewarn "for changes there" |
|
40 |
docompress -x /usr/share/man/man1/xwxapt.1.gz |
|
41 |
rm "${D}"/usr/share/doc/${P}/${PN}.1.gz || die |
|
42 |
rm "${D}"/usr/share/doc/${P}/${PN}.html || die |
|
43 |
mv "${D}"/usr/share/examples/xwxapt "${D}"/usr/share || die |
|
44 |
keepdir /usr/share/${PN}/images /usr/share/${PN}/records |
|
52 | 45 |
} |