From 5a890dc01ae065a3f21d4724a61b478babddfcc7 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Sat, 3 Jun 2017 11:41:01 +0200 Subject: net-im/openmittsu: Version bump. Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- net-im/openmittsu/Manifest | 2 +- net-im/openmittsu/files/openmittsu-cxx14.patch | 36 ------------------- net-im/openmittsu/openmittsu-0.9.2.106.ebuild | 50 -------------------------- net-im/openmittsu/openmittsu-0.9.2.109.ebuild | 48 +++++++++++++++++++++++++ 4 files changed, 49 insertions(+), 87 deletions(-) delete mode 100644 net-im/openmittsu/files/openmittsu-cxx14.patch delete mode 100644 net-im/openmittsu/openmittsu-0.9.2.106.ebuild create mode 100644 net-im/openmittsu/openmittsu-0.9.2.109.ebuild (limited to 'net-im/openmittsu') diff --git a/net-im/openmittsu/Manifest b/net-im/openmittsu/Manifest index 006101263176..71482fa02813 100644 --- a/net-im/openmittsu/Manifest +++ b/net-im/openmittsu/Manifest @@ -1 +1 @@ -DIST openmittsu-0.9.2.106.tar.xz 1315056 SHA256 759727ddeef09546015390c9fffbcbf71bb0f8b9039747d1fa537140ae6f40d5 SHA512 7edd5ac21203f588de848aa712c3c8e588eb1122bb42a860ccc5a4f8c943ed2060b491913c64602f0be5ff3649c85bc6dd5c1c1b1837ad6872fe5f2cfc9bcaf8 WHIRLPOOL acc38be4f13def1bb02c509d802ed8c06bae211c7e31a74c42e999af6d1977951c9d04af13a11c2c13a30c5412602539b025b0eafb5ce1a4162d91165df313a8 +DIST openmittsu-0.9.2.109.tar.xz 1314888 SHA256 cf012e36ce157023082c8efa04ce6d4521ac16044334647c860a07b2ff94ea35 SHA512 ad70ff7c3ceedcf1d6711468152199742533b8f42abbae5ce52f3e29882ae6aea566e8a39258a3d3676a91774e144a70d91967b31e4634f23d527f14325d0a5b WHIRLPOOL f0843eaa35507374a69977c0e023c060f47448d72ea77c3f640b2b5e1ddd87dff756c31c3827c043107af798b5abb58287b07dba8c841be57167d1e8787b1a24 diff --git a/net-im/openmittsu/files/openmittsu-cxx14.patch b/net-im/openmittsu/files/openmittsu-cxx14.patch deleted file mode 100644 index e7de801e522d..000000000000 --- a/net-im/openmittsu/files/openmittsu-cxx14.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 3b7ce3b82deeaa7500b25cccee263845555d8729 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Ulrich=20M=C3=BCller?= -Date: Mon, 24 Apr 2017 20:48:08 +0200 -Subject: [PATCH] Set C++ standard to 14. - -Needed for CMake 3.1.0 or later, which would otherwise fall back -to -std=gnu++11 in flags.make. ---- - CMakeLists.txt | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index aef2b89..401f636 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -85,6 +85,8 @@ if(CMAKE_COMPILER_IS_GNUCC) - # Set standard flags for GCC - set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -funroll-loops") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wall -pedantic") -+ set(CMAKE_CXX_STANDARD 14) -+ set(CMAKE_CXX_STANDARD_REQUIRED ON) - elseif(MSVC) - set(OPENMITTSU_COMPILED_BY "MSVC") - -@@ -112,6 +114,8 @@ else(CLANG) - set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libc++") - endif() - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -stdlib=${CLANG_STDLIB} -Wall -pedantic -Wno-unused-variable -ftemplate-depth=1024") -+ set(CMAKE_CXX_STANDARD 14) -+ set(CMAKE_CXX_STANDARD_REQUIRED ON) - endif() - - # --- -2.12.2 - diff --git a/net-im/openmittsu/openmittsu-0.9.2.106.ebuild b/net-im/openmittsu/openmittsu-0.9.2.106.ebuild deleted file mode 100644 index 14478f6de9ab..000000000000 --- a/net-im/openmittsu/openmittsu-0.9.2.106.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils eutils - -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-2 Boost-1.0" -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/qtsql-5.7.1:5=[sqlite] - >=dev-qt/qtwidgets-5.7.1:5= - >=media-gfx/qrencode-3.4.4-r1" -RDEPEND="${DEPEND}" - -PATCHES=("${FILESDIR}"/${PN}-cxx14.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" - ) - cmake-utils_src_configure -} - -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 -} diff --git a/net-im/openmittsu/openmittsu-0.9.2.109.ebuild b/net-im/openmittsu/openmittsu-0.9.2.109.ebuild new file mode 100644 index 000000000000..04c452cf647c --- /dev/null +++ b/net-im/openmittsu/openmittsu-0.9.2.109.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils eutils + +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-2 Boost-1.0" +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/qtsql-5.7.1:5=[sqlite] + >=dev-qt/qtwidgets-5.7.1:5= + >=media-gfx/qrencode-3.4.4-r1" +RDEPEND="${DEPEND}" + +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" + ) + cmake-utils_src_configure +} + +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 +} -- cgit v1.2.3-65-gdbad