Сравнение xdaliclock-2.44 с xdaliclock-2.47
/usr/portage/x11-misc/xdaliclock/xdaliclock-2.47.ebuild 2023-10-09 14:52:35.952368513 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 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 | ||
6 |
inherit gnome2-utils xdg |
|
5 | 7 | |
6 | 8 |
DESCRIPTION="Dali Clock is a digital clock. When a digit changes, it melts into its new shape" |
7 | 9 |
HOMEPAGE="https://www.jwz.org/xdaliclock" |
8 | 10 |
SRC_URI="https://www.jwz.org/xdaliclock/${P}.tar.gz" |
11 |
S="${WORKDIR}"/${P}/X11 |
|
9 | 12 | |
10 | 13 |
LICENSE="BSD" |
11 | 14 |
SLOT="0" |
12 | 15 |
KEYWORDS="amd64 ppc ppc64 x86" |
13 | 16 | |
14 | 17 |
RDEPEND=" |
18 |
dev-libs/glib:2 |
|
19 |
x11-libs/gtk+:3 |
|
15 | 20 |
x11-libs/libX11 |
16 |
x11-libs/libXext |
|
17 |
x11-libs/libXt |
|
21 |
virtual/opengl |
|
18 | 22 |
" |
19 | 23 |
DEPEND=" |
20 | 24 |
${RDEPEND} |
21 | 25 |
x11-base/xorg-proto |
22 | 26 |
" |
27 |
BDEPEND="virtual/pkgconfig" |
|
23 | 28 | |
24 |
S=${WORKDIR}/${P}/X11 |
|
29 |
PATCHES=( |
|
30 |
"${FILESDIR}"/xdaliclock-2.47-DESTDIR.patch |
|
31 |
) |
|
25 | 32 | |
26 | 33 |
src_install() { |
27 |
dobin ${PN} |
|
28 |
newman ${PN}.man ${PN}.1 |
|
29 |
dodoc ../README |
|
34 |
dodir /usr/bin /usr/share/pixmaps |
|
35 |
dodir /usr/share/glib-2.0/schemas /usr/share/man/man1/ |
|
36 |
dodir /usr/share/applications/ |
|
37 | ||
38 |
default |
|
39 | ||
40 |
# Will collide with dev-libs/glib |
|
41 |
rm "${ED}"/usr/share/glib-2.0/schemas/gschemas.compiled || die |
|
42 | ||
43 |
#dobin ${PN} |
|
44 |
#newman ${PN}.man ${PN}.1 |
|
45 |
#dodoc ../README |
|
46 | ||
47 |
#doicon xdaliclock.png |
|
48 |
#domenu xdaliclock.desktop |
|
49 |
} |
|
50 | ||
51 |
pkg_postinst() { |
|
52 |
xdg_pkg_postinst |
|
53 |
gnome2_schemas_update |
|
54 |
} |
|
55 | ||
56 |
pkg_postrm() { |
|
57 |
xdg_pkg_postrm |
|
58 |
gnome2_schemas_update |
|
30 | 59 |
} |