Verified Commit 1c4b8a42 authored by flussence's avatar flussence

net-im/dino-9999 is now in ::gentoo

parent 514624e1
......@@ -93,10 +93,6 @@ Builds OBS from Git.
Probably has too many `USE` flags, but it works and does what I need from it.
You can even build it with no GUI at all, if you're into that sort of thing.
`net-im/dino` 鈥 https://github.com/dino/dino[GTK+3 XMPP program]::
Pretty good in spite of being a thoroughly GNOME 3 app.
Very few dependencies and supports modern E2E crypto.
`sys-process/runit` 鈥 http://smarden.org[An init system you can trust]::
+
--
......
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
CMAKE_MAKEFILE_GENERATOR="ninja"
VALA_MIN_API_VERSION="0.34"
inherit cmake-utils gnome2-utils vala
DESCRIPTION="Modern Jabber/XMPP Client using GTK+/Vala"
HOMEPAGE="https://dino.im"
MY_REPO_URI="https://github.com/dino/dino"
LICENSE="GPL-3"
SLOT="0"
IUSE="+gnupg +http +omemo"
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="${MY_REPO_URI}.git"
inherit git-r3
else
KEYWORDS="~amd64 ~x86"
SRC_URI="${MY_REPO_URI}/archive/${PV}.tar.gz"
fi
RDEPEND="dev-db/sqlite:3
dev-libs/glib
>=dev-libs/libgee-0.10
net-libs/glib-networking
>=x11-libs/gtk+-3.22:3
gnupg? ( app-crypt/gpgme )
http? ( net-libs/libsoup )
omemo? ( dev-libs/libgcrypt:0 )"
DEPEND="$(vala_depend)
${RDEPEND}
sys-devel/gettext"
src_prepare() {
cmake-utils_src_prepare
}
src_configure() {
# this is dumb but setting -DPLUGINS didn't work
# shellcheck disable=SC2207
local disabled_plugins=(
$(usex gnupg "" "openpgp")
$(usex omemo "" "omemo")
$(usex http "" "http-files")
)
local mycmakeargs+=(
"-DDISABLED_PLUGINS=$(local IFS=";"; echo "${disabled_plugins[*]}")"
)
cmake-utils_src_configure
}
update_caches() {
gnome2_icon_cache_update
xdg_desktop_database_update
}
pkg_postinst() {
update_caches
}
pkg_postrm() {
update_caches
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ant+gentoo.bugs@flussence.eu</email>
<name>Anthony Parsons</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/dino/dino/issues</bugs-to>
<remote-id type="github">dino/dino</remote-id>
</upstream>
<use>
<flag name="gnupg">Enable OpenPGP encryption plugin</flag>
<flag name="http">Enable HTTP file upload plugin</flag>
<flag name="omemo">Enable OMEMO encryption plugin</flag>
</use>
</pkgmetadata>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment