Contents of /trunk/core/xscreensaver/xscreensaver-5.10-r1.smage2
Parent Directory | Revision Log
Revision 3650 -
(show annotations)
(download)
Wed Oct 28 16:58:36 2009 UTC (14 years, 10 months ago) by niro
File size: 2596 byte(s)
Wed Oct 28 16:58:36 2009 UTC (14 years, 10 months ago) by niro
File size: 2596 byte(s)
-libglade is needed
1 | # $Id$ |
2 | |
3 | PNAME="xscreensaver" |
4 | PVER="5.10" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="x11-misc" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="a screen saver and locker for the x-window-system." |
11 | HOMEPAGE="http://www.jwz.org/xscreensaver/" |
12 | |
13 | DEPEND=">= x11-libs/libXxf86misc-1 |
14 | >= x11-apps/xwininfo-1 |
15 | >= x11-libs/libXinerama-1 |
16 | >= media-libs/netpbm-10 |
17 | >= media-libs/libjpeg-7 |
18 | >= sys-libs/zlib-1.2 |
19 | >= dev-libs/libxml2-2.7 |
20 | >= x11-libs/gtk2+-2.18 |
21 | >= dev-libs/glib2-2.22 |
22 | >= gnome-base/libglade-2.6 |
23 | >= sys-libs/pam-1.1 |
24 | >= virtual/opengl |
25 | >= media-libs/gle-3.1.0" |
26 | |
27 | SDEPEND=">= x11-proto/xf86vidmodeproto-2.2 |
28 | >= x11-proto/xextproto-7 |
29 | >= x11-proto/scrnsaverproto-1 |
30 | >= x11-proto/recordproto-1 |
31 | >= x11-proto/xf86miscproto-0.9 |
32 | >= x11-proto/xineramaproto-1 |
33 | >= sys-dev/bc-1.06 |
34 | >= dev-lang/perl-5.10 |
35 | >= dev-util/pkgconfig-0.23 |
36 | >= sys-dev/gettext-0.17" |
37 | |
38 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
39 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
40 | |
41 | sminclude mtools |
42 | |
43 | SRC_URI=( |
44 | http://www.jwz.org/${PNAME}/${SRCFILE} |
45 | mirror://${PNAME}/${SRCFILE} |
46 | mirror://${PNAME}/xscreensaver.pam |
47 | mirror://${PNAME}/${PNAME}-4.24-app-defaults.patch |
48 | mirror://${PNAME}/${PNAME}-5.08-no-intltool.patch |
49 | ) |
50 | |
51 | UP2DATE="updatecmd ${HOMEPAGE}/download.html | lasttarball gz" |
52 | |
53 | src_prepare() |
54 | { |
55 | munpack ${SRCFILE} || die |
56 | cd ${SRCDIR} |
57 | |
58 | # fix app defaults for X11R7 |
59 | mpatch ${PNAME}-4.24-app-defaults.patch || die |
60 | |
61 | # recreate all po files |
62 | # fix error: po/Makefile.in.in was not created by intltoolize |
63 | mpatch ${PNAME}-5.08-no-intltool.patch || die |
64 | |
65 | # rebuild configure |
66 | autoreconf || die |
67 | } |
68 | |
69 | src_compile() |
70 | { |
71 | cd ${SRCDIR} |
72 | |
73 | # force app-defaults dir location |
74 | ac_cv_x_app_defaults=/usr/$(mlibdir)/X11/app-defaults \ |
75 | mconfigure \ |
76 | --libexecdir=/usr/$(mlibdir) \ |
77 | --enable-hackdir=/usr/$(mlibdir)/xscreensaver \ |
78 | --x-libraries=/usr/$(mlibdir) \ |
79 | --x-includes=/usr/include \ |
80 | --with-mit-ext \ |
81 | --with-dpms-ext \ |
82 | --with-xf86vmode-ext \ |
83 | --with-xf86gamma-ext \ |
84 | --with-randr-ext \ |
85 | --with-proc-interrupts \ |
86 | --with-xpm \ |
87 | --with-xshm-ext \ |
88 | --with-xdbe-ext \ |
89 | --enable-locking \ |
90 | --with-fortune=/usr/bin/fortune \ |
91 | --without-motif \ |
92 | --with-gtk \ |
93 | --with-randr-ext \ |
94 | --with-xml \ |
95 | --with-xinerama-ext \ |
96 | --with-pam \ |
97 | --without-kerberos \ |
98 | --with-gl \ |
99 | --with-gle \ |
100 | --with-jpeg \ |
101 | --enable-nls \ |
102 | || die |
103 | |
104 | mmake || die |
105 | } |
106 | |
107 | src_install() |
108 | { |
109 | cd ${SRCDIR} |
110 | |
111 | # needed directories |
112 | minstalldir /usr/$(mlibdir)/xscreensaver || die |
113 | minstalldir /usr/share/gnome/capplets || die |
114 | minstalldir /usr/share/pixmaps || die |
115 | |
116 | mmake install_prefix=${BINDIR} install || die |
117 | |
118 | # pam stuff |
119 | minstallpam xscreensaver.pam xscreensaver || die |
120 | |
121 | minstalldocs README || die |
122 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |