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
9fcef6af
Commit
9fcef6af
authored
Sep 09, 2011
by
Adrián Chaves Fernández (Gallaecio)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Xonotic 0.5.0.
parent
4b442b33
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
70 additions
and
64 deletions
+70
-64
xonotic/PKGBUILD
xonotic/PKGBUILD
+52
-41
xonotic/xonotic-dedicated.sh
xonotic/xonotic-dedicated.sh
+0
-3
xonotic/xonotic-glx.desktop
xonotic/xonotic-glx.desktop
+9
-7
xonotic/xonotic-glx.sh
xonotic/xonotic-glx.sh
+0
-3
xonotic/xonotic-sdl.desktop
xonotic/xonotic-sdl.desktop
+9
-7
xonotic/xonotic-sdl.sh
xonotic/xonotic-sdl.sh
+0
-3
No files found.
xonotic/PKGBUILD
View file @
9fcef6af
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves
gmail.com>
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves
@
gmail.com>
# include global config
source
../_buildscripts/
${
current_repo
}
-
${
_arch
}
-cfg
.conf
pkgname
=
xonotic
pkgver
=
0.1.0
pkgbase
=
xonotic
_pkgbase
=
Xonotic
pkgname
=(
$pkgbase
$pkgbase
-data
)
pkgver
=
0.5.0
pkgrel
=
1
pkgdesc
=
"A free, fast-paced crossplatform first-person shooter
.
"
pkgdesc
=
"A free, fast-paced crossplatform first-person shooter"
arch
=(
'i686'
'x86_64'
)
url
=
"http://xonotic.org"
license
=(
'GPL'
)
depends
=(
'alsa-lib'
'curl'
'libjpeg>=8'
'libmodplug'
'libvorbis'
'libxpm'
'libxxf86dga'
'libxxf86vm'
'sdl'
'libpng>=1.4.0'
)
license
=(
'GPL2'
)
depends
=(
'alsa-lib'
'curl'
'libjpeg'
'libmodplug'
'libpng'
'libvorbis'
'libxpm'
'libxxf86dga'
'libxxf86vm'
'sdl'
)
makedepends
=(
'unzip'
'mesa'
)
source
=(
'http://dl.xonotic.org/xonotic-0.1.0preview.zip'
'xonotic-dedicated.sh'
'xonotic-glx.sh'
'xonotic-sdl.sh'
'xonotic-glx.desktop'
'xonotic-sdl.desktop'
)
md5sums
=(
'aafb43893aa66e01488c817e3a60d96d'
'2c0aef8104fa34aef58d368d994abca3'
'd2f357eab92db585448476470bbf9c1c'
'fdb9b96cd2b700ea9e8a7d6a1ab3505e'
'914c7b9163e92b35f0ab57fdb1653ac5'
'da7d812ff231c9332cd694b39757adda'
)
source
=(
"http://dl.xonotic.org/
$pkgbase
-
$pkgver
.zip"
"xonotic-glx.desktop"
"xonotic-sdl.desktop"
)
md5sums
=(
'cdadb384ccf9cad926bb377312832c2f'
'449ef5bbabfdac6e85673df13d6983b3'
'677ddb624bea1a8dc9268d6ba6f5cb3b'
)
build
()
{
cd
$srcdir
/
Xonotic
/source/darkplaces
cd
$srcdir
/
$_pkgbase
/source/darkplaces
#
build the binaries separately instead to avoid truncated files
make
CPUOPTIMIZATIONS
=
"
$
{
CFLAGS
}
"
DP_LINK_TO_LIBJPEG
=
1 cl-nexuiz
make
CPUOPTIMIZATIONS
=
"
$
{
CFLAGS
}
"
DP_LINK_TO_LIBJPEG
=
1 sdl-nexuiz
make
CPUOPTIMIZATIONS
=
"
$
{
CFLAGS
}
"
DP_LINK_TO_LIBJPEG
=
1 sv-nexuiz
#
Build the binaries separately to avoid truncated files.
make
CPUOPTIMIZATIONS
=
"
$
CFLAGS
"
DP_LINK_TO_LIBJPEG
=
1 cl-nexuiz
make
CPUOPTIMIZATIONS
=
"
$
CFLAGS
"
DP_LINK_TO_LIBJPEG
=
1 sdl-nexuiz
make
CPUOPTIMIZATIONS
=
"
$
CFLAGS
"
DP_LINK_TO_LIBJPEG
=
1 sv-nexuiz
}
package
()
{
cd
$srcdir
/Xonotic
package_xonotic
()
{
cd
$srcdir
/
$_pkgbase
depends
=(
'alsa-lib'
'curl'
'libjpeg'
'libmodplug'
'libpng'
'libvorbis'
'libxpm'
'libxxf86dga'
'libxxf86vm'
'sdl'
'xonotic-data'
)
# Binaries.
install
-Dm755
source
/darkplaces/nexuiz-dedicated
$pkgdir
/usr/share/
$pkgbase
/
$pkgbase
-server
install
-Dm755
source
/darkplaces/nexuiz-glx
$pkgdir
/usr/share/
$pkgbase
/
$pkgbase
-glx
install
-Dm755
source
/darkplaces/nexuiz-sdl
$pkgdir
/usr/share/
$pkgbase
/
$pkgbase
-sdl
# binaries
install
-Dm755
source
/darkplaces/nexuiz-dedicated
$pkgdir
/opt/xonotic/xonotic-dedicated
install
-Dm755
source
/darkplaces/nexuiz-glx
$pkgdir
/opt/xonotic/xonotic-glx
install
-Dm755
source
/darkplaces/nexuiz-sdl
$pkgdir
/opt/xonotic/xonotic-sdl
# Execution scripts.
install
-d
$pkgdir
/usr/bin
for
TYPE
in
server glx sdl
do
cat
>
$pkgdir
/usr/bin/
$pkgbase
-
$TYPE
<<
EOF
#!/bin/sh
cd /usr/share/
$pkgbase
./
$pkgbase
-
$TYPE
\$
@
EOF
chmod
+x
$pkgdir
/usr/bin/
$pkgbase
-
$TYPE
done
# Desktop integration.
install
-Dm644
$srcdir
/
$pkgbase
-glx
.desktop
$pkgdir
/usr/share/applications/
$pkgbase
-glx
.desktop
install
-Dm644
$srcdir
/
$pkgbase
-sdl
.desktop
$pkgdir
/usr/share/applications/
$pkgbase
-sdl
.desktop
install
-Dm644
$srcdir
/
$_pkgbase
/misc/logos/
${
pkgbase
}
_icon.svg
$pkgdir
/usr/share/pixmaps/
$pkgbase
.svg
}
# data
mv
$srcdir
/Xonotic/data
$pkgdir
/opt/xonotic/
package_xonotic-data
()
{
pkgdesc
=
"A free, fast-paced crossplatform first-person shooter (data files)"
depends
=
""
arch
=(
any
)
# convenience files
mkdir
-p
$pkgdir
/usr/share/applications
install
-Dm644
$srcdir
/
*
.desktop
-t
$pkgdir
/usr/share/applications
install
-Dm755
$srcdir
/xonotic-dedicated.sh
$pkgdir
/usr/bin/xonotic-dedicated
install
-Dm755
$srcdir
/xonotic-glx.sh
$pkgdir
/usr/bin/xonotic-glx
install
-Dm755
$srcdir
/xonotic-sdl.sh
$pkgdir
/usr/bin/xonotic-sdl
install
-Dm644
$srcdir
/Xonotic/misc/logos/icons_png/xonotic_512.png
$pkgdir
/usr/share/pixmaps/xonotic.png
install
-d
$pkgdir
/usr/share/
$pkgbase
cp
-R
$srcdir
/
$_pkgbase
/data
$pkgdir
/usr/share/
$pkgbase
/data
}
xonotic/xonotic-dedicated.sh
deleted
100644 → 0
View file @
4b442b33
#!/bin/sh
cd
/opt/xonotic
./xonotic-dedicated
$@
xonotic/xonotic-glx.desktop
View file @
9fcef6af
[Desktop Entry]
Type=Application
Version=2.5
Encoding=UTF-8
Version=1.0
Name=Xonotic (GLX)
Comment=a free open-source first person shooter
Icon=/usr/share/pixmaps/xonotic.png
GenericName=First Person Shooter
GenericName[es]=Juego de tiros
GenericName[gl]=Xogo de tiros
Comment=A first person shooter (GLX interface)
Comment[es]=Un juego de tiros en primera persona (interfaz en GLX).
Comment[gl]=un xogo de tiros en primeira persoa (interface en GLX).
Icon=/usr/share/pixmaps/xonotic.svg
Exec=/usr/bin/xonotic-glx
Terminal=false
StartupNotify=false
Categories=Game;
Categories=Game;ActionGame;
xonotic/xonotic-glx.sh
deleted
100644 → 0
View file @
4b442b33
#!/bin/sh
cd
/opt/xonotic
./xonotic-glx
$@
xonotic/xonotic-sdl.desktop
View file @
9fcef6af
[Desktop Entry]
Type=Application
Version=2.5
Encoding=UTF-8
Version=1.0
Name=Xonotic (SDL)
Comment=a free open-source first person shooter
Icon=/usr/share/pixmaps/xonotic.png
GenericName=First Person Shooter
GenericName[es]=Juego de tiros
GenericName[gl]=Xogo de tiros
Comment=A first person shooter (SDL interface)
Comment[es]=Un juego de tiros en primera persona (interfaz en SDL).
Comment[gl]=un xogo de tiros en primeira persoa (interface en SDL).
Icon=/usr/share/pixmaps/xonotic.svg
Exec=/usr/bin/xonotic-sdl
Terminal=false
StartupNotify=false
Categories=Game;
Categories=Game;ActionGame;
xonotic/xonotic-sdl.sh
deleted
100644 → 0
View file @
4b442b33
#!/bin/sh
cd
/opt/xonotic
./xonotic-sdl
$@
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