Package Details: wxlauncher 0.11.0-1

Git Clone URL: https://aur.archlinux.org/wxlauncher.git (read-only)
Package Base: wxlauncher
Description: wxLauncher is a cross-platform launcher for the FreeSpace 2 Open engine
Upstream URL: https://github.com/scp-fs2open/wxLauncher
Licenses: GPL2
Submitter: tea
Maintainer: VoltaicLoki
Last Packager: VoltaicLoki
Votes: 14
Popularity: 0.251121
First Submitted: 2012-08-20 20:28
Last Updated: 2016-05-10 23:57

Required by (0)

Sources (3)

Latest Comments

VoltaicLoki commented on 2016-05-10 23:57

Updated to latest version and moved to building with python3.

leothrix commented on 2015-11-29 00:25

Hey there - I got errors like the following when attempting to build the package:

CMake Error at /usr/share/cmake-3.4/Modules/FindPkgConfig.cmake:568 (message): None of the required 'sdl2' found

I manually installed sdl2 and it appeared to build successfully, so there may need to be some additions to makedepends or depends to fully express the required build dependencies.

hollunder commented on 2015-11-21 08:46

This works for me:
==================


# Maintainer: Michael Mansell <michael.mansell@gmail.com>
# Contributor: Joe Davison <joedavison.davison@gmail.com>

pkgname=wxlauncher
_pkgtar=wxLauncher
pkgver=0.10.1
pkgrel=1

source=("https://github.com/scp-fs2open/wxLauncher/archive/release-0.10.1.zip"
"wxlauncher.png"
"wxlauncher.desktop")
sha256sums=('aaf721fb44eb23362da92e243ea62e9dc6d9ba80064579d66d9c411f3430327e'
'e3bf9cbe7c61378026331a21313fccd891b051e949448715625d1cfd3ae72576'
'8de688171c12fdf273ece4f33177fd773395204c81cf212f8c4293f0ddd16582')

pkgdesc="wxLauncher is a cross-platform launcher for the FreeSpace 2 Open engine"
url="http://www.hard-light.net/forums/index.php?topic=67950.0"
arch=(i686 x86_64)
license=(GPL2)
# change below if you want to modify the resources intall directory. The default installs it along side fs2_open resources.
resourcesdir=/opt/fs2_open/wxlauncher

depends=('wxpython' 'python2' 'python2-markdown' 'openal')
optdepends=('fs2_open')
makedepends=(cmake)

#prepare() {
#}


build() {
cd "$srcdir/${_pkgtar}-release-$pkgver"

if [ ! -d build ]; then
mkdir build
fi

cd build/

# commence build

#cmake -DPYTHON_EXECUTABLE=python2 -DUSE_OPENAL=1 -DRESOURCES_PATH=$resourcesdir -DCMAKE_INSTALL_PREFIX=/usr ../
cmake -DPYTHON_EXECUTABLE=python2 -DUSE_OPENAL=1 -DRESOURCES_PATH=$resourcesdir -DCMAKE_INSTALL_PREFIX=/usr ../ -DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config' -DwxWidgets_wxrc_EXECUTABLE='/usr/bin/wxrc'
make


}

package() {
cd "$srcdir/${_pkgtar}-release-$pkgver/build"
make DESTDIR="$pkgdir/" install
# need to install the .desktop file and icon
cd "$srcdir"
install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 "$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
}

VoltaicLoki commented on 2014-07-04 06:40

Update now includes a .desktop and associated icon.

VoltaicLoki commented on 2014-01-29 01:23

Updated PKGBUILD per freevryheid's suggestion.

freevryheid commented on 2014-01-28 16:31

wxlauncher doesn't compile against wx3 - modify the PKBUILD to reflect the following change:

cmake -DPYTHON_EXECUTABLE=python2 -DUSE_OPENAL=1 -DRESOURCES_PATH=$resourcesdir -DCMAKE_INSTALL_PREFIX=/usr ../ -DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config-2.8' -DwxWidgets_wxrc_EXECUTABLE='/usr/bin/wxrc-2.8'

freevryheid commented on 2014-01-28 16:30

VoltaicLoki commented on 2013-11-07 00:46

I was thinking of moving the resource path to /opt/fs2_open/wxlauncher since all the other files related to fs2_open is there. Either way I made it configurable in the PKGBUILD file.

roadnottaken commented on 2013-11-06 18:15

Sorry, that should be -DRESOURCES_PATH=/usr/share/wxlauncher/ , not /usr/share .

roadnottaken commented on 2013-11-06 17:41

You should add -DRESOURCES_PATH=/usr/share to the cmake line, to keep the package from installing anything under /usr/local . Other than that, probably the only change would be to update the maintainer line at the top of the PKGBUILD.

Also, it would be a good idea to report the linking bug upstream, as suggested in the last comment of their issue 93. That way the patch could hopefully be dropped in the future.

VoltaicLoki commented on 2013-11-06 04:59

Also, sorry if I overstepped by bounds uploading a new PKGBUILD here. I didn't think that submitting something new would immediately classify me as the maintainer.

VoltaicLoki commented on 2013-11-06 04:49

I've added a new PKGBUILD that supports 0.9.4. This also builds (as far as I know) a proper package when being used by makepkg. Any comments or feedback is welcome as this is my first attempt at building a package for arch.

roadnottaken commented on 2013-11-04 18:19

wxLauncher is now at version 0.9.4 .

Samsagax commented on 2013-03-29 16:45

You could also add a nice .desktop file :) I'll make a package for the FSPort mod.

Samsagax commented on 2013-03-29 15:57

Add the two patches linked here: https://code.google.com/p/wxlauncher/issues/detail?id=93

And it works like a charm for the time being. Here is my PKGBUILD: http://pastebin.com/6dgZp3da

And src file: http://dl.dropbox.com/u/101701104/wxlauncher-0.9.1-2.src.tar.gz

ZekeSulastin commented on 2012-08-30 11:43

For those keeping an eye on the project, the two major issues impacting using this with Arch are:

Issue 92: Choose any executable from any path: https://code.google.com/p/wxlauncher/issues/detail?id=92
Issue 93: wxLauncher doesn't follow fs2_open behavior of writing to ~/.fs2_open https://code.google.com/p/wxlauncher/issues/detail?id=93

The software didn't seem quite designed to not have full r/w access to a single directory that has everything >.>

ZekeSulastin commented on 2012-08-21 02:02

Ping me on irc sometime (ZekeS) - finally someone else interested in FS2 with whom I can discuss packaging things (especially wxLauncher, which expects a program layout rather different than the one currently used ...)