[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2023-10-04 Thread Conrad Kostecki
commit: 0ca6bb861126138b2c31564621e7f62777a1e391
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Wed Oct  4 14:41:59 2023 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Wed Oct  4 14:41:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ca6bb86

dev-libs/libmpack: drop 1.0.5-r3

Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-libs/libmpack/libmpack-1.0.5-r3.ebuild | 68 --
 1 file changed, 68 deletions(-)

diff --git a/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild
deleted file mode 100644
index 961da8a30902..
--- a/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools toolchain-funcs
-
-DESCRIPTION="Simple implementation of msgpack in C"
-HOMEPAGE="https://github.com/libmpack/libmpack;
-SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 
~x64-macos"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-libtool.patch # 778899
-)
-
-src_prepare() {
-   default
-
-   # Respect users CFLAGS
-   sed -e 's/-ggdb//g' -i Makefile.in || die
-   sed -e 's/-O3//g' -i .config/release.mk || die
-
-   eautoreconf
-}
-
-src_compile() {
-   local myemakeargs=(
-   "VERBOSE=1"
-   "PREFIX=${EPREFIX}/usr"
-   "CC=$(tc-getCC)"
-   "config=release"
-   "LIBDIR=${EPREFIX}/usr/$(get_libdir)"
-   "INCDIR=${EPREFIX}/usr/include"
-   )
-
-   emake "${myemakeargs[@]}" lib-bin
-}
-
-src_test() {
-   emake VERBOSE=1 XLDFLAGS="-shared" test
-}
-
-src_install() {
-   local myemakeargs=(
-   "VERBOSE=1"
-   "PREFIX=${EPREFIX}/usr"
-   "DESTDIR=${D}"
-   "LIBDIR=${EPREFIX}/usr/$(get_libdir)"
-   "INCDIR=${EPREFIX}/usr/include"
-   "XLDFLAGS=-shared"
-   )
-
-   emake "${myemakeargs[@]}" install
-
-   if [[ ${CHOST} == *-darwin* ]] ; then
-   local file="libmpack.0.0.0.dylib"
-   install_name_tool \
-   -id "${EPREFIX}/usr/$(get_libdir)/${file}" \
-   "${ED}/usr/$(get_libdir)/${file}" \
-   || die "Failed to adjust install_name"
-   fi
-
-   find "${ED}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2023-10-03 Thread Sam James
commit: 4fe48c7cc66099951ee2a3cd15f437f80b828d89
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct  3 23:55:19 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct  3 23:55:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fe48c7c

dev-libs/libmpack: Stabilize 1.0.5-r5 amd64, #915153

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libmpack/libmpack-1.0.5-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libmpack/libmpack-1.0.5-r5.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5-r5.ebuild
index 866107e6194a..4dff4252160e 100644
--- a/dev-libs/libmpack/libmpack-1.0.5-r5.ebuild
+++ b/dev-libs/libmpack/libmpack-1.0.5-r5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 
~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 
~x64-macos"
 
 PATCHES=(
"${FILESDIR}"/${P}-libtool.patch # 778899



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2023-10-03 Thread Sam James
commit: 973a3964ca8867fdbf99487a393373eb7cb784c7
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct  3 23:55:18 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct  3 23:55:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=973a3964

dev-libs/libmpack: Stabilize 1.0.5-r5 x86, #915153

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libmpack/libmpack-1.0.5-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libmpack/libmpack-1.0.5-r5.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5-r5.ebuild
index bcc4de7123e2..866107e6194a 100644
--- a/dev-libs/libmpack/libmpack-1.0.5-r5.ebuild
+++ b/dev-libs/libmpack/libmpack-1.0.5-r5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 
~x64-macos"
 
 PATCHES=(
"${FILESDIR}"/${P}-libtool.patch # 778899



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2023-10-03 Thread Sam James
commit: 701cf874b4bd742157baa4fb505efce632c8271e
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct  3 23:55:20 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct  3 23:55:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=701cf874

dev-libs/libmpack: Stabilize 1.0.5-r5 arm64, #915153

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libmpack/libmpack-1.0.5-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libmpack/libmpack-1.0.5-r5.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5-r5.ebuild
index 4dff4252160e..fa56759d2579 100644
--- a/dev-libs/libmpack/libmpack-1.0.5-r5.ebuild
+++ b/dev-libs/libmpack/libmpack-1.0.5-r5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 
~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 
~x64-macos"
 
 PATCHES=(
"${FILESDIR}"/${P}-libtool.patch # 778899



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2023-09-02 Thread Conrad Kostecki
commit: 3913dbc1ef48a2d912604b285e20a058652d5ca0
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sat Sep  2 19:48:01 2023 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Sep  2 19:48:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3913dbc1

dev-libs/libmpack: fix sed

Signed-off-by: Conrad Kostecki  gentoo.org>

 .../libmpack/{libmpack-1.0.5-r4.ebuild => libmpack-1.0.5-r5.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libmpack/libmpack-1.0.5-r4.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5-r5.ebuild
similarity index 96%
rename from dev-libs/libmpack/libmpack-1.0.5-r4.ebuild
rename to dev-libs/libmpack/libmpack-1.0.5-r5.ebuild
index 2b6ab319eef8..bcc4de7123e2 100644
--- a/dev-libs/libmpack/libmpack-1.0.5-r4.ebuild
+++ b/dev-libs/libmpack/libmpack-1.0.5-r5.ebuild
@@ -21,7 +21,7 @@ src_prepare() {
default
 
# Respect users CFLAGS
-   sed -e 's/-ggdb//g' -i Makefile.in || die
+   sed -e 's/-ggdb//g' -i .config/debug.mk || die
sed -e 's/-O3//g' -i .config/release.mk || die
 
eautoreconf



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2023-08-30 Thread Conrad Kostecki
commit: a13cf65c6083a6edf98b1fbf505c348d664097df
Author: Horodniceanu Andrei  proton  me>
AuthorDate: Tue Aug 29 14:59:07 2023 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Wed Aug 30 18:30:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a13cf65c

dev-libs/libmpack: Don't compile during src_install

Signed-off-by: Horodniceanu Andrei  proton.me>
Closes: https://github.com/gentoo/gentoo/pull/32514
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-libs/libmpack/libmpack-1.0.5-r4.ebuild | 69 ++
 1 file changed, 69 insertions(+)

diff --git a/dev-libs/libmpack/libmpack-1.0.5-r4.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5-r4.ebuild
new file mode 100644
index ..2b6ab319eef8
--- /dev/null
+++ b/dev-libs/libmpack/libmpack-1.0.5-r4.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="Simple implementation of msgpack in C"
+HOMEPAGE="https://github.com/libmpack/libmpack;
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-libtool.patch # 778899
+)
+
+src_prepare() {
+   default
+
+   # Respect users CFLAGS
+   sed -e 's/-ggdb//g' -i Makefile.in || die
+   sed -e 's/-O3//g' -i .config/release.mk || die
+
+   eautoreconf
+}
+
+src_compile() {
+   local myemakeargs=(
+   "VERBOSE=1"
+   "PREFIX=${EPREFIX}/usr"
+   "CC=$(tc-getCC)"
+   "config=release"
+   "LIBDIR=${EPREFIX}/usr/$(get_libdir)"
+   "INCDIR=${EPREFIX}/usr/include"
+   )
+
+   emake "${myemakeargs[@]}" lib-bin
+}
+
+src_test() {
+   emake VERBOSE=1 XLDFLAGS="-shared" test
+}
+
+src_install() {
+   local myemakeargs=(
+   "VERBOSE=1"
+   "PREFIX=${EPREFIX}/usr"
+   "DESTDIR=${D}"
+   "config=release"
+   "LIBDIR=${EPREFIX}/usr/$(get_libdir)"
+   "INCDIR=${EPREFIX}/usr/include"
+   "XLDFLAGS=-shared"
+   )
+
+   emake "${myemakeargs[@]}" install
+
+   if [[ ${CHOST} == *-darwin* ]] ; then
+   local file="libmpack.0.0.0.dylib"
+   install_name_tool \
+   -id "${EPREFIX}/usr/$(get_libdir)/${file}" \
+   "${ED}/usr/$(get_libdir)/${file}" \
+   || die "Failed to adjust install_name"
+   fi
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2023-08-05 Thread Conrad Kostecki
commit: d3bdfb88a875e6af2682f327327f20588158b740
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sat Aug  5 22:30:05 2023 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Aug  5 22:40:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3bdfb88

dev-libs/libmpack: fix QA ExcessiveLineLength

Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-libs/libmpack/libmpack-1.0.5-r3.ebuild | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild
index e3c8855055af..961da8a30902 100644
--- a/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild
+++ b/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -58,7 +58,10 @@ src_install() {
 
if [[ ${CHOST} == *-darwin* ]] ; then
local file="libmpack.0.0.0.dylib"
-   install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${file}" 
"${ED}/usr/$(get_libdir)/${file}" || die "Failed to adjust install_name"
+   install_name_tool \
+   -id "${EPREFIX}/usr/$(get_libdir)/${file}" \
+   "${ED}/usr/$(get_libdir)/${file}" \
+   || die "Failed to adjust install_name"
fi
 
find "${ED}" -name '*.la' -delete || die



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2022-07-21 Thread Conrad Kostecki
commit: 6dc6fa9feec0f947250eaf9c56aed2f695337eb8
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Thu Jul 21 08:31:22 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Thu Jul 21 08:31:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dc6fa9f

dev-libs/libmpack: drop 1.0.5-r2

Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-libs/libmpack/libmpack-1.0.5-r2.ebuild | 58 --
 1 file changed, 58 deletions(-)

diff --git a/dev-libs/libmpack/libmpack-1.0.5-r2.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5-r2.ebuild
deleted file mode 100644
index 2168ecc4727e..
--- a/dev-libs/libmpack/libmpack-1.0.5-r2.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="Simple implementation of msgpack in C"
-HOMEPAGE="https://github.com/libmpack/libmpack;
-SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 
~x64-macos"
-
-src_prepare() {
-   default
-
-   # Make compiling verbose
-   sed -e 's/@$(LIBTOOL)/$(LIBTOOL)/g' -i Makefile || die
-
-   # Respect users CFLAGS
-   sed -e 's/-ggdb//g' -i Makefile || die
-   sed -e 's/-O3//g' -i .config/release.mk || die
-}
-
-src_compile() {
-   local myemakeargs=(
-   "PREFIX=${EPREFIX}/usr"
-   "CC=$(tc-getCC)"
-   "config=release"
-   "LIBDIR=/usr/$(get_libdir)"
-   )
-
-   emake "${myemakeargs[@]}" lib-bin
-}
-
-src_test() {
-   emake XLDFLAGS="-shared" test
-}
-
-src_install() {
-   local myemakeargs=(
-   "PREFIX=${EPREFIX}/usr"
-   "DESTDIR=${ED}"
-   "LIBDIR=/usr/$(get_libdir)"
-   "XLDFLAGS=-shared"
-   )
-
-   emake "${myemakeargs[@]}" install
-
-   if [[ ${CHOST} == *-darwin* ]] ; then
-   local file="libmpack.0.0.0.dylib"
-   install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${file}" 
"${ED}/usr/$(get_libdir)/${file}" || die "Failed to adjust install_name"
-   fi
-
-   find "${ED}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2022-07-21 Thread Agostino Sarubbo
commit: 76a965ebcebf92aa652bbe45c773b68940cb088c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul 21 07:13:15 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul 21 07:13:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76a965eb

dev-libs/libmpack: arm64 stable wrt bug #859571

Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libmpack/libmpack-1.0.5-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild
index 30340922afb8..e3c8855055af 100644
--- a/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild
+++ b/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 
~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 
~x64-macos"
 
 PATCHES=(
"${FILESDIR}"/${P}-libtool.patch # 778899



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2022-07-20 Thread Sam James
commit: 96bd022553bd32ce43a6d27ef53d60e02c82bd1e
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 20 20:01:00 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 20 20:01:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96bd0225

dev-libs/libmpack: Stabilize 1.0.5-r3 amd64, #859571

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libmpack/libmpack-1.0.5-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild
index cc6063cbecd3..30340922afb8 100644
--- a/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild
+++ b/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 
~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 
~x64-macos"
 
 PATCHES=(
"${FILESDIR}"/${P}-libtool.patch # 778899



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2022-07-20 Thread Sam James
commit: 3cebaa78c1e8f910805d45c35afab64f46a79ed5
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 20 20:00:57 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 20 20:00:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cebaa78

dev-libs/libmpack: Stabilize 1.0.5-r3 x86, #859571

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libmpack/libmpack-1.0.5-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild
index f1fc343d175b..cc6063cbecd3 100644
--- a/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild
+++ b/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 
~x64-macos"
 
 PATCHES=(
"${FILESDIR}"/${P}-libtool.patch # 778899



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2022-07-15 Thread Sam James
commit: 09d7706c645a5b8faa191c619a358b983978f85e
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 15 07:40:04 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 15 07:40:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09d7706c

dev-libs/libmpack: Stabilize 1.0.5-r2 arm64, #857978

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libmpack/libmpack-1.0.5-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libmpack/libmpack-1.0.5-r2.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5-r2.ebuild
index b0bcd1ed763a..2168ecc4727e 100644
--- a/dev-libs/libmpack/libmpack-1.0.5-r2.ebuild
+++ b/dev-libs/libmpack/libmpack-1.0.5-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 
~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 
~x64-macos"
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2022-07-14 Thread Fabian Groffen
commit: e97e5e3c03d2f1145b777341aafbb713436a842f
Author: Fabian Groffen  gentoo  org>
AuthorDate: Thu Jul 14 19:41:27 2022 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Thu Jul 14 19:43:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e97e5e3c

dev-libs/libmpack-1.0.5-r3: fix for Prefix, bug #831898

Patch by Victor Ananyev in bug 831898#c3

Closes: https://bugs.gentoo.org/831898
Signed-off-by: Fabian Groffen  gentoo.org>

 dev-libs/libmpack/libmpack-1.0.5-r3.ebuild | 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild
index ee84302d76e2..f1fc343d175b 100644
--- a/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild
+++ b/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild
@@ -33,7 +33,8 @@ src_compile() {
"PREFIX=${EPREFIX}/usr"
"CC=$(tc-getCC)"
"config=release"
-   "LIBDIR=/usr/$(get_libdir)"
+   "LIBDIR=${EPREFIX}/usr/$(get_libdir)"
+   "INCDIR=${EPREFIX}/usr/include"
)
 
emake "${myemakeargs[@]}" lib-bin
@@ -47,8 +48,9 @@ src_install() {
local myemakeargs=(
"VERBOSE=1"
"PREFIX=${EPREFIX}/usr"
-   "DESTDIR=${ED}"
-   "LIBDIR=/usr/$(get_libdir)"
+   "DESTDIR=${D}"
+   "LIBDIR=${EPREFIX}/usr/$(get_libdir)"
+   "INCDIR=${EPREFIX}/usr/include"
"XLDFLAGS=-shared"
)
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/files/, dev-libs/libmpack/

2022-06-19 Thread Sam James
commit: 2990abfcf26b5be52767550acc6695263bf28b85
Author: orbea  riseup  net>
AuthorDate: Sat Jun 18 02:07:01 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jun 20 02:03:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2990abfc

dev-libs/libmpack: Fix build with rlibtool

The build uses libtool, but does not use autoconf meaning the libtool
script is never generated and the build falls back to the system
version.

This is problematic with rlibtool which depends on the generated libtool
to determine if it should build shared or static libraries.

This patch fixes the issue by creating a minimal configure.ac only for
libtool.

Bug: https://bugs.gentoo.org/778899
Signed-off-by: orbea  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/25950
Signed-off-by: Sam James  gentoo.org>

 .../libmpack/files/libmpack-1.0.5-libtool.patch| 89 ++
 dev-libs/libmpack/libmpack-1.0.5-r3.ebuild | 63 +++
 2 files changed, 152 insertions(+)

diff --git a/dev-libs/libmpack/files/libmpack-1.0.5-libtool.patch 
b/dev-libs/libmpack/files/libmpack-1.0.5-libtool.patch
new file mode 100644
index ..59ebd91fc9e4
--- /dev/null
+++ b/dev-libs/libmpack/files/libmpack-1.0.5-libtool.patch
@@ -0,0 +1,89 @@
+https://bugs.gentoo.org/778899
+
+Author: orbea 
+Date:   Fri Jun 17 17:29:51 2022 -0700
+
+configure: Add minimal configure.ac for libtool
+
+diff --git a/Makefile b/Makefile.in
+similarity index 92%
+rename from Makefile
+rename to Makefile.in
+index 76cfd35..2c05a99 100644
+--- a/Makefile
 b/Makefile.in
+@@ -4,11 +4,9 @@
+ config ?= debug
+ SYSTEM ?= $(shell uname -s)
+ 
+-ifeq ($(SYSTEM),Darwin)
+-  LIBTOOL ?= glibtool
+-else
+-  LIBTOOL ?= libtool
+-endif
++top_builddir = @top_builddir@
++
++LIBTOOL := @LIBTOOL@
+ 
+ ifneq ($(VERBOSE),1)
+   LIBTOOL += --quiet
+@@ -33,11 +31,11 @@ else
+   XCFLAGS += -std=c99
+ endif
+ 
+-NAME:= mpack
+-MAJOR   := 1
+-MINOR   := 0
+-PATCH   := 3
+-VERSION := $(MAJOR).$(MINOR).$(PATCH)
++NAME:= @PACKAGE_NAME@
++MAJOR   := @MAJOR@
++MINOR   := @MINOR@
++PATCH   := @PATCH@
++VERSION := @PACKAGE_VERSION@
+ 
+ LT_REVISION=0
+ LT_CURRENT=0
+@@ -130,6 +128,11 @@ clean:
+ $(TOBJ): XCFLAGS := $(filter-out $(TEST_FILTER_OUT),$(XCFLAGS)) \
+   -std=gnu99 -Wno-conversion -Wno-unused-parameter
+ 
++$(OUTDIR)/.tag:
++  @mkdir -p $(OUTDIR)/$(SRCDIR)
++  @mkdir -p $(OUTDIR)/$(TESTDIR)/deps/tap
++  @touch $@
++
+ $(COVOUT): $(SRC) $(TSRC)
+   find $(OUTDIR) -type f -name '*.gcda' -print0 | xargs -0 rm -f
+   $(MAKE) CFLAGS='-DNDEBUG -g --coverage' LDFLAGS=--coverage 
config=$(config) test
+@@ -142,7 +145,7 @@ $(PROFOUT): $(SRC) $(TSRC)
+   gprof $(OUTDIR)/run-tests gmon.out > $@
+   rm gmon.out
+ 
+-$(OUTDIR)/%.lo: %.c $(AMALG)
++$(OUTDIR)/%.lo: %.c $(AMALG) $(OUTDIR)/.tag
+   @echo compile $< =\> $@
+   @$(LIBTOOL) --mode=compile --tag=CC $(CC) $(XCFLAGS) $(CFLAGS) -o $@ -c 
$<
+ 
+diff --git a/configure.ac b/configure.ac
+new file mode 100644
+index 000..d2f02e7
+--- /dev/null
 b/configure.ac
+@@ -0,0 +1,16 @@
++m4_define([MAJOR], [1])
++m4_define([MINOR], [0])
++m4_define([PATCH], [5])
++
++AC_INIT([mpack], [MAJOR.MINOR.PATCH])
++AC_CONFIG_FILES([Makefile])
++
++LT_INIT
++
++AC_SUBST([top_builddir], [$abs_builddir])
++
++AC_SUBST([MAJOR], [MAJOR])
++AC_SUBST([MINOR], [MINOR])
++AC_SUBST([PATCH], [PATCH])
++
++AC_OUTPUT

diff --git a/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild
new file mode 100644
index ..ee84302d76e2
--- /dev/null
+++ b/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="Simple implementation of msgpack in C"
+HOMEPAGE="https://github.com/libmpack/libmpack;
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-libtool.patch # 778899
+)
+
+src_prepare() {
+   default
+
+   # Respect users CFLAGS
+   sed -e 's/-ggdb//g' -i Makefile.in || die
+   sed -e 's/-O3//g' -i .config/release.mk || die
+
+   eautoreconf
+}
+
+src_compile() {
+   local myemakeargs=(
+   "VERBOSE=1"
+   "PREFIX=${EPREFIX}/usr"
+   "CC=$(tc-getCC)"
+   "config=release"
+   "LIBDIR=/usr/$(get_libdir)"
+   )
+
+   emake "${myemakeargs[@]}" lib-bin
+}
+
+src_test() {
+   emake VERBOSE=1 XLDFLAGS="-shared" test
+}
+
+src_install() {
+   local myemakeargs=(
+   "VERBOSE=1"
+   "PREFIX=${EPREFIX}/usr"
+   "DESTDIR=${ED}"
+   "LIBDIR=/usr/$(get_libdir)"
+   "XLDFLAGS=-shared"
+   )
+
+   emake 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2022-02-20 Thread Conrad Kostecki
commit: 5556775b66ecf5de31e908b052967c03b8db9952
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Feb 20 15:03:34 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Feb 20 15:03:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5556775b

dev-libs/libmpack: fix prefix

Closes: https://bugs.gentoo.org/831898
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../libmpack/{libmpack-1.0.5-r1.ebuild => libmpack-1.0.5-r2.ebuild}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libmpack/libmpack-1.0.5-r1.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5-r2.ebuild
similarity index 95%
rename from dev-libs/libmpack/libmpack-1.0.5-r1.ebuild
rename to dev-libs/libmpack/libmpack-1.0.5-r2.ebuild
index f50ff445c44d..b0bcd1ed763a 100644
--- a/dev-libs/libmpack/libmpack-1.0.5-r1.ebuild
+++ b/dev-libs/libmpack/libmpack-1.0.5-r2.ebuild
@@ -26,7 +26,7 @@ src_prepare() {
 
 src_compile() {
local myemakeargs=(
-   "PREFIX=/usr"
+   "PREFIX=${EPREFIX}/usr"
"CC=$(tc-getCC)"
"config=release"
"LIBDIR=/usr/$(get_libdir)"
@@ -41,7 +41,7 @@ src_test() {
 
 src_install() {
local myemakeargs=(
-   "PREFIX=/usr"
+   "PREFIX=${EPREFIX}/usr"
"DESTDIR=${ED}"
"LIBDIR=/usr/$(get_libdir)"
"XLDFLAGS=-shared"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2021-10-11 Thread Yixun Lan
commit: beffc4ee77282dd312c8777c9074aa3b211b57dd
Author: Yongxiang Liang  gmail  com>
AuthorDate: Sun Oct 10 15:04:12 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Oct 11 13:45:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=beffc4ee

dev-libs/libmpack: keyword ~riscv

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Yongxiang Liang  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-libs/libmpack/libmpack-1.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libmpack/libmpack-1.0.5.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5.ebuild
index fdebde99d87..3b35596600f 100644
--- a/dev-libs/libmpack/libmpack-1.0.5.ebuild
+++ b/dev-libs/libmpack/libmpack-1.0.5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 
~x64-macos"
 
 DEPEND=""
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2021-04-21 Thread Conrad Kostecki
commit: ed25104c803fa757ad43d8b333058a494f6c6ea7
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Wed Apr 21 20:12:54 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Wed Apr 21 20:29:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed25104c

dev-libs/libmpack: add ~ppc ~ppc64 keyword

Bug: https://bugs.gentoo.org/783423
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-libs/libmpack/libmpack-1.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libmpack/libmpack-1.0.5.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5.ebuild
index 6b505fdff20..fdebde99d87 100644
--- a/dev-libs/libmpack/libmpack-1.0.5.ebuild
+++ b/dev-libs/libmpack/libmpack-1.0.5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~sparc x86 ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x64-macos"
 
 DEPEND=""
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2021-04-18 Thread Sergei Trofimovich
commit: 2568e393c7df2d68542b8ef0808f493f1750ec75
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Apr 18 18:10:54 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Apr 18 19:41:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2568e393

dev-libs/libmpack: keyworded 1.0.5 for hppa/sparc, bug #783420

Package-Manager: Portage-3.0.17, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/libmpack/libmpack-1.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libmpack/libmpack-1.0.5.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5.ebuild
index 59450db31cb..b77651a239b 100644
--- a/dev-libs/libmpack/libmpack-1.0.5.ebuild
+++ b/dev-libs/libmpack/libmpack-1.0.5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86 ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~sparc x86 ~x64-macos"
 
 DEPEND=""
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2021-03-27 Thread Sam James
commit: bb85e06389274ecee00f7c62abf280a8b5449ee3
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 28 01:16:44 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 28 01:26:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb85e063

dev-libs/libmpack: fix WhitespaceFound

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libmpack/libmpack-1.0.5.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-libs/libmpack/libmpack-1.0.5.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5.ebuild
index 6c07fbb2582..59450db31cb 100644
--- a/dev-libs/libmpack/libmpack-1.0.5.ebuild
+++ b/dev-libs/libmpack/libmpack-1.0.5.ebuild
@@ -54,9 +54,9 @@ src_install() {
emake "${myemakeargs[@]}" install
 
if [[ ${CHOST} == *-darwin* ]] ; then
-local file="libmpack.0.0.0.dylib"
-install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${file}" 
"${ED}/usr/$(get_libdir)/${file}" || die "Failed to adjust install_name"
-fi
+   local file="libmpack.0.0.0.dylib"
+   install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${file}" 
"${ED}/usr/$(get_libdir)/${file}" || die "Failed to adjust install_name"
+   fi
 
find "${ED}" -name '*.la' -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2021-03-07 Thread Aaron Bauman
commit: c6170e322999b2a94121b1d467bb101e894663dd
Author: Aaron Bauman  gentoo  org>
AuthorDate: Mon Mar  8 02:01:18 2021 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Mar  8 02:02:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6170e32

dev-libs/libmpack: fix build on Darwin and keyword

Signed-off-by: Aaron Bauman  gentoo.org>

 dev-libs/libmpack/libmpack-1.0.5.ebuild | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/dev-libs/libmpack/libmpack-1.0.5.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5.ebuild
index 4885407e7e5..6c07fbb2582 100644
--- a/dev-libs/libmpack/libmpack-1.0.5.ebuild
+++ b/dev-libs/libmpack/libmpack-1.0.5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86"
+KEYWORDS="amd64 ~arm ~arm64 x86 ~x64-macos"
 
 DEPEND=""
 RDEPEND="${DEPEND}"
@@ -30,6 +30,7 @@ src_prepare() {
 
 src_compile() {
local myemakeargs=(
+   "PREFIX=/usr"
"CC=$(tc-getCC)"
"config=release"
"LIBDIR=/usr/$(get_libdir)"
@@ -52,5 +53,10 @@ src_install() {
 
emake "${myemakeargs[@]}" install
 
+   if [[ ${CHOST} == *-darwin* ]] ; then
+local file="libmpack.0.0.0.dylib"
+install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${file}" 
"${ED}/usr/$(get_libdir)/${file}" || die "Failed to adjust install_name"
+fi
+
find "${ED}" -name '*.la' -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2021-01-22 Thread Sam James
commit: 2a1e1ceb367507b692b31153c474417c979808e8
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan 23 04:19:53 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 23 04:19:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a1e1ceb

dev-libs/libmpack: Stabilize 1.0.5 x86, #766528

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libmpack/libmpack-1.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libmpack/libmpack-1.0.5.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5.ebuild
index f486dbed868..4885407e7e5 100644
--- a/dev-libs/libmpack/libmpack-1.0.5.ebuild
+++ b/dev-libs/libmpack/libmpack-1.0.5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 x86"
 
 DEPEND=""
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2021-01-22 Thread Sam James
commit: 9b642b124f484d41e94dc264e339924b340a6801
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan 23 04:09:42 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 23 04:09:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b642b12

dev-libs/libmpack: Stabilize 1.0.5 amd64, #766528

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libmpack/libmpack-1.0.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libmpack/libmpack-1.0.5.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5.ebuild
index c31fbb838b6..f486dbed868 100644
--- a/dev-libs/libmpack/libmpack-1.0.5.ebuild
+++ b/dev-libs/libmpack/libmpack-1.0.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~x86"
 
 DEPEND=""
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2020-12-05 Thread Conrad Kostecki
commit: a7faf3a9e42f8ea52bf2ea3c99d30d2ae85ca3e9
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sat Dec  5 20:55:42 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Dec  5 20:55:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7faf3a9

dev-libs/libmpack: fix tests

Closes: https://bugs.gentoo.org/757831
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-libs/libmpack/libmpack-1.0.5.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-libs/libmpack/libmpack-1.0.5.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5.ebuild
index 479c92bd7b2..c31fbb838b6 100644
--- a/dev-libs/libmpack/libmpack-1.0.5.ebuild
+++ b/dev-libs/libmpack/libmpack-1.0.5.ebuild
@@ -38,6 +38,10 @@ src_compile() {
emake "${myemakeargs[@]}" lib-bin
 }
 
+src_test() {
+   emake XLDFLAGS="-shared" test
+}
+
 src_install() {
local myemakeargs=(
"PREFIX=/usr"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libmpack/

2020-11-29 Thread Conrad Kostecki
commit: 812e799438544560111c81fb6abfd1f0b80857f9
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Nov 29 18:31:57 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Nov 29 18:48:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=812e7994

dev-libs/libmpack: new package

This is the mpack C lib, which will be needed for a newer lua mpack
module version.

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-libs/libmpack/Manifest  |  1 +
 dev-libs/libmpack/libmpack-1.0.5.ebuild | 52 +
 dev-libs/libmpack/metadata.xml  | 11 +++
 3 files changed, 64 insertions(+)

diff --git a/dev-libs/libmpack/Manifest b/dev-libs/libmpack/Manifest
new file mode 100644
index 000..f158170965e
--- /dev/null
+++ b/dev-libs/libmpack/Manifest
@@ -0,0 +1 @@
+DIST libmpack-1.0.5.tar.gz 32966 BLAKE2B 
8ad01de11c740c3efc7b42046b89f7691dd32d228e126485bc49224e54789e7f12a611982c0fd9d2bbe8b06d1ce2df1ceea1b302e139e30d0a8c31f251129166
 SHA512 
6e30edafcacfb580b410bc6749ed7fe8f18b3be0cb98959339853e77bc3ec0cda6df08a0f1f22768cfc773458a2ea6bcef4f0421eea55cf56c58981d13711a04

diff --git a/dev-libs/libmpack/libmpack-1.0.5.ebuild 
b/dev-libs/libmpack/libmpack-1.0.5.ebuild
new file mode 100644
index 000..479c92bd7b2
--- /dev/null
+++ b/dev-libs/libmpack/libmpack-1.0.5.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Simple implementation of msgpack in C"
+HOMEPAGE="https://github.com/libmpack/libmpack;
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_prepare() {
+   default
+
+   # Make compiling verbose
+   sed -e 's/@$(LIBTOOL)/$(LIBTOOL)/g' -i Makefile || die
+
+   # Respect users CFLAGS
+   sed -e 's/-ggdb//g' -i Makefile || die
+   sed -e 's/-O3//g' -i .config/release.mk || die
+}
+
+src_compile() {
+   local myemakeargs=(
+   "CC=$(tc-getCC)"
+   "config=release"
+   "LIBDIR=/usr/$(get_libdir)"
+   )
+
+   emake "${myemakeargs[@]}" lib-bin
+}
+
+src_install() {
+   local myemakeargs=(
+   "PREFIX=/usr"
+   "DESTDIR=${ED}"
+   "LIBDIR=/usr/$(get_libdir)"
+   "XLDFLAGS=-shared"
+   )
+
+   emake "${myemakeargs[@]}" install
+
+   find "${ED}" -name '*.la' -delete || die
+}

diff --git a/dev-libs/libmpack/metadata.xml b/dev-libs/libmpack/metadata.xml
new file mode 100644
index 000..def85419cfb
--- /dev/null
+++ b/dev-libs/libmpack/metadata.xml
@@ -0,0 +1,11 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   conik...@gentoo.org
+   Conrad Kostecki
+   
+   
+   libmpack/libmpack
+   
+