aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Strogin <stefan@steils.org>2020-08-14 06:52:07 +0300
committerStefan Strogin <stefan@steils.org>2020-08-14 06:52:07 +0300
commit2b32aac23e672f629c2aeb6705eb250c5e5b1232 (patch)
tree069a3d343128384452ba80bc08de6abb8437c566
parentdev-libs/mtxclient: upgrade to 0.3.1 (diff)
downloadmatrix-2b32aac23e672f629c2aeb6705eb250c5e5b1232.tar.gz
matrix-2b32aac23e672f629c2aeb6705eb250c5e5b1232.tar.bz2
matrix-2b32aac23e672f629c2aeb6705eb250c5e5b1232.zip
net-im/nheko: upgrade to 0.7.2
Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Stefan Strogin <steils@gentoo.org>
-rw-r--r--net-im/nheko/Manifest1
-rw-r--r--net-im/nheko/files/const_lmdb_vals.patch17
-rw-r--r--net-im/nheko/nheko-0.6.4-r1.ebuild54
-rw-r--r--net-im/nheko/nheko-0.7.2.ebuild46
4 files changed, 47 insertions, 71 deletions
diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
new file mode 100644
index 0000000..1af755b
--- /dev/null
+++ b/net-im/nheko/Manifest
@@ -0,0 +1 @@
+DIST nheko-0.7.2.tar.gz 899562 BLAKE2B 39a21c5a164cdc1090479422607297e48ca0e1d5455e3fabd4cf4e2af6ee8527409fbde58b0320ae0938757f055929ca5188e5b4bb9be3d1a2832d66914588a6 SHA512 8f253bdac22a2d3412fcb18671145d9601d8609dbc79358412e81a17a9677a1cb44b6fc4d029f4d850818cb3fe3531adc869a7e54273e7bb17d0aa7ef85dce17
diff --git a/net-im/nheko/files/const_lmdb_vals.patch b/net-im/nheko/files/const_lmdb_vals.patch
deleted file mode 100644
index 24c9fbe..0000000
--- a/net-im/nheko/files/const_lmdb_vals.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/src/Cache.cpp b/src/Cache.cpp
-index 81054dd..dc86895 100644
---- a/src/Cache.cpp
-+++ b/src/Cache.cpp
-@@ -35,9 +35,9 @@
- static const std::string CURRENT_CACHE_FORMAT_VERSION("2018.09.21");
- static const std::string SECRET("secret");
-
--static const lmdb::val NEXT_BATCH_KEY("next_batch");
--static const lmdb::val OLM_ACCOUNT_KEY("olm_account");
--static const lmdb::val CACHE_FORMAT_VERSION_KEY("cache_format_version");
-+static lmdb::val NEXT_BATCH_KEY("next_batch");
-+static lmdb::val OLM_ACCOUNT_KEY("olm_account");
-+static lmdb::val CACHE_FORMAT_VERSION_KEY("cache_format_version");
-
- constexpr size_t MAX_RESTORED_MESSAGES = 30;
-
diff --git a/net-im/nheko/nheko-0.6.4-r1.ebuild b/net-im/nheko/nheko-0.6.4-r1.ebuild
deleted file mode 100644
index 6c85109..0000000
--- a/net-im/nheko/nheko-0.6.4-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 2019-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Desktop client for the Matrix protocol"
-HOMEPAGE="https://github.com/Nheko-Reborn/nheko"
-
-inherit git-r3 eutils cmake-utils xdg-utils
-
-EGIT_REPO_URI="https://github.com/Nheko-Reborn/nheko.git"
-if [[ ${PV} != "9999" ]]; then
- EGIT_COMMIT="v${PV}"
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE=""
-
-PATCHES=(
- "${FILESDIR}/const_lmdb_vals.patch"
-)
-
-RDEPEND=">=dev-qt/qtgui-5.7.1
- >=dev-qt/qtnetwork-5.7.1
- dev-qt/qtmultimedia
- dev-qt/qtsvg
- dev-qt/qtconcurrent
- dev-qt/qtwidgets
- media-libs/fontconfig
- app-text/cmark
- dev-libs/tweeny
- dev-db/lmdb++"
-DEPEND="${RDEPEND}
- >=dev-qt/linguist-tools-5.7.1
- dev-util/ninja
- >=dev-libs/mtxclient-0.2.1"
-
-CMAKE_BUILD_TYPE=Release
-
-src_prepare ()
-{
- sed -i '/-Werror/d' CMakeLists.txt || die
- cmake-utils_src_prepare
-}
-
-pkg_postinst() {
- xdg_desktop_database_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
-}
diff --git a/net-im/nheko/nheko-0.7.2.ebuild b/net-im/nheko/nheko-0.7.2.ebuild
new file mode 100644
index 0000000..261976b
--- /dev/null
+++ b/net-im/nheko/nheko-0.7.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils xdg-utils
+
+DESCRIPTION="Desktop client for the Matrix protocol"
+HOMEPAGE="https://github.com/Nheko-Reborn/nheko"
+SRC_URI="https://github.com/Nheko-Reborn/nheko/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE=""
+
+RDEPEND="app-text/cmark
+ dev-db/lmdb++
+ >=dev-libs/mtxclient-0.3.1
+ dev-libs/tweeny
+ dev-qt/qtconcurrent
+ >=dev-qt/qtgui-5.7.1
+ >=dev-qt/qtnetwork-5.7.1
+ dev-qt/qtmultimedia
+ dev-qt/qtsvg
+ dev-qt/qtwidgets
+ media-libs/fontconfig"
+DEPEND="${RDEPEND}
+ >=dev-qt/linguist-tools-5.7.1
+ dev-util/ninja"
+
+CMAKE_BUILD_TYPE=Release
+
+src_prepare() {
+ sed -i '/-Werror/d' CMakeLists.txt || die
+ cmake-utils_src_prepare
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}