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: 16
Popularity: 0.356657
First Submitted: 2012-08-20 20:28
Last Updated: 2016-05-10 23:57

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.

All comments