Contents of /trunk/core/xscreensaver/xscreensaver-5.08-r1.smage2
Parent Directory | Revision Log
Revision 1479 -
(show annotations)
(download)
Fri May 8 07:19:51 2009 UTC (14 years, 11 months ago) by niro
File size: 2368 byte(s)
Fri May 8 07:19:51 2009 UTC (14 years, 11 months ago) by niro
File size: 2368 byte(s)
auto added: ver bump to 5.08-r1
1 | # $Id$ |
2 | |
3 | PNAME="xscreensaver" |
4 | PVER="5.08" |
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-6 |
18 | >= sys-libs/zlib-1.2 |
19 | >= dev-libs/libxml2-2.6 |
20 | >= x11-libs/gtk2+-2.12 |
21 | >= dev-libs/glib2-2.14 |
22 | >= gnome-base/libglade-2.6 |
23 | >= sys-libs/pam-0.99 |
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.20 |
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 | ) |
49 | |
50 | UP2DATE="updatecmd ${HOMEPAGE}/download.html | lasttarball gz" |
51 | |
52 | src_prepare() |
53 | { |
54 | munpack ${SRCFILE} || die |
55 | cd ${SRCDIR} |
56 | |
57 | # fix app defaults for X11R7 |
58 | mpatch ${PNAME}-4.24-app-defaults.patch || die |
59 | |
60 | # rebuild configure |
61 | autoreconf || die |
62 | } |
63 | |
64 | src_compile() |
65 | { |
66 | cd ${SRCDIR} |
67 | |
68 | # force app-defaults dir location |
69 | ac_cv_x_app_defaults=/usr/$(mlibdir)/X11/app-defaults \ |
70 | mconfigure \ |
71 | --libexecdir=/usr/$(mlibdir) \ |
72 | --enable-hackdir=/usr/$(mlibdir)/xscreensaver \ |
73 | --x-libraries=/usr/$(mlibdir) \ |
74 | --x-includes=/usr/include \ |
75 | --with-mit-ext \ |
76 | --with-dpms-ext \ |
77 | --with-xf86vmode-ext \ |
78 | --with-xf86gamma-ext \ |
79 | --with-proc-interrupts \ |
80 | --with-xpm \ |
81 | --with-xshm-ext \ |
82 | --with-xdbe-ext \ |
83 | --enable-locking \ |
84 | --with-fortune=/usr/bin/fortune \ |
85 | --without-motif \ |
86 | --with-gtk \ |
87 | --with-xml \ |
88 | --with-xinerama-ext \ |
89 | --with-pam \ |
90 | --without-kerberos \ |
91 | --with-gl \ |
92 | --with-gle \ |
93 | --with-jpeg \ |
94 | --enable-nls \ |
95 | || die |
96 | |
97 | mmake || die |
98 | } |
99 | |
100 | src_install() |
101 | { |
102 | cd ${SRCDIR} |
103 | |
104 | # needed directories |
105 | minstalldir /usr/$(mlibdir)/xscreensaver || die |
106 | minstalldir /usr/share/gnome/capplets || die |
107 | minstalldir /usr/share/pixmaps || die |
108 | |
109 | mmake install_prefix=${BINDIR} install || die |
110 | |
111 | # pam stuff |
112 | minstallpam xscreensaver.pam xscreensaver || die |
113 | |
114 | minstalldocs README || die |
115 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |