Annotation of /smage/branches/alx07x-unstable/core/xlockmore/xlockmore-5.65-r1.smage2
Parent Directory | Revision Log
Revision 14475 -
(hide annotations)
(download)
Tue Aug 4 10:59:59 2020 UTC (4 years, 1 month ago) by niro
Original Path: smage/trunk/core/xlockmore/xlockmore-5.65-r1.smage2
File size: 1746 byte(s)
Tue Aug 4 10:59:59 2020 UTC (4 years, 1 month ago) by niro
Original Path: smage/trunk/core/xlockmore/xlockmore-5.65-r1.smage2
File size: 1746 byte(s)
auto added: ver bump to 5.65-r1
1 | niro | 14475 | # $Id$ |
2 | |||
3 | PNAME="xlockmore" | ||
4 | PVER="5.65" | ||
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++-8.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-8.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 | UP2EXCLUDE="BETA" | ||
46 | UP2DATE="updatecmd http://sillycycle.com/xlock/ | grep ${PNAME}- | highesttarball xz" | ||
47 | |||
48 | src_compile() | ||
49 | { | ||
50 | cd ${SRCDIR} | ||
51 | |||
52 | mconfigure \ | ||
53 | --sharedstatedir=${BINDIR}/usr/share/xlockmore \ | ||
54 | --enable-vtlock \ | ||
55 | --with-ftgl \ | ||
56 | --with-opengl \ | ||
57 | --with-gltt \ | ||
58 | --with-mesa \ | ||
59 | --disable-pam \ | ||
60 | --with-ttf \ | ||
61 | --with-xinerama \ | ||
62 | --without-editres \ | ||
63 | --without-gtk \ | ||
64 | --without-gtk2 \ | ||
65 | --without-magick \ | ||
66 | --without-motif \ | ||
67 | --without-esound \ | ||
68 | --without-nas \ | ||
69 | || die | ||
70 | |||
71 | mmake || die | ||
72 | } | ||
73 | |||
74 | alx_generic_src_install() | ||
75 | { | ||
76 | cd ${SRCDIR} | ||
77 | |||
78 | minstall xapploaddir=${BINDIR}/etc/X11/app-defaults \ | ||
79 | mandir=${BINDIR}/usr/share/man/man1 \ | ||
80 | || die | ||
81 | } | ||
82 | |||
83 | preinstall() | ||
84 | { | ||
85 | add_conf_prot_mask /etc/X11/app-defaults | ||
86 | } |