public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/janet/
Date: Sun,  5 Apr 2020 07:18:26 +0000 (UTC)	[thread overview]
Message-ID: <1586071075.093321efa114569fa34152601de521aa89c054aa.juippis@gentoo> (raw)

commit:     093321efa114569fa34152601de521aa89c054aa
Author:     Oz N Tiram <oz.tiram <AT> gmail <DOT> com>
AuthorDate: Sat Apr  4 08:22:47 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Apr  5 07:17:55 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=093321ef

dev-lang/janet: bump version to 1.8.1

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Oz Tiram <oz.tiram <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15222
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-lang/janet/Manifest           |  1 +
 dev-lang/janet/janet-1.8.1.ebuild | 54 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/dev-lang/janet/Manifest b/dev-lang/janet/Manifest
index 7ec9de8ca78..c16b461d173 100644
--- a/dev-lang/janet/Manifest
+++ b/dev-lang/janet/Manifest
@@ -1 +1,2 @@
 DIST janet-1.7.0.tar.gz 968936 BLAKE2B 49e6381d0f632fe43eefd498b9aaca2ec049e1f0d4fa7b3463bc00ac1ece67c8c3d108515702bfead1934434a8039e7c1f6eaae46aec7340330e5cda78eeaca4 SHA512 c180172f3016d1ca55ac39f2116789027bf622f08f585bf702b17acadd99d07bf91320e09ce21be76c3a1e60d1a8923591d0e07acc90884dac823a2c414f65e7
+DIST janet-1.8.1.tar.gz 977929 BLAKE2B 4cdf9e5dd7f4a1128438db8bec43c4f1919392bf6c317e2fca42b73826058cd98cec812c245354cc26f21edd4b9640f94dce1e82daa785b53e7e1e8fb45148a9 SHA512 e2296b16ad7df35e0f6ff0f56b9cd5071e887288df195ac0a14a73284a48f010cc26a413ea836aa3faa4385e25f7f313b183f0fbb8e6eebdc3975b69c62e4ebf

diff --git a/dev-lang/janet/janet-1.8.1.ebuild b/dev-lang/janet/janet-1.8.1.ebuild
new file mode 100644
index 00000000000..9d7575b1f6e
--- /dev/null
+++ b/dev-lang/janet/janet-1.8.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit flag-o-matic
+
+DESCRIPTION="A dynamic Lisp dialect and bytecode vm"
+HOMEPAGE="https://janet-lang.org"
+SRC_URI="https://github.com/janet-lang/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-1.7.0"-fix-ldflags-in-pkgconfig.patch
+)
+
+src_configure() {
+	append-ldflags -Wl,-soname,libjanet.so.0
+}
+
+src_compile() {
+	# janet_build is the git hash of the commit related to the
+	# current release - it defines a constant which is then shown
+	# when starting janet
+	local janet_build='\"5b6b9f1\"'
+	emake PREFIX="/usr" JANET_BUILD="${janet_build}"
+	emake PREFIX="/usr" build/janet.pc JANET_BUILD="${janet_build}"
+	emake PREFIX="/usr" docs JANET_BUILD="${janet_build}"
+}
+
+src_install() {
+	dobin "build/janet"
+	dobin "auxbin/jpm"
+
+	doheader "src/include/janet.h"
+	doheader "src/conf/janetconf.h"
+
+	dolib.so "build/libjanet.so"
+	dosym libjanet.so /usr/$(get_libdir)/libjanet.so.0
+
+	if use static-libs; then
+		dolib.a "build/libjanet.a"
+	fi
+	doman "janet.1"
+	doman "jpm.1"
+
+	insinto /usr/$(get_libdir)/pkgconfig/
+	doins "build/janet.pc"
+	dodoc -r examples
+	dodoc "build/doc.html"
+}


             reply	other threads:[~2020-04-05  7:18 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-05  7:18 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-05 11:29 [gentoo-commits] repo/gentoo:master commit in: dev-lang/janet/ Viorel Munteanu
2024-01-05 11:29 Viorel Munteanu
2022-07-02 17:35 Joonas Niilola
2022-07-02 17:35 Joonas Niilola
2022-07-02 17:35 Joonas Niilola
2021-12-26  0:34 Sam James
2021-12-26  0:34 Sam James
2021-10-20  3:02 Sam James
2021-10-20  3:02 Sam James
2021-10-20  3:02 Sam James
2021-07-20 10:25 Joonas Niilola
2021-05-18 10:40 Joonas Niilola
2021-05-18 10:40 Joonas Niilola
2021-01-28  7:36 Joonas Niilola
2021-01-28  7:36 Joonas Niilola
2020-10-16  6:04 Joonas Niilola
2020-10-16  6:04 Joonas Niilola
2020-10-16  6:04 Joonas Niilola
2020-08-08  9:04 Joonas Niilola
2020-08-08  9:04 Joonas Niilola
2020-06-24 14:29 Joonas Niilola
2020-06-24 14:29 Joonas Niilola
2020-04-05  7:18 Joonas Niilola
2020-03-18  8:30 Joonas Niilola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1586071075.093321efa114569fa34152601de521aa89c054aa.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox