Magellan Linux

Contents of /smage/trunk/core/xlockmore/xlockmore-5.59-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13851 - (show annotations) (download)
Tue Dec 3 11:50:25 2019 UTC (4 years, 4 months ago) by niro
File size: 1677 byte(s)
auto added: ver bump to 5.59-r1
1 # $Id$
2
3 PNAME="xlockmore"
4 PVER="5.59"
5 PBUILD="r1"
6
7 PCAT="x11-misc"
8
9 DESCRIPTION="A screensaver for X11."
10 HOMEPAGE="http://sillycycle.com/xlockmore.html"
11
12 DEPEND=">= x11-libs/libX11-1.6
13 >= x11-libs/libXext-1.3
14 >= x11-libs/libXmu-1.1
15 >= x11-libs/libXpm-3.5
16 >= x11-libs/libXt-1.1
17 >= x11-libs/libXinerama-1.1
18 >= media-libs/freetype-2.6
19 >= sys-libs/libstdc++-6.3"
20
21 SDEPEND=">= x11-libs/libX11-dev-1.6
22 >= x11-libs/libXext-dev-1.3
23 >= x11-libs/libXmu-dev-1.1
24 >= x11-libs/libXpm-dev-3.5
25 >= x11-libs/libXt-dev-1.1
26 >= x11-libs/libXinerama-dev-1.1
27 >= media-libs/freetype-dev-2.6
28 >= sys-libs/libstdc++-dev-6.3"
29
30 SRCFILE="${PNAME}-${PVER}.tar.xz"
31 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
32
33 ALX_PKG_KEEP="usr/bin/xlock etc/X11/app-defaults/XLock"
34 sminclude mbuild alx-split
35
36 SRC_URI=(
37 http://sillycycle.com/xlock/${SRCFILE}
38 http://sillycycle.com/xlock/recent-releases/${SRCFILE}
39 mirror://${PNAME}/${SRCFILE}
40 )
41
42 # site uses modsecurity and lynx is not allowed
43 UP2USERAGENT="firefox"
44 UP2DATE="updatecmd http://sillycycle.com/xlock/ | grep ${PNAME}- | highesttarball xz"
45
46 src_compile()
47 {
48 cd ${SRCDIR}
49
50 mconfigure \
51 --sharedstatedir=${BINDIR}/usr/share/xlockmore \
52 --enable-vtlock \
53 --with-ftgl \
54 --with-opengl \
55 --with-gltt \
56 --with-mesa \
57 --disable-pam \
58 --with-ttf \
59 --with-xinerama \
60 --without-editres \
61 --without-gtk \
62 --without-gtk2 \
63 --without-magick \
64 --without-motif \
65 --without-esound \
66 --without-nas \
67 || die
68
69 mmake || die
70 }
71
72 alx_generic_src_install()
73 {
74 cd ${SRCDIR}
75
76 minstall xapploaddir=${BINDIR}/etc/X11/app-defaults \
77 mandir=${BINDIR}/usr/share/man/man1 \
78 || die
79 }
80
81 preinstall()
82 {
83 add_conf_prot_mask /etc/X11/app-defaults
84 }