diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-03-14 07:46:10 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-03-14 07:46:10 +0100 |
commit | d801847f122be5a91c24c73413023ba87c87a99c (patch) | |
tree | 9e4a2c59a8555da9e604314cab6c1c582de8f5e3 /x11-misc/xlockmore | |
parent | net-analyzer/cacti: Old. (diff) | |
download | gentoo-d801847f122be5a91c24c73413023ba87c87a99c.tar.gz gentoo-d801847f122be5a91c24c73413023ba87c87a99c.tar.bz2 gentoo-d801847f122be5a91c24c73413023ba87c87a99c.zip |
x11-misc/xlockmore: Version bump.
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'x11-misc/xlockmore')
-rw-r--r-- | x11-misc/xlockmore/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/xlockmore/xlockmore-5.51.ebuild | 106 |
2 files changed, 107 insertions, 0 deletions
diff --git a/x11-misc/xlockmore/Manifest b/x11-misc/xlockmore/Manifest index 5fe81d10713f..0643202d8a2a 100644 --- a/x11-misc/xlockmore/Manifest +++ b/x11-misc/xlockmore/Manifest @@ -1,2 +1,3 @@ DIST xlockmore-5.47.tar.xz 1610604 SHA256 94e3adee284eec09dc27405bfc24651446e8c6edd6a5bc565550b08f563a0d8d SHA512 0690255cafa0e32d5b2920a611a76107565591331ef12e442069d4a7fba38b18b43a581f29488969695390aef92d4868681efb9b2a06fbb73960d4bcd4b13484 WHIRLPOOL c76dd5c9111d7e17fcbf4572d95773fd40b14f3895fb5b2e86aa36bc2b15da0b6d1fc5bcbf776da976113a76c7f14caf2507495359e0f8a15996cf574c498903 DIST xlockmore-5.50.tar.xz 1632968 SHA256 635f72df44589d028200acf604093959968a7e19f79c4363a76599615f563a29 SHA512 627a905c4641d6083676a766931f23c06e2ac5af9b43447ccf03143d329d24b786aac6b248318929399b5fae98f1ec17e676466b5cbd09f180377c483694c569 WHIRLPOOL 2485b7805632581077554b7f2e460d94c0c094d7470e26550e8f32fb4d794ea4c2a111403542d9c07560cf0a0b2e8076cdc789336d09f3798827546ed68b8451 +DIST xlockmore-5.51.tar.xz 1633736 SHA256 47118e718e5c892e52ecb21ff4ccfc65592643696768c57c388095732f42608d SHA512 a9fa83677203dca95b9ba1d43058ddefccb8a2d50adb7c20bb05ac96d87a3f871e4ec63d95923e4ead29cd871c32846ceff03ad9574734fa5d1d062b2c116959 WHIRLPOOL 2cd0782a729a2cdcae7ae9004178dd1329f3798fdb8886ae0a6329b3d3433c5e04ef69b8ce45133191c54a01b3a8a5d1fac9b8daf2e273300fe7e887b4eea9b6 diff --git a/x11-misc/xlockmore/xlockmore-5.51.ebuild b/x11-misc/xlockmore/xlockmore-5.51.ebuild new file mode 100644 index 000000000000..c5181b227ac2 --- /dev/null +++ b/x11-misc/xlockmore/xlockmore-5.51.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils flag-o-matic pam + +DESCRIPTION="Just another screensaver application for X" +HOMEPAGE="http://www.sillycycle.com/xlockmore.html" +SRC_URI="http://www.sillycycle.com/xlock/${P}.tar.xz" + +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 vtlock" + +REQUIRED_USE=" + || ( crypt pam ) + pam? ( !xlockrc ) + xlockrc? ( !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 +" + +PATCHES=( + "${FILESDIR}"/${PN}-5.46-freetype261.patch + "${FILESDIR}"/${PN}-5.47-CXX.patch + "${FILESDIR}"/${PN}-5.47-strip.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myconf=() + + if use opengl && use truetype; then + myconf=( --with-ftgl ) + append-flags -DFTGL213 + else + myconf=( --without-ftgl ) + fi + + myconf+=( + $(use_enable pam) + $(use_enable xlockrc) + $(use_enable vtlock) + $(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 + ) + econf "${myconf[@]}" +} + +src_install() { + local DOCS=( README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO} ) + default + + pamd_mimic_system xlock auth + + if use pam; then + fperms 755 /usr/bin/xlock + else + fperms 4755 /usr/bin/xlock + fi + + docinto html + dodoc docs/xlock.html +} |