Diff lablgtk-3.1.1 with a lablgtk-3.1.2

/usr/portage/dev-ml/lablgtk/lablgtk-3.1.2.ebuild 2023-10-09 14:52:29.792368358 +0300
1 1
# Copyright 2019-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
DUNE_PKG_NAME=lablgtk3
7

  
7 8
inherit dune
8 9

  
9 10
DESCRIPTION="OCaml bindings to GTK-3"
10 11
HOMEPAGE="https://github.com/garrigue/lablgtk"
11
SRC_URI="https://github.com/garrigue/lablgtk/releases/download/${PV}/${DUNE_PKG_NAME}-${PV}.tbz"
12
SRC_URI="https://github.com/garrigue/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
12 13

  
13 14
LICENSE="LGPL-2.1-with-linking-exception"
14 15
SLOT="3/${PV}"
15
KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 x86"
16
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
16 17
IUSE="+ocamlopt sourceview"
17 18

  
18 19
BDEPEND="dev-ml/camlp5"
......
25 26
RDEPEND="${DEPEND}"
26 27
PDEPEND="sourceview? ( dev-ml/lablgtk-sourceview:${SLOT} )"
27 28

  
28
S="${WORKDIR}/${DUNE_PKG_NAME}-${PV}"
29
src_prepare() {
30
	default
31
	echo "(version ${PV})" >> "${S}"/dune-project || die
32
}
33

  
34
src_compile() {
35
	dune build --profile release -p ${DUNE_PKG_NAME} || die
36
}
Thank you!