summaryrefslogtreecommitdiff
path: root/x11-misc/xautolock
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/xautolock
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/xautolock')
-rw-r--r--x11-misc/xautolock/Manifest6
-rw-r--r--x11-misc/xautolock/metadata.xml8
-rw-r--r--x11-misc/xautolock/xautolock-2.2_p5_p1.ebuild64
3 files changed, 78 insertions, 0 deletions
diff --git a/x11-misc/xautolock/Manifest b/x11-misc/xautolock/Manifest
new file mode 100644
index 000000000000..c386c7b68911
--- /dev/null
+++ b/x11-misc/xautolock/Manifest
@@ -0,0 +1,6 @@
+DIST xautolock-2.2.tgz 35288 SHA256 11f0275175634e6db756e96f5713ec91b8b1c41f8663df54e8a5d27dc71c4da2 SHA512 5f9dcc25cda706610e77a74235c4b421ca3a833d154b1a269057f0774579e1c6ec36fe0e5be5fadd6942ce8c1640a760f891397586b162e6024b524635153d04 WHIRLPOOL c10262350dd39d9e69d491ee2164911ccb6077dd7f8be08981256e4fcb3d7059133fb172360d8f33b12d89e6576f4c4aa6b9d3ea4cdff427e4d5a0dab6ba757c
+DIST xautolock_2.2-5.1.debian.tar.xz 5828 SHA256 52aae5907807b5a39546859e174a30ed0e2dba800bf62c66f5fdb160ba9543d2 SHA512 315f27518b89fa6633e3ce157423cd271f3db3b797fc59febc35aa8b33379bd6eda55ac9c7ccdf996c2d9d50bb6bef3b15add84b39236ace425740238de77e59 WHIRLPOOL 153b319cd804f287d2f5ef026da1a89af0d606cf00840eda0fb31dbaa29e35d5856a878aba8033200b9d177e9b37f674a6c79cd0a6636ad99b9cf54f430a33c2
+EBUILD xautolock-2.2_p5_p1.ebuild 1382 SHA256 54bc38a7e3cc907619dc726f74042352dd2959e48d751dd647628b3bf3755c4f SHA512 5f83774fec75f53de7c5ea8e496f7abaa1ba2d857b3c1630704031da8b60bc1e896f4a3333d112080946692c23aa12512c930b9c02a2ee5a244362ed1b8932f0 WHIRLPOOL 860928bb35438f3881f299951e7233933dbdd50071bfd914dbf1d6788edc11290187e18c9ccc6da6b8839e156fa0aea7e27122e9fde8c46b9fa2976ceb439890
+MISC ChangeLog 3640 SHA256 dade4879fdfef72cadf6508505738d41ace5dc7ad636f622e828588d705b1b13 SHA512 468ffe04b9b36ad5dd320812b1869e54605dc0c8112cc7dfa8d580a230d668453534c6d36f21a797f616eb5bc5e3af4623d434bd366636e50a33de6eb0f696f2 WHIRLPOOL 80b7a5721113617cd3ffe8fbbaabcab919a761ae8163594108094cf93449f913c725217571badfd58a49c705e657fb1e400b7b3f5be1ffe0a06a40f003415209
+MISC ChangeLog-2015 3585 SHA256 3cb44f6b9b11aa478777c41edacd0204ceaf00f715e94f8e92186a8abb6f5164 SHA512 6e2a0c700eeee7255ec9e0367af5cc001d22bcd0001306846d2d53966f1ced0b4d0708d0e6edf603e7443979b69728278c63fa5c3dcf1e7586bcce5c830c09fc WHIRLPOOL e8a6d8e213294935c7083f6680e7194126003da75f98058e090498d71146656cda80e3c4d99fd11237f1fa2bd296b2ee0c0a35daae140ec2bd6543f48802658e
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/xautolock/metadata.xml b/x11-misc/xautolock/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/xautolock/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xautolock/xautolock-2.2_p5_p1.ebuild b/x11-misc/xautolock/xautolock-2.2_p5_p1.ebuild
new file mode 100644
index 000000000000..7192ed11358a
--- /dev/null
+++ b/x11-misc/xautolock/xautolock-2.2_p5_p1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs versionator
+
+DESCRIPTION="An automatic X screen-locker/screen-saver"
+HOMEPAGE="http://www.ibiblio.org/pub/Linux/X11/screensavers/"
+
+DEB_REV_MAJ="$(get_version_component_range 3)"
+DEB_REV_MIN="$(get_version_component_range 4)"
+DEB_REVISION="${DEB_REV_MAJ/p}.${DEB_REV_MIN/p}"
+SRC_URI="
+ ${HOMEPAGE}/${P/_p*/}.tgz
+ mirror://debian/pool/main/x/${PN}/${PN}_${PV/_p*/}-${DEB_REVISION}.debian.tar.xz
+"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+
+RDEPEND="
+ || (
+ x11-misc/alock
+ x11-misc/i3lock
+ x11-misc/slim
+ x11-misc/slock
+ x11-misc/xlockmore
+ x11-misc/xtrlock
+ )
+ x11-libs/libXScrnSaver
+"
+DEPEND="
+ ${RDEPEND}
+ app-text/rman
+ x11-misc/imake
+ x11-proto/scrnsaverproto
+"
+
+S=${WORKDIR}/${P/_p*}
+
+PATCHES=(
+ "${WORKDIR}"/debian/patches/10-fix-memory-corruption.patch
+ "${WORKDIR}"/debian/patches/11-fix-no-dpms.patch
+ "${WORKDIR}"/debian/patches/12-fix-manpage.patch
+ "${WORKDIR}"/debian/patches/13-fix-hppa-build.patch
+ "${WORKDIR}"/debian/patches/14-do-not-use-union-wait-type.patch
+)
+
+src_configure() {
+ xmkmf || die
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CDEBUGFLAGS="${CFLAGS}" \
+ EXTRA_LDOPTIONS="${LDFLAGS}"
+}
+
+src_install () {
+ dobin xautolock
+ newman xautolock.man xautolock.1
+ dodoc Changelog Readme Todo
+}