From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 50A2D139694 for ; Sat, 11 Feb 2017 14:21:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9D85FE0DA5; Sat, 11 Feb 2017 14:21:29 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 616DDE0DA5 for ; Sat, 11 Feb 2017 14:21:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 39AA7340EDA for ; Sat, 11 Feb 2017 14:21:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A454C4422 for ; Sat, 11 Feb 2017 14:21:26 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1486822881.aaf9c1fd4c87a99e5514f7b533d03dc9f2b26c2c.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/openmittsu/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/openmittsu/Manifest net-im/openmittsu/openmittsu-0.9.2_p78.ebuild X-VCS-Directories: net-im/openmittsu/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: aaf9c1fd4c87a99e5514f7b533d03dc9f2b26c2c X-VCS-Branch: master Date: Sat, 11 Feb 2017 14:21:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 59883326-7381-4915-88f8-a4405af67258 X-Archives-Hash: c62089407fd54195c3095b8646b44554 commit: aaf9c1fd4c87a99e5514f7b533d03dc9f2b26c2c Author: Ulrich Müller gentoo org> AuthorDate: Sat Feb 11 14:16:05 2017 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Feb 11 14:21:21 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaf9c1fd net-im/openmittsu: Version bump. Package-Manager: Portage-2.3.3, Repoman-2.3.1 net-im/openmittsu/Manifest | 1 + net-im/openmittsu/openmittsu-0.9.2_p78.ebuild | 53 +++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/net-im/openmittsu/Manifest b/net-im/openmittsu/Manifest index d70441fde3..d6753ad961 100644 --- a/net-im/openmittsu/Manifest +++ b/net-im/openmittsu/Manifest @@ -1 +1,2 @@ DIST openMittsu-0.9.2_p75.tar.xz 1304788 SHA256 60366c341f6d2d638699649dfcaef97a734f2c367987d3849986321a515e24a3 SHA512 d5ec9c942e771d51e86895c422e13893421d4a3b0adae9a9dac195f55c40064af2549bc41181b2abb2fe8b8dc0ffdf3c4c40b052e36f0eaf31fc98830b81c5f4 WHIRLPOOL e8c0909e0a46009ef892930957bc1fb6763fbcd0c662f2b2c706482781161eeb3a5c26ee584c1d3a8f5bd1415d84f307bd0b1f707da4f787b4cf7e2e5ad160c6 +DIST openMittsu-0.9.2_p78.tar.xz 1304908 SHA256 9be2d1e35a5995786f0c02383e0aaccd67f8848743417020f70d814f464ecc85 SHA512 4969667bd7430dc5b7d0d756ae5f8f8f64ebd717645a6288a46f49f9b03930d6aceac3a9b3d507e12d0a35b69226e19ec65792af23e5e402cf6c7f693bae145c WHIRLPOOL 4903f37a7ea9addc1739940138d50a6caf716810016900edc107b0f02538f10322040ef734e6159cd099347ac2a988bafc778c3c8a0accd26d3bace4a0930a2c diff --git a/net-im/openmittsu/openmittsu-0.9.2_p78.ebuild b/net-im/openmittsu/openmittsu-0.9.2_p78.ebuild new file mode 100644 index 0000000000..7023b92364 --- /dev/null +++ b/net-im/openmittsu/openmittsu-0.9.2_p78.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils eutils + +MY_PN="openMittsu" +DESCRIPTION="An open source chat client for Threema-style end-to-end encrypted chat networks" +HOMEPAGE="https://github.com/blizzard4591/openMittsu" +# git-archive-all.sh snapshot of https://github.com/blizzard4591/${MY_PN}.git +SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${MY_PN}-${PV}.tar.xz" + +LICENSE="GPL-2+ BitstreamVera OFL-1.1 Apache-2.0 CC0-1.0 MIT" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=">=dev-libs/libsodium-1.0.11:= + >=dev-qt/qtcore-5.7.1:5= + >=dev-qt/qtgui-5.7.1:5= + >=dev-qt/qtmultimedia-5.7.1:5= + >=dev-qt/qtnetwork-5.7.1:5= + >=dev-qt/qtwidgets-5.7.1:5= + >=media-gfx/qrencode-3.4.4-r1" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_PN}-${PV}" + +DOCS=( + README.md + Example-client-configuration-file.ini + Example-contacts-file.txt +) + +src_prepare() { + # set version manually, since autodetection works only with git + sed -i "/git_describe_checkout/\ + s/.*/set(OPENMITTSU_GIT_VERSION_STRING \"${PV/_p/-}-00000000\")/" \ + CMakeLists.txt || die + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=("-DOPENMITTSU_DISABLE_VERSION_UPDATE_CHECK=ON") + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + newicon resources/icon.png ${MY_PN}.png + make_desktop_entry ${MY_PN} ${MY_PN} ${MY_PN} +}