mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
net-misc/tootle: new pkg; add version 1.0_alpha2 and live
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
1
net-misc/tootle/Manifest
Normal file
1
net-misc/tootle/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST tootle-1.0_alpha2.tar.gz 794059 BLAKE2B 7dd03b8bdb3f8b9ae3758fc8c3e7f1fa3529ddc61cf3e281ed92330b89c99651e860d213cf1a3818abff24853b20a9562f46ac1c601e94537bf45940166a17aa SHA512 cb51fce1b439a0703be5e0c755aaebd4ad81b87252f19784cbec80ce3c43e94bfc72c5e205e9a016706a8edd4dfffc9ce0ecfddae4fc45f0edec85f5fca9dfcf
|
||||||
11
net-misc/tootle/metadata.xml
Normal file
11
net-misc/tootle/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>xgqt@protonmail.com</email>
|
||||||
|
<name>Maciej Barć</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">bleakgrey/tootle</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
||||||
58
net-misc/tootle/tootle-1.0_alpha2.ebuild
Normal file
58
net-misc/tootle/tootle-1.0_alpha2.ebuild
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit vala meson gnome2-utils xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Mastodon client written in GTK3"
|
||||||
|
HOMEPAGE="https://github.com/bleakgrey/tootle"
|
||||||
|
|
||||||
|
if [[ "${PV}" == *9999* ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/bleakgrey/${PN}.git"
|
||||||
|
else
|
||||||
|
MY_PV="${PV/_/-}"
|
||||||
|
SRC_URI="https://github.com/bleakgrey/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
KEYWORDS="~arm64 ~amd64"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-libs/glib:2
|
||||||
|
dev-libs/json-glib
|
||||||
|
dev-libs/libgee:0.8
|
||||||
|
gui-libs/libhandy:1
|
||||||
|
net-libs/libsoup:2.4
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
xdg_src_prepare
|
||||||
|
vala_src_prepare
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
gnome2_schemas_savelist
|
||||||
|
xdg_pkg_preinst
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_gconf_install
|
||||||
|
gnome2_schemas_update
|
||||||
|
xdg_pkg_postinst
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_gconf_uninstall
|
||||||
|
gnome2_schemas_update
|
||||||
|
xdg_pkg_postrm
|
||||||
|
}
|
||||||
57
net-misc/tootle/tootle-9999.ebuild
Normal file
57
net-misc/tootle/tootle-9999.ebuild
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit vala meson gnome2-utils xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Mastodon client written in GTK3"
|
||||||
|
HOMEPAGE="https://github.com/bleakgrey/tootle"
|
||||||
|
|
||||||
|
if [[ "${PV}" == *9999* ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/bleakgrey/${PN}.git"
|
||||||
|
else
|
||||||
|
MY_PV="${PV/_/-}"
|
||||||
|
SRC_URI="https://github.com/bleakgrey/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-libs/glib:2
|
||||||
|
dev-libs/json-glib
|
||||||
|
dev-libs/libgee:0.8
|
||||||
|
gui-libs/libhandy:1
|
||||||
|
net-libs/libsoup:2.4
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
xdg_src_prepare
|
||||||
|
vala_src_prepare
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
gnome2_schemas_savelist
|
||||||
|
xdg_pkg_preinst
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_gconf_install
|
||||||
|
gnome2_schemas_update
|
||||||
|
xdg_pkg_postinst
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_gconf_uninstall
|
||||||
|
gnome2_schemas_update
|
||||||
|
xdg_pkg_postrm
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user