Lines 11-24
Link Here
|
11 |
#fix for icewm preversion package names |
11 |
#fix for icewm preversion package names |
12 |
S=${WORKDIR}/${P/_} |
12 |
S=${WORKDIR}/${P/_} |
13 |
|
13 |
|
14 |
SRC_URI="mirror://sourceforge/${PN}/${P/_}.tar.gz" |
14 |
SRC_URI="mirror://sourceforge/${PN}/${P/_}.tar.gz |
|
|
15 |
xdg? ( http://lostclus.linux.kiev.ua/scripts/icewm-xdg-menu )" |
15 |
|
16 |
|
16 |
LICENSE="GPL-2" |
17 |
LICENSE="GPL-2" |
17 |
SLOT="0" |
18 |
SLOT="0" |
18 |
|
19 |
|
19 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
20 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
20 |
|
21 |
|
21 |
IUSE="esd imlib nls spell truetype xinerama minimal debug uclibc" |
22 |
IUSE="esd imlib nls spell truetype xinerama minimal debug uclibc gnome xdg" |
22 |
|
23 |
|
23 |
RDEPEND="x11-libs/libX11 |
24 |
RDEPEND="x11-libs/libX11 |
24 |
x11-libs/libXrandr |
25 |
x11-libs/libXrandr |
Lines 33-39
Link Here
|
33 |
imlib? ( >=media-libs/imlib-1.9.10-r1 ) |
34 |
imlib? ( >=media-libs/imlib-1.9.10-r1 ) |
34 |
nls? ( sys-devel/gettext ) |
35 |
nls? ( sys-devel/gettext ) |
35 |
truetype? ( >=media-libs/freetype-2.0.9 ) |
36 |
truetype? ( >=media-libs/freetype-2.0.9 ) |
36 |
media-libs/giflib" |
37 |
media-libs/giflib |
|
|
38 |
gnome? ( gnome-base/gnome-desktop gnome-base/libgnomeui gnome-base/gnome-vfs:2 ) |
39 |
xdg? ( dev-python/pyxdg x11-misc/xdg-utils )" |
37 |
|
40 |
|
38 |
DEPEND="${RDEPEND} |
41 |
DEPEND="${RDEPEND} |
39 |
x11-proto/xproto |
42 |
x11-proto/xproto |
Lines 55-60
Link Here
|
55 |
|
58 |
|
56 |
use uclibc && epatch "${FILESDIR}/icewm-uclibc.patch" |
59 |
use uclibc && epatch "${FILESDIR}/icewm-uclibc.patch" |
57 |
|
60 |
|
|
|
61 |
cd "${S}" |
62 |
epatch "${FILESDIR}/icewm-configure.patch" |
63 |
epatch "${FILESDIR}/icewm-menu.patch" |
64 |
epatch "${FILESDIR}/icewm-toolbar.patch" |
65 |
epatch "${FILESDIR}/icewm-keys.patch" |
66 |
|
58 |
echo "#!/bin/sh" > "$T/icewm" |
67 |
echo "#!/bin/sh" > "$T/icewm" |
59 |
echo "/usr/bin/icewm-session" >> "$T/icewm" |
68 |
echo "/usr/bin/icewm-session" >> "$T/icewm" |
60 |
} |
69 |
} |
Lines 63-69
Link Here
|
63 |
|
72 |
|
64 |
if use truetype |
73 |
if use truetype |
65 |
then |
74 |
then |
66 |
myconf="${myconf} --enable-gradients --enable-shape --enable-movesize-fx --enable-shaped-decorations" |
75 |
myconf="${myconf} --enable-gradients --enable-antialiasing --enable-shape --enable-movesize-fx --enable-shaped-decorations" |
67 |
else |
76 |
else |
68 |
myconf="${myconf} --disable-xfreetype --enable-corefonts |
77 |
myconf="${myconf} --disable-xfreetype --enable-corefonts |
69 |
$(use_enable minimal lite)" |
78 |
$(use_enable minimal lite)" |
Lines 80-85
Link Here
|
80 |
$(use_enable spell GtkSpell) |
89 |
$(use_enable spell GtkSpell) |
81 |
$(use_enable x86 x86-asm) |
90 |
$(use_enable x86 x86-asm) |
82 |
$(use_enable xinerama) |
91 |
$(use_enable xinerama) |
|
|
92 |
$(use_enable gnome menus-gnome2) |
83 |
$(use_enable debug)" |
93 |
$(use_enable debug)" |
84 |
|
94 |
|
85 |
CXXFLAGS="${CXXFLAGS}" econf ${myconf} || die "configure failed" |
95 |
CXXFLAGS="${CXXFLAGS}" econf ${myconf} || die "configure failed" |
Lines 93-104
Link Here
|
93 |
src_install(){ |
103 |
src_install(){ |
94 |
emake DESTDIR="${D}" install || die "make install failed" |
104 |
emake DESTDIR="${D}" install || die "make install failed" |
95 |
|
105 |
|
|
|
106 |
newman doc/icewm.1.man icewm.1 |
107 |
|
96 |
dodoc AUTHORS BUGS CHANGES PLATFORMS README* TODO VERSION |
108 |
dodoc AUTHORS BUGS CHANGES PLATFORMS README* TODO VERSION |
97 |
dohtml -a html,sgml doc/* |
109 |
dohtml -a html,sgml doc/* |
98 |
|
110 |
|
|
|
111 |
if use xdg; then |
112 |
dobin "${DISTDIR}/icewm-xdg-menu" |
113 |
fi |
114 |
|
99 |
exeinto /etc/X11/Sessions |
115 |
exeinto /etc/X11/Sessions |
100 |
doexe "$T/icewm" |
116 |
doexe "${T}/icewm" |
101 |
|
117 |
|
102 |
insinto /usr/share/xsessions |
118 |
insinto /usr/share/xsessions |
103 |
doins "${FILESDIR}/IceWM.desktop" |
119 |
doins lib/IceWM.desktop |
104 |
} |
120 |
} |