* [gentoo-commits] repo/gentoo:master commit in: net-im/openmittsu/, net-im/openmittsu/files/
@ 2017-01-29 17:39 99% Ulrich Müller
0 siblings, 0 replies; 1+ results
From: Ulrich Müller @ 2017-01-29 17:39 UTC (permalink / raw
To: gentoo-commits
commit: 7caf5ff3b18c10249533784103f07f5500fa24bd
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 29 17:37:27 2017 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Jan 29 17:38:50 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7caf5ff3
net-im/openmittsu: Initial import.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
net-im/openmittsu/Manifest | 1 +
.../files/openmittsu-0.9.2_p75-libsodium-so.patch | 11 ++++++
net-im/openmittsu/metadata.xml | 7 ++++
net-im/openmittsu/openmittsu-0.9.2_p75.ebuild | 43 ++++++++++++++++++++++
4 files changed, 62 insertions(+)
diff --git a/net-im/openmittsu/Manifest b/net-im/openmittsu/Manifest
new file mode 100644
index 00000000..d70441f
--- /dev/null
+++ b/net-im/openmittsu/Manifest
@@ -0,0 +1 @@
+DIST openMittsu-0.9.2_p75.tar.xz 1304788 SHA256 60366c341f6d2d638699649dfcaef97a734f2c367987d3849986321a515e24a3 SHA512 d5ec9c942e771d51e86895c422e13893421d4a3b0adae9a9dac195f55c40064af2549bc41181b2abb2fe8b8dc0ffdf3c4c40b052e36f0eaf31fc98830b81c5f4 WHIRLPOOL e8c0909e0a46009ef892930957bc1fb6763fbcd0c662f2b2c706482781161eeb3a5c26ee584c1d3a8f5bd1415d84f307bd0b1f707da4f787b4cf7e2e5ad160c6
diff --git a/net-im/openmittsu/files/openmittsu-0.9.2_p75-libsodium-so.patch b/net-im/openmittsu/files/openmittsu-0.9.2_p75-libsodium-so.patch
new file mode 100644
index 00000000..3984b50
--- /dev/null
+++ b/net-im/openmittsu/files/openmittsu-0.9.2_p75-libsodium-so.patch
@@ -0,0 +1,11 @@
+--- openMittsu-orig/cmake/FindLibsodium.cmake
++++ openMittsu/cmake/FindLibsodium.cmake
+@@ -31,7 +31,7 @@
+ ENDIF(MINGW)
+ ELSE (UNIX)
+ SET (LIB_PREFIX "lib")
+- SET (LIB_POSTFIX "a")
++ SET (LIB_POSTFIX "so")
+ ENDIF (WIN32)
+
+ find_path(SODIUM_INCLUDE_DIR
diff --git a/net-im/openmittsu/metadata.xml b/net-im/openmittsu/metadata.xml
new file mode 100644
index 00000000..c665e48
--- /dev/null
+++ b/net-im/openmittsu/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>ulm@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/net-im/openmittsu/openmittsu-0.9.2_p75.ebuild b/net-im/openmittsu/openmittsu-0.9.2_p75.ebuild
new file mode 100644
index 00000000..166cb7c
--- /dev/null
+++ b/net-im/openmittsu/openmittsu-0.9.2_p75.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils
+
+MY_P="openMittsu-${PV}"
+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/openMittsu.git
+SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${MY_P}.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_P}"
+PATCHES=("${FILESDIR}/${P}-libsodium-so.patch")
+MYCMAKEARGS="-DOPENMITTSU_DISABLE_VERSION_UPDATE_CHECK=ON"
+
+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
+
+ default
+}
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2017-01-29 17:39 99% [gentoo-commits] repo/gentoo:master commit in: net-im/openmittsu/, net-im/openmittsu/files/ Ulrich Müller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox