From f47a65c2d093a0670244153985f1e74e879c6142 Mon Sep 17 00:00:00 2001 From: Marcin Deranek Date: Wed, 25 Aug 2021 11:15:11 +0200 Subject: Dropped scratch as it's available online these days --- dev-lang/squeakvm/Manifest | 3 - dev-lang/squeakvm/metadata.xml | 13 -- dev-lang/squeakvm/squeakvm-4.10.2.2614.ebuild | 166 -------------------------- games-kids/scratch/Manifest | 2 - games-kids/scratch/metadata.xml | 8 -- games-kids/scratch/scratch-1.4.0.7.ebuild | 102 ---------------- 6 files changed, 294 deletions(-) delete mode 100644 dev-lang/squeakvm/Manifest delete mode 100644 dev-lang/squeakvm/metadata.xml delete mode 100644 dev-lang/squeakvm/squeakvm-4.10.2.2614.ebuild delete mode 100644 games-kids/scratch/Manifest delete mode 100644 games-kids/scratch/metadata.xml delete mode 100644 games-kids/scratch/scratch-1.4.0.7.ebuild diff --git a/dev-lang/squeakvm/Manifest b/dev-lang/squeakvm/Manifest deleted file mode 100644 index fe48391..0000000 --- a/dev-lang/squeakvm/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST Squeak-4.10.2.2614-src.tar.gz 3297314 BLAKE2B 03c89ea96ed005f1d7a25e6b1016f39bec2dbd7e2282a12c1b02ab57859477d87e3098426c55411fc06e250207830b7e50a23e6330ca64fd967613f2af86e180 SHA512 b823fb97f7826dbbae5feeb15ffc3ab7e11cf27c5a3cc3f2cf2f8c39b56af5f9d0078d020a4b8f72b997198d296be6d85ec10e0bca10d5214bf586e1e0587f07 -EBUILD squeakvm-4.10.2.2614.ebuild 3874 BLAKE2B 18e455a73951acedee0d4668f6d92bc77a4db21f235725934dd8137ffdc01cb26106ae2dc8ea18679dcf9e54efae525067ba4b3fd953288c3e4bb3fd1093e464 SHA512 c3130d045c393d0a9eda77e52fe56259cf51e023ec41dfd9a22dc7c4c471c3fdd6ebcd4b67b83a337b65acd18ca309e34e6cfe23dc9287b1de430a2e911da57c -MISC metadata.xml 359 BLAKE2B 40872fea186d70d1bfcc04adbb6786f61026829e613530fbc2edf2b453590c53504ce260e0854dbca9412928ab97d8b5605cf2df3e7c8bc282f38c80c9b0a14b SHA512 ffd2323cc62ccb444968e2e787933db45272834143c1008229176374e8e5c9cfc3f45ea9dd9f8c5716b7ac59afe44581cf81f035273006036ed88049644b92a3 diff --git a/dev-lang/squeakvm/metadata.xml b/dev-lang/squeakvm/metadata.xml deleted file mode 100644 index a78cf3f..0000000 --- a/dev-lang/squeakvm/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - marcin.deranek@slonko.net - Marcin Deranek - - - - - - - diff --git a/dev-lang/squeakvm/squeakvm-4.10.2.2614.ebuild b/dev-lang/squeakvm/squeakvm-4.10.2.2614.ebuild deleted file mode 100644 index 19bd4e0..0000000 --- a/dev-lang/squeakvm/squeakvm-4.10.2.2614.ebuild +++ /dev/null @@ -1,166 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit 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="~amd64 ~x86" -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/libffi - 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 ) - 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 -} diff --git a/games-kids/scratch/Manifest b/games-kids/scratch/Manifest deleted file mode 100644 index 55cee7e..0000000 --- a/games-kids/scratch/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST scratch-1.4.0.7.src.tar.gz 47617852 BLAKE2B feb4ba25dce3ac5f82974a0b22b95ff22b543f1bdb6362cc53bc16b54b6082fada6783734b38afadde340a097dc8758aa9ab061b050b4f9d4c71342fd1574b40 SHA512 a5dba21855ad2d087e0d76066ee70c6f36c67c66deccb6eb001249bc25391b0f9036d9fd2ab8383ef54c414e743dff23e9e52ab1c73dd7200f36d7d47c62f562 -EBUILD scratch-1.4.0.7.ebuild 2387 BLAKE2B 8ea5b5f9c44f69c1d4395447928aa8e3df8a290cc04c6e4b52c68ec69af56cce1c205a276dc1edf591b9c9241f5bae903702d32eab103bff37cc61852b8eebf6 SHA512 27a6277a151107c81b6dc0f5e8d99f44edf1851d34bf96b88f52c48a66afca2d7886f27e247a96ed31d37b67df3d8ca7a27009f11f7c0cd4e75519443950cb26 diff --git a/games-kids/scratch/metadata.xml b/games-kids/scratch/metadata.xml deleted file mode 100644 index 1196209..0000000 --- a/games-kids/scratch/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - marcin.deranek@slonko.net - Marcin Deranek - - diff --git a/games-kids/scratch/scratch-1.4.0.7.ebuild b/games-kids/scratch/scratch-1.4.0.7.ebuild deleted file mode 100644 index 2b16823..0000000 --- a/games-kids/scratch/scratch-1.4.0.7.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit gnome2-utils xdg-utils - -DESCRIPTION="A programming environment for creating stories, animations, games, and music." -HOMEPAGE="http://scratch.mit.edu/" -SRC_URI="http://download.scratch.mit.edu/${P}.src.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+alsa oss pulseaudio nas +v4l" - -DEPEND="dev-lang/squeakvm[scratch] - alsa? ( dev-lang/squeakvm[alsa] ) - oss? ( dev-lang/squeakvm[oss] ) - pulseaudio? ( dev-lang/squeakvm[pulseaudio] ) - nas? ( dev-lang/squeakvm[nas] ) - v4l? ( dev-lang/squeakvm[v4l] )" -RDEPEND="${DEPEND}" - -REQUIRED_USE="?? ( alsa oss pulseaudio nas )" - -S="${WORKDIR}/${P}.src" - -src_prepare() { - rm -rf src/plugins/* - rm -f Makefile - eapply_user -} - -src_configure(){ - -if use alsa; then squeak_sound_plugin="ALSA" -elif use oss; then squeak_sound_plugin="OSS" -elif use pulseaudio; then squeak_sound_plugin="pulse" -elif use nas; then squeak_sound_plugin="nas" -else squeak_sound_plugin="null" -fi - -} - -src_install() { - local datadir="/usr/share/${PN}" - local icondir="/usr/share/icons/hicolor" - dodir "${datadir}" - cp -r Help locale Media Projects "${D}${datadir}" - doman src/man/* - dodoc ACKNOWLEDGEMENTS KNOWN-BUGS README NOTICE TRADEMARK_POLICY - insinto /usr/share/mime/packages - doins src/scratch.xml - dolib Scratch.image - dolib Scratch.ini - ( - cd src/icons - for res in *; do - insinto "${icondir}/${res}/apps" - doins "${res}"/scratch*.png - insinto "${icondir}/${res}/mimetypes" - if [[ ${res} != "32x32" ]]; then - newins "${res}/gnome-mime-application-x-scratch-project.png" mime-application-x-scratch-project.png - fi - done - ) - install_runner - make_desktop_entry scratch Scratch scratch "Education;Development" "MimeType=application/x-scratch-project" -} - -install_runner() { - local tmpexe=$(emktemp) - cat << EOF > "${tmpexe}" -#!/bin/sh -cd -exec \ - "/usr/bin/squeak" \\ --vm-sound-${squeak_sound_plugin} \\ -"/usr/$(get_libdir)/Scratch.image" \\ -"${@}" -EOF - chmod go+rx "${tmpexe}" - newbin "${tmpexe}" "${PN}" || die -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - xdg_mimeinfo_database_update - xdg_desktop_database_update - gnome2_icon_cache_update - -} - -pkg_postrm() { - xdg_mimeinfo_database_update - xdg_desktop_database_update - gnome2_icon_cache_update -} -- cgit v1.2.3