From 5f575bb2b51859627a39487f9ec2a95a121ee39f Mon Sep 17 00:00:00 2001 From: ktrace Date: Sun, 3 Feb 2019 23:12:32 +0300 Subject: [PATCH] i was born Signed-off-by: ktrace --- LICENSE | 21 +++++++++ README.md | 13 ++++++ metadata/layout.conf | 2 + net-voip/twinkle/Manifest | 1 + .../twinkle-1.10.1-regexp-validator.patch | 31 +++++++++++++ net-voip/twinkle/metadata.xml | 23 ++++++++++ net-voip/twinkle/twinkle-1.10.1.ebuild | 45 +++++++++++++++++++ 7 files changed, 136 insertions(+) create mode 100644 LICENSE create mode 100644 README.md create mode 100644 metadata/layout.conf create mode 100644 net-voip/twinkle/Manifest create mode 100644 net-voip/twinkle/files/twinkle-1.10.1-regexp-validator.patch create mode 100644 net-voip/twinkle/metadata.xml create mode 100644 net-voip/twinkle/twinkle-1.10.1.ebuild diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..275f1d9 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 Victor K + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..60a8703 --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +# redhub-stuff-overlay +Gentoo overlay for different programs. +Create issue when you need add apps, or if you found a bug. Pull requests are welcome. +Best ebuilds for best and most useful apps will move in main tree. + +TODO: +- Weblate +- torrentpier +- pvpgn (maybe move to game overlay) +- veyon +- gitprep +- kamailio +- twinkle diff --git a/metadata/layout.conf b/metadata/layout.conf new file mode 100644 index 0000000..57f22e0 --- /dev/null +++ b/metadata/layout.conf @@ -0,0 +1,2 @@ +masters = gentoo +repo-name = redhub-stuff diff --git a/net-voip/twinkle/Manifest b/net-voip/twinkle/Manifest new file mode 100644 index 0000000..8df97fb --- /dev/null +++ b/net-voip/twinkle/Manifest @@ -0,0 +1 @@ +DIST twinkle-1.10.1.tar.gz 1186647 BLAKE2B f807c9ea13504215256c2273f1aa78058f36da10043469762dde7a215bf29ce7f6528ad47bf4e1d11b1031a585b84ee91b26abf0beed2e3deca4c49b41020627 SHA512 f2e5504309abf884535fb28bfb9eaf9de749cb693e2a07392013559b0d5d0bb1b97837bc7fcd125b8222de1acf1b289ef34d2ed877c19476981045e3d134a3be diff --git a/net-voip/twinkle/files/twinkle-1.10.1-regexp-validator.patch b/net-voip/twinkle/files/twinkle-1.10.1-regexp-validator.patch new file mode 100644 index 0000000..5188abc --- /dev/null +++ b/net-voip/twinkle/files/twinkle-1.10.1-regexp-validator.patch @@ -0,0 +1,31 @@ +--- twinkle.orig/src/gui/diamondcardprofileform.cpp 2016-10-07 11:06:34.000000000 +0300 ++++ twinkle/src/gui/diamondcardprofileform.cpp 2019-01-15 15:07:47.945198463 +0300 +@@ -21,6 +21,7 @@ + + #include + #include ++#include + #include "gui.h" + #include "diamondcard.h" + #include "getprofilenameform.h" +--- twinkle.orig/src/gui/getprofilenameform.cpp 2016-10-07 11:06:34.000000000 +0300 ++++ twinkle/src/gui/getprofilenameform.cpp 2019-01-15 15:07:47.949198463 +0300 +@@ -1,7 +1,7 @@ + #include "getprofilenameform.h" +- + #include + #include ++#include + #include "user.h" + #include "protocol.h" + +--- twinkle.orig/src/gui/inviteform.cpp 2016-10-07 11:06:34.000000000 +0300 ++++ twinkle/work/twinkle/src/gui/inviteform.cpp 2019-01-15 15:07:47.957198463 +0300 +@@ -7,6 +7,7 @@ + #include "sys_settings.h" + #include + #include ++#include + + /* + Copyright (C) 2005-2009 Michel de Boer diff --git a/net-voip/twinkle/metadata.xml b/net-voip/twinkle/metadata.xml new file mode 100644 index 0000000..448a993 --- /dev/null +++ b/net-voip/twinkle/metadata.xml @@ -0,0 +1,23 @@ + + + + + ktrace@yandex.ru + Victor Kustov + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Twinkle is a SIP-based VoIP client, ported to Qt5. + + + + G.729 codec + + + + LubosD/twinkle + + diff --git a/net-voip/twinkle/twinkle-1.10.1.ebuild b/net-voip/twinkle/twinkle-1.10.1.ebuild new file mode 100644 index 0000000..631cbd0 --- /dev/null +++ b/net-voip/twinkle/twinkle-1.10.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils + +DESCRIPTION="Softphone for VoIP communcations using SIP protocol" +HOMEPAGE="http://twinkle.dolezel.info/" +SRC_URI="https://github.com/LubosD/twinkle/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa diamondcard g729 ilbc speex +qt5" + +DEPEND="dev-cpp/commoncpp2 + dev-libs/boost + dev-libs/ucommon + media-libs/fontconfig + media-libs/libsndfile + alsa? ( media-libs/alsa-lib ) + g729? ( media-plugins/mediastreamer-bcg729 ) + ilbc? ( dev-libs/ilbc-rfc3951 ) + speex? ( media-libs/speex )" + +# zrtp? ( net-libs/libzrtpcpp ) + +RDEPEND="${DEPEND}" +BDEPEND="" + +PATCHES=( "${FILESDIR}"/${P}-regexp-validator.patch ) + +src_configure() { + + local mycmakeargs=( + -DWITH_ALSA=$(usex alsa) + -DWITH_DIAMONDCARD=$(usex diamondcard) + -DWITH_G729=$(usex g729) + -DWITH_ILBC=$(usex ilbc) + -DWITH_QT5=$(usex qt5) + -DWITH_SPEEX=$(usex speex) + ) + cmake-utils_src_configure +}