net-im/dino: removing package
This commit is contained in:
parent
add21fdfba
commit
8b022d2729
|
@ -1 +0,0 @@
|
|||
DIST dino-0.1.0.tar.gz 441638 BLAKE2B 08f332d38af866eed1049fae7d0e207da5a3486fdaf07eb5327e7abf614ac4adc130fd8f2d9465d6cb248ecfe4b809e022a69c72df5879d98719d24635771b33 SHA512 b63bf87dbf7f728f038f22d0dba34770a06d7eb1be2ec249293ff876e16c151165add895ff3cb20a3216c3581d20e10634d454ee8b024b895012efb34f9d7de8
|
|
@ -1,87 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# 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 xdg-utils
|
||||
|
||||
DESCRIPTION="Modern Jabber/XMPP Client using GTK+/Vala"
|
||||
HOMEPAGE="https://dino.im"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="+gpg +http +omemo"
|
||||
|
||||
MY_REPO_URI="https://github.com/dino/dino"
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="${MY_REPO_URI}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
SRC_URI="${MY_REPO_URI}/releases/download/v${PV}/${P}.tar.gz"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
dev-db/sqlite:3
|
||||
dev-libs/glib:2
|
||||
dev-libs/icu
|
||||
dev-libs/libgee:0.8
|
||||
net-libs/glib-networking
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/pango
|
||||
~net-libs/libsignal-protocol-c-2.3.2
|
||||
gpg? ( app-crypt/gpgme:1 )
|
||||
http? ( net-libs/libsoup:2.4 )
|
||||
omemo? (
|
||||
dev-libs/libgcrypt:0
|
||||
media-gfx/qrencode
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
$(vala_depend)
|
||||
${RDEPEND}
|
||||
sys-devel/gettext
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local disabled_plugins=(
|
||||
$(usex gpg "" "openpgp")
|
||||
$(usex omemo "" "omemo")
|
||||
$(usex http "" "http-files")
|
||||
)
|
||||
local mycmakeargs+=(
|
||||
"-DDISABLED_PLUGINS=$(local IFS=";"; echo "${disabled_plugins[*]}")"
|
||||
"-DVALA_EXECUTABLE=${VALAC}"
|
||||
)
|
||||
|
||||
if has test ${FEATURES}; then
|
||||
mycmakeargs+=("-DBUILD_TESTS=yes")
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${BUILD_DIR}"/xmpp-vala-test || die
|
||||
}
|
||||
|
||||
update_caches() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
update_caches
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
update_caches
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrey_utkin@gentoo.org</email>
|
||||
<name>Andrey Utkin</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="gpg">Enable OpenPGP encryption plugin</flag>
|
||||
<flag name="http">Enable HTTP file upload plugin</flag>
|
||||
<flag name="omemo">Enable OMEMO encryption plugin</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
Loading…
Reference in a new issue