Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
4c55e6b3
Commit
4c55e6b3
authored
2 years ago
by
rubicon
Committed by
alice
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/ocaml-lablgtk3: rebuild against dune-configurator 3.2.0
parent
9c89a210
Loading
Loading
1 merge request
!34598
testing/ocaml*: try rebuilding lablgtk3 and lwt against new dune-configurator, enable lwt-ppx subpackage, some new aports
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/ocaml-lablgtk3/APKBUILD
+15
-26
15 additions, 26 deletions
testing/ocaml-lablgtk3/APKBUILD
with
15 additions
and
26 deletions
testing/ocaml-lablgtk3/APKBUILD
+
15
−
26
View file @
4c55e6b3
...
@@ -3,27 +3,20 @@
...
@@ -3,27 +3,20 @@
pkgname
=
ocaml-lablgtk3
pkgname
=
ocaml-lablgtk3
_pkgname
=
lablgtk
_pkgname
=
lablgtk
pkgver
=
3.1.2
pkgver
=
3.1.2
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"OCaml interface to GTK+3"
pkgdesc
=
"OCaml interface to GTK+3"
provides
=
"
$pkgname
-sourceview3=
$pkgver
-r
$pkgrel
"
url
=
"https://github.com/garrigue/lablgtk"
url
=
"https://github.com/garrigue/lablgtk"
arch
=
"all !riscv64"
#
restric
ted by ocaml
arch
=
"all !riscv64"
#
limi
ted by ocaml
aport
license
=
"LGPL-2.1-or-later-WITH-linking-exception"
license
=
"LGPL-2.1-or-later-WITH-linking-exception"
depends
=
"ocaml-runtime"
depends
=
"ocaml-runtime ocaml-cairo2"
depends_dev
=
"
$pkgname
=
$pkgver
-r
$pkgrel
"
depends_dev
=
"
$pkgname
=
$pkgver
-r
$pkgrel
ocaml-cairo2-dev gtksourceview-dev"
makedepends
=
"
makedepends
=
"
$depends_dev
dune dune-configurator ocaml"
dune
dune-configurator-dev
ocaml
ocaml-cairo2-dev
ocaml-compiler-libs
ocaml-csexp-dev
ocaml-lablgtk3-dev
gtksourceview-dev
"
options
=
"!check"
options
=
"!check"
subpackages
=
"
$pkgname
-dev"
subpackages
=
"
$pkgname
-dev"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/garrigue/lablgtk/archive/
$pkgver
.tar.gz"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/garrigue/lablgtk/archive/
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/
$_pkgname
-
$pkgver
"
builddir
=
"
$srcdir
/
$_pkgname
-
$pkgver
"
_ocamldir
=
usr/lib/ocaml
# 32-bit archs
# 32-bit archs
case
"
$CARCH
"
in
case
"
$CARCH
"
in
...
@@ -31,31 +24,27 @@ case "$CARCH" in
...
@@ -31,31 +24,27 @@ case "$CARCH" in
esac
esac
build
()
{
build
()
{
export
OCAMLPATH
=
/usr/lib/ocaml
dune build
\
dune build
-p
lablgtk3,lablgtk3-sourceview3
\
-p
lablgtk3,lablgtk3-sourceview3
\
@install
--no-buffer
--verbose
--verbose
}
check
()
{
dune runtest
--no-buffer
--verbose
}
}
package
()
{
package
()
{
dune
install
\
dune
install
\
--destdir
=
"
$pkgdir
"
\
--destdir
=
"
$pkgdir
"
\
--prefix
=
/usr
\
--docdir
=
/.omit
\
--libdir
=
/usr/lib/ocaml
\
lablgtk3 lablgtk3-sourceview3
lablgtk3 lablgtk3-sourceview3
rm
-Rf
"
$pkgdir
"
/.omit
rm
-Rf
"
$pkgdir
"
/usr/doc
}
}
dev
()
{
dev
()
{
provides
=
"
$pkgname
-sourceview3-dev=
$pkgver
-r
$pkgrel
"
default_dev
default_dev
cd
"
$pkgdir
"
cd
"
$pkgdir
"
local
path
;
for
path
in
$(
find
usr/lib/
ocaml
\(
\
local
path
;
for
path
in
$(
find
$_
ocaml
dir
\(
\
-name
'*.cmt'
-o
\
-name
'*.cmt'
-o
\
-name
'*.cmti'
-o
\
-name
'*.cmti'
-o
\
-name
'*.cmx'
-o
\
-name
'*.cmx'
-o
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment