Magellan Linux

Contents of /branches/R11-unstable/extras/gtk-engines-xfce/gtk-engines-xfce-3.0.1-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25294 - (show annotations) (download)
Tue Nov 25 03:24:05 2014 UTC (9 years, 5 months ago) by niro
File size: 1678 byte(s)
-release branches/R11-unstable
1 # $Id$
2
3 PNAME="gtk-engines-xfce"
4 PVER="3.0.1"
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.14"
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 == x11-themes/gtk2-engines-xfce-${PVER}
46 ${GTK3_DEPEND}
47 == x11-themes/gtk3-engines-xfce-${PVER}"
48 PKGTYPE="virtual"
49 }
50
51 src_install_gtk2-engines-xfce()
52 {
53 cd ${SRCDIR}
54 # lib
55 mmake -C gtk-2.0 DESTDIR=${BINDIR} install || die
56 # themes
57 local i
58 for i in $(find themes -mindepth 1 -maxdepth 1 -type d)
59 do
60 mmake -C ${i}/gtk-2.0 DESTDIR=${BINDIR} install || die
61 done
62
63 minstalldocs AUTHORS COPYING ChangeLog NEWS README || die
64 }
65
66 src_install_gtk3-engines-xfce()
67 {
68 cd ${SRCDIR}
69 # lib
70 mmake -C gtk-3.0 DESTDIR=${BINDIR} install || die
71 # themes
72 local i
73 for i in $(find themes -mindepth 1 -maxdepth 1 -type d)
74 do
75 mmake -C ${i}/gtk-3.0 DESTDIR=${BINDIR} install || die
76 done
77
78 minstalldocs AUTHORS COPYING ChangeLog NEWS README || die
79 }
80
81 src_install_gtk-engines-xfce()
82 {
83 return 0
84 }