13 |
|
|
14 |
sminclude mtools |
sminclude mtools |
15 |
|
|
16 |
|
case ${PNAME} in |
17 |
|
thunar-*-plugin) URISUBDIR="thunar-plugins" ;; |
18 |
|
xfce4-*-plugin) URISUBDIR="panel-plugins" ;; |
19 |
|
parole|orage|ristretto|xfburn) URISUBDIR="apps" ;; |
20 |
|
xfce4-dict|xfce4-mixer|xfce4-notifyd|xfce4-taskmanager|xfce4-screenshooter) URISUBDIR="apps" ;; |
21 |
|
*) URISUBDIR="xfce" ;; |
22 |
|
esac |
23 |
|
|
24 |
# default SRC_URIs |
# default SRC_URIs |
25 |
SRC_URI=( |
SRC_URI=( |
26 |
${SRC_URI[*]} |
${SRC_URI[*]} |
27 |
http://mocha.xfce.org/archive/src/xfce/${PNAME}/${PVER%.*}/${SRCFILE} |
http://mocha.xfce.org/archive/src/${URISUBDIR}/${PNAME}/$(echo ${PVER} | cut -d. -f1-2)/${SRCFILE} |
28 |
|
http://archive.xfce.org/src/${URISUBDIR}/${PNAME}/$(echo ${PVER} | cut -d. -f1-2)/${SRCFILE} |
29 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
30 |
) |
) |
31 |
|
|
35 |
xfce_configure() |
xfce_configure() |
36 |
{ |
{ |
37 |
local configure_opts="$@" |
local configure_opts="$@" |
38 |
mconfigure ${configure_opts} || die |
mconfigure \ |
39 |
|
--libexecdir=/usr/$(mlibdir)/${PNAME} \ |
40 |
|
--with-html-dir=/usr/share/doc/${PNAME}-${PVER}/html \ |
41 |
|
--disable-debug \ |
42 |
|
--disable-static \ |
43 |
|
${configure_opts} \ |
44 |
|
|| die |
45 |
} |
} |
46 |
|
|
47 |
xfce_src_prepare() |
xfce_src_prepare() |
52 |
xfce_src_compile() |
xfce_src_compile() |
53 |
{ |
{ |
54 |
cd ${SRCDIR} |
cd ${SRCDIR} |
55 |
xfce_configure --disable-debug --disable-static || die |
|
56 |
|
xfce_configure || die |
57 |
mmake ${XFCE_MAKE_OPTS} || die |
mmake ${XFCE_MAKE_OPTS} || die |
58 |
} |
} |
59 |
|
|