Initial simplex-desktop package based off deb package

This commit is contained in:
TheK0tYaRa 2024-09-11 14:58:37 +03:00
commit 2f90cfb176
442 changed files with 20288 additions and 0 deletions

1
dev-ml/cudf/Manifest Normal file
View file

@ -0,0 +1 @@
DIST cudf-v0.10.tar.bz2 47664 BLAKE2B 6ecdfc4243d80f12f6904b334f93ff47beb94535b6ba84992c6a31d244a7c2dcb6072e67828d96b31d4628bb244022fd962efcdcae5299f5a57694f3aa6c95a8 SHA512 b36ecad224070d2c07d4123fb7e39160390ddec4196505e66aad9fbd982bd7ca320ff5f0e771e7996da49bff22fb87fc057060277695b75cd68de19e57cb3855

View file

@ -0,0 +1,76 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit dune toolchain-funcs
MYP=${PN}-v${PV}
DESCRIPTION="Library to parse, pretty print, and evaluate CUDF documents"
HOMEPAGE="http://www.mancoosi.org/cudf/"
SRC_URI="https://gitlab.com/irill/${PN}/-/archive/v${PV}/${MYP}.tar.bz2"
LICENSE="LGPL-3"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
IUSE="+ocamlopt llvm-libunwind test doc"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-lang/ocaml-3.12:=[ocamlopt?]
dev-ml/extlib:=
dev-ml/findlib:=
dev-libs/glib:2
llvm-libunwind? ( sys-libs/llvm-libunwind:= )
!llvm-libunwind? ( sys-libs/libunwind:= )
sys-libs/ncurses:=
"
DEPEND="${RDEPEND}
test? ( dev-ml/ounit2 )
dev-ml/ocamlbuild
dev-lang/perl
"
BDEPEND="virtual/pkgconfig"
QA_FLAGS_IGNORED='.*'
S="${WORKDIR}"/${MYP}
src_prepare() {
default
sed -i \
-e 's|make|$(MAKE)|g' \
Makefile || die
sed -i \
-e 's|-lncurses|$(shell ${PKG_CONFIG} --libs ncurses glib-2.0) -lunwind|g' \
-e "s|ar r|$(tc-getAR) r|g" \
c-lib/Makefile || die
sed -i \
-e 's|-lcurses|$(shell ${PKG_CONFIG} --libs ncurses glib-2.0) -lunwind|g' \
c-lib/Makefile.variants || die
tc-export CC PKG_CONFIG
sed -i \
-e "s|-lncurses|$( $(tc-getPKG_CONFIG) --libs ncurses)|g" \
c-lib/cudf.pc.in || die
}
src_compile() {
dune_src_compile
emake c-lib
if use ocamlopt ; then
emake c-lib-opt
fi
}
src_test() {
dune_src_test
emake c-lib-test
}
src_install() {
emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
use doc && dodoc BUGS ChangeLog README TODO
}

View file

@ -0,0 +1,12 @@
Index: cudf-0.9/_tags
===================================================================
--- cudf-0.9.orig/_tags
+++ cudf-0.9/_tags
@@ -1,5 +1,5 @@
-<test.ml> or <tests.ml> : pkg_oUnit
-<test.byte> or <test.native> : pkg_oUnit
+<test.ml> or <tests.ml> : pkg_ounit2
+<test.byte> or <test.native> : pkg_ounit2
<*.ml> or <*.mli> : pkg_extlib
<*.byte> or <*.native> : pkg_extlib

15
dev-ml/cudf/metadata.xml Normal file
View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ml@gentoo.org</email>
<name>ML</name>
</maintainer>
<maintainer type="person">
<email>gienah@gentoo.org</email>
<name>Mark Wright</name>
</maintainer>
<upstream>
<remote-id type="gitlab">irill/cudf</remote-id>
</upstream>
</pkgmetadata>