commit: e9100e49a23903ccc259479bc89579f7d190eca3 Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> AuthorDate: Tue Jan 5 14:24:32 2016 +0000 Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> CommitDate: Tue Jan 5 14:24:54 2016 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=e9100e49
sys-auth/elogind: initial ebuild Quick and dirty ebuild for elogind. Should work with plasma on wayland Package-Manager: portage-2.2.26 sys-auth/elogind/elogind-219.12.ebuild | 32 ++++++++++++++++++++++++++++++++ sys-auth/elogind/files/elogind-lrt.patch | 10 ++++++++++ sys-auth/elogind/metadata.xml | 5 +++++ 3 files changed, 47 insertions(+) diff --git a/sys-auth/elogind/elogind-219.12.ebuild b/sys-auth/elogind/elogind-219.12.ebuild new file mode 100644 index 0000000..df20270 --- /dev/null +++ b/sys-auth/elogind/elogind-219.12.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools pam + +DESCRIPTION="The systemd project's logind, extracted to a standalone package" +HOMEPAGE="https://github.com/andywingo/elogind" +SRC_URI="https://github.com/andywingo/elogind/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="pam policykit" + +DEPEND=" + sys-libs/libcap + sys-apps/util-linux + sys-apps/dbus + pam? ( sys-libs/pam ) + policykit? ( sys-auth/polkit ) + " +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${PN}-lrt.patch" ) + +src_prepare() { + epatch ${PATCHES[@]} + eautoreconf +} diff --git a/sys-auth/elogind/files/elogind-lrt.patch b/sys-auth/elogind/files/elogind-lrt.patch new file mode 100644 index 0000000..e4a4225 --- /dev/null +++ b/sys-auth/elogind/files/elogind-lrt.patch @@ -0,0 +1,10 @@ +--- Makefile.am 2015-09-01 14:19:31.000000000 +0300 ++++ Makefile.am 2016-01-05 17:18:44.834511975 +0300 +@@ -778,6 +778,7 @@ + + libelogind_core_la_LIBADD = \ + $(UDEV_LIBS) \ ++ -lrt \ + libelogind-internal.la + + if HAVE_ACL diff --git a/sys-auth/elogind/metadata.xml b/sys-auth/elogind/metadata.xml new file mode 100644 index 0000000..a23f444 --- /dev/null +++ b/sys-auth/elogind/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>kde</herd> +</pkgmetadata>
