smalltalk: Add an alpha version and provide a specific no-doc patch

This commit is contained in:
Holger Hans Peter Freyther 2013-04-28 16:09:51 +02:00
parent 9c0bc73006
commit f2d9e2e9b0
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,16 @@
The build system tries to execute the gst-tool gst-doc and gst-tool is
not installed and the easiest right now is to not build the docs
Index: smalltalk-3.2.91/Makefile.am
===================================================================
--- smalltalk-3.2.91.orig/Makefile.am 2013-04-28 16:07:14.018325529 +0200
+++ smalltalk-3.2.91/Makefile.am 2013-04-28 16:08:10.426335670 +0200
@@ -23,7 +23,7 @@
gstdatadir=$(pkgdatadir)
DIST_SUBDIRS = lib-src snprintfv lightning libgst \
- . $(ALL_PACKAGES) tests doc
+ . $(ALL_PACKAGES) tests
SUBDIRS = lib-src lightning $(subdirs)
SUBDIRS += libgst . $(BUILT_PACKAGES) doc tests

View File

@ -0,0 +1,33 @@
require ${PN}.inc
PR = "r12.${INC_PR}"
# TODO: Upgrade, package the docs, split the packages, create gst class
EXTRA_OECONF_append_arm = " --disable-profiling --disable-prefetch"
SRC_URI = " \
http://www.secretlabs.de/gnu-smalltalk/smalltalk-${PV}.tar.gz \
file://no-doc.patch \
"
SRC_URI[md5sum] = "aa092b507d93173177eecca63e3ddd6a"
SRC_URI[sha256sum] = "662ca7364c9248a95ec0ebbd56336062d1d72a1feb8c17560f4f7d3b7aea331f"
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
# glib is only in 3.2.90+
PACKAGES =+ "${PN}-glib ${PN}-osprocess ${PN}-gtktools"
INSANE_SKIP_${PN}-glib = "dev-so useless-rpaths"
FILES_${PN}-glib = "${libdir}/smalltalk/gst-glib*.so \
${datadir}/smalltalk/GLib.star ${libdir}/libgst-gobject.so.*"
INSANE_SKIP_${PN}-osprocess = "dev-so"
FILES_${PN}-osprocess = "${libdir}/smalltalk/gst-osprocess*.so \
${datadir}/smalltalk/OSProcess.star"
INSANE_SKIP_${PN}-gtktools = "dev-so"
FILES_${PN}-gtktools = "${datadir}/smalltalk/GTKTools*.star"