Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13852 - (show annotations) (download)
Tue Dec 3 12:33:56 2019 UTC (4 years, 4 months ago) by niro
File size: 1728 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 msetfeature "!check" # no check target in Makefile
36
37 SRC_URI=(
38 http://sillycycle.com/xlock/${SRCFILE}
39 http://sillycycle.com/xlock/recent-releases/${SRCFILE}
40 mirror://${PNAME}/${SRCFILE}
41 )
42
43 # site uses modsecurity and lynx is not allowed
44 UP2USERAGENT="firefox"
45 UP2DATE="updatecmd http://sillycycle.com/xlock/ | grep ${PNAME}- | highesttarball xz"
46
47 src_compile()
48 {
49 cd ${SRCDIR}
50
51 mconfigure \
52 --sharedstatedir=${BINDIR}/usr/share/xlockmore \
53 --enable-vtlock \
54 --with-ftgl \
55 --with-opengl \
56 --with-gltt \
57 --with-mesa \
58 --disable-pam \
59 --with-ttf \
60 --with-xinerama \
61 --without-editres \
62 --without-gtk \
63 --without-gtk2 \
64 --without-magick \
65 --without-motif \
66 --without-esound \
67 --without-nas \
68 || die
69
70 mmake || die
71 }
72
73 alx_generic_src_install()
74 {
75 cd ${SRCDIR}
76
77 minstall xapploaddir=${BINDIR}/etc/X11/app-defaults \
78 mandir=${BINDIR}/usr/share/man/man1 \
79 || die
80 }
81
82 preinstall()
83 {
84 add_conf_prot_mask /etc/X11/app-defaults
85 }