From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 32FDC15808B for ; Thu, 24 Mar 2022 21:27:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66EC2E0828; Thu, 24 Mar 2022 21:27:54 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 43AFCE0828 for ; Thu, 24 Mar 2022 21:27:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 75C46343296 for ; Thu, 24 Mar 2022 21:27:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 156DD1BD for ; Thu, 24 Mar 2022 21:27:52 +0000 (UTC) From: "Philip Miess" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Philip Miess" Message-ID: <1648157369.c4d2478f26be13e09d2e18d9b5e0d0f407eb9041.Phil_miess@gentoo> Subject: [gentoo-commits] repo/user/superposition:master commit in: dev-lang/squeakvm/ X-VCS-Repository: repo/user/superposition X-VCS-Files: dev-lang/squeakvm/squeakvm-4.10.2.2614-r1.ebuild X-VCS-Directories: dev-lang/squeakvm/ X-VCS-Committer: Phil_miess X-VCS-Committer-Name: Philip Miess X-VCS-Revision: c4d2478f26be13e09d2e18d9b5e0d0f407eb9041 X-VCS-Branch: master Date: Thu, 24 Mar 2022 21:27:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c2ef4765-86fc-4fe4-895c-b345c59ffb3b X-Archives-Hash: 8bdb3859efc980c5a1d3ae1aeea7ee11 commit: c4d2478f26be13e09d2e18d9b5e0d0f407eb9041 Author: Philip Miess yahoo com> AuthorDate: Thu Mar 24 21:29:29 2022 +0000 Commit: Philip Miess yahoo com> CommitDate: Thu Mar 24 21:29:29 2022 +0000 URL: https://gitweb.gentoo.org/repo/user/superposition.git/commit/?id=c4d2478f move from virtual libffi Signed-off-by: Philip Miess yahoo.com> dev-lang/squeakvm/squeakvm-4.10.2.2614-r1.ebuild | 173 +++++++++++++++++++++++ 1 file changed, 173 insertions(+) diff --git a/dev-lang/squeakvm/squeakvm-4.10.2.2614-r1.ebuild b/dev-lang/squeakvm/squeakvm-4.10.2.2614-r1.ebuild new file mode 100644 index 0000000..a3b7c68 --- /dev/null +++ b/dev-lang/squeakvm/squeakvm-4.10.2.2614-r1.ebuild @@ -0,0 +1,173 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=6 +inherit versionator fixheadtails +DESCRIPTION="Highly-portable Smalltalk-80 implementation" +HOMEPAGE="http://www.squeak.org/" +SRC_URI="http://squeakvm.org/unix/release/Squeak-${PV}-src.tar.gz" +LICENSE="Apple" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="+X +mmx +threads +iconv +opengl image64 alsa oss pulseaudio nas +v4l fbcon dbus +scratch examples" + + +DEPEND="X? ( x11-libs/libX11 x11-libs/libXext x11-libs/libXt ) + dev-util/cmake + media-libs/freetype + >=x11-libs/cairo-1.8.6 + >=x11-libs/pango-1.20.5 + >=dev-libs/glib-2.20.1:2 + dev-libs/libff + sys-apps/util-linux + iconv? ( virtual/libiconv ) + opengl? ( virtual/opengl ) + v4l? ( >=media-libs/libv4l-0.5.8 ) + alsa? ( media-libs/alsa-lib ) + oss? ( || ( media-libs/alsa-oss media-sound/oss ) ) + pulseaudio? ( media-sound/pulseaudio ) + nas? ( media-libs/nas ) + dbus? ( sys-apps/dbus )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/Squeak-${PV}-src" + +src_prepare() { + ht_fix_all + eapply_user + if ! use examples; then + rm -rf unix/vm-display-custom + rm -rf unix/vm-sound-custom + fi +} + +src_configure() { + local myconf="" + if use X; then + myconf="${myconf} --with-x" + else + myconf="${myconf} --without-x" + fi + if use threads; then + myconf="${myconf} --enable-mpg-pthread" + else + myconf="${myconf} --disable-mpg-pthread" + fi + if use iconv; then + myconf="${myconf} --enable-iconv" + else + myconf="${myconf} --disable-iconv" + fi + + if use opengl; then + myconf="${myconf} --with-gl" + else + myconf="${myconf} --without-gl" + fi + + if use alsa; then + myconf="${myconf} --with-alsa" + else + myconf="${myconf} --without-alsa" + fi + + if use oss; then + myconf="${myconf} --with-oss" + else + myconf="${myconf} --without-oss" + fi + + if use pulseaudio; then + myconf="${myconf} --with-pulse" + else + myconf="${myconf} --without-pulse" + fi + + if use nas; then + myconf="${myconf} --with-NAS" + else + myconf="${myconf} --without-NAS" + fi + + if use v4l; then + myconf="${myconf} --with-CameraPlugin" + else + myconf="${myconf} --without-CameraPlugin" + fi + + if use fbcon; then + myconf="${myconf} --with-fbdev" + else + myconf="${myconf} --without-fbdev" + fi + + if use dbus; then + myconf="${myconf} --with-DBusPlugin" + else + myconf="${myconf} --without-DBusPlugin" + fi + + if use scratch; then + myconf="${myconf} --with-ScratchPlugin" + else + myconf="${myconf} --without-ScratchPlugin" + fi + + + if use X; then + myconf="${myconf} --with-x" + else + myconf="${myconf} --without-x" + fi + + + if use X; then + myconf="${myconf} --with-x" + else + myconf="${myconf} --without-x" + fi + + + + + #use mmx && myconf="${myconf} --enable-mpg-mmx" + #use threads && myconf="${myconf} --enable-mpg-pthread" + #use iconv || myconf="${myconf} --disable-iconv" + #use opengl || myconf="${myconf} --without-gl" + use image64 && myconf="${myconf} --image64" + #use alsa || myconf="${myconf} --without-alsa" + #use oss || myconf="${myconf} --without-OSS" + #use pulseaudio || myconf="${myconf} --without-pulse" + #use nas || myconf="${myconf} --without-NAS" + #use v4l || myconf="${myconf} --without-CameraPlugin" + #use fbcon || myconf="${myconf} --without-fbdev" + #use dbus || myconf="${myconf} --without-DBusPlugin" + #use scratch || myconf="${myconf} --without-ScratchPlugin" + + + + cd ${S} + touch unix/npsqueak/CMakeLists.txt + mkdir build + cd build + ../unix/cmake/configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --with-ffi=x86-sysv \ + --without-npsqueak \ + --without-quartz \ + --without-Sun \ + --without-MaxOSX \ + --without-WeDoPlugin \ + --with-FT2Plugin \ + --with-SqueakFFIPrims \ + ${myconf} || die "configure failed" +} + +src_install() { + dodoc README unix/ChangeLog + cd ${S}/build + emake DESTDIR=${D} ROOT=${D} docdir=/usr/share/doc/${PF} install || die + exeinto /usr/lib/squeak + exeinto /usr/lib/ckformat +}