Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xlockmore/
Date: Mon, 02 Jan 2017 10:28:05
Message-Id: 1483352873.74b045cc79e3f563bdd2ed379c08dedbcb89bcba.polynomial-c@gentoo
1 commit: 74b045cc79e3f563bdd2ed379c08dedbcb89bcba
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 2 10:25:43 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 2 10:27:53 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74b045cc
7
8 x11-misc/xlockmore: Bump to version 5.50
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 x11-misc/xlockmore/Manifest | 1 +
13 x11-misc/xlockmore/xlockmore-5.50.ebuild | 107 +++++++++++++++++++++++++++++++
14 2 files changed, 108 insertions(+)
15
16 diff --git a/x11-misc/xlockmore/Manifest b/x11-misc/xlockmore/Manifest
17 index 0d080d3..fa10e68 100644
18 --- a/x11-misc/xlockmore/Manifest
19 +++ b/x11-misc/xlockmore/Manifest
20 @@ -1,3 +1,4 @@
21 DIST xlockmore-5.45.tar.bz2 1968176 SHA256 7f81a80cb486c05269d71e9cc2d9c51645b59f09779fc24d01b858b7563015f7 SHA512 ab7ad1d1a066176cb8fb77d8c93181dad437b75d1c163f3ea49892477b4a4404129ce169d2fa38f131272a0a8b834ea61c88dd8bb8963d9dfed21c41af120fde WHIRLPOOL 2e890583c6105808821ae447e136fcea4cc782a4eb5a8e55f67195f91a0db23a9121e5bf53e9046139f3cc59e5d7d38ec97a42ce0c31df573674b3644c548cd7
22 DIST xlockmore-5.46.tar.xz 1610356 SHA256 32b3be122c4fde5ae70dba5899bbcc20cd7e80119e246d79455d84046d6d40df SHA512 4be4c70f72f9a820e26204fbd8450f2f920b6ed1583d413ba3983c4ced778c9d4e6dfa40a4c7919557b3fa7ecccba08e1a0bb0403924fa84770401d6758c7d9c WHIRLPOOL 6bfd885cb6e460ccbb2ebd682d2096e454c4a5ccb58244495451973bd16d5410f3ba347afdba6c747a34a50bcb1612bae5fa16f1c09f54f2f82c1257ed59105d
23 DIST xlockmore-5.47.tar.xz 1610604 SHA256 94e3adee284eec09dc27405bfc24651446e8c6edd6a5bc565550b08f563a0d8d SHA512 0690255cafa0e32d5b2920a611a76107565591331ef12e442069d4a7fba38b18b43a581f29488969695390aef92d4868681efb9b2a06fbb73960d4bcd4b13484 WHIRLPOOL c76dd5c9111d7e17fcbf4572d95773fd40b14f3895fb5b2e86aa36bc2b15da0b6d1fc5bcbf776da976113a76c7f14caf2507495359e0f8a15996cf574c498903
24 +DIST xlockmore-5.50.tar.xz 1632968 SHA256 635f72df44589d028200acf604093959968a7e19f79c4363a76599615f563a29 SHA512 627a905c4641d6083676a766931f23c06e2ac5af9b43447ccf03143d329d24b786aac6b248318929399b5fae98f1ec17e676466b5cbd09f180377c483694c569 WHIRLPOOL 2485b7805632581077554b7f2e460d94c0c094d7470e26550e8f32fb4d794ea4c2a111403542d9c07560cf0a0b2e8076cdc789336d09f3798827546ed68b8451
25
26 diff --git a/x11-misc/xlockmore/xlockmore-5.50.ebuild b/x11-misc/xlockmore/xlockmore-5.50.ebuild
27 new file mode 100644
28 index 00000000..4f95bc0
29 --- /dev/null
30 +++ b/x11-misc/xlockmore/xlockmore-5.50.ebuild
31 @@ -0,0 +1,107 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=6
37 +inherit autotools eutils flag-o-matic pam
38 +
39 +DESCRIPTION="Just another screensaver application for X"
40 +HOMEPAGE="http://www.sillycycle.com/xlockmore.html"
41 +SRC_URI="http://www.sillycycle.com/xlock/${P}.tar.xz"
42 +
43 +LICENSE="BSD GPL-2"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
46 +IUSE="crypt debug gtk imagemagick motif nas opengl pam truetype xinerama xlockrc vtlock"
47 +
48 +REQUIRED_USE="
49 + || ( crypt pam )
50 + pam? ( !xlockrc )
51 + xlockrc? ( !pam )
52 +"
53 +RDEPEND="
54 + gtk? ( x11-libs/gtk+:2 )
55 + imagemagick? ( media-gfx/imagemagick:= )
56 + motif? ( >=x11-libs/motif-2.3:0 )
57 + nas? ( media-libs/nas )
58 + opengl? (
59 + virtual/opengl
60 + virtual/glu
61 + truetype? ( >=media-libs/ftgl-2.1.3_rc5 )
62 + )
63 + pam? ( virtual/pam )
64 + truetype? ( media-libs/freetype:2 )
65 + x11-libs/libX11
66 + x11-libs/libXext
67 + x11-libs/libXmu
68 + x11-libs/libXpm
69 + x11-libs/libXt
70 + xinerama? ( x11-libs/libXinerama )
71 +"
72 +DEPEND="
73 + ${RDEPEND}
74 + virtual/pkgconfig
75 + x11-proto/xineramaproto
76 +"
77 +
78 +PATCHES=(
79 + "${FILESDIR}"/${PN}-5.46-freetype261.patch
80 + "${FILESDIR}"/${PN}-5.47-CXX.patch
81 + "${FILESDIR}"/${PN}-5.47-strip.patch
82 +)
83 +
84 +src_prepare() {
85 + default
86 + eautoreconf
87 +}
88 +
89 +src_configure() {
90 + local myconf=()
91 +
92 + if use opengl && use truetype; then
93 + myconf=( --with-ftgl )
94 + append-flags -DFTGL213
95 + else
96 + myconf=( --without-ftgl )
97 + fi
98 +
99 + myconf+=(
100 + $(use_enable pam)
101 + $(use_enable xlockrc)
102 + $(use_enable vtlock)
103 + $(use_with crypt)
104 + $(use_with debug editres)
105 + $(use_with gtk gtk2)
106 + $(use_with imagemagick magick)
107 + $(use_with motif)
108 + $(use_with nas)
109 + $(use_with opengl mesa)
110 + $(use_with opengl)
111 + $(use_with truetype freetype)
112 + $(use_with truetype ttf)
113 + $(use_with xinerama)
114 + --disable-mb
115 + --enable-appdefaultdir=/usr/share/X11/app-defaults
116 + --enable-syslog
117 + --enable-vtlock
118 + --without-esound
119 + --without-gtk
120 + )
121 + econf "${myconf[@]}"
122 +}
123 +
124 +src_install() {
125 + local DOCS=( README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO} )
126 + default
127 +
128 + pamd_mimic_system xlock auth
129 +
130 + if use pam; then
131 + fperms 755 /usr/bin/xlock
132 + else
133 + fperms 4755 /usr/bin/xlock
134 + fi
135 +
136 + docinto html
137 + dodoc docs/xlock.html
138 +}