summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-07-16 14:04:31 +0000
committerJeroen Roovers <jer@gentoo.org>2013-07-16 14:04:31 +0000
commitfe6c6e0a016d1f92883275a9d59ab057450a0247 (patch)
treeb85dd5b46664e81e551d81550857b28846e42278 /x11-misc
parentProvide symlink for default config as otherwise some local services won't be ... (diff)
downloadgentoo-2-fe6c6e0a016d1f92883275a9d59ab057450a0247.tar.gz
gentoo-2-fe6c6e0a016d1f92883275a9d59ab057450a0247.tar.bz2
gentoo-2-fe6c6e0a016d1f92883275a9d59ab057450a0247.zip
Version bump.
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/xlockmore/ChangeLog7
-rw-r--r--x11-misc/xlockmore/xlockmore-5.43.ebuild100
2 files changed, 106 insertions, 1 deletions
diff --git a/x11-misc/xlockmore/ChangeLog b/x11-misc/xlockmore/ChangeLog
index 130b7f2358da..30638bc89ebe 100644
--- a/x11-misc/xlockmore/ChangeLog
+++ b/x11-misc/xlockmore/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/xlockmore
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xlockmore/ChangeLog,v 1.127 2013/03/26 13:52:19 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xlockmore/ChangeLog,v 1.128 2013/07/16 14:04:31 jer Exp $
+
+*xlockmore-5.43 (16 Jul 2013)
+
+ 16 Jul 2013; Jeroen Roovers <jer@gentoo.org> +xlockmore-5.43.ebuild:
+ Version bump.
26 Mar 2013; Jeroen Roovers <jer@gentoo.org> xlockmore-5.42.ebuild:
--disable-use-mb -> --disable-mb by Klaus Kusche (bug #463246).
diff --git a/x11-misc/xlockmore/xlockmore-5.43.ebuild b/x11-misc/xlockmore/xlockmore-5.43.ebuild
new file mode 100644
index 000000000000..547ab831a651
--- /dev/null
+++ b/x11-misc/xlockmore/xlockmore-5.43.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xlockmore/xlockmore-5.43.ebuild,v 1.1 2013/07/16 14:04:31 jer Exp $
+
+EAPI=4
+inherit autotools eutils flag-o-matic pam
+
+DESCRIPTION="Just another screensaver application for X"
+HOMEPAGE="http://www.tux.org/~bagleyd/xlockmore.html"
+SRC_URI="http://ftp.tux.org/pub/tux/bagleyd/${PN}/${P}/${P}.tar.bz2"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="crypt debug gtk imagemagick motif nas opengl pam truetype xinerama xlockrc"
+
+REQUIRED_USE="
+ || ( crypt pam )
+"
+RDEPEND="
+ gtk? ( x11-libs/gtk+:2 )
+ imagemagick? ( media-gfx/imagemagick )
+ motif? ( >=x11-libs/motif-2.3:0 )
+ nas? ( media-libs/nas )
+ opengl? (
+ virtual/opengl
+ virtual/glu
+ truetype? ( >=media-libs/ftgl-2.1.3_rc5 )
+ )
+ pam? ( virtual/pam )
+ truetype? ( media-libs/freetype:2 )
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libXt
+ xinerama? ( x11-libs/libXinerama )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xineramaproto"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-5.31-configure.in.patch \
+ "${FILESDIR}"/${PN}-5.31-ldflags.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=""
+
+ if use opengl && use truetype; then
+ myconf="${myconf} --with-ftgl"
+ append-flags -DFTGL213
+ else
+ myconf="${myconf} --without-ftgl"
+ fi
+
+ econf \
+ $(use_enable pam) \
+ $(use_enable xlockrc) \
+ $(use_with crypt) \
+ $(use_with debug editres) \
+ $(use_with gtk gtk2) \
+ $(use_with imagemagick magick) \
+ $(use_with motif) \
+ $(use_with nas) \
+ $(use_with opengl mesa) \
+ $(use_with opengl) \
+ $(use_with truetype freetype) \
+ $(use_with truetype ttf) \
+ $(use_with xinerama) \
+ --disable-mb \
+ --enable-appdefaultdir=/usr/share/X11/app-defaults \
+ --enable-syslog \
+ --enable-vtlock \
+ --without-esound \
+ --without-gtk \
+ ${myconf}
+}
+
+src_install() {
+ einstall xapploaddir="${D}/usr/share/X11/app-defaults" \
+ mandir="${D}/usr/share/man/man1" INSTPGMFLAGS=""
+
+ pamd_mimic_system xlock auth
+
+ if use pam; then
+ fperms 755 /usr/bin/xlock
+ else
+ fperms 4755 /usr/bin/xlock
+ fi
+
+ dohtml docs/xlock.html
+ dodoc README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO}
+}