diff options
author | Ulrich Müller <ulm@gentoo.org> | 2019-08-18 13:04:19 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2019-08-18 13:06:08 +0200 |
commit | 3b54cce001a4d8a82839df6efb1092c94d9433ca (patch) | |
tree | 823809caca0a4687b2d1005fdbc977fc3af5b9de /net-im/openmittsu | |
parent | dev-libs/weston: Bump to 6.0.93 (aka 7.0rc1) (diff) | |
download | gentoo-3b54cce001a4d8a82839df6efb1092c94d9433ca.tar.gz gentoo-3b54cce001a4d8a82839df6efb1092c94d9433ca.tar.bz2 gentoo-3b54cce001a4d8a82839df6efb1092c94d9433ca.zip |
net-im/openmittsu: Bump to version 0.9.13.46.
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'net-im/openmittsu')
-rw-r--r-- | net-im/openmittsu/Manifest | 1 | ||||
-rw-r--r-- | net-im/openmittsu/openmittsu-0.9.13.46.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/net-im/openmittsu/Manifest b/net-im/openmittsu/Manifest index 40a2d02833a1..ac64148517e5 100644 --- a/net-im/openmittsu/Manifest +++ b/net-im/openmittsu/Manifest @@ -1 +1,2 @@ DIST openmittsu-0.9.13.32.tar.xz 2078892 BLAKE2B 4960d3046dfe45568f56ddc4ad77677992ac4dc4d618a926a15b35431955c8f30aa20ad236cc3143bc1a24f64a4635fdc072a1c9f921238f1283b81b3d6befb7 SHA512 671ce8ed1a6f9aa8d15ee0d72ce78e2b5aef556243efacec4b0b434eaf5b0bd1b34aa6a0391e42ead9007011cca88e7ba2649f16456a2bf74d22355d1f308a0f +DIST openmittsu-0.9.13.46.tar.xz 2183136 BLAKE2B 3935a00fae8aa937fdc2f629a7dbf2a06cf518fb3758e7c1e191247004fa4077f60dbe2a0e3fba9750405ec069c33b6336cc26f990947ecbb1dabfe3b7b586f6 SHA512 bd58189e7c714f74ec6271a94251f4222dcd4fdb8015d6d01ef57e860804ebfa97aab632f3db94da386bb58bbb674bb4db6b659d2c9ccdeedf8ddd9b026a99c4 diff --git a/net-im/openmittsu/openmittsu-0.9.13.46.ebuild b/net-im/openmittsu/openmittsu-0.9.13.46.ebuild new file mode 100644 index 000000000000..3689bcc19f9e --- /dev/null +++ b/net-im/openmittsu/openmittsu-0.9.13.46.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils desktop + +DESCRIPTION="An open source chat client for Threema-style end-to-end encrypted chat networks" +HOMEPAGE="https://www.openmittsu.de/" +# git-archive-all.sh snapshot of https://github.com/blizzard4591/openMittsu.git +SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz" + +LICENSE="GPL-2+ BitstreamVera OFL-1.1 Apache-2.0 CC0-1.0 MIT BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-db/qt5-sqlcipher + >=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=[widgets] + >=dev-qt/qtnetwork-5.7.1:5=[ssl] + >=dev-qt/qtsql-5.7.1:5=[sqlite] + >=dev-qt/qtwidgets-5.7.1:5= + >=media-gfx/qrencode-3.4.4-r1:=" +DEPEND="${RDEPEND} + test? ( >=dev-cpp/gtest-1.8.0 )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.9.13.32-fix-tests.patch +) + +DOCS=( + README.md + Example-client-configuration-file.ini + Example-contacts-file.txt +) + +src_configure() { + local mycmakeargs=( + # set version manually, since autodetection works only with git + "-DOPENMITTSU_CUSTOM_VERSION_STRING=${PV%.*}-${PV##*.}-00000000" + "-DOPENMITTSU_DISABLE_VERSION_UPDATE_CHECK=ON" + "-DOPENMITTSU_ENABLE_TESTS=$(usex test)" + ) + cmake-utils_src_configure +} + +src_test() { + cd "${BUILD_DIR}" || die + ./openMittsuTests || die +} + +src_install() { + local my_pn="openMittsu" + cmake-utils_src_install + newicon resources/icon.png ${my_pn}.png + make_desktop_entry ${my_pn} ${my_pn} ${my_pn} + rm "${ED}"/usr/bin/${my_pn}VersionInfo || die + rm -f "${ED}"/usr/bin/${my_pn}Tests || die +} |