Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Chakra
Packages
desktop
Commits
5b351dc1
Commit
5b351dc1
authored
Mar 25, 2013
by
Adrián Chaves Fernández (Gallaecio)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Red Eclipse .desktop to show the icon properly.
parent
cbe29eb8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
47 deletions
+5
-47
redeclipse/PKGBUILD
redeclipse/PKGBUILD
+5
-2
redeclipse/system-libs.diff
redeclipse/system-libs.diff
+0
-45
No files found.
redeclipse/PKGBUILD
View file @
5b351dc1
#
# 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>
pkgname
=
redeclipse
pkgver
=
1.4
pkgrel
=
1
pkgrel
=
2
pkgdesc
=
'A first-person shooter, built as a total conversion of Cube Engine 2'
arch
=(
i686 x86_64
)
url
=
http://redeclipse.net
...
...
@@ -19,6 +19,9 @@ md5sums=('3d478f5cf4838adcf5cde8d3421f2ffe')
build
()
{
cd
"
$srcdir
/
$pkgname
-
$pkgver
/src"
# Fix .desktop icon (fixed upstream after Red Eclipse 1.4).
sed
's/"@APPNAME@"/@APPNAME@/'
-i
src/install/nix/redeclipse.desktop.am
# System Enet.
sed
\
-e
"s#-Ienet/include#-I/usr/share/enet/include#"
\
...
...
redeclipse/system-libs.diff
deleted
100644 → 0
View file @
cbe29eb8
--- Makefile.orig 2012-08-31 05:59:06.000000000 +0000
+++ Makefile 2012-09-01 08:54:52.276484541 +0000
@@ -9,7 +9,7 @@
PLATFORM= $(shell uname -s)
PLATFORM_SUFFIX=_native
-INCLUDES= -Ishared -Iengine -Igame -Ienet/include
+INCLUDES= -Ishared -Iengine -Igame -I/usr/share/enet/include
STRIP=
ifeq (,$(findstring -g,$(CXXFLAGS)))
@@ -42,7 +42,7 @@
CLIENT_LIBS= -mwindows $(STD_LIBS) -L$(WINBIN) -L$(WINLIB) -lSDL -lSDL_image -lSDL_mixer -lzlib1 -lopengl32 -lenet -lws2_32 -lwinmm
else
CLIENT_INCLUDES= $(INCLUDES) -I/usr/X11R6/include `sdl-config --cflags`
-CLIENT_LIBS= -Lenet/.libs -lenet -L/usr/X11R6/lib -lX11 `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL
+CLIENT_LIBS= -lenet -L/usr/X11R6/lib -lX11 `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL
endif
ifeq ($(PLATFORM),Linux)
CLIENT_LIBS+= -lrt
@@ -113,7 +113,7 @@
SERVER_LIBS= -mwindows $(STD_LIBS) -L$(WINBIN) -L$(WINLIB) -lzlib1 -lenet -lws2_32 -lwinmm
else
SERVER_INCLUDES= -DSTANDALONE $(INCLUDES)
-SERVER_LIBS= -Lenet/.libs -lenet -lz
+SERVER_LIBS= -lenet -lz
endif
SERVER_OBJS= \
shared/crypto-standalone.o \
@@ -178,13 +178,13 @@
$(STRIP) $(WINBIN)/$(APPSERVER).exe
endif
else
-client: libenet $(CLIENT_OBJS)
+client: $(CLIENT_OBJS)
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(APPCLIENT) $(CLIENT_OBJS) $(CLIENT_LIBS)
ifneq (,$(STRIP))
$(STRIP) $(APPCLIENT)
endif
-server: libenet $(SERVER_OBJS)
+server: $(SERVER_OBJS)
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(APPSERVER) $(SERVER_OBJS) $(SERVER_LIBS)
ifneq (,$(STRIP))
$(STRIP) $(APPSERVER)
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