Magellan Linux

Annotation of /trunk/core/xscreensaver/xscreensaver-5.10-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3642 - (hide annotations) (download)
Wed Oct 28 14:37:32 2009 UTC (14 years, 11 months ago) by niro
File size: 2993 byte(s)
auto added: ver bump to 5.10-r1
1 niro 3642 # $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     >= sys-libs/pam-1.1
23     >= virtual/opengl
24     >= media-libs/gle-3.1.0"
25    
26     SDEPEND=">= x11-proto/xf86vidmodeproto-2.2
27     >= x11-proto/xextproto-7
28     >= x11-proto/scrnsaverproto-1
29     >= x11-proto/recordproto-1
30     >= x11-proto/xf86miscproto-0.9
31     >= x11-proto/xineramaproto-1
32     >= sys-dev/bc-1.06
33     >= dev-lang/perl-5.10
34     >= dev-util/pkgconfig-0.23
35     >= sys-dev/gettext-0.17"
36    
37     SRCFILE="${PNAME}-${PVER}.tar.gz"
38     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
39    
40     sminclude mtools
41    
42     SRC_URI=(
43     http://www.jwz.org/${PNAME}/${SRCFILE}
44     mirror://${PNAME}/${SRCFILE}
45     mirror://${PNAME}/xscreensaver.pam
46     mirror://${PNAME}/${PNAME}-4.24-app-defaults.patch
47     mirror://${PNAME}/${PNAME}-${PVER}-no-intltool.patch
48     mirror://${PNAME}/${PNAME}-${PVER}-randr12.patch
49     mirror://${PNAME}/${PNAME}-${PVER}-glforrestfire.patch
50     mirror://${PNAME}/${PNAME}-${PVER}-phosphor-segv.patch
51     )
52    
53     UP2DATE="updatecmd ${HOMEPAGE}/download.html | lasttarball gz"
54    
55     src_prepare()
56     {
57     munpack ${SRCFILE} || die
58     cd ${SRCDIR}
59    
60     # fix app defaults for X11R7
61     mpatch ${PNAME}-4.24-app-defaults.patch || die
62    
63     # recreate all po files
64     # fix error: po/Makefile.in.in was not created by intltoolize
65     mpatch ${PNAME}-${PVER}-no-intltool.patch || die
66    
67     # add randr-1.2 support
68     mpatch ${PNAME}-${PVER}-randr12.patch || die
69    
70     # fix compilation of glforrestfire with -lopengl
71     mpatch ${PNAME}-${PVER}-glforrestfire.patch || die
72    
73     # fix segfaults in phosphor
74     mpatch ${PNAME}-${PVER}-phosphor-segv.patch || die
75    
76     # rebuild configure
77     autoreconf || die
78     }
79    
80     src_compile()
81     {
82     cd ${SRCDIR}
83    
84     # force app-defaults dir location
85     ac_cv_x_app_defaults=/usr/$(mlibdir)/X11/app-defaults \
86     mconfigure \
87     --libexecdir=/usr/$(mlibdir) \
88     --enable-hackdir=/usr/$(mlibdir)/xscreensaver \
89     --x-libraries=/usr/$(mlibdir) \
90     --x-includes=/usr/include \
91     --with-mit-ext \
92     --with-dpms-ext \
93     --with-xf86vmode-ext \
94     --with-xf86gamma-ext \
95     --with-randr-ext \
96     --with-proc-interrupts \
97     --with-xpm \
98     --with-xshm-ext \
99     --with-xdbe-ext \
100     --enable-locking \
101     --with-fortune=/usr/bin/fortune \
102     --without-motif \
103     --with-gtk \
104     --with-randr-ext \
105     --with-xml \
106     --with-xinerama-ext \
107     --with-pam \
108     --without-kerberos \
109     --with-gl \
110     --with-gle \
111     --with-jpeg \
112     --enable-nls \
113     || die
114    
115     mmake || die
116     }
117    
118     src_install()
119     {
120     cd ${SRCDIR}
121    
122     # needed directories
123     minstalldir /usr/$(mlibdir)/xscreensaver || die
124     minstalldir /usr/share/gnome/capplets || die
125     minstalldir /usr/share/pixmaps || die
126    
127     mmake install_prefix=${BINDIR} install || die
128    
129     # pam stuff
130     minstallpam xscreensaver.pam xscreensaver || die
131    
132     minstalldocs README || die
133     }

Properties

Name Value
svn:keywords Id