Contents of /trunk/extras/fluxbox/fluxbox-1.0.0-r2.smage2
Parent Directory | Revision Log
Revision 2 -
(show annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1800 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1800 byte(s)
import repo
1 | # $Header: /magellan-cvs/smage/fluxbox/fluxbox-1.0.0-r2.smage2,v 1.1 2008/02/13 13:55:55 niro Exp $ |
2 | |
3 | PNAME="fluxbox" |
4 | PVER="1.0.0" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="x11-wm" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="fluxbox is yet another windowmanager for X based on blackbox." |
11 | HOMEPAGE="http://www.fluxbox.org/" |
12 | |
13 | # only for >= xorg-7.0.0 |
14 | sminclude xorg mtools |
15 | |
16 | DEPEND=">= x11-libs/libXpm-1 |
17 | >= x11-libs/libXrandr-1 |
18 | >= x11-libs/libXinerama-1 |
19 | >= x11-libs/libXft-1 |
20 | >= media-libs/freetype-2 |
21 | >= media-libs/imlib2-1.1.2" |
22 | |
23 | SDEPEND=">= sys-dev/automake-1.7.2 |
24 | >= sys-dev/autoconf-2.57" |
25 | |
26 | SRCFILE="${PNAME}-${PVER/_/}.tar.bz2" |
27 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}" |
28 | |
29 | SRC_URI=( |
30 | sourceforge://${PNAME}/${SRCFILE} |
31 | mirror://${PNAME}/${SRCFILE} |
32 | ) |
33 | |
34 | src_prepare() |
35 | { |
36 | munpack ${SRCFILE} || die |
37 | cd ${SRCDIR} |
38 | |
39 | # enable antialias by default |
40 | echo "session.screen0.antialias: true" >> data/init.in || die |
41 | |
42 | # all styles should use fbsetroot |
43 | for style in ${SRCDIR}/data/styles/* |
44 | do |
45 | [[ -f ${style} ]] || continue |
46 | sed -i 's,\([^f]\)bsetroot,\1fbsetroot,' ${style} || die ${style} |
47 | done |
48 | } |
49 | |
50 | src_compile() |
51 | { |
52 | cd ${SRCDIR} |
53 | |
54 | mconfigure \ |
55 | --sysconfdir=/etc/X11/${PNAME} \ |
56 | --enable-nls \ |
57 | --enable-imlib2 \ |
58 | --enable-xpm \ |
59 | --enable-kde \ |
60 | --enable-gnome \ |
61 | --enable-xft \ |
62 | --enable-xinerama \ |
63 | --disable-debug \ |
64 | || die |
65 | |
66 | mmake || die |
67 | } |
68 | |
69 | src_install() |
70 | { |
71 | cd ${SRCDIR} |
72 | |
73 | # needed directories |
74 | minstalldir /usr/share/fluxbox || die |
75 | minstalldir /usr/share/xsessions || die |
76 | |
77 | mmake DESTDIR=${BINDIR} install || die |
78 | |
79 | # create gnome xsession file |
80 | echo "[Desktop Entry] |
81 | Encoding=UTF-8 |
82 | Name=Fluxbox |
83 | Comment=This session logs you into Fluxbox |
84 | Exec=startfluxbox |
85 | TryExec=startfluxbox |
86 | Icon= |
87 | Type=Application" > ${BINDIR}/usr/share/xsessions/fluxbox.desktop || die |
88 | |
89 | minstalldocs AUTHORS COPYING ChangeLog NEWS README TODO || die |
90 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |