Contents of /trunk/extras/gtk-engines-xfce/gtk-engines-xfce-3.0.0-r2.smage2
Parent Directory | Revision Log
Revision 11933 -
(show annotations)
(download)
Mon Apr 30 11:29:06 2012 UTC (12 years, 4 months ago) by niro
File size: 1577 byte(s)
Mon Apr 30 11:29:06 2012 UTC (12 years, 4 months ago) by niro
File size: 1577 byte(s)
-fixed install
1 | # $Id$ |
2 | |
3 | PNAME="gtk-engines-xfce" |
4 | PVER="3.0.0" |
5 | PBUILD="r2" |
6 | |
7 | SPLIT_PACKAGES="gtk2-engines-xfce gtk3-engines-xfce gtk-engines-xfce" |
8 | |
9 | PCAT="x11-themes" |
10 | |
11 | GTK2_DEPEND=">= x11-libs/gtk2+-2.24" |
12 | GTK3_DEPEND=">= x11-libs/gtk3+-3.4" |
13 | SDEPEND="${GTK2_DEPEND} |
14 | ${GTK3_DEPEND} |
15 | >= dev-util/pkgconfig-0.25" |
16 | |
17 | SRCFILE="gtk-xfce-engine-${PVER}.tar.bz2" |
18 | SRCDIR="${BUILDDIR}/gtk-xfce-engine-${PVER}" |
19 | |
20 | sminclude xfce |
21 | |
22 | UP2DATE="updatecmd_xfce gtk-xfce-engine" |
23 | |
24 | SRC_URI=( |
25 | http://archive.xfce.org/src/xfce/gtk-xfce-engine/${PVER%.*}/${SRCFILE} |
26 | mirror://${PNAME}/${SRCFILE} |
27 | ) |
28 | |
29 | split_info_gtk2-engines-xfce() |
30 | { |
31 | DESCRIPTION="Xfce4 theme engine based on GTK2+." |
32 | DEPEND="${GTK2_DEPEND}" |
33 | } |
34 | |
35 | split_info_gtk3-engines-xfce() |
36 | { |
37 | DESCRIPTION="Xfce4 theme engine based on GTK3+." |
38 | DEPEND="${GTK3_DEPEND}" |
39 | } |
40 | |
41 | split_info_gtk-engines-xfce() |
42 | { |
43 | DESCRIPTION="Meta package for xfce4-theme engines." |
44 | DEPEND="${GTK2_DEPEND} |
45 | ${GTK3_DEPEND}" |
46 | PKGTYPE="virtual" |
47 | } |
48 | |
49 | src_install_gtk2-engines-xfce() |
50 | { |
51 | cd ${SRCDIR} |
52 | # lib |
53 | mmake -C gtk-2.0 DESTDIR=${BINDIR} install || die |
54 | # themes |
55 | local i |
56 | for i in $(find themes -mindepth 1 -maxdepth 1) |
57 | do |
58 | mmake -C ${i}/gtk-2.0 DESTDIR=${BINDIR} install || die |
59 | done |
60 | |
61 | minstalldocs AUTHORS COPYING ChangeLog NEWS README || die |
62 | } |
63 | |
64 | src_install_gtk3-engines-xfce() |
65 | { |
66 | cd ${SRCDIR} |
67 | # lib |
68 | mmake -C gtk-3.0 DESTDIR=${BINDIR} install || die |
69 | # themes |
70 | local i |
71 | for i in $(find themes -mindepth 1 -maxdepth 1) |
72 | do |
73 | mmake -C ${i}/gtk-3.0 DESTDIR=${BINDIR} install || die |
74 | done |
75 | |
76 | minstalldocs AUTHORS COPYING ChangeLog NEWS README || die |
77 | } |
78 | |
79 | src_install_gtk-engines-xfce() |
80 | { |
81 | return 0 |
82 | } |