summaryrefslogtreecommitdiff
path: root/net-im/qtox
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-im/qtox
reinit the tree, so we can have metadata
Diffstat (limited to 'net-im/qtox')
-rw-r--r--net-im/qtox/Manifest7
-rw-r--r--net-im/qtox/metadata.xml19
-rw-r--r--net-im/qtox/qtox-1.11.0.ebuild79
-rw-r--r--net-im/qtox/qtox-1.8.1.ebuild69
-rw-r--r--net-im/qtox/qtox-9999.ebuild76
5 files changed, 250 insertions, 0 deletions
diff --git a/net-im/qtox/Manifest b/net-im/qtox/Manifest
new file mode 100644
index 000000000000..972e4e67f243
--- /dev/null
+++ b/net-im/qtox/Manifest
@@ -0,0 +1,7 @@
+DIST qtox-1.11.0.tar.lz 2860849 SHA256 c4d3ac9d263fd4e603867fe0ae263bff4f810593cc518858bc1d0c274883652f SHA512 3117b5ec9d88f58023f6c2f5e7c37c547ab920588d385e3abe062fb22ad79c49a9b6eb9ca31c6d56f9d03cfea55ef56ddc7e2e53bd43629825ea7b460b31f505 WHIRLPOOL 26da6d3e330b05e97b75c1046ee3bd818694a60dfa637317333f5e8bf85de5f4c7aed3f9bc2f13f53e13dda1690bc705d776a38e5cf5080fa095dc006cab2c3f
+DIST qtox-1.8.1.tar.gz 3594727 SHA256 32837b5f824b6987a68f9211f93a7ec32b892be895605012d35784d702f13d6c SHA512 9ba32ce43f2d335fe9e07bcca651e0e18ae2f3247e52364918148e400e51f6e2364d1596c7c882674c190bf5438e69cd13e77512eeeec7cba212195e9559a5ae WHIRLPOOL a6bd845a3c8d31ea1c8aa3bee360c46c562aaff0ad35c9d92bdd8167c550904428936edb0e88c0b72362704d2e5b844ea16afcc57704d442cdd6558344572557
+EBUILD qtox-1.11.0.ebuild 1620 SHA256 26810f3b34d35f4462eef85f64ea01b2789bcbf0151ea9847330bc0777029592 SHA512 78eb94640ee216cbc111671e89e4bb3cb647cba0da35da55e4f6c5027a9cb32678efa23fe4c92c53e114be1d823428741b8387632f23fa96fe7478c485532420 WHIRLPOOL 1a0a7c3f501413a6f03d61c8a16ae7763b6db9b34631f064b6ddd43cc53d27f1f9e7c480442d2125ccaa87fbdddd8094c438b45e2a25fb383a3a34b99136e033
+EBUILD qtox-1.8.1.ebuild 1645 SHA256 8ffd697252c347004e7c3a54aea235ce2c997a3102bd265976ab3ea25c166e27 SHA512 77f53452e5de2599f96828de62a42b5827aa716e204ecb907ca882b86851cb8c9152d9855555d25e7913662ab313193ae7cf9c1fd32425e3a2d52554e9c163a2 WHIRLPOOL f803ccb23fd82d3db5d901eab02b0f3a07bd5ad2b1cebc87c49b32267bc660cdaed472f314a9899b0edc7af8bff8d45de3c82ffcd558940ca2b8f6ec80d2b882
+EBUILD qtox-9999.ebuild 1511 SHA256 ac1dfe679213659163a6c685da71ab114d028807b8533c754d23a77ce1dcfcc5 SHA512 b433b3f17dd56d1781b8bf8f45d2416ed0b6c55359c3be9080f6482c9e43bfc0da98342765ccdf6d91b499e34235a6cf552fefd86aad30d70a719e3176ec7880 WHIRLPOOL 191d61013b0ac85eaf1d8a6d2dcbb7d1a8c69fa54e00bb3728938f565aa8453457d3cef6cdfe979dd9db1bd7edefe1dcea9187a1c3519321b332a091c887997f
+MISC ChangeLog 3657 SHA256 e9ad4d46c8010b58842a9db822050160c5db96346737d666b3d9b2d03ebf58e3 SHA512 91311325dafb65cae8034b349acc2d3fcaba7ec89c30b61c9eb81df240d283aabe2b7ae96194f0c7a9d598ecfdca435f3a78946b63ef6b04873daa381f5a7131 WHIRLPOOL 18b7460578c2381f2214b88351bb73abbc98794d3284aaaa532b177d17b2f76c5dedf5429d9508cb61876a2e55c02d31472b8987375d1aa335943702cb3c86ab
+MISC metadata.xml 581 SHA256 a6c2731f8c5f981e2d5826cd4a37e2793e8acd2a2348b3c6317890b52b8514ee SHA512 5309c7c89755e543ff5783db805536cd3d25f6cf7146d2c2b2e090cb0cd04dfe1480cde851ac31c42493ea0279cab3b762001a59b36c0b8c40ab700d4681488b WHIRLPOOL 16f64aa7633215b6971e0683ac4250d4d13c8f17232c92be1ce77b31dffea879390ea7d8f677302c8e9f5afaedf5bf962e9ebef9ef700f2deb87a3be687b7a0b
diff --git a/net-im/qtox/metadata.xml b/net-im/qtox/metadata.xml
new file mode 100644
index 000000000000..32a9c62df147
--- /dev/null
+++ b/net-im/qtox/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zexavexxe@gmail.com</email>
+ <name>Zetok Zalbavar</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="gtk">Adds support for GTK and Status Notifier tray backends</flag>
+ <flag name="X">Adds support for X11</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">qTox/qTox</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-im/qtox/qtox-1.11.0.ebuild b/net-im/qtox/qtox-1.11.0.ebuild
new file mode 100644
index 000000000000..8921fd9330eb
--- /dev/null
+++ b/net-im/qtox/qtox-1.11.0.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils gnome2-utils unpacker xdg-utils
+
+DESCRIPTION="Most feature-rich GUI for net-libs/tox using Qt5"
+HOMEPAGE="https://github.com/qTox/qTox"
+SRC_URI="https://github.com/qTox/qTox/releases/download/v${PV}/v${PV}.tar.lz -> ${P}.tar.lz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk test X"
+
+S="${WORKDIR}"
+
+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/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/openal
+ >=media-video/ffmpeg-2.6.3[webp,v4l]
+ gtk? ( dev-libs/atk
+ dev-libs/glib:2
+ x11-libs/gdk-pixbuf[X]
+ x11-libs/gtk+:2
+ x11-libs/cairo[X]
+ x11-libs/pango[X] )
+ net-libs/tox:0/0.1[av]
+ X? ( x11-libs/libX11
+ x11-libs/libXScrnSaver )
+"
+DEPEND="${RDEPEND}
+ $(unpacker_src_uri_depends)
+ 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)/s/^/#/" || die
+ sed -i cmake/Dependencies.cmake -e "/find_package(Qt5Test/s/^/#/" || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_STATUSNOTIFIER=$(usex gtk)
+ -DENABLE_GTK_SYSTRAY=$(usex gtk)
+ -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
+}
diff --git a/net-im/qtox/qtox-1.8.1.ebuild b/net-im/qtox/qtox-1.8.1.ebuild
new file mode 100644
index 000000000000..57ea1302d280
--- /dev/null
+++ b/net-im/qtox/qtox-1.8.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit qmake-utils toolchain-funcs
+
+DESCRIPTION="Most feature-rich GUI for net-libs/tox using Qt5"
+HOMEPAGE="https://github.com/qTox/qTox"
+SRC_URI="https://github.com/qTox/qTox/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk X"
+
+# needed, since tarball provided by github extracts to `qTox`
+S="${WORKDIR}/qTox-${PV}"
+
+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/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/openal
+ >=media-video/ffmpeg-2.6.3[webp,v4l]
+ gtk? ( dev-libs/atk
+ dev-libs/glib:2
+ x11-libs/gdk-pixbuf[X]
+ x11-libs/gtk+:2
+ x11-libs/cairo[X]
+ x11-libs/pango[X] )
+ net-libs/tox:0/0.1[av]
+ X? ( x11-libs/libX11
+ x11-libs/libXScrnSaver )
+"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+ virtual/pkgconfig
+"
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ if tc-is-gcc ; then
+ if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 8 || $(gcc-major-version) -lt 4 ]] ; then
+ eerror "You need at least sys-devel/gcc-4.8.3"
+ die "You need at least sys-devel/gcc-4.8.3"
+ fi
+ fi
+ fi
+}
+
+src_configure() {
+ use gtk || local NO_GTK_SUPPORT="ENABLE_SYSTRAY_STATUSNOTIFIER_BACKEND=NO ENABLE_SYSTRAY_GTK_BACKEND=NO"
+ use X || local NO_X_SUPPORT="DISABLE_PLATFORM_EXT=YES"
+ eqmake5 \
+ PREFIX="${D}/usr" \
+ GIT_DESCRIBE="${PV}" \
+ ${NO_GTK_SUPPORT} \
+ ${NO_X_SUPPORT}
+}
diff --git a/net-im/qtox/qtox-9999.ebuild b/net-im/qtox/qtox-9999.ebuild
new file mode 100644
index 000000000000..21c7d9d197cb
--- /dev/null
+++ b/net-im/qtox/qtox-9999.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils eutils git-r3 gnome2-utils xdg-utils
+
+DESCRIPTION="Most feature-rich GUI for net-libs/tox using Qt5"
+HOMEPAGE="https://github.com/qTox/qTox"
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/qTox/qTox.git"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS=""
+IUSE="gtk test X"
+
+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/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/openal
+ >=media-video/ffmpeg-2.6.3[webp,v4l]
+ gtk? ( dev-libs/atk
+ dev-libs/glib:2
+ x11-libs/gdk-pixbuf[X]
+ x11-libs/gtk+:2
+ x11-libs/cairo[X]
+ x11-libs/pango[X] )
+ net-libs/tox:0/0.1[av]
+ X? ( 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)/s/^/#/" || die
+ sed -i cmake/Dependencies.cmake -e "/find_package(Qt5Test/s/^/#/" || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_STATUSNOTIFIER=$(usex gtk)
+ -DENABLE_GTK_SYSTRAY=$(usex gtk)
+ )
+
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}