Skip to content

Commit

Permalink
xlockmore: update to 5.63, add opengl vopt
Browse files Browse the repository at this point in the history
  • Loading branch information
abenson committed May 13, 2020
1 parent 1e29d3f commit bedca8b
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions srcpkgs/xlockmore/template
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
# Template file for 'xlockmore'
pkgname=xlockmore
version=5.62
version=5.63
revision=1
build_style=gnu-configure
configure_args="--with-xinerama"
configure_args="--with-xinerama $(vopt_if opengl '--with-opengl --with-mesa')"
hostmakedepends="pkg-config"
makedepends="freetype-devel libXt-devel libXext-devel libXinerama-devel"
makedepends="freetype-devel libXt-devel libXext-devel libXinerama-devel
$(vopt_if opengl 'MesaLib-devel glu-devel')"
short_desc="Provides the 'xlock' X screen locker"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="MIT"
homepage="http://sillycycle.com/xlockmore.html"
distfiles="http://sillycycle.com/xlock/xlockmore-${version}.tar.xz"
checksum=11bff2ed134df693757535845bc8738d14121161a5ced320f15adf4ae4e3052c
checksum=990b22a46b0e3cf49306b3bf61deee65f6064571be93c77f976a39d795a10be2
CFLAGS="-D_DEFAULT_SOURCE"

build_options="opengl"
desc_option_opengl="Enable OpenGL modes"

pre_configure() {
export X_EXTRA_LIBS="$LDFLAGS"
}

do_install() {
make INSTPGMFLAGS= xapploaddir=${DESTDIR}/usr/share/X11/app-defaults \
bindir=${DESTDIR}/usr/bin mandir=${DESTDIR}/usr/share/man/man1 \
Expand Down

0 comments on commit bedca8b

Please sign in to comment.