Package Details: solarus-quest-editor 1.6.5-2

Git Clone URL: https://aur.archlinux.org/solarus-quest-editor.git (read-only, click to copy)
Package Base: solarus-quest-editor
Description: A graphical user interface to create and modify quests for the Solarus engine.
Upstream URL: https://www.solarus-games.org/
Keywords: editor engine game gui quest solarus
Licenses: GPL, custom
Submitter: Maxs
Maintainer: None
Last Packager: jrd
Votes: 5
Popularity: 0.000000
First Submitted: 2015-07-10 05:22 (UTC)
Last Updated: 2023-01-29 20:27 (UTC)

Latest Comments

1 2 Next › Last »

jrd commented on 2025-11-13 17:23 (UTC)

This is now deprecated in favour of solarus-editor.

jrd commented on 2023-01-29 20:34 (UTC)

I adopted and patched the package.

jrd commented on 2023-01-28 16:39 (UTC)

My patch to PKGBUILD, to allow it to run without a crash:

source=(
    "https://gitlab.com/solarus-games/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz"
    "https://gitlab.com/solarus-games/solarus-quest-editor/-/commit/baed9f61e7a9c7eeed1064f254032cb5f3344ffe.patch"
)
sha256sums=(
    'c2e292bf34696968dfb0fe56fb21af8566b7a4001b84535c39e30ae7a3d9bb6e'
    'a7e86920bd04a2d580d3da3df7ceb231205229798be5bdd0b6ee18f71c89d9a8'
)

prepare() {
  cd "$srcdir/$pkgname-v$pkgver"
  patch -p1 -i "$srcdir/baed9f61e7a9c7eeed1064f254032cb5f3344ffe.patch"
}

Based on what I found here: https://gitlab.com/solarus-games/solarus-quest-editor/-/merge_requests/434

qontinuum commented on 2020-09-29 13:25 (UTC)

Yes so it is a preparation command, not a build command. It is just a way of viewing packaging, since it works it's cool ^^

xiretza commented on 2020-09-29 13:23 (UTC)

No, `The typical usage consists of running the cmake command and after that execute the building command.'

Uhm, yes, that's exactly what the PKGBUILD is doing. It first runs cmake, then it runs make. Otherwise it wouldn't even work.

qontinuum commented on 2020-09-29 13:21 (UTC)

No, `The typical usage consists of running the cmake command and after that execute the building command.'

xiretza commented on 2020-09-29 13:19 (UTC)

Nope, according to https://wiki.archlinux.org/index.php/CMake_package_guidelines, it goes in build().

qontinuum commented on 2020-09-29 13:18 (UTC) (edited on 2020-09-29 13:18 (UTC) by qontinuum)

Can you just put the cmake part in the prepare function?

xiretza commented on 2020-09-29 12:51 (UTC)

Updated to 1.6.4 and fixed a few bugs along the way.

qontinuum commented on 2020-09-29 12:23 (UTC)

I tried to upload the package (not the package function) but I keep getting errors. Here is what I've done:

pkgname="solarus-quest-editor"
pkgver="1.6.4"
pkgrel="1"
pkgdesc="A graphical user interface to create and modify quests for the Solarus engine."
arch=("i686" "x86_64")
url="http://www.solarus-games.org/"
license=("GPL" "custom")
depends=("solarus" "qt5-base" "qt5-tools" "glm")
makedepends=("cmake" "zip")
source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/solarus-games/solarus-quest-editor/-/archive/v$pkgver/solarus-quest-editor-v$pkgver.tar.gz")
md5sums=('3eebb8c607e6c212b1aaf29478c3958d')

prepare() {
  cd "$pkgname-v$pkgver"
  cmake -Wno-dev -DSOLARUS_INCLUDE=/usr/include/solarus -DSOLARUS_GUI_INCLUDE=/usr/include/solarus -DSOLARUS_LIBRARY=/usr/lib/libsolarus.so -DSOLARUS_GUI_LIBRARY=/usr/lib/libsolarus-gui.so -DCMAKE_INSTALL_PREFIX="/usr" .
}

build() {
  make -C "$pkgname-v$pkgver"
}

package() {
  cd "$srcdir/$pkgname-v$pkgver-$commit"

  make DESTDIR="${pkgdir}/" install
  install -Dm644 "license.txt" "$pkgdir/usr/share/licences/$pkgname/license.txt"
  install -Dm644 "images/logo/sqe-logo.png" "$pkgdir/usr/share/pixmaps/sqe-logo.png"
  install -Dm644 "resources/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
}