Package Details: tic-80-git r2883.3cf27c5e-1

Git Clone URL: https://aur.archlinux.org/tic-80-git.git (read-only, click to copy)
Package Base: tic-80-git
Description: TIC-80 tiny computer emulator
Upstream URL: https://tic80.com/
Licenses: MIT
Provides: tic-80
Submitter: MaryJaneInChain
Maintainer: MaryJaneInChain
Last Packager: MaryJaneInChain
Votes: 17
Popularity: 0.000458
First Submitted: 2019-09-25 10:00 (UTC)
Last Updated: 2024-02-19 09:48 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

simona commented on 2025-01-08 20:42 (UTC)

yes... tic-80 instead tic-80-git and makepkg -si was ok form me

dlezo commented on 2025-01-08 19:50 (UTC) (edited on 2025-01-08 19:50 (UTC) by dlezo)

Months have passed and I still find the same problem that dreieck describes: install: cannot stat 'bin/player-sdl': No such file or directory

Applying the changes that Popolon proposes to the file PKGBUILD and installing the package with makepkg -si worked for me.

I see there is another package in AUR called tic80-pro-git. It works and it seems to be more up to date than this. Why are two packages published for the same application? The dependencies are not the same, maybe I'm missing something.

I really appreciate the effort of the two maintainers, but a very outdated package makes newbies like me loose quite a lot of time.

Popolon commented on 2024-09-27 21:48 (UTC) (edited on 2024-11-11 09:16 (UTC) by Popolon)

Need to add the following ARGS to cmake now:

  • -DBUILD_SDL=true -DBUILD_PLAYER=true to build player-sdl
  • -DBUILD_TOOLS=ON to build bin2txt, cart2prj and prj2cart

so Change the cmaake file as this (I also build WASM but that's not mandatory, all other language that lua need to be set to ON now to be compiled):

    cmake -DBUILD_PRO=true -DBUILD_TOUCH_INPUT=true -DBUILD_WITH_WASM=ON \
          -DBUILD_SDL=true -DBUILD_PLAYER=true -DBUILD_TOOLS=ON ..

Also need to replace 'lua-sdl2' dependency by 'lua53-sdl2' to allow update to last version

Need also to change the versioning to

git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'

dreieck commented on 2024-08-07 14:57 (UTC)

package() fails due to missing bin/player-sdl:

==> Starting package()...
install: cannot stat 'bin/player-sdl': No such file or directory
==> ERROR: A failure occurred in package().

Regards and thanks for maintaining!

dreieck commented on 2024-08-07 14:47 (UTC)

In the arch linux repositories, lua-sdl2 gets replaced with lua53-sdl2.

simona commented on 2024-07-31 22:23 (UTC)

install: impossibile eseguire stat di 'bin/player-sdl': File o directory non esistente

dreieck commented on 2024-05-22 12:18 (UTC)

This installs binaries. So, arch=('any') must not be used.
You must explicitly specify all the architectures that this software builds for and can run on (or a subset of them), e.g. 'x86_64' 'i686' 'aarch64' and so on.

Regards and thanks for the package!

dreieck commented on 2024-05-22 12:17 (UTC)

Updated build() and package() functions that build all executables:

build() {
    cd "$srcdir/$_gitname/build"
    cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \
      -DBUILD_LIBRETRO=false \
      -DBUILD_NO_OPTIMIZATION=false \
      -DBUILD_PLAYER=true \
      -DBUILD_PRO=true \
      -DBUILD_SDL=true \
      -DBUILD_SDLGPU=true \
      -DBUILD_STATIC=false \
      -DBUILD_TOOLS=true \
      -DBUILD_TOUCH_INPUT=true \
      -DBUILD_WITH_ALL=true \
      -DBUILD_WITH_FENNEL=true \
      -DBUILD_WITH_JANET=true \
      -DBUILD_WITH_JS=true \
      -DBUILD_WITH_LUA=true \
      -DBUILD_WITH_MOON=true \
      -DBUILD_WITH_MRUBY=true \
      -DBUILD_WITH_PYTHON=true \
      -DBUILD_WITH_SCHEME=true \
      -DBUILD_WITH_SQUIRREL=true \
      -DBUILD_WITH_WASM=true \
      -DBUILD_WITH_WREN=true \
      ..
    make -j
}

package() {
    cd "$srcdir/$_gitname/build"
    make DESTDIR="${pkgdir}" install

    install -Dvm755 bin/player-sdl "${pkgdir}/usr/bin/player-sdl"
    install -Dvm755 bin/bin2txt "${pkgdir}/usr/bin/bin2txt"
    install -Dvm755 bin/cart2prj "${pkgdir}/usr/bin/cart2prj"
    install -Dvm755 bin/prj2cart "${pkgdir}/usr/bin/prj2cart"
    install -Dvm755 bin/wasmp2cart "${pkgdir}/usr/bin/wasmp2cart"
    install -Dvm755 bin/xplode "${pkgdir}/usr/bin/xplode"

    install -Dvm755 -t "${pkgdir}/usr/lib" bin/*.so

    install -Dvm644 -t "${pkgdir}/usr/share/doc/tic-80" "README.md" "SECURITY.md"
    install -Dvm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
}

dreieck commented on 2024-05-22 12:14 (UTC)

You need to install the license text into /usr/share/licenses/${pkgname}/:

tic-80-git E: Uncommon license identifiers such as 'MIT' require license files below /usr/share/licenses/tic-80-git/ or switching to common license identifiers. Found 0/1 required license files.

Regards!