ocaml-lablgtk2: remove package

gtk2, not used by any other packages
This commit is contained in:
Michal Vasilek 2022-09-02 21:21:23 +02:00 committed by classabbyamp
parent f9f2ce88a3
commit 2a3ccc7c15
6 changed files with 4 additions and 69 deletions

View File

@ -1 +0,0 @@
ocaml-lablgtk2

View File

@ -1 +0,0 @@
ocaml-lablgtk2

View File

@ -1 +0,0 @@
ocaml-lablgtk2

View File

@ -1,65 +0,0 @@
# Template file for 'ocaml-lablgtk2'
pkgname=ocaml-lablgtk2
version=2.18.10
revision=5
wrksrc="lablgtk-${version}"
build_style=gnu-configure
configure_args="--without-glade --without-gnomeui --without-gtksourceview"
make_build_args="world opt"
hostmakedepends="ocaml ocaml-findlib m4 pkg-config"
makedepends="gtk+-devel gtksourceview2-devel libgnomecanvas-devel gtkspell-devel"
short_desc="OCaml interface to GTK2"
maintainer="Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>"
license="LGPL-2.0-or-later"
homepage="http://lablgtk.forge.ocamlcore.org/"
distfiles="https://github.com/garrigue/lablgtk/archive/${version}.tar.gz"
checksum=6f00f6b3114b468eb9e743d27511a6063936f6798f890e44b494f71a5cf95470
nocross=yes
nopie=yes
disable_parallel_build=yes
post_configure() {
vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
}
post_install() {
vlicense COPYING
}
ocaml-lablgtk2-gnomecanvas_package() {
depends="ocaml-lablgtk2 libgnomecanvas"
short_desc+=" - gnomecanvas bindings"
pkg_install() {
vmove "usr/lib/ocaml/lablgtk2/gnoCanvas.*"
vmove "usr/lib/ocaml/lablgtk2/gnomeCanvas.*"
vmove "usr/lib/ocaml/lablgtk2/lablgnomecanvas.*"
vmove usr/lib/ocaml/lablgtk2/liblablgnomecanvas.a
vmove usr/lib/ocaml/lablgtk2/dlllablgnomecanvas.so
}
}
ocaml-lablgtk2-gtksourceview2_package() {
depends="ocaml-lablgtk2 gtksourceview2"
short_desc+=" - gtksourceview2 bindings"
pkg_install() {
vmove "usr/lib/ocaml/lablgtk2/gSourceView2.*"
vmove "usr/lib/ocaml/lablgtk2/gtkSourceView2.*"
vmove "usr/lib/ocaml/lablgtk2/gtkSourceView2_types.*"
vmove "usr/lib/ocaml/lablgtk2/lablgtksourceview2.*"
vmove "usr/lib/ocaml/lablgtk2/sourceView2Enums.*"
vmove usr/lib/ocaml/lablgtk2/liblablgtksourceview2.a
vmove usr/lib/ocaml/lablgtk2/dlllablgtksourceview2.so
vmove usr/lib/ocaml/lablgtk2/sourceView2_tags.h
}
}
ocaml-lablgtk2-gtkspell_package() {
depends="ocaml-lablgtk2 gtkspell"
short_desc+=" - gtkspell bindings"
pkg_install() {
vmove "usr/lib/ocaml/lablgtk2/gtkSpell.*"
vmove "usr/lib/ocaml/lablgtk2/lablgtkspell.*"
vmove usr/lib/ocaml/lablgtk2/liblablgtkspell.a
vmove usr/lib/ocaml/lablgtk2/dlllablgtkspell.so
}
}

View File

@ -1 +0,0 @@
single_directory=yes

View File

@ -293,6 +293,10 @@ replaces="
nvidia340-libs<=340.108_4
nvidia340-opencl<=340.108_4
nvidia340<=340.108_4
ocaml-lablgtk2-gnomecanvas<=2.18.10_5
ocaml-lablgtk2-gtksourceview2<=2.18.10_5
ocaml-lablgtk2-gtkspell<=2.18.10_5
ocaml-lablgtk2<=2.18.10_5
oce-devel<=0.18.3_1
oce<=0.18.3_1
onionshare<=2.2_5