net-im/dino: add ebuild
Package-Manager: Portage-2.3.79, Repoman-2.3.16
This commit is contained in:
parent
d1cbe466a4
commit
1954c2d1bf
3 changed files with 102 additions and 0 deletions
2
net-im/dino/Manifest
Normal file
2
net-im/dino/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
EBUILD dino-20200117.ebuild 1500 BLAKE2B 3c81dc5364ad912e898b7ba950eae3ebca91ac8435ad669b1fcfca3bfcb1bd76e8eb0f13a9756060f16f61d5ca1a7348bb6e68ac8a7b37c57cd7c3b5b567697a SHA512 ec4e9d33f781d24d359f786279e48e3adcd573794f6944aa1f3516458888b7454fe19f30d2d28d87e4b4ac91e0dd480567937da7520a305b919a0f6b7eaa589e
|
||||
MISC metadata.xml 572 BLAKE2B 05ba22b1ae19f6d33a3219526b82d59054bfea5fa09dbbc99ea467969f4236e03988befabda32032ce11cf7ffcf756657293865bf3b47ec2331e91bbcb75e1bf SHA512 c3ed23b37c28f96b7fe7579176de63b6fb44e0845b37b5e857083ff48da02d90aed27ecccec765f89ed1362516f807f134f31de8c6b5770bb9abf38789b5b05f
|
||||
83
net-im/dino/dino-20200117.ebuild
Normal file
83
net-im/dino/dino-20200117.ebuild
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
# 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 git-r3
|
||||
|
||||
DESCRIPTION="Modern Jabber/XMPP Client using GTK+/Vala"
|
||||
HOMEPAGE="https://dino.im"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="+gpg +http +omemo"
|
||||
|
||||
EGIT_REPO_URI="https://github.com/dino/dino.git"
|
||||
if [[ ${PV} != "9999" ]]; then
|
||||
GIT_COMMIT="41f98271660827be6528d275bbbbee43c216fbbf"
|
||||
KEYWORDS="~amd64"
|
||||
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
|
||||
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
|
||||
}
|
||||
17
net-im/dino/metadata.xml
Normal file
17
net-im/dino/metadata.xml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>ischluff@mailbox.org</email>
|
||||
<name>Anton Schubert</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…
Add table
Add a link
Reference in a new issue