Skip to content

Commit

Permalink
gui-apps/gtkgreet: gtk based greeter for greetd
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Aisha Tammy <[email protected]>
Signed-off-by: Georgy Yakovlev <[email protected]>
  • Loading branch information
epsilon-0 authored and gyakovlev committed Jul 2, 2020
1 parent 27bf7de commit 8fac2f9
Show file tree
Hide file tree
Showing 4 changed files with 103 additions and 0 deletions.
1 change: 1 addition & 0 deletions gui-apps/gtkgreet/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST gtkgreet-0.6.tar.gz 25973 BLAKE2B f05926f9c05b8e164a8f8ca9b4f7091ab42d5d5db08133941ac97c2b6ab0452bf1a75b55dbbcf96579783688501be2148d4728528b63a609a9677587cd59be08 SHA512 00bdd61ea45592c432ba07c62301be7fd89aa3e09dbdaeb0dddd03b4e55e8092b68999ed4d6f2917b66cced57bf55ad68ac61912894683c9dc05b8b5f983ba76
43 changes: 43 additions & 0 deletions gui-apps/gtkgreet/gtkgreet-0.6.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="gtk based greeter for greetd"
HOMEPAGE="https://git.sr.ht/~kennylevinsen/gtkgreet"

inherit meson

if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~kennylevinsen/gtkgreet.git"
else
SRC_URI="https://git.sr.ht/~kennylevinsen/gtkgreet/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi

LICENSE="GPL-3"
SLOT="0"
IUSE="+layershell +man"

DEPEND="
dev-libs/json-c:=
gui-libs/gtk-layer-shell
x11-libs/gtk+:3
"
RDEPEND="
${DEPEND}
gui-libs/greetd
"
BDEPEND="
virtual/pkgconfig
man? ( app-text/scdoc )
"

src_configure() {
local emesonargs=(
$(meson_feature man man-pages)
$(meson_use layershell)
)
meson_src_configure
}
43 changes: 43 additions & 0 deletions gui-apps/gtkgreet/gtkgreet-9999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="gtk based greeter for greetd"
HOMEPAGE="https://git.sr.ht/~kennylevinsen/gtkgreet"

inherit meson

if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~kennylevinsen/gtkgreet.git"
else
SRC_URI="https://git.sr.ht/~kennylevinsen/gtkgreet/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi

LICENSE="GPL-3"
SLOT="0"
IUSE="+layershell +man"

DEPEND="
dev-libs/json-c:=
gui-libs/gtk-layer-shell
x11-libs/gtk+:3
"
RDEPEND="
${DEPEND}
gui-libs/greetd
"
BDEPEND="
virtual/pkgconfig
man? ( app-text/scdoc )
"

src_configure() {
local emesonargs=(
$(meson_feature man man-pages)
$(meson_use layershell)
)
meson_src_configure
}
16 changes: 16 additions & 0 deletions gui-apps/gtkgreet/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<name>Aisha Tammy</name>
</maintainer>
<maintainer type="project">
<email>[email protected]</email>
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="layershell">Enable layer shell support</flag>
<flag name="man">Build and install man pages</flag>
</use>
</pkgmetadata>

0 comments on commit 8fac2f9

Please sign in to comment.