Contents of /smage/trunk/core/fluxbox/fluxbox-1.1.1-r2.smage2
Parent Directory | Revision Log
Revision 255 -
(show annotations)
(download)
Tue Apr 27 09:34:11 2010 UTC (14 years ago) by niro
File size: 2053 byte(s)
Tue Apr 27 09:34:11 2010 UTC (14 years ago) by niro
File size: 2053 byte(s)
auto added: ver bump to 1.1.1-r2
1 | # $Id$ |
2 | |
3 | PNAME="fluxbox" |
4 | PVER="1.1.1" |
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 | DEPEND=">= x11-libs/libXrandr-1 |
14 | >= x11-libs/libSM-1 |
15 | >= media-libs/freetype-2" |
16 | |
17 | SDEPEND=">= sys-dev/automake-4 |
18 | >= sys-dev/autoconf-5" |
19 | |
20 | SRCFILE="${PNAME}-${PVER/_/}.tar.bz2" |
21 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}" |
22 | |
23 | MCORE_ONLY_KEEP="usr/share/fluxbox/styles/LemonSpace |
24 | usr/bin/fbsetroot |
25 | usr/bin/fbsetbg |
26 | usr/bin/fluxbox |
27 | usr/bin/startfluxbox" |
28 | sminclude xorg mtools mcore-split |
29 | |
30 | SRC_URI=( |
31 | sourceforge://${PNAME}/${SRCFILE} |
32 | mirror://${PNAME}/${SRCFILE} |
33 | ) |
34 | |
35 | UP2DATE="updatecmd_sourceforge ${PNAME}" |
36 | |
37 | src_prepare() |
38 | { |
39 | munpack ${SRCFILE} || die |
40 | cd ${SRCDIR} |
41 | |
42 | # enable antialias by default |
43 | echo "session.screen0.antialias: true" >> data/init.in || die |
44 | |
45 | # all styles should use fbsetroot |
46 | for style in ${SRCDIR}/data/styles/* |
47 | do |
48 | [[ -f ${style} ]] || continue |
49 | sed -i 's,\([^f]\)bsetroot,\1fbsetroot,' ${style} || die ${style} |
50 | done |
51 | } |
52 | |
53 | src_compile() |
54 | { |
55 | cd ${SRCDIR} |
56 | |
57 | mconfigure \ |
58 | --sysconfdir=/etc/X11/${PNAME} \ |
59 | --disable-static \ |
60 | --disable-debug \ |
61 | --disable-nls \ |
62 | --disable-xinerama \ |
63 | --disable-kde \ |
64 | --disable-gnome \ |
65 | --disable-imlib2 \ |
66 | --disable-xft \ |
67 | --disable-xinerama \ |
68 | --disable-xpm \ |
69 | || die |
70 | |
71 | mmake || die |
72 | } |
73 | |
74 | mcore_generic_src_install() |
75 | { |
76 | cd ${SRCDIR} |
77 | |
78 | # needed directories |
79 | minstalldir /usr/share/fluxbox || die |
80 | minstalldir /usr/share/xsessions || die |
81 | |
82 | mmake DESTDIR=${BINDIR} install || die |
83 | |
84 | # create gnome xsession file |
85 | echo "[Desktop Entry] |
86 | Encoding=UTF-8 |
87 | Name=Fluxbox |
88 | Comment=This session logs you into Fluxbox |
89 | Exec=startfluxbox |
90 | TryExec=startfluxbox |
91 | Icon= |
92 | Type=Application" > ${BINDIR}/usr/share/xsessions/fluxbox.desktop || die |
93 | |
94 | minstalldocs AUTHORS COPYING ChangeLog NEWS README TODO || die |
95 | |
96 | echo -e ${COLGREEN}" injecting custom fluxbox-configs"${COLDEFAULT} |
97 | mcinjectfile menu /usr/share/fluxbox || die |
98 | mcinjectfile init /usr/share/fluxbox || die |
99 | mcinjectfile keys /usr/share/fluxbox || die |
100 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |