diff options
Diffstat (limited to 'x11-misc/xlockmore')
-rw-r--r-- | x11-misc/xlockmore/Manifest | 2 | ||||
-rw-r--r-- | x11-misc/xlockmore/xlockmore-5.58_alpha.ebuild | 115 |
2 files changed, 117 insertions, 0 deletions
diff --git a/x11-misc/xlockmore/Manifest b/x11-misc/xlockmore/Manifest index 782451aa2478..a07439643cd9 100644 --- a/x11-misc/xlockmore/Manifest +++ b/x11-misc/xlockmore/Manifest @@ -6,7 +6,9 @@ DIST ax_pthread.m4.xz 6356 BLAKE2B 784bfa3fcae2499230acba588cea5591f62229d721cac DIST xlockmore-5.50.tar.xz 1632968 BLAKE2B 2e692d16d70e3186ec1f31c192414b286f8815f2f428a6f7f43b3de0117c51c4ad2fbdfb91debe2ecb75c8683212b5d33bee62d81374552703d578b02d3af036 SHA512 627a905c4641d6083676a766931f23c06e2ac5af9b43447ccf03143d329d24b786aac6b248318929399b5fae98f1ec17e676466b5cbd09f180377c483694c569 DIST xlockmore-5.56.tar.xz 1649808 BLAKE2B 82d56a3570bd1be52014503d7c0a36cf27f68aaf31fe4a7ed06159dc796dbd1410711a56fa8e72709499b1ceb3063b2acd9646ba38400669d3671d04e9fb5745 SHA512 1ae5cde5d0167897229e9cb8ebd15e26fdeadc9b0e2d221e6334980f23403385bf1adbd44a955b455e3ecdf8b02b18b0e06273d8dc566b17ac3692ee5ae44f4d DIST xlockmore-5.57.tar.xz 1835880 BLAKE2B b26a9792286ded7647c816b907107b9c524ddbf46afab94c5b6b5dc5d5c918f5715c914ce4246497018bd56fd11329bcd1afe07608e44a70d24dd2c4c3d97e38 SHA512 2107efc7e1e9c811b6f86e9bb048dae3861a4e2f421b3d963856a77746834c08c5d349dc15cb3bc9b9aaf21abdc8f0e4af9463a90359b575604f3393c325400f +DIST xlockmore-5.58ALPHA.tar.xz 1849660 BLAKE2B 9b4be74fb1987bb1c946e63f8cf6ee596c0c0a7af4682cffe78c0341c5d444c111478f9849ff44db3f5d7dba317bcd464e0fc1bd070b5710250da56b392e36df SHA512 0457499376294d3aa295a24e7aa6d40f0da4e2b09aaf85bd0aaa32c9b7a5f52edefab69ec2815994e476f43719ced21f6cde30bcc42f6c0f2ad60884a405c80d EBUILD xlockmore-5.50.ebuild 2165 BLAKE2B feadf465ae112ad5d4b482a0a4fda8293eef90f2daf76076d37175182dfcd2491f7fde83af37298e35eedb65f7c27b3915e3f3ef60b4c3ec1ee6145dad125ee5 SHA512 982a26f33a14d5ccfee07f190cf4a4391c2f767b000e8ebdbe46a6f71650bb4beb9d1758fdf947f801b27bc3f331eac5c9e95d6cd779ebdb5d81e1cedf81c673 EBUILD xlockmore-5.56.ebuild 2422 BLAKE2B 90a79533897d5e0cdab0d3b4fa4009894c50ee6b2f199078e38a9ff873da117dc9c0c5935435c5b640edf4d9c147512ab9e4a57fb70502b150782bc9ed3cfecc SHA512 6d88bf97b12a880203fe79d788db105685ab219c94ee5ccc33ff99d1120d39e3a8c7d5cd4cccddbfc507e13abe0710054e306c0442e5adee625bccf096526895 EBUILD xlockmore-5.57.ebuild 2370 BLAKE2B f03ad7b49be9ca7967c40613573ca4d8559c670d7bbab6a68664467163d37dcfa9f8edd4fca6d695cebcd3c45d1fdaeb72806dddcb086cfecf8ed13972eef7bf SHA512 471580b4e69912f2977e5a7c0e6d6fce3fc5462d031aae67ca8f19aaa7c8df4a96e338d98a7f3ca881466de3e6bd2c890d165048090c24f54a9bc0e78ea6beba +EBUILD xlockmore-5.58_alpha.ebuild 2370 BLAKE2B f03ad7b49be9ca7967c40613573ca4d8559c670d7bbab6a68664467163d37dcfa9f8edd4fca6d695cebcd3c45d1fdaeb72806dddcb086cfecf8ed13972eef7bf SHA512 471580b4e69912f2977e5a7c0e6d6fce3fc5462d031aae67ca8f19aaa7c8df4a96e338d98a7f3ca881466de3e6bd2c890d165048090c24f54a9bc0e78ea6beba MISC metadata.xml 446 BLAKE2B d638ac6f12a203ae9ada10ae4c33e3a3d9901e350b6e6925c50078d66b29343cae42a67f84d5334182c1e816bddb05d062eb7b7e47c9125b273db118c4de573b SHA512 c8fafb010e63c39beeee5b53ad37354d19e98ac4cf33f29606b0af379811a0738c9c70d1fb7c31a5673d4a6365fb658a6a8bf49135b748bea9069a690ce543ed diff --git a/x11-misc/xlockmore/xlockmore-5.58_alpha.ebuild b/x11-misc/xlockmore/xlockmore-5.58_alpha.ebuild new file mode 100644 index 000000000000..360f6c9070f1 --- /dev/null +++ b/x11-misc/xlockmore/xlockmore-5.58_alpha.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools 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/_alpha/ALPHA}.tar.xz + https://dev.gentoo.org/~jer/ax_pthread.m4.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-base/xorg-proto +" + +PATCHES=( + "${FILESDIR}"/${PN}-5.46-freetype261.patch + "${FILESDIR}"/${PN}-5.47-CXX.patch + "${FILESDIR}"/${PN}-5.47-strip.patch +) +S=${WORKDIR}/${P/_alpha/ALPHA} + +src_unpack() { + unpack ${P/_alpha/ALPHA}.tar.xz + xz -cd ${DISTDIR}/ax_pthread.m4.xz > ${S}/ax_pthread.m4 || die +} + +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 +} |