This commit is contained in:
Gerben Jan Dijkman 2021-07-18 19:42:05 +02:00
parent 2ed82b5c35
commit d59e14a5ca
3 changed files with 74 additions and 4 deletions

View File

@ -0,0 +1,39 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit vala meson gnome2-utils git-r3 xdg
DESCRIPTION="Simple application for generating Two-Factor Authentication Codes."
HOMEPAGE="https://gitlab.gnome.org/World/Authenticator"
SRC_URI="hhttps://gitlab.gnome.org/World/Authenticator/-/archive/v${PV}/${PN}-${PV}.tar.gz"
EGIT_REPO_URI="https://gitlab.gnome.org/World/Authenticator.git"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE=""
REQUIRED_USE=""
DEPEND="
gnome-base/gnome-common
x11-libs/gtk+:3
x11-libs/libadwaita
"
RDEPEND="${DEPEND}"
BDEPEND=""
S="${WORKDIR}/$PN-${PV}"
src_install() {
meson_src_install
}
pkg_postinst() {
gnome2_schemas_update
}
pkg_postrm() {
gnome2_schemas_update
}

View File

@ -37,10 +37,6 @@ BDEPEND="
dev-util/wayland-scanner
"
#PATCHES=(
# "${FILESDIR}/0001-use-at-cmds-to-mute.patch"
#)
S="${WORKDIR}/$PN-${PV}"
src_prepare() {

View File

@ -0,0 +1,35 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit vala meson gnome2-utils git-r3 xdg
DESCRIPTION="Building blocks for modern GNOME applications."
HOMEPAGE="https://gitlab.gnome.org/GNOME/libadwaita"
SRC_URI="https://gitlab.gnome.org/GNOME/libadwaita/-/archive/main/libadwaita-main.tar.gz"
EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libadwaita.git"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE=""
REQUIRED_USE=""
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
S="${WORKDIR}/$PN-${PV}"
src_install() {
meson_src_install
}
pkg_postinst() {
gnome2_schemas_update
}
pkg_postrm() {
gnome2_schemas_update
}