Contents of /trunk/extras/xscreensaver/xscreensaver-5.39-r2.smage2
Parent Directory | Revision Log
Revision 31125 -
(show annotations)
(download)
Mon Jun 4 11:58:01 2018 UTC (6 years, 3 months ago) by niro
File size: 2218 byte(s)
Mon Jun 4 11:58:01 2018 UTC (6 years, 3 months ago) by niro
File size: 2218 byte(s)
auto added: ver bump to 5.39-r2
1 | # $Id$ |
2 | |
3 | PNAME="xscreensaver" |
4 | PVER="5.39" |
5 | PBUILD="r2" |
6 | |
7 | PCAT="x11-misc" |
8 | |
9 | DESCRIPTION="a screen saver and locker for the x-window-system." |
10 | HOMEPAGE="http://www.jwz.org/xscreensaver/" |
11 | |
12 | DEPEND=">= x11-libs/libXxf86misc-1 |
13 | >= x11-libs/libXinerama-1 |
14 | >= x11-libs/libXpm-3.5 |
15 | >= x11-apps/xwininfo-1 |
16 | >= x11-apps/appres-1 |
17 | >= media-libs/netpbm-10.72 |
18 | >= virtual/libjpeg |
19 | >= sys-libs/zlib-1.2 |
20 | >= dev-libs/libxml2-2.9 |
21 | >= x11-libs/gtk2+-2.24 |
22 | >= dev-libs/glib2-2.46 |
23 | >= gnome-base/libglade-2.6.4 |
24 | >= sys-libs/pam-1.1 |
25 | >= virtual/opengl" |
26 | |
27 | SDEPEND=">= virtual/xf86vidmodeproto |
28 | >= virtual/xextproto |
29 | >= virtual/scrnsaverproto |
30 | >= virtual/recordproto |
31 | >= virtual/xf86miscproto |
32 | >= virtual/xineramaproto |
33 | >= sys-dev/bc-1.06 |
34 | >= dev-lang/perl-5.24 |
35 | >= dev-util/pkgconfig-0.25 |
36 | >= dev-util/intltool-0.50 |
37 | >= sys-dev/gettext-0.18 |
38 | >= virtual/sed" |
39 | |
40 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
41 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
42 | |
43 | sminclude mbuild mtools |
44 | msetfeature "!check" |
45 | |
46 | SRC_URI=( |
47 | http://www.jwz.org/${PNAME}/${SRCFILE} |
48 | mirror://${PNAME}/${SRCFILE} |
49 | mirror://${PNAME}/xscreensaver.pam-systemauth |
50 | ) |
51 | |
52 | UP2DATE="updatecmd ${HOMEPAGE}/download.html | lasttarball gz" |
53 | |
54 | src_compile() |
55 | { |
56 | cd ${SRCDIR} |
57 | |
58 | mconfigure \ |
59 | --libexecdir=/usr/$(mlibdir) \ |
60 | --enable-hackdir=/usr/$(mlibdir)/xscreensaver \ |
61 | --x-libraries=/usr/$(mlibdir) \ |
62 | --x-includes=/usr/include \ |
63 | --with-x-app-defaults=/usr/$(mlibdir)/X11/app-defaults \ |
64 | --with-mit-ext \ |
65 | --with-dpms-ext \ |
66 | --with-xf86vmode-ext \ |
67 | --with-xf86gamma-ext \ |
68 | --with-randr-ext \ |
69 | --with-proc-interrupts \ |
70 | --with-xpm \ |
71 | --with-xshm-ext \ |
72 | --with-xdbe-ext \ |
73 | --enable-locking \ |
74 | --with-fortune=/usr/bin/fortune \ |
75 | --without-motif \ |
76 | --with-gtk \ |
77 | --with-randr-ext \ |
78 | --with-xml \ |
79 | --with-xinerama-ext \ |
80 | --with-pam \ |
81 | --without-kerberos \ |
82 | --with-gl \ |
83 | --without-gle \ |
84 | --with-jpeg \ |
85 | --enable-nls \ |
86 | || die |
87 | |
88 | mmake -j1 all || die |
89 | } |
90 | |
91 | src_install() |
92 | { |
93 | cd ${SRCDIR} |
94 | |
95 | # needed directories |
96 | minstalldir /usr/$(mlibdir)/xscreensaver || die |
97 | minstalldir /usr/share/gnome/capplets || die |
98 | minstalldir /usr/share/pixmaps || die |
99 | |
100 | mmake install_prefix=${BINDIR} install || die |
101 | |
102 | # pam stuff |
103 | minstallpam xscreensaver.pam-systemauth xscreensaver || die |
104 | |
105 | minstalldocs README || die |
106 | } |