public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-libs/libaxc/
@ 2021-02-21 23:49 Sebastian Pipping
  0 siblings, 0 replies; 13+ messages in thread
From: Sebastian Pipping @ 2021-02-21 23:49 UTC (permalink / raw
  To: gentoo-commits

commit:     77abbd1a8db9bed76d7b561abe9a1b49a69f32ed
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 21 23:45:22 2021 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Feb 21 23:49:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77abbd1a

net-libs/libaxc: Add flag static-libs

Closes: https://bugs.gentoo.org/771990
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-3.0.14, Repoman-3.0.2

 net-libs/libaxc/{libaxc-0.3.4.ebuild => libaxc-0.3.4-r1.ebuild} | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/net-libs/libaxc/libaxc-0.3.4.ebuild b/net-libs/libaxc/libaxc-0.3.4-r1.ebuild
similarity index 91%
rename from net-libs/libaxc/libaxc-0.3.4.ebuild
rename to net-libs/libaxc/libaxc-0.3.4-r1.ebuild
index 307fc994eff..118c26c25d8 100644
--- a/net-libs/libaxc/libaxc-0.3.4.ebuild
+++ b/net-libs/libaxc/libaxc-0.3.4-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/gkdr/axc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-3"  # not GPL-3+
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="static-libs"
 
 RDEPEND="
 	dev-db/sqlite
@@ -51,4 +51,8 @@ src_install() {
 	fi
 
 	einstalldocs
+
+	if ! use static-libs ; then
+		rm "${D}/usr/${libdir}/libaxc.a" || die
+	fi
 }


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/libaxc/
@ 2021-02-22 21:09 Sebastian Pipping
  0 siblings, 0 replies; 13+ messages in thread
From: Sebastian Pipping @ 2021-02-22 21:09 UTC (permalink / raw
  To: gentoo-commits

commit:     6bbd8d26d3100628e8995496d626dff69f91d478
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 22 20:44:13 2021 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Mon Feb 22 20:44:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bbd8d26

net-libs/libaxc: Fix tests

Closes: https://bugs.gentoo.org/772023
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-3.0.14, Repoman-3.0.2

 net-libs/libaxc/libaxc-0.3.4-r1.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/net-libs/libaxc/libaxc-0.3.4-r1.ebuild b/net-libs/libaxc/libaxc-0.3.4-r1.ebuild
index 118c26c25d8..1bb316fb715 100644
--- a/net-libs/libaxc/libaxc-0.3.4-r1.ebuild
+++ b/net-libs/libaxc/libaxc-0.3.4-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/gkdr/axc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-3"  # not GPL-3+
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="static-libs"
+IUSE="static-libs test"
 
 RDEPEND="
 	dev-db/sqlite
@@ -22,9 +22,11 @@ RDEPEND="
 DEPEND="
 	${RDEPEND}
 	virtual/pkgconfig
+	test? ( dev-util/cmocka )
 	"
 
 S="${WORKDIR}"/${MY_P}
+RESTRICT="!test? ( test )"
 
 PATCHES=(
 	"${FILESDIR}"/${P}-so-symlinks.patch
@@ -56,3 +58,7 @@ src_install() {
 		rm "${D}/usr/${libdir}/libaxc.a" || die
 	fi
 }
+
+src_test() {
+	emake -j1 test
+}


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/libaxc/
@ 2021-02-22 21:09 Sebastian Pipping
  0 siblings, 0 replies; 13+ messages in thread
From: Sebastian Pipping @ 2021-02-22 21:09 UTC (permalink / raw
  To: gentoo-commits

commit:     8f3c108eac3e085f25e840e42ed5559dfb2d3ee9
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 22 21:06:18 2021 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Mon Feb 22 21:06:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f3c108e

net-libs/libaxc: Fix pkg-config libdir for amd64

Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-3.0.14, Repoman-3.0.2

 net-libs/libaxc/{libaxc-0.3.4-r1.ebuild => libaxc-0.3.4-r2.ebuild} | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net-libs/libaxc/libaxc-0.3.4-r1.ebuild b/net-libs/libaxc/libaxc-0.3.4-r2.ebuild
similarity index 91%
rename from net-libs/libaxc/libaxc-0.3.4-r1.ebuild
rename to net-libs/libaxc/libaxc-0.3.4-r2.ebuild
index 1bb316fb715..d85e8cf5de8 100644
--- a/net-libs/libaxc/libaxc-0.3.4-r1.ebuild
+++ b/net-libs/libaxc/libaxc-0.3.4-r2.ebuild
@@ -50,6 +50,8 @@ src_install() {
 	local libdir="$(get_libdir)"
 	if [[ ${libdir} != lib ]]; then
 		mv "${D}"/usr/{lib,${libdir}} || die
+		sed "s|^libdir=.*|libdir=\${prefix}/${libdir}|" \
+				-i "${D}/usr/${libdir}/pkgconfig/libaxc.pc" || die
 	fi
 
 	einstalldocs


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/libaxc/
@ 2021-04-03 22:15 Sam James
  0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2021-04-03 22:15 UTC (permalink / raw
  To: gentoo-commits

commit:     c41d889b8d7e412f427a4af8f3223a286619b1e0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  3 22:14:28 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr  3 22:14:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c41d889b

net-libs/libaxc: Stabilize 0.3.4-r2 amd64, #779817

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/libaxc/libaxc-0.3.4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libaxc/libaxc-0.3.4-r2.ebuild b/net-libs/libaxc/libaxc-0.3.4-r2.ebuild
index d85e8cf5de8..2b7b0e3e33b 100644
--- a/net-libs/libaxc/libaxc-0.3.4-r2.ebuild
+++ b/net-libs/libaxc/libaxc-0.3.4-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/gkdr/axc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3"  # not GPL-3+
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="static-libs test"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/libaxc/
@ 2021-04-03 22:15 Sam James
  0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2021-04-03 22:15 UTC (permalink / raw
  To: gentoo-commits

commit:     f28661cb6babadf6ee3f3cd216d90393df61f401
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  3 22:14:47 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr  3 22:14:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f28661cb

net-libs/libaxc: Stabilize 0.3.4-r2 x86, #779817

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/libaxc/libaxc-0.3.4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libaxc/libaxc-0.3.4-r2.ebuild b/net-libs/libaxc/libaxc-0.3.4-r2.ebuild
index 2b7b0e3e33b..13ba915719f 100644
--- a/net-libs/libaxc/libaxc-0.3.4-r2.ebuild
+++ b/net-libs/libaxc/libaxc-0.3.4-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/gkdr/axc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3"  # not GPL-3+
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="static-libs test"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/libaxc/
@ 2021-08-22 23:09 Sebastian Pipping
  0 siblings, 0 replies; 13+ messages in thread
From: Sebastian Pipping @ 2021-08-22 23:09 UTC (permalink / raw
  To: gentoo-commits

commit:     33fa09b0dc127aba68a045f84032ed2fd1811cd2
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 22 23:07:45 2021 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Aug 22 23:09:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33fa09b0

net-libs/libaxc: 0.3.5 + GCC 11 test fix

Closes: https://bugs.gentoo.org/803353
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-3.0.22, Repoman-3.0.3

 net-libs/libaxc/Manifest            |  1 +
 net-libs/libaxc/libaxc-0.3.5.ebuild | 62 +++++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/net-libs/libaxc/Manifest b/net-libs/libaxc/Manifest
index aa680ec4949..4528d6764d9 100644
--- a/net-libs/libaxc/Manifest
+++ b/net-libs/libaxc/Manifest
@@ -1 +1,2 @@
 DIST libaxc-0.3.4.tar.gz 40198 BLAKE2B 78fc122eefbc5c6173bdad5cf31734cf95b750c09bddede5b2656a88bede3d6c25fb22af5447681c58eb1f296ee326480e22aacb843d951f1bd7a6933155432a SHA512 7b6b5466ee89d78d3c3a2e7cf961dfb3310bff01947e69e906c83ff97e89d1bdc0e2e92f7bd0d4b48a97af91409f435a4fd869229af5b67b2f66ba464bbfd7b8
+DIST libaxc-0.3.5.tar.gz 40418 BLAKE2B bcafe30c295fb6c5bd075cc7ecb9b81dcb094301a65d51ec7bcff82159c4fecdc6a4a64530e81c429803c8e267c3d6f6ccede8b5fda7d920af1c10c3806d66f0 SHA512 7708c136dfd57cc799ac467bea010ddbdcfe78a4cdae3c5882f97de7674e38e5f183f94fd42dd2df74dfec451f1822ef43122321aca46c042d5355b74e128694

diff --git a/net-libs/libaxc/libaxc-0.3.5.ebuild b/net-libs/libaxc/libaxc-0.3.5.ebuild
new file mode 100644
index 00000000000..fe624430b58
--- /dev/null
+++ b/net-libs/libaxc/libaxc-0.3.5.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="axc-${PV}"
+DESCRIPTION="Client library for libsignal-protocol-c"
+HOMEPAGE="https://github.com/gkdr/axc"
+SRC_URI="https://github.com/gkdr/axc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"  # not GPL-3+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs test"
+
+RDEPEND="
+	dev-db/sqlite
+	dev-libs/glib
+	dev-libs/libgcrypt
+	net-libs/libsignal-protocol-c
+	"
+DEPEND="
+	${RDEPEND}
+	virtual/pkgconfig
+	test? ( dev-util/cmocka )
+	"
+
+S="${WORKDIR}"/${MY_P}
+RESTRICT="!test? ( test )"
+
+DOCS=( CHANGELOG.md README.md )
+
+src_prepare() {
+	rm -R lib || die  # unbundle libsignal-protocol-c
+	default
+}
+
+src_compile() {
+	emake PREFIX=/usr
+}
+
+src_install() {
+	emake DESTDIR="${D}" PREFIX=/usr install
+
+	# Respect libdir other than /usr/lib, e.g. /usr/lib64
+	local libdir="$(get_libdir)"
+	if [[ ${libdir} != lib ]]; then
+		mv "${D}"/usr/{lib,${libdir}} || die
+		sed "s|^libdir=.*|libdir=\${prefix}/${libdir}|" \
+				-i "${D}/usr/${libdir}/pkgconfig/libaxc.pc" || die
+	fi
+
+	einstalldocs
+
+	if ! use static-libs ; then
+		rm "${D}/usr/${libdir}/libaxc.a" || die
+	fi
+}
+
+src_test() {
+	emake -j1 test
+}


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/libaxc/
@ 2021-09-09 12:31 Sebastian Pipping
  0 siblings, 0 replies; 13+ messages in thread
From: Sebastian Pipping @ 2021-09-09 12:31 UTC (permalink / raw
  To: gentoo-commits

commit:     db52e915bc26b21247bb79a9a702c038c7782356
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  9 12:29:53 2021 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Thu Sep  9 12:31:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db52e915

net-libs/libaxc: 0.3.6

Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-3.0.22, Repoman-3.0.3

 net-libs/libaxc/Manifest            |  1 +
 net-libs/libaxc/libaxc-0.3.6.ebuild | 71 +++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

diff --git a/net-libs/libaxc/Manifest b/net-libs/libaxc/Manifest
index 4528d6764d9..248c57f93c7 100644
--- a/net-libs/libaxc/Manifest
+++ b/net-libs/libaxc/Manifest
@@ -1,2 +1,3 @@
 DIST libaxc-0.3.4.tar.gz 40198 BLAKE2B 78fc122eefbc5c6173bdad5cf31734cf95b750c09bddede5b2656a88bede3d6c25fb22af5447681c58eb1f296ee326480e22aacb843d951f1bd7a6933155432a SHA512 7b6b5466ee89d78d3c3a2e7cf961dfb3310bff01947e69e906c83ff97e89d1bdc0e2e92f7bd0d4b48a97af91409f435a4fd869229af5b67b2f66ba464bbfd7b8
 DIST libaxc-0.3.5.tar.gz 40418 BLAKE2B bcafe30c295fb6c5bd075cc7ecb9b81dcb094301a65d51ec7bcff82159c4fecdc6a4a64530e81c429803c8e267c3d6f6ccede8b5fda7d920af1c10c3806d66f0 SHA512 7708c136dfd57cc799ac467bea010ddbdcfe78a4cdae3c5882f97de7674e38e5f183f94fd42dd2df74dfec451f1822ef43122321aca46c042d5355b74e128694
+DIST libaxc-0.3.6.tar.gz 40488 BLAKE2B e59d73e0011b11c0e594297d15353f0e7c378c5ce29c2f747f0a10f7ac302abbe8a0e6f3cad37a652a5a4763d15f393e2cbd7272c4249883c0c99640d18ab518 SHA512 0e02282e42597eaf641fcd620c103c4892b26120f9aec442ce61b99e2a5042d62213bed7786aede296e1024fea26ef9a21950d96a9a520ca6a5d5c524620f42d

diff --git a/net-libs/libaxc/libaxc-0.3.6.ebuild b/net-libs/libaxc/libaxc-0.3.6.ebuild
new file mode 100644
index 00000000000..b5901be4efd
--- /dev/null
+++ b/net-libs/libaxc/libaxc-0.3.6.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+MY_P="axc-${PV}"
+DESCRIPTION="Client library for libsignal-protocol-c"
+HOMEPAGE="https://github.com/gkdr/axc"
+SRC_URI="https://github.com/gkdr/axc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"  # not GPL-3+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs test"
+
+RDEPEND="
+	dev-db/sqlite
+	dev-libs/glib
+	dev-libs/libgcrypt
+	net-libs/libsignal-protocol-c
+	"
+DEPEND="
+	${RDEPEND}
+	virtual/pkgconfig
+	test? ( dev-util/cmocka )
+	"
+
+S="${WORKDIR}"/${MY_P}
+RESTRICT="!test? ( test )"
+
+DOCS=( CHANGELOG.md README.md )
+
+src_prepare() {
+	rm -R lib || die  # unbundle libsignal-protocol-c
+	default
+}
+
+src_compile() {
+	local make_args=(
+		PREFIX=/usr
+
+		AR="$(tc-getAR)"
+		CC="$(tc-getCC)"
+		PKG_CONFIG="$(tc-getPKG_CONFIG)"
+	)
+	emake "${make_args[@]}"
+}
+
+src_install() {
+	emake DESTDIR="${D}" PREFIX=/usr install
+
+	# Respect libdir other than /usr/lib, e.g. /usr/lib64
+	local libdir="$(get_libdir)"
+	if [[ ${libdir} != lib ]]; then
+		mv "${D}"/usr/{lib,${libdir}} || die
+		sed "s|^libdir=.*|libdir=\${prefix}/${libdir}|" \
+				-i "${D}/usr/${libdir}/pkgconfig/libaxc.pc" || die
+	fi
+
+	einstalldocs
+
+	if ! use static-libs ; then
+		rm "${D}/usr/${libdir}/libaxc.a" || die
+	fi
+}
+
+src_test() {
+	emake -j1 test
+}


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/libaxc/
@ 2021-09-27 20:21 Sam James
  0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2021-09-27 20:21 UTC (permalink / raw
  To: gentoo-commits

commit:     0f96a38b56deaff515cd668449193b45c55393ab
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 27 20:20:45 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 27 20:20:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f96a38b

net-libs/libaxc: Stabilize 0.3.6 amd64, #814125

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/libaxc/libaxc-0.3.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libaxc/libaxc-0.3.6.ebuild b/net-libs/libaxc/libaxc-0.3.6.ebuild
index b5901be4efd..1c5658027aa 100644
--- a/net-libs/libaxc/libaxc-0.3.6.ebuild
+++ b/net-libs/libaxc/libaxc-0.3.6.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/gkdr/axc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3"  # not GPL-3+
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="static-libs test"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/libaxc/
@ 2021-09-27 20:21 Sam James
  0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2021-09-27 20:21 UTC (permalink / raw
  To: gentoo-commits

commit:     9b781974209915fcbe6282f7e7532206cfa85501
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 27 20:21:16 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 27 20:21:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b781974

net-libs/libaxc: Stabilize 0.3.6 x86, #814125

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/libaxc/libaxc-0.3.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libaxc/libaxc-0.3.6.ebuild b/net-libs/libaxc/libaxc-0.3.6.ebuild
index 1c5658027aa..6fe97dd4c07 100644
--- a/net-libs/libaxc/libaxc-0.3.6.ebuild
+++ b/net-libs/libaxc/libaxc-0.3.6.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/gkdr/axc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3"  # not GPL-3+
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="static-libs test"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/libaxc/
@ 2021-11-09  4:55 Sam James
  0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2021-11-09  4:55 UTC (permalink / raw
  To: gentoo-commits

commit:     e96ff3984641ca1eec5926ca89cfa51209433cc1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  9 04:53:40 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov  9 04:54:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e96ff398

net-libs/libaxc: run tests in parallel, respect CC in src_test too

- Run tests in parallel (fixed upstream in 0.3.5)
- Respect CC in src_test
- Shift src_test to be above src_install (so it matches the order they're
called in)
- As a bonus, shift pkgconfig to BDEPEND.

Note that test failures seem to be ignored in the upstream Makefile.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/libaxc/libaxc-0.3.6.ebuild | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/net-libs/libaxc/libaxc-0.3.6.ebuild b/net-libs/libaxc/libaxc-0.3.6.ebuild
index 6fe97dd4c07..013ce8f510c 100644
--- a/net-libs/libaxc/libaxc-0.3.6.ebuild
+++ b/net-libs/libaxc/libaxc-0.3.6.ebuild
@@ -23,9 +23,9 @@ RDEPEND="
 	"
 DEPEND="
 	${RDEPEND}
-	virtual/pkgconfig
 	test? ( dev-util/cmocka )
 	"
+BDEPEND="virtual/pkgconfig"
 
 S="${WORKDIR}"/${MY_P}
 RESTRICT="!test? ( test )"
@@ -48,24 +48,26 @@ src_compile() {
 	emake "${make_args[@]}"
 }
 
+src_test() {
+	# TODO: Test failures seem to be ignored in the upstream Makefile?
+	# e.g. https://github.com/gkdr/axc/blob/master/Makefile#L154
+	emake CC="$(tc-getCC)" test
+}
+
 src_install() {
 	emake DESTDIR="${D}" PREFIX=/usr install
 
 	# Respect libdir other than /usr/lib, e.g. /usr/lib64
 	local libdir="$(get_libdir)"
 	if [[ ${libdir} != lib ]]; then
-		mv "${D}"/usr/{lib,${libdir}} || die
+		mv "${ED}"/usr/{lib,${libdir}} || die
 		sed "s|^libdir=.*|libdir=\${prefix}/${libdir}|" \
-				-i "${D}/usr/${libdir}/pkgconfig/libaxc.pc" || die
+				-i "${ED}/usr/${libdir}/pkgconfig/libaxc.pc" || die
 	fi
 
 	einstalldocs
 
 	if ! use static-libs ; then
-		rm "${D}/usr/${libdir}/libaxc.a" || die
+		rm "${ED}/usr/${libdir}/libaxc.a" || die
 	fi
 }
-
-src_test() {
-	emake -j1 test
-}


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/libaxc/
@ 2022-01-29 18:15 Sebastian Pipping
  0 siblings, 0 replies; 13+ messages in thread
From: Sebastian Pipping @ 2022-01-29 18:15 UTC (permalink / raw
  To: gentoo-commits

commit:     8bc681f99d9a2213d571a6d773a5eecafbd2cbb8
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 29 18:14:25 2022 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sat Jan 29 18:15:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bc681f9

net-libs/libaxc: 0.3.7

Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-3.0.30, Repoman-3.0.3

 net-libs/libaxc/Manifest            |  1 +
 net-libs/libaxc/libaxc-0.3.7.ebuild | 73 +++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/net-libs/libaxc/Manifest b/net-libs/libaxc/Manifest
index 248c57f93c76..4ecd71f036be 100644
--- a/net-libs/libaxc/Manifest
+++ b/net-libs/libaxc/Manifest
@@ -1,3 +1,4 @@
 DIST libaxc-0.3.4.tar.gz 40198 BLAKE2B 78fc122eefbc5c6173bdad5cf31734cf95b750c09bddede5b2656a88bede3d6c25fb22af5447681c58eb1f296ee326480e22aacb843d951f1bd7a6933155432a SHA512 7b6b5466ee89d78d3c3a2e7cf961dfb3310bff01947e69e906c83ff97e89d1bdc0e2e92f7bd0d4b48a97af91409f435a4fd869229af5b67b2f66ba464bbfd7b8
 DIST libaxc-0.3.5.tar.gz 40418 BLAKE2B bcafe30c295fb6c5bd075cc7ecb9b81dcb094301a65d51ec7bcff82159c4fecdc6a4a64530e81c429803c8e267c3d6f6ccede8b5fda7d920af1c10c3806d66f0 SHA512 7708c136dfd57cc799ac467bea010ddbdcfe78a4cdae3c5882f97de7674e38e5f183f94fd42dd2df74dfec451f1822ef43122321aca46c042d5355b74e128694
 DIST libaxc-0.3.6.tar.gz 40488 BLAKE2B e59d73e0011b11c0e594297d15353f0e7c378c5ce29c2f747f0a10f7ac302abbe8a0e6f3cad37a652a5a4763d15f393e2cbd7272c4249883c0c99640d18ab518 SHA512 0e02282e42597eaf641fcd620c103c4892b26120f9aec442ce61b99e2a5042d62213bed7786aede296e1024fea26ef9a21950d96a9a520ca6a5d5c524620f42d
+DIST libaxc-0.3.7.tar.gz 41742 BLAKE2B e43220745cbf1e3f375c69218cc0c5bc944e2fbfd1ca2a79be38d8cac9206609f757b8afbf5d5a1411ad29cddbb8edf9cf67b570fe152d91e77e070ddbf4666f SHA512 e9982a54307ebc4fbecdd6482e0ccc9b1d5539047f455f66a4f25c067e2da8eba782163ccf0ad8aac8b11867da5d7efb309c403cdfed464e6865d3e03e09ea11

diff --git a/net-libs/libaxc/libaxc-0.3.7.ebuild b/net-libs/libaxc/libaxc-0.3.7.ebuild
new file mode 100644
index 000000000000..564171853f90
--- /dev/null
+++ b/net-libs/libaxc/libaxc-0.3.7.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+MY_P="axc-${PV}"
+DESCRIPTION="Client library for libsignal-protocol-c"
+HOMEPAGE="https://github.com/gkdr/axc"
+SRC_URI="https://github.com/gkdr/axc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"  # not GPL-3+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs test"
+
+RDEPEND="
+	dev-db/sqlite
+	dev-libs/glib
+	dev-libs/libgcrypt
+	net-libs/libsignal-protocol-c
+	"
+DEPEND="
+	${RDEPEND}
+	test? ( dev-util/cmocka )
+	"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}"/${MY_P}
+RESTRICT="!test? ( test )"
+
+DOCS=( CHANGELOG.md README.md )
+
+src_prepare() {
+	rm -R lib || die  # unbundle libsignal-protocol-c
+	default
+}
+
+src_compile() {
+	local make_args=(
+		PREFIX=/usr
+
+		AR="$(tc-getAR)"
+		CC="$(tc-getCC)"
+		PKG_CONFIG="$(tc-getPKG_CONFIG)"
+	)
+	emake "${make_args[@]}"
+}
+
+src_test() {
+	# TODO: Test failures seem to be ignored in the upstream Makefile?
+	# e.g. https://github.com/gkdr/axc/blob/master/Makefile#L153
+	emake CC="$(tc-getCC)" test
+}
+
+src_install() {
+	emake DESTDIR="${D}" PREFIX=/usr install
+
+	# Respect libdir other than /usr/lib, e.g. /usr/lib64
+	local libdir="$(get_libdir)"
+	if [[ ${libdir} != lib ]]; then
+		mv "${ED}"/usr/{lib,${libdir}} || die
+		sed "s|^libdir=.*|libdir=\${prefix}/${libdir}|" \
+				-i "${ED}/usr/${libdir}/pkgconfig/libaxc.pc" || die
+	fi
+
+	einstalldocs
+
+	if ! use static-libs ; then
+		rm "${ED}/usr/${libdir}/libaxc.a" || die
+	fi
+}


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/libaxc/
@ 2022-10-05 10:27 Sebastian Pipping
  0 siblings, 0 replies; 13+ messages in thread
From: Sebastian Pipping @ 2022-10-05 10:27 UTC (permalink / raw
  To: gentoo-commits

commit:     2b8ff7e7fd4fa732786eebe87b4e8ad4530b61bc
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  5 10:26:08 2022 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Wed Oct  5 10:26:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b8ff7e7

net-libs/libaxc: Fix compilation with clang

Closes: https://bugs.gentoo.org/875104
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>

 net-libs/libaxc/libaxc-0.3.7-r1.ebuild | 75 ++++++++++++++++++++++++++++++++++
 1 file changed, 75 insertions(+)

diff --git a/net-libs/libaxc/libaxc-0.3.7-r1.ebuild b/net-libs/libaxc/libaxc-0.3.7-r1.ebuild
new file mode 100644
index 000000000000..e217a88d83cf
--- /dev/null
+++ b/net-libs/libaxc/libaxc-0.3.7-r1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+MY_P="axc-${PV}"
+DESCRIPTION="Client library for libsignal-protocol-c"
+HOMEPAGE="https://github.com/gkdr/axc"
+SRC_URI="https://github.com/gkdr/axc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"  # not GPL-3+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs test"
+
+RDEPEND="
+	dev-db/sqlite
+	dev-libs/glib
+	dev-libs/libgcrypt
+	net-libs/libsignal-protocol-c
+	"
+DEPEND="
+	${RDEPEND}
+	test? ( dev-util/cmocka )
+	"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}"/${MY_P}
+RESTRICT="!test? ( test )"
+
+DOCS=( CHANGELOG.md README.md )
+
+src_prepare() {
+	rm -R lib || die  # unbundle libsignal-protocol-c
+	default
+}
+
+src_compile() {
+	local make_args=(
+		PREFIX=/usr
+
+		AR="$(tc-getAR)"
+		CC="$(tc-getCC)"
+		PKG_CONFIG="$(tc-getPKG_CONFIG)"
+
+		ARCH=
+	)
+	emake "${make_args[@]}"
+}
+
+src_test() {
+	# TODO: Test failures seem to be ignored in the upstream Makefile?
+	# e.g. https://github.com/gkdr/axc/blob/master/Makefile#L153
+	emake CC="$(tc-getCC)" test
+}
+
+src_install() {
+	emake DESTDIR="${D}" PREFIX=/usr ARCH= install
+
+	# Respect libdir other than /usr/lib, e.g. /usr/lib64
+	local libdir="$(get_libdir)"
+	if [[ ${libdir} != lib ]]; then
+		mv "${ED}"/usr/{lib,${libdir}} || die
+		sed "s|^libdir=.*|libdir=\${prefix}/${libdir}|" \
+				-i "${ED}/usr/${libdir}/pkgconfig/libaxc.pc" || die
+	fi
+
+	einstalldocs
+
+	if ! use static-libs ; then
+		rm "${ED}/usr/${libdir}/libaxc.a" || die
+	fi
+}


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/libaxc/
@ 2022-11-29  1:18 Sebastian Pipping
  0 siblings, 0 replies; 13+ messages in thread
From: Sebastian Pipping @ 2022-11-29  1:18 UTC (permalink / raw
  To: gentoo-commits

commit:     fc194787a1f6485979882bf9cad30d09f0858367
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 29 01:07:32 2022 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Tue Nov 29 01:07:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc194787

net-libs/libaxc: MissingRemoteId

Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>

 net-libs/libaxc/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-libs/libaxc/metadata.xml b/net-libs/libaxc/metadata.xml
index 6a22e9e318bb..98894c7cad99 100644
--- a/net-libs/libaxc/metadata.xml
+++ b/net-libs/libaxc/metadata.xml
@@ -5,4 +5,7 @@
 		<email>sping@gentoo.org</email>
 		<name>Sebastian Pipping</name>
 	</maintainer>
+	<upstream>
+		<remote-id type="github">gkdr/axc</remote-id>
+	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-11-29  1:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-27 20:21 [gentoo-commits] repo/gentoo:master commit in: net-libs/libaxc/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2022-11-29  1:18 Sebastian Pipping
2022-10-05 10:27 Sebastian Pipping
2022-01-29 18:15 Sebastian Pipping
2021-11-09  4:55 Sam James
2021-09-27 20:21 Sam James
2021-09-09 12:31 Sebastian Pipping
2021-08-22 23:09 Sebastian Pipping
2021-04-03 22:15 Sam James
2021-04-03 22:15 Sam James
2021-02-22 21:09 Sebastian Pipping
2021-02-22 21:09 Sebastian Pipping
2021-02-21 23:49 Sebastian Pipping

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox