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 7D171138350 for ; Fri, 27 Mar 2020 23:23:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE6CEE0D40; Fri, 27 Mar 2020 23:23:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8FA14E0D40 for ; Fri, 27 Mar 2020 23:23:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2FE0334F0A1 for ; Fri, 27 Mar 2020 23:23:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5849B162 for ; Fri, 27 Mar 2020 23:23:07 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1585351350.468bcbdbc7c8e25e21c6fe48d99fa47be42bca63.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/lurch/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-plugins/lurch/Manifest x11-plugins/lurch/lurch-0.6.8.ebuild x11-plugins/lurch/metadata.xml X-VCS-Directories: x11-plugins/lurch/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 468bcbdbc7c8e25e21c6fe48d99fa47be42bca63 X-VCS-Branch: master Date: Fri, 27 Mar 2020 23:23:07 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 08901879-46f3-4424-9735-6abbfff3ca03 X-Archives-Hash: 87432778c4d81d3cda66c89aabe2f331 commit: 468bcbdbc7c8e25e21c6fe48d99fa47be42bca63 Author: Sebastian Pipping gentoo org> AuthorDate: Fri Mar 27 23:17:34 2020 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Fri Mar 27 23:22:30 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=468bcbdb x11-plugins/lurch: New package Closes: https://bugs.gentoo.org/615052 Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-2.3.92, Repoman-2.3.20 x11-plugins/lurch/Manifest | 1 + x11-plugins/lurch/lurch-0.6.8.ebuild | 67 ++++++++++++++++++++++++++++++++++++ x11-plugins/lurch/metadata.xml | 8 +++++ 3 files changed, 76 insertions(+) diff --git a/x11-plugins/lurch/Manifest b/x11-plugins/lurch/Manifest new file mode 100644 index 00000000000..124d5219be3 --- /dev/null +++ b/x11-plugins/lurch/Manifest @@ -0,0 +1 @@ +DIST lurch-0.6.8.tar.gz 398267 BLAKE2B 23211e82b80e26105f0d62510dc321abdd818eae21dd9f3e24f6ab01458748df64283acb99371a8ece34248f06e9e04edd35da30c771f45779474b3b43c3a53d SHA512 8b93523049d05a00f1d7286ec9d0d8d03c7ae46793ac72ea08c0d12cb5193324be4805fb6278d6c0f906d9c63db9d7ce6ca2a21442236df51e0ee0b48de6ef1d diff --git a/x11-plugins/lurch/lurch-0.6.8.ebuild b/x11-plugins/lurch/lurch-0.6.8.ebuild new file mode 100644 index 00000000000..cb4e4a97bac --- /dev/null +++ b/x11-plugins/lurch/lurch-0.6.8.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +CMAKE_MAKEFILE_GENERATOR=emake # since top-level Makefile expects a child Makefile + +inherit toolchain-funcs cmake-utils + +DESCRIPTION="OMEMO encryption for libpurple (XEP-0384)" +HOMEPAGE="https://github.com/gkdr/lurch" +SRC_URI="https://github.com/gkdr/lurch/releases/download/v${PV}/lurch-${PV}-src.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# NOTE +# - We cannot unbundle net-libs/libsignal-protocol-c +# because upstream uses non-API/internal function +# session_builder_process_pre_key_signal_message +# - The build systems of axc (ex-libaxolotl) +# at https://github.com/gkdr/axc and libomemo +# at https://github.com/gkdr/libomemo build static +# libraries only (*.a) so it is not clear when or +# how to best unbundle them, either +RDEPEND=" + dev-db/sqlite + dev-libs/glib + dev-libs/libgcrypt:= + dev-libs/libxml2 + dev-libs/mxml + net-im/pidgin:= + " +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + " + +CMAKE_USE_DIR="${S}"/lib/axc/lib/libsignal-protocol-c +BUILD_DIR="${CMAKE_USE_DIR}"/build + +src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=OFF # top-level Makefile expects .a file + -DCMAKE_C_FLAGS=-fPIC + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + + local makeargs=( + CC="$(tc-getCC)" + LIBGCRYPT_CONFIG="$(tc-getPROG LIBGCRYPT_CONFIG libgcrypt-config)" + PKG_CONFIG="$(tc-getPKG_CONFIG)" + XML2_CONFIG="$(tc-getPROG XML2_CONFIG xml2-config)" + + CMAKE=/bin/true # to stop Makefile from calling CMake, once more + ) + emake "${makeargs[@]}" +} + +src_install() { + default # use top-level Makefile, not cmake-utils_src_install +} diff --git a/x11-plugins/lurch/metadata.xml b/x11-plugins/lurch/metadata.xml new file mode 100644 index 00000000000..ab886b7f038 --- /dev/null +++ b/x11-plugins/lurch/metadata.xml @@ -0,0 +1,8 @@ + + + + + sping@gentoo.org + Sebastian Pipping + +