1 |
commit: 4d2411a716d4acded50402aa3ab12a7e7382f151 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 15 07:41:02 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 15 07:42:02 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d2411a7 |
7 |
|
8 |
x11-misc/xlockmore: Version 5.66_alpha00 |
9 |
|
10 |
Package-Manager: Portage-3.0.7, Repoman-3.0.1 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
x11-misc/xlockmore/Manifest | 1 + |
14 |
x11-misc/xlockmore/xlockmore-5.66_alpha00.ebuild | 118 +++++++++++++++++++++++ |
15 |
2 files changed, 119 insertions(+) |
16 |
|
17 |
diff --git a/x11-misc/xlockmore/Manifest b/x11-misc/xlockmore/Manifest |
18 |
index 3a38cf2ab3b..3825e1fc3f0 100644 |
19 |
--- a/x11-misc/xlockmore/Manifest |
20 |
+++ b/x11-misc/xlockmore/Manifest |
21 |
@@ -3,3 +3,4 @@ DIST xlockmore-5.62.tar.xz 1943836 BLAKE2B 6ce9b9ad709881a50eba0e32ae1e7524414a5 |
22 |
DIST xlockmore-5.63.tar.xz 1944624 BLAKE2B 8ee27c5cc88a7088705b7a017563698fa4bf99418bf3237594a1237547fa1eb9d5274327672f33344e97d2333eca71f95e51f760f0548abef06f8006a97c55c0 SHA512 0b067ced9afe0c5498f0b1e19bf163b0363bbb4bc2bc2007c1c0416328cdc2d528d664b122ef68322c38f2bcc37a15665b31ee6e8ce2369bad9e50528b93a047 |
23 |
DIST xlockmore-5.64.tar.xz 1944496 BLAKE2B 1b2c0337950bcf7ba094012c70c6c8578523b81a6af6dd68a0373425f87d7da28a770a8f7453019cc1527501a417390f013f43b3da2ddfc7d44380c512f9b4c9 SHA512 4946e8e9f895c0433c09e1cd639389d26020a764d62b08b329ce5d9e5de4bb6438f024639b2068c94f21cb0ebb5a6f94dffff6f606c6c3e2372a5102768e7f39 |
24 |
DIST xlockmore-5.65.tar.xz 1945636 BLAKE2B d026975551e8ceafdcc7b8d8b6e404634f329d8d1f65e153b51798981103a023479dd58f2485c774aaf58f5928ea28a9f409c733ccfc75f98b65302e7e478ac5 SHA512 ecbf7e5c087843265eb4a537b3fe06a0d86d5f67d88c45137b6a7f4f5b30522d44fb87b5628cd9e042f90af129863fd3a4c2b5e2305df2dc3dfd867a03469ad8 |
25 |
+DIST xlockmore-5.66ALPHA00.tar.xz 1944644 BLAKE2B 0b52cc3a5cb77645174084eec3e81838e96a4b5e849955e9090efabb62cb38f477ae3a23664b4dc27bb8b79af62d946b4702244bc3b601ede7097f60de6b0fbd SHA512 7216fc3b034c382ab02d06e22a9e572e3602e4745b2a055a8ee51f6a4c014776ea27b665fe7638719303b9bea3f957a27e1da47e15d5de44c3717136dae82ee2 |
26 |
|
27 |
diff --git a/x11-misc/xlockmore/xlockmore-5.66_alpha00.ebuild b/x11-misc/xlockmore/xlockmore-5.66_alpha00.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..5fcdba0ea0d |
30 |
--- /dev/null |
31 |
+++ b/x11-misc/xlockmore/xlockmore-5.66_alpha00.ebuild |
32 |
@@ -0,0 +1,118 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+inherit autotools flag-o-matic pam |
38 |
+ |
39 |
+DESCRIPTION="Just another screensaver application for X" |
40 |
+HOMEPAGE="https://www.sillycycle.com/xlockmore.html" |
41 |
+SRC_URI=" |
42 |
+ https://www.sillycycle.com/xlock/${P/_alpha/ALPHA}.tar.xz |
43 |
+ https://www.sillycycle.com/xlock/recent-releases/${P/_alpha/ALPHA}.tar.xz |
44 |
+" |
45 |
+ |
46 |
+LICENSE="BSD GPL-2" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" |
49 |
+IUSE="crypt debug gtk imagemagick motif nas opengl pam truetype xinerama xlockrc vtlock" |
50 |
+ |
51 |
+REQUIRED_USE=" |
52 |
+ || ( crypt pam ) |
53 |
+ pam? ( !xlockrc ) |
54 |
+ xlockrc? ( !pam ) |
55 |
+" |
56 |
+RDEPEND=" |
57 |
+ gtk? ( x11-libs/gtk+:2 ) |
58 |
+ imagemagick? ( media-gfx/imagemagick:= ) |
59 |
+ motif? ( >=x11-libs/motif-2.3:0 ) |
60 |
+ nas? ( media-libs/nas ) |
61 |
+ opengl? ( |
62 |
+ virtual/opengl |
63 |
+ virtual/glu |
64 |
+ truetype? ( >=media-libs/ftgl-2.1.3_rc5 ) |
65 |
+ ) |
66 |
+ pam? ( sys-libs/pam ) |
67 |
+ truetype? ( media-libs/freetype:2 ) |
68 |
+ x11-libs/libX11 |
69 |
+ x11-libs/libXext |
70 |
+ x11-libs/libXmu |
71 |
+ x11-libs/libXpm |
72 |
+ x11-libs/libXt |
73 |
+ xinerama? ( x11-libs/libXinerama ) |
74 |
+" |
75 |
+DEPEND=" |
76 |
+ ${RDEPEND} |
77 |
+ virtual/pkgconfig |
78 |
+ x11-base/xorg-proto |
79 |
+" |
80 |
+ |
81 |
+PATCHES=( |
82 |
+ "${FILESDIR}"/${PN}-5.46-freetype261.patch |
83 |
+ "${FILESDIR}"/${PN}-5.47-CXX.patch |
84 |
+ "${FILESDIR}"/${PN}-5.47-strip.patch |
85 |
+ "${FILESDIR}"/${PN}-5.64_alpha0-LDFLAGS.patch |
86 |
+) |
87 |
+S=${WORKDIR}/${P/_alpha/ALPHA} |
88 |
+ |
89 |
+src_prepare() { |
90 |
+ default |
91 |
+ |
92 |
+ sed -i \ |
93 |
+ -e '/XLOCKLIBPATHS="-L/d' \ |
94 |
+ -e '/XMLOCKLIBPATHS="-L/d' \ |
95 |
+ -e 's|/lib|'"${EPREFIX}/$(get_libdir)"/'|g' \ |
96 |
+ configure.ac || die |
97 |
+ |
98 |
+ eautoreconf |
99 |
+} |
100 |
+ |
101 |
+src_configure() { |
102 |
+ local myconf=() |
103 |
+ |
104 |
+ if use opengl && use truetype; then |
105 |
+ myconf=( --with-ftgl ) |
106 |
+ append-cppflags -DFTGL213 |
107 |
+ else |
108 |
+ myconf=( --without-ftgl ) |
109 |
+ fi |
110 |
+ |
111 |
+ myconf+=( |
112 |
+ $(use_enable pam) |
113 |
+ $(use_enable xlockrc) |
114 |
+ $(use_enable vtlock) |
115 |
+ $(use_with crypt) |
116 |
+ $(use_with debug editres) |
117 |
+ $(use_with gtk gtk2) |
118 |
+ $(use_with imagemagick magick) |
119 |
+ $(use_with motif) |
120 |
+ $(use_with nas) |
121 |
+ $(use_with opengl mesa) |
122 |
+ $(use_with opengl) |
123 |
+ $(use_with truetype freetype) |
124 |
+ $(use_with truetype ttf) |
125 |
+ $(use_with xinerama) |
126 |
+ --disable-mb |
127 |
+ --enable-appdefaultdir=/usr/share/X11/app-defaults |
128 |
+ --enable-syslog |
129 |
+ --enable-vtlock |
130 |
+ --without-esound |
131 |
+ --without-gtk |
132 |
+ ) |
133 |
+ econf "${myconf[@]}" |
134 |
+} |
135 |
+ |
136 |
+src_install() { |
137 |
+ local DOCS=( README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO} ) |
138 |
+ default |
139 |
+ |
140 |
+ pamd_mimic_system xlock auth |
141 |
+ |
142 |
+ if use pam; then |
143 |
+ fperms 755 /usr/bin/xlock |
144 |
+ else |
145 |
+ fperms 4755 /usr/bin/xlock |
146 |
+ fi |
147 |
+ |
148 |
+ docinto html |
149 |
+ dodoc docs/xlock.html |
150 |
+} |