Diff lablgtk-sourceview-3.1.1 with a lablgtk-sourceview-3.1.2

/usr/portage/dev-ml/lablgtk-sourceview/lablgtk-sourceview-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

  
6
DUNE_PKG_NAME=lablgtk3-sourceview3
5 7

  
6
MY_PN=lablgtk3
7
MY_P="${MY_PN}-${PV}"
8
DUNE_PKG_NAME=${MY_PN}-sourceview3
9 8
inherit dune
10 9

  
11 10
DESCRIPTION="OCaml bindings to GTK-3"
12 11
HOMEPAGE="https://github.com/garrigue/lablgtk"
13
SRC_URI="https://github.com/garrigue/lablgtk/releases/download/${PV}/${MY_P}.tbz"
12
SRC_URI="https://github.com/garrigue/lablgtk/archive/${PV}.tar.gz
13
	-> lablgtk-${PV}.tar.gz"
14
S="${WORKDIR}"/lablgtk-${PV}
14 15

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

  
20 21
DEPEND="
21
	x11-libs/gtksourceview:3.0=
22 22
	>=dev-ml/lablgtk-${PV}:3=
23
		dev-ml/cairo2:=
23
	dev-ml/cairo2:=
24
	x11-libs/gtksourceview:3.0=
24 25
"
25 26
RDEPEND="${DEPEND}"
26
BDEPEND=""
27 27

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

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