dev-ml/lablgtk: drop 2.18.13

Closes: https://bugs.gentoo.org/769287
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2024-11-16 13:07:24 +01:00
parent 65c17acdfd
commit fbf650b2d2
3 changed files with 0 additions and 87 deletions
-1
View File
@@ -1,2 +1 @@
DIST lablgtk-2.18.13.tar.gz 1073083 BLAKE2B d3be54b0194e8b67b66eee9663d121e9007f6eb1d04cf322f83dfc5ddd5c3a27ad6f19204429ea5941d9cfe97ac9583af41ae713de5552b5d11245e4216ad5c1 SHA512 41deafbf8bbb9d15950d74a053e21c65aa0d2d4044a41d048f197e744a82ebbe159d43f67092fa19a8385bf0f7da0250ef2f0a532a0810e88f695d6f1fef4c48
DIST lablgtk-3.1.5.tar.gz 1045721 BLAKE2B 5f677d2ac1a39f23e5c3b66f6239540e369ec6916eb87f980543a7ea6c723b5126882fd4f9673f8a76171d0e83de236b98ae9068956f86a0a37cb836c353b9e5 SHA512 750f57ea2ccb0534123596aca04a4ba12bbf67bafb521a7978e6acc8027b2b3b822d373bf3fabb4018640c5e2d5bc3d5a336e91ceb8ff037b1f7a048440df03a
-80
View File
@@ -1,80 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Objective CAML interface for Gtk+2"
HOMEPAGE="http://lablgtk.forge.ocamlcore.org"
SRC_URI="https://github.com/garrigue/lablgtk/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1-with-linking-exception examples? ( lablgtk-examples )"
SLOT="2/${PV}"
KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="debug examples glade gnomecanvas +ocamlopt sourceview spell svg"
DEPEND=">=dev-lang/ocaml-4.05:=[ocamlopt?]
dev-ml/camlp4:=
x11-libs/gtk+:2
glade? ( gnome-base/libglade )
gnomecanvas? ( gnome-base/libgnomecanvas )
sourceview? ( x11-libs/gtksourceview:2.0 )
spell? ( app-text/gtkspell:2 )
svg? ( gnome-base/librsvg:2 )"
RDEPEND="${DEPEND}"
BDEPEND="dev-ml/findlib
virtual/pkgconfig"
DOCS=( CHANGES README CHANGES.API )
PATCHES=(
"${FILESDIR}"/${PN}-2.18.12-cflags.patch
"${FILESDIR}"/${PN}-2.18.12-Makefile.patch
"${FILESDIR}"/${PN}-2.18.12-depend.patch
)
src_configure() {
local myeconfargs=(
$(use_enable debug)
$(use_with svg rsvg)
$(use_with glade)
--without-gnomeui
--without-panel
# relies on EOL gtkglarea
--without-gl
$(use_with spell gtkspell)
--without-gtksourceview
$(use_with sourceview gtksourceview2)
$(use_with gnomecanvas)
)
econf "${myeconfargs[@]}"
}
src_compile() {
# parallel build crashes
emake -j1 all CFLAGS="${CFLAGS}"
if use ocamlopt; then
emake -j1 opt CFLAGS="${CFLAGS}"
fi
}
src_install() {
local destdir="$(ocamlfind printconf destdir || die)"
dodir "${destdir}/stublibs"
export OCAMLFIND_DESTDIR=${ED}"${destdir}"
export OCAMLPATH="${ED}${destdir}"
export OCAMLFIND_LDCONF=ignore
default
rm "${ED}/usr/$(get_libdir)/ocaml/ld.conf" || die
dosym lablgtk2/liblablgtk2.a \
/usr/$(get_libdir)/ocaml/liblablgtk2.a
use sourceview && \
dosym lablgtk2/liblablgtksourceview2.a \
/usr/$(get_libdir)/ocaml/liblablgtksourceview2.a
if use examples; then
dodoc -r examples/
docompress -x /usr/share/doc/${PF}/examples
fi
}
-6
View File
@@ -6,12 +6,6 @@
<name>ML</name>
</maintainer>
<use>
<flag name="glade" restrict="&lt;dev-ml/lablgtk-3">
Enable <pkg>gnome-base/libglade</pkg> bindings compilation
</flag>
<flag name="gnomecanvas" restrict="&lt;dev-ml/lablgtk-3">
Enable <pkg>gnome-base/libgnomecanvas</pkg> bindings compilation
</flag>
<flag name="sourceview">
Enable GtkSourceView (<pkg>x11-libs/gtksourceview</pkg>) support
</flag>