net-im/qtox: New ebuild
This version is copied from the tree and bumped. Package-Manager: Portage-2.3.88, Repoman-2.3.20 Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B Signed-off-by: Nils Freydank <holgersson@posteo.de>
This commit is contained in:
parent
bb2e0ce3f2
commit
10387bd596
22
net-im/qtox/Manifest
Normal file
22
net-im/qtox/Manifest
Normal file
@ -0,0 +1,22 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST qtox-1.16.3_p20200223.tar.gz 4783167 BLAKE2B febe9ee40ed800ebae4e3b09c952cc7b6cb8beb16692c055e007f4e745f455685d6486e72d2955228f26730f01120781fa2e67bc37933e7c7755e04bff7357d4 SHA512 88719f618b0a3ca314351d552ef3d1856400d762d912288aaf1902d69449761623e88e22a169b82a516050dd4282a59422bb1162d89fd8e59a8a97e3cec3fe72
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKyEFAl5TgtFfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDcy
|
||||
MERFQ0UyRTUxQUUxNzEzQkQ5NzU5MEJDNURDMjk5OEFBRDJCMjEACgkQvF3CmYqt
|
||||
KyFQtA//aJ6vMwm8OgkNoobEI3gTspAd1+N+RanU7JMRHNckmDk56KdGBz/PvZWz
|
||||
VK0JRaJy8qb6/1ogROUFcYVk57a5ddAyPVnqT5kUTXrL/J7rwIWYbRAsXtmenpxS
|
||||
/JNfr3sNmG87GMt657XoOh43TeL4BpW6Mjx1b6S4f1z1psvo6952rNSyjJ0l7JjZ
|
||||
EjeWIl8mgdkvrUWCxRaeHHcv7oZ4gDXcTNGLC/zpN8F2y8mFAGGNucRhnmGB/XaT
|
||||
SCvJus3TUWoYSEZgPnsiqkGAla2J+5pq16Z2ec2p5hmtOuh0mbN9uT74qE48fJQ8
|
||||
4nlPWUyfo0ZuBk0s0rGOGfy2HdB7/5i4DA5T76AZTPTZa1TGSl0tZj4PVo/pRn5H
|
||||
jkOh3UjOnwwXZE8mMBsKWaxMCcTNbfe2pFBPdogvBweiF2g9TrnfozlzTTpwVfGj
|
||||
X1O5npCNgKbxeOQm0+JzUz8gcvNSwDeztkUhg8cS+/Rn5+BDgz16vQHRINAdoJLi
|
||||
QIsMSTyAhztXpWIcLmq7k7zReZDE1S7TCrEvCj305I+SzWPlSjFyuk+RXOreZEcH
|
||||
rPE4vRoxsqC7WeTlc/na/t0OdM1LbkAyFldb4aB8DXGVbAhfLjqjXRLb2K/cNpeb
|
||||
jenRzjCGfbNMBPBGnDEZvZl0G15yGfmGwKRJMQth+BnFLXyYmeI=
|
||||
=o7Y2
|
||||
-----END PGP SIGNATURE-----
|
15
net-im/qtox/metadata.xml
Normal file
15
net-im/qtox/metadata.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>holgersson@posteo.de</email>
|
||||
<name>Nils Freydank</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="auto-away">Add support to set the state depending on desktop activity</flag>
|
||||
<flag name="notification">Adds support for GTK Status Notifier tray backends</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">qTox/qTox</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
94
net-im/qtox/qtox-1.16.3_p20200223.ebuild
Normal file
94
net-im/qtox/qtox-1.16.3_p20200223.ebuild
Normal file
@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit cmake-utils gnome2-utils xdg-utils
|
||||
|
||||
COMMIT_ID="13cf04fad93e089cf6ef1f75a7b64e50d989d3fa"
|
||||
|
||||
DESCRIPTION="Most feature-rich GUI for net-libs/tox using Qt5"
|
||||
HOMEPAGE="https://github.com/qTox/qTox"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/qTox/qTox.git"
|
||||
inherit git-r3
|
||||
else
|
||||
if [[ ${PV} == *_p* ]]; then
|
||||
SRC_URI="https://github.com/qTox/qTox/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/qTox-${COMMIT_ID}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
else
|
||||
SRC_URI="https://github.com/qTox/qTox/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
S="${WORKDIR}/qTox-${PV}"
|
||||
fi
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+auto-away +notification test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-db/sqlcipher
|
||||
dev-libs/libsodium:=
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtcore:5
|
||||
|| (
|
||||
dev-qt/qtgui:5[gif,jpeg,png,xcb]
|
||||
dev-qt/qtgui:5[gif,jpeg,png,X]
|
||||
)
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtopengl:5
|
||||
dev-qt/qtsql:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
media-gfx/qrencode:=
|
||||
media-libs/libexif:=
|
||||
media-libs/openal
|
||||
media-video/ffmpeg:=[webp,v4l]
|
||||
net-libs/tox:0/0.2[av]
|
||||
notification? ( x11-libs/snorenotify )
|
||||
auto-away? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXScrnSaver
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-qt/linguist-tools:5
|
||||
virtual/pkgconfig
|
||||
test? ( dev-qt/qttest:5 )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
# bug 628574
|
||||
if ! use test; then
|
||||
sed -i CMakeLists.txt -e "/include(Testing)/d" || die
|
||||
sed -i cmake/Dependencies.cmake -e "/find_package(Qt5Test/d" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DDESKTOP_NOTIFICATIONS=$(usex notification)
|
||||
-DUSE_FILTERAUDIO=OFF
|
||||
-DGIT_DESCRIBE="${PV}"
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
Loading…
Reference in New Issue
Block a user