blob: 199878c516f1d24e2e4117a8f1a526d718d01cf3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="OpenGL virtual desktop switching"
HOMEPAGE="https://sourceforge.net/projects/desk3d/"
SRC_URI="mirror://sourceforge/desk3d/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
RDEPEND="
>=media-libs/freetype-2
media-libs/freeglut
media-libs/imlib2[X]
x11-libs/libX11
x11-libs/libXext
x11-libs/libXi
x11-libs/libXmu
x11-libs/libXt
x11-libs/libXxf86vm
"
DEPEND="
${RDEPEND}
x11-base/xorg-proto
"
DOCS=( AUTHORS TODO ChangeLog README README.windowmanagers )
PATCHES=(
"${FILESDIR}"/${P}-gcc4.patch
"${FILESDIR}"/${P}-asneeded.patch
"${FILESDIR}"/${P}-missing-include.patch
"${FILESDIR}"/${P}-gl_init.patch
"${FILESDIR}"/${P}-Options_Options.patch
)
src_prepare() {
default
eautoreconf
}
pkg_postinst() {
echo
elog "This ebuild installed a configuration file called /etc/3ddesktop.conf"
elog "The default configuration makes a screenshot of the virtual desktops"
elog "every X seconds. This is non-optimal behavior."
elog
elog "To enable a more intelligent way of updating the virtual desktops,"
elog "execute the following:"
elog
elog " echo \"AutoAcquire 0\" >> /etc/3ddesktop.conf"
elog
elog "This will cause 3ddesktop to update the virtual desktop snapshots"
elog "only when a 3d desktop switch is required."
}
|