1
0
Fork 0

Tracking utox

This commit is contained in:
Horea Christian 2018-10-05 14:43:07 +02:00
parent 6bb4b9532d
commit bd8c48ef42
4 changed files with 129 additions and 0 deletions

2
net-im/utox/Manifest Executable file
View File

@ -0,0 +1,2 @@
DIST utox-0.16.0.tar.gz 2412270 SHA256 f2a09b6e9daae0152a08ae4085cfb2294ddcce8514a866134fee40dc0684dbe6 SHA512 d0ae6f20bdb99651a355d0d03b376497a6573cd62b379f010b8dc6192967bf43fb16066d2129f8368c62760361f659031133ed15e3908f81d5fc32f14a52b245 WHIRLPOOL c9b45fce564ac2562b0770a8cabfef63b3e23ab7d87b5c5c885b083f71953ed397523bf6d6e488707a4b359288b9c6893c6fd3869558f9c37ff3fec9a0696885
DIST utox-0.16.1.tar.gz 2412331 SHA256 d8fcee0dbf25596e67c4323fc153069552eeeb4d99cdcdc09ca2074ebc38b493 SHA512 60350bf28b8ac067287550ce42bfb9b10502fbe94298ea9d4f00fb257bfc76c6cd9a7ef843719732e8d3e84789a391a95f3f1be732427b99ab8af472844e62a4 WHIRLPOOL b4e6be767d15ecd93010f95d4b58e3473d9fcff4b8929bbab62a09272694bdb780b8e2df8a348d49c4484a2b809c7e39e209840d990eef68c752599adec9aa67

23
net-im/utox/metadata.xml Executable file
View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>horea.christ@gmail.com</email>
<name>Horea Christian</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription lang="en">
A secure and lightning-fast messaging platform for the TOX protocol.
</longdescription>
<upstream>
<remote-id type="github">uTox/uTox</remote-id>
</upstream>
<use>
<flag name="dbus">Adds dbus support for desktop notifications</flag>
<flag name="filter_audio">Adds support for filtering audio input</flag>
</use>
</pkgmetadata>

52
net-im/utox/utox-0.16.0.ebuild Executable file
View File

@ -0,0 +1,52 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit xdg-utils gnome2-utils cmake-utils
DESCRIPTION="Lightweight Tox client"
HOMEPAGE="https://utox.io"
SRC_URI="https://github.com/uTox/uTox/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
IUSE="+dbus filter_audio test"
KEYWORDS="~amd64"
RDEPEND="net-libs/tox[av]
media-libs/freetype
filter_audio? ( media-libs/libfilteraudio )
media-libs/libv4l
media-libs/opus
media-libs/libvpx
x11-libs/libXrender
media-libs/fontconfig
media-libs/openal
x11-libs/libX11
x11-libs/libXext
dbus? ( sys-apps/dbus )"
DEPEND="${RDEPEND}
test? ( dev-libs/check )
virtual/pkgconfig"
S=${WORKDIR}/uTox-${PV}
src_configure() {
local mycmakeargs=(
-DENABLE_FILTERAUDIO=$(usex filter_audio ON OFF)
-DENABLE_DBUS=$(usex dbus ON OFF)
-DENABLE_TESTS=$(usex test ON OFF)
)
cmake-utils_src_configure
}
pkg_postinst() {
xdg_desktop_database_update
gnome2_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
gnome2_icon_cache_update
}

52
net-im/utox/utox-0.16.1.ebuild Executable file
View File

@ -0,0 +1,52 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit xdg-utils gnome2-utils cmake-utils
DESCRIPTION="Lightweight Tox client"
HOMEPAGE="https://utox.io"
SRC_URI="https://github.com/uTox/uTox/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
IUSE="+dbus filter_audio test"
KEYWORDS="~amd64"
RDEPEND="net-libs/tox[av]
media-libs/freetype
filter_audio? ( media-libs/libfilteraudio )
media-libs/libv4l
media-libs/opus
media-libs/libvpx
x11-libs/libXrender
media-libs/fontconfig
media-libs/openal
x11-libs/libX11
x11-libs/libXext
dbus? ( sys-apps/dbus )"
DEPEND="${RDEPEND}
test? ( dev-libs/check )
virtual/pkgconfig"
S=${WORKDIR}/uTox-${PV}
src_configure() {
local mycmakeargs=(
-DENABLE_FILTERAUDIO=$(usex filter_audio ON OFF)
-DENABLE_DBUS=$(usex dbus ON OFF)
-DENABLE_TESTS=$(usex test ON OFF)
)
cmake-utils_src_configure
}
pkg_postinst() {
xdg_desktop_database_update
gnome2_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
gnome2_icon_cache_update
}