Package Details: solarus-quest-editor 1.6.5-1

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: xiretza
Last Packager: xiretza
Votes: 4
Popularity: 0.23
First Submitted: 2015-07-10 05:22
Last Updated: 2021-04-09 21:20

Latest Comments

franck.stauffer commented on 2020-09-29 13:25

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

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.

franck.stauffer commented on 2020-09-29 13:21

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

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

franck.stauffer commented on 2020-09-29 13:18

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

xiretza commented on 2020-09-29 12:51

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

franck.stauffer commented on 2020-09-29 12:23

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"
}

willWallace77 commented on 2020-08-15 06:04

Ran into trouble with some issues with building the the package. It looks like the newer versions of qt require

include <QPainterPath> 

line in src/entities/jumper.cpp in order to build properly. It has been fixed upstream on git but the newest release 1.6.4 doesn't have it. To fix it I created a patch for the build, included the patch the source array, updated the sums and patched in a prepare() block. Looked like this:

prepare() {
  cd "$srcdir/$pkgname-v$pkgver-$commit"
  patch --forward --strip=1 --input="$srcdir/package.patch"
}

Also a heads up the 1.6.4 also has rearranged and possibly redone logos. so the line

  install -Dm644 "images/logo/sqe-logo.png" "$pkgdir/usr/share/pixmaps/sqe-     logo.png"

in the package() block should be replaced I think with "logo.png" right in the root of the source directory. I don't know what it should be named in the pixmaps directory though.

GalaxyLJGD commented on 2018-12-09 17:26

The compilation gives error because lines 27 and 34 of PKGBUILD change to the directory "$srcdir/$pkgname-$pkgver" which would result in "builddir/solarus-quest-editor-1.5.3/", but it doesn't exists because the directory extracted from the file "v1.5.3.tar.gz" is called "solarus-quest-editor-v1.5.3-c511d47e122b82a08d5632235fdbb269dcc89773/".

EDIT: simple correction.

CrimSun commented on 2018-11-28 21:58

This project has moved to Gitlab, so a change to the correct Gitlab repo is necessary.