Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
desktop
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
16
Issues
16
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
6
Merge Requests
6
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chakra
Packages
desktop
Commits
0a53b469
Commit
0a53b469
authored
Aug 01, 2012
by
Adrian Chaves Fernandez (Gallaecio)
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitorious.org:chakra-packages/games
parents
c904f71f
c2983be2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
29 deletions
+12
-29
warsow/PKGBUILD
warsow/PKGBUILD
+12
-18
warsow/warsow.desktop
warsow/warsow.desktop
+0
-11
No files found.
warsow/PKGBUILD
View file @
0a53b469
...
...
@@ -2,35 +2,29 @@
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
#
# NOTE: The package must be built in a system with a matching architecture.
pkgname
=
warsow
pkgver
=
1.0
pkgrel
=
1
pkgrel
=
2
pkgdesc
=
"A free online multiplayer competitive FPS based on the Qfusion engine"
url
=
"http://www.warsow.net/"
license
=(
'GPL'
)
arch
=(
'i686'
'x86_64'
)
depends
=(
'curl'
'libjpeg'
'lib
vorbis'
'libxinerama
'
'libxxf86dga'
'libxxf86vm'
'sdl'
'warsow-data'
)
makedepends
=(
'mesa'
'openal'
)
depends
=(
'curl'
'libjpeg'
'lib
theora'
'libvorbis'
'libxinerama'
'libxrandr
'
'libxxf86dga'
'libxxf86vm'
'sdl'
'warsow-data'
)
makedepends
=(
'mesa'
'openal'
'imagemagick'
'gendesk'
)
optdepends
=(
'openal: for openal audio support'
)
categories
=(
'games'
)
source
=(
"https://launchpadlibrarian.net/111352130/
${
pkgname
}
_
${
pkgver
}
_sdk.tar.gz"
"
${
pkgname
}
.desktop"
)
md5sums
=(
'35b9a8f530b51cda15c660b3a73f377e'
'f9bf60c80820237f7097c4e50a9582cd'
)
source
=(
"https://launchpadlibrarian.net/111352130/
${
pkgname
}
_
${
pkgver
}
_sdk.tar.gz"
)
md5sums
=(
'35b9a8f530b51cda15c660b3a73f377e'
)
build
()
{
cd
${
srcdir
}
gendesk
-n
# Patch AngelScript so it compiles correctly on i686.
if
[
"
$CARCH
"
==
"i686"
]
;
then
sed
-i
's:CXXFLAGS = \(.*\):CXXFLAGS = -march=i686 \1:'
\
$srcdir
/
${
pkgname
}
_
${
pkgver
}
_sdk/libsrcs/angelscript/angelSVN/sdk/angelscript/projects/gnuc/makefile
fi
# Compile Warsow
# Compile Warsow.
cd
$srcdir
/
${
pkgname
}
_
${
pkgver
}
_sdk/source/
unset
CFLAGS
unset
CXXFLAGS
make
-j1
# Error finding a library if -j is higher.
}
...
...
@@ -44,7 +38,7 @@ generateAndInstall() {
package
()
{
cd
$srcdir
/
${
pkgname
}
_
${
pkgver
}
_sdk/source/
# Manual installation.
install
-d
$pkgdir
/usr/share/
${
pkgname
}
/
cp
-r
$srcdir
/
${
pkgname
}
_
${
pkgver
}
_sdk/source/release/
*
\
...
...
@@ -59,5 +53,5 @@ package() {
# Desktop integration:
install
-D
-m
0644
$srcdir
/
${
pkgname
}
.desktop
$pkgdir
/usr/share/applications/
${
pkgname
}
.desktop
install
-D
-m
0644
$srcdir
/
${
pkgname
}
_
${
pkgver
}
_sdk/source/win32/
${
pkgname
}
.ico
$pkgdir
/usr/share/pixmaps/
${
pkgname
}
.ico
install
-D
m644
$srcdir
/
${
pkgname
}
_
${
pkgver
}
_sdk/source/win32/
${
pkgname
}
.ico
$pkgdir
/usr/share/pixmaps/
${
pkgname
}
.png
}
warsow/warsow.desktop
deleted
100644 → 0
View file @
c904f71f
[Desktop Entry]
Encoding=UTF-8
Name=Warsow
GenericName=Warsow
Comment=Online Multiplayer Competitive FPS
Icon=/usr/share/pixmaps/warsow.ico
Exec=/usr/bin/warsow
Terminal=false
Type=Application
Categories=Application;Game
StartupNotify=true
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment