forked from hasufell/hasufell-repository
Various minor improvements
This commit is contained in:
parent
3fa0f3d96a
commit
1300f8bdd1
@ -1,6 +1,7 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Wed Dec 26 19:46:44 UTC 2012
|
||||
Subject: build system
|
||||
Upstream: no, dead
|
||||
|
||||
respect flags, add LDFLAGS to linker line
|
||||
fix install rules
|
||||
|
@ -22,6 +22,8 @@ MYOPTIONS="
|
||||
"
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
virtual/pkg-config
|
||||
build+run:
|
||||
dev-libs/libgcrypt
|
||||
sys-apps/util-linux
|
||||
@ -40,8 +42,6 @@ DEPENDENCIES="
|
||||
providers:eudev? ( sys-apps/eudev )
|
||||
providers:systemd? ( sys-apps/systemd )
|
||||
)
|
||||
build:
|
||||
virtual/pkg-config
|
||||
"
|
||||
|
||||
CMAKE_SRC_CONFIGURE_PARAMS=(
|
||||
|
@ -25,7 +25,6 @@ src_configure() {
|
||||
--with-wx-config="/usr/$(exhost --target)/lib/wx/config/$(option providers:gtk3 'gtk3' 'gtk2')-unicode-3.0" \
|
||||
--with-wxshared \
|
||||
--with-sqlite3-prefix="/usr/$(exhost --target)"
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
@ -38,6 +37,7 @@ src_install() {
|
||||
gtkver=2
|
||||
fi
|
||||
|
||||
# this is the upstream .pc file
|
||||
edo sed \
|
||||
-e "s:prefix=/usr:prefix=/usr/$(exhost --target):" \
|
||||
-e "s:wxcode_gtk2_wxsqlite3:wxcode_gtk${gtkver}u_wxsqlite3:" \
|
||||
|
@ -17,9 +17,9 @@ DESCRIPTION="
|
||||
"
|
||||
|
||||
MY_PN="OpenSceneGraph"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
MY_PNV=${MY_PN}-${PV}
|
||||
HOMEPAGE="http://${PN}.org"
|
||||
DOWNLOADS="http://trac.openscenegraph.org/downloads/developer_releases/${MY_P}.zip"
|
||||
DOWNLOADS="http://trac.openscenegraph.org/downloads/developer_releases/${MY_PNV}.zip"
|
||||
|
||||
LICENCES="wxWinLL-3 LGPL-2.1"
|
||||
SLOT="0"
|
||||
@ -87,3 +87,4 @@ src_prepare() {
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ MYOPTIONS="
|
||||
"
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
dev-libs/glm
|
||||
virtual/pkg-config
|
||||
build+run:
|
||||
dev-libs/pcre[>=5.0]
|
||||
media-libs/freetype:2[>=0.15.0]
|
||||
@ -48,9 +51,6 @@ DEPENDENCIES="
|
||||
)
|
||||
tinyxml? ( dev-libs/tinyxml )
|
||||
xerces? ( dev-libs/xerces-c )
|
||||
build:
|
||||
dev-libs/glm
|
||||
virtual/pkg-config
|
||||
"
|
||||
|
||||
# TODO: python
|
||||
@ -94,3 +94,4 @@ CMAKE_SRC_CONFIGURE_OPTIONS=(
|
||||
src_prepare() {
|
||||
edo sed -i -e '/CEGUI_LIB_INSTALL_DIR/s#lib64#lib#' CMakeLists.txt
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Sat Oct 27 22:39:31 UTC 2012
|
||||
Subject: FHS
|
||||
Upstream: no
|
||||
|
||||
paths hardcoded until upstream fixed the logic
|
||||
|
||||
|
@ -1,4 +1,6 @@
|
||||
Fix installation destination
|
||||
Source: Julian Ospald <hasufell@posteo.de>
|
||||
Upstream: no
|
||||
Reason: Fix installation destination
|
||||
|
||||
diff -ru mygui-MyGUI3.2.2.orig/CMake/ConfigureBuild.cmake mygui-MyGUI3.2.2/CMake/ConfigureBuild.cmake
|
||||
--- mygui-MyGUI3.2.2.orig/CMake/ConfigureBuild.cmake 2015-01-26 10:32:35.000000000 -0500
|
||||
|
@ -1,6 +1,7 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Fri Jun 15 10:42:42 UTC 2012
|
||||
Subject: build system
|
||||
Upstream: no
|
||||
|
||||
fix underlinking
|
||||
|
||||
|
@ -1,24 +1,20 @@
|
||||
# Copyright 2014 Julian Ospald <hasufell@posteo.de>
|
||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
|
||||
MY_PN=MyGUI
|
||||
MY_P=${MY_PN}${PV}
|
||||
WORK="${WORKBASE}/${PN}-${MY_P}"
|
||||
|
||||
MY_PNV=${MY_PN}${PV}
|
||||
WORK="${WORKBASE}/${PN}-${MY_PNV}"
|
||||
|
||||
require cmake [ api=2 ]
|
||||
|
||||
|
||||
SUMMARY="A library for creating GUIs for games"
|
||||
HOMEPAGE="http://mygui.info/"
|
||||
DOWNLOADS="https://github.com/MyGUI/mygui/archive/${MY_P}.tar.gz"
|
||||
DOWNLOADS="https://github.com/MyGUI/mygui/archive/${MY_PNV}.tar.gz"
|
||||
|
||||
LICENCES="MIT"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
|
||||
|
||||
DEPENDENCIES="
|
||||
build+run:
|
||||
media-libs/freetype:2
|
||||
@ -62,3 +58,4 @@ src_install() {
|
||||
# wrapper not available for linux, remove related media
|
||||
edo rm -rf "${IMAGE}"/usr/share/MYGUI/Media/Wrapper
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright Julian Ospald <hasufell@posteo.de>
|
||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
SUMMARY="A flexible, cross-platform scripting library"
|
||||
@ -11,7 +11,8 @@ PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
build: virtual/unzip
|
||||
build:
|
||||
virtual/unzip
|
||||
"
|
||||
|
||||
WORK=${WORKBASE}/sdk
|
||||
@ -21,8 +22,8 @@ DEFAULT_SRC_PREPARE_PATCHES=(
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
export CXX=${CXX} AR=${AR} RANLIB=${RANLIB}
|
||||
emake -C ${PN}/projects/gnuc \
|
||||
export CXX=${CXX} AR=${AR} RANLIB=${RANLIB}
|
||||
emake -C ${PN}/projects/gnuc \
|
||||
LIBRARYDEST=
|
||||
}
|
||||
|
||||
|
@ -44,9 +44,9 @@ CMAKE_SRC_CONFIGURE_TESTS=(
|
||||
enable_mbedtls_option() {
|
||||
local myopt="$@"
|
||||
# check that config.h syntax is the same at version bump
|
||||
sed -i \
|
||||
edo sed -i \
|
||||
-e "s://#define ${myopt}:#define ${myopt}:" \
|
||||
include/mbedtls/config.h || die
|
||||
include/mbedtls/config.h
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
|
@ -14,10 +14,10 @@ PLATFORMS="~amd64"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
build+run:
|
||||
dev-libs/protobuf[>=2.6.0]
|
||||
build:
|
||||
virtual/pkg-config
|
||||
build+run:
|
||||
dev-libs/protobuf[>=2.6.0]
|
||||
"
|
||||
|
||||
BUGS_TO="will@worrbase.com"
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
require pypi setup-py [ import=distutils ]
|
||||
|
||||
|
||||
SUMMARY="Basic building blocks for python applications"
|
||||
HOMEPAGE="http://ag-projects.com/"
|
||||
|
||||
@ -12,4 +11,3 @@ SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Tue Sep 8 01:22:40 UTC 2015
|
||||
Subject: fix compatibility with libressl
|
||||
Upstream: not yet
|
||||
|
||||
--- a/eventlib/green/socket.py
|
||||
+++ b/eventlib/green/socket.py
|
||||
|
@ -29,8 +29,6 @@ DEPENDENCIES="
|
||||
media-libs/freealut[>=1.1.0]
|
||||
media-libs/freetype:2
|
||||
media-libs/glew
|
||||
providers:ijg-jpeg? ( media-libs/jpeg )
|
||||
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
|
||||
media-libs/libogg[>=1.2.2]
|
||||
media-libs/libpng:=
|
||||
media-libs/libvorbis[>=1.3.2]
|
||||
@ -44,6 +42,8 @@ DEPENDENCIES="
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libX11
|
||||
x11-libs/libXrandr
|
||||
providers:ijg-jpeg? ( media-libs/jpeg:= )
|
||||
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
|
||||
test:
|
||||
dev-cpp/gtest
|
||||
"
|
||||
|
@ -7,7 +7,7 @@ require love-app [ loveslot="0.8" lovezip=true lovepn=${PN} ]
|
||||
SUMMARY="A game made in 20 hours for a friend. It has explosions"
|
||||
HOMEPAGE="http://stabyourself.net/trosh/"
|
||||
DOWNLOADS="http://stabyourself.net/dl.php?file=trosh/trosh-linux.zip -> ${PNV}.zip
|
||||
https://dev.gentoo.org/~hasufell/distfiles/${PN}.png"
|
||||
https://dev.gentoo.org/~hasufell/distfiles/${PN}.png"
|
||||
|
||||
LICENCES="WTFPL-2"
|
||||
SLOT="0"
|
||||
|
@ -1,6 +1,7 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Sat Jan 26 20:04:17 UTC 2013
|
||||
Subject: build system
|
||||
Upstream: not yet
|
||||
|
||||
fix FHS compliance
|
||||
add several switches for icon, desktopdir and tk
|
||||
|
@ -1,4 +1,5 @@
|
||||
# Copyright 2015-2016 Julian Ospald <hasufell@posteo.de>, Heiko Schaefer <heiko@rangun.de>
|
||||
# Copyright 2015-2016 Julian Ospald <hasufell@posteo.de>,
|
||||
# Heiko Schaefer <heiko@rangun.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require qmake [ slot=4 ]
|
||||
@ -30,7 +31,7 @@ WORK=${WORKBASE}/NetMauMau-Qt-Client-${PV}
|
||||
src_configure() {
|
||||
if option espeak; then USE_ESPEAK='CONFIG+=espeak'; fi
|
||||
EQMAKE_SOURCES="nmm-qt-client.pro" eqmake $USE_ESPEAK
|
||||
lrelease -compress -nounfinished -removeidentical -silent src/src.pro
|
||||
edo lrelease -compress -nounfinished -removeidentical -silent src/src.pro
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
@ -8,7 +8,7 @@ MY_PN=PySolFC
|
||||
SUMMARY="An exciting collection of more than 1000 solitaire card games"
|
||||
HOMEPAGE="http://pysolfc.sourceforge.net/"
|
||||
DOWNLOADS="mirror://sourceforge/${PN}/${MY_PN}-${PV}.tar.bz2
|
||||
mirror://sourceforge/${PN}/${MY_PN}-Cardsets-${PV}.tar.bz2"
|
||||
mirror://sourceforge/${PN}/${MY_PN}-Cardsets-${PV}.tar.bz2"
|
||||
|
||||
LICENCES="GPL-3"
|
||||
SLOT="0"
|
||||
@ -25,14 +25,14 @@ DEPENDENCIES="
|
||||
WORK=${WORKBASE}/${MY_PN}-${PV}
|
||||
|
||||
src_prepare() {
|
||||
setup-py_src_prepare
|
||||
setup-py_src_prepare
|
||||
|
||||
edo sed -i \
|
||||
-e "/pysol.desktop/d" \
|
||||
-e "s:share/icons:share/pixmaps:" \
|
||||
setup.py
|
||||
edo sed -i \
|
||||
-e "/pysol.desktop/d" \
|
||||
-e "s:share/icons:share/pixmaps:" \
|
||||
setup.py
|
||||
|
||||
edo mv docs/README{,.txt}
|
||||
edo mv docs/README{,.txt}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
@ -41,7 +41,7 @@ src_install() {
|
||||
insinto /usr/share/${MY_PN}
|
||||
doins -r "${WORKBASE}"/${MY_PN}-Cardsets-${PV}/*
|
||||
|
||||
doman docs/*.6
|
||||
doman docs/*.6
|
||||
|
||||
insinto /usr/share/applications
|
||||
hereins ${PN}.desktop << EOF
|
||||
|
@ -33,64 +33,64 @@ DEPENDENCIES="
|
||||
"
|
||||
|
||||
fix_scons() {
|
||||
local i
|
||||
for i; do
|
||||
cat >> $i << END || die
|
||||
local i
|
||||
for i; do
|
||||
cat >> $i << END || die
|
||||
import os
|
||||
import SCons.Util
|
||||
|
||||
if os.environ.has_key('AR'):
|
||||
env['AR'] = os.environ['AR']
|
||||
env['AR'] = os.environ['AR']
|
||||
if os.environ.has_key('RANLIB'):
|
||||
env['RANLIB'] = os.environ['RANLIB']
|
||||
env['RANLIB'] = os.environ['RANLIB']
|
||||
if os.environ.has_key('CC'):
|
||||
env['CC'] = os.environ['CC']
|
||||
env['CC'] = os.environ['CC']
|
||||
if os.environ.has_key('CFLAGS'):
|
||||
env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS'])
|
||||
env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS'])
|
||||
if os.environ.has_key('CXX'):
|
||||
env['CXX'] = os.environ['CXX']
|
||||
env['CXX'] = os.environ['CXX']
|
||||
if os.environ.has_key('CXXFLAGS'):
|
||||
env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
|
||||
env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
|
||||
if os.environ.has_key('CPPFLAGS'):
|
||||
env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CPPFLAGS'])
|
||||
env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CPPFLAGS'])
|
||||
if os.environ.has_key('LDFLAGS'):
|
||||
env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
|
||||
env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
|
||||
END
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
fix_scons {gambatte_sdl,libgambatte}/SConstruct
|
||||
fix_scons {gambatte_sdl,libgambatte}/SConstruct
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if option qt4; then
|
||||
edo cd "${WORK}"/gambatte_qt
|
||||
eqmake ${PN}_qt.pro
|
||||
fi
|
||||
if option qt4; then
|
||||
edo cd "${WORK}"/gambatte_qt
|
||||
eqmake ${PN}_qt.pro
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# build core library
|
||||
edo cd "${WORK}"/libgambatte
|
||||
escons
|
||||
# build core library
|
||||
edo cd "${WORK}"/libgambatte
|
||||
escons
|
||||
|
||||
# build sdl frontend
|
||||
if option sdl; then
|
||||
edo cd "${WORK}"/gambatte_sdl
|
||||
escons
|
||||
fi
|
||||
# build sdl frontend
|
||||
if option sdl; then
|
||||
edo cd "${WORK}"/gambatte_sdl
|
||||
escons
|
||||
fi
|
||||
|
||||
# build qt frontend
|
||||
if option qt4; then
|
||||
emake -C "${WORK}"/gambatte_qt
|
||||
fi
|
||||
# build qt frontend
|
||||
if option qt4; then
|
||||
emake -C "${WORK}"/gambatte_qt
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
option sdl && dobin gambatte_sdl/gambatte_sdl
|
||||
option qt4 && dobin gambatte_qt/bin/gambatte_qt
|
||||
option sdl && dobin gambatte_sdl/gambatte_sdl
|
||||
option qt4 && dobin gambatte_qt/bin/gambatte_qt
|
||||
|
||||
nonfatal dodoc README changelog
|
||||
nonfatal dodoc README changelog
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2014 Julian Ospald <hasufell@posteo.de>
|
||||
# Copyright 2014-2016 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
|
||||
@ -14,10 +14,7 @@ DOWNLOADS="https://github.com/OpenMW/openmw/archive/${PNV}.tar.gz"
|
||||
LICENCES="GPL-3 MIT bitstream-font OFL-1.1"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
|
||||
MYOPTIONS="
|
||||
( providers: ijg-jpeg jpeg-turbo ) [[ number-selected = exactly-one ]]
|
||||
"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
|
@ -1,6 +1,7 @@
|
||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require lua [ whitelist="5.1" multibuild=false ]
|
||||
require cmake
|
||||
|
||||
SUMMARY="An open-source Zelda-like 2D game engine"
|
||||
@ -14,7 +15,6 @@ PLATFORMS="~amd64 ~x86"
|
||||
DEPENDENCIES="
|
||||
build+run:
|
||||
dev-games/physfs
|
||||
dev-lang/lua:5.1
|
||||
media-libs/libmodplug
|
||||
media-libs/libvorbis
|
||||
media-libs/openal
|
||||
|
@ -1,6 +1,7 @@
|
||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require lua [ whitelist="all" multibuild=false ]
|
||||
require cmake
|
||||
|
||||
SUMMARY="A realtime strategy game engine"
|
||||
@ -18,7 +19,6 @@ DEPENDENCIES="
|
||||
build+run:
|
||||
app-arch/bzip2
|
||||
dev-db/sqlite:3
|
||||
dev-lang/lua:=
|
||||
dev-lang/toluapp
|
||||
media-libs/SDL:0[X]
|
||||
media-libs/libmikmod
|
||||
|
@ -7,7 +7,7 @@ MY_PN=alienarena-7.66
|
||||
SUMMARY="Fast-paced multiplayer deathmatch game"
|
||||
HOMEPAGE="http://red.planetarena.org/"
|
||||
DOWNLOADS="http://icculus.org/alienarena/Files/${MY_PN}-linux${PV}.tar.gz
|
||||
http://red.planetarena.org/files/${MY_PN}-linux${PV}.tar.gz"
|
||||
http://red.planetarena.org/files/${MY_PN}-linux${PV}.tar.gz"
|
||||
|
||||
LICENCES="GPL-2 free-noncomm"
|
||||
SLOT="0"
|
||||
@ -56,7 +56,7 @@ src_compile() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
default
|
||||
|
||||
insinto /usr/share/applications/
|
||||
hereins ${PN}.desktop << EOF
|
||||
|
@ -1,3 +1,7 @@
|
||||
Author: unknown
|
||||
Upstream: no
|
||||
Reason: fix compiler warnings
|
||||
|
||||
--- source/game/p_client.c.old 2016-01-18 20:13:25.147714704 +0100
|
||||
+++ source/game/p_client.c 2016-01-18 20:13:38.776476727 +0100
|
||||
@@ -2123,7 +2123,7 @@
|
||||
|
@ -24,7 +24,7 @@ MY_SC55=3.0
|
||||
MY_OPL=2.0
|
||||
MY_XXX=1.33
|
||||
|
||||
DESCRIPTION="Port of Duke Nukem 3D for SDL"
|
||||
SUMMARY="Port of Duke Nukem 3D for SDL"
|
||||
HOMEPAGE="http://www.eduke32.com/ http://hrp.duke4.net/"
|
||||
DOWNLOADS="http://dev.gentoo.org/~hasufell/distfiles/eduke32-icons.tar
|
||||
hires-textures? ( mirror://gentoo/duke3d_hrp_${MY_HRP}.zip )
|
||||
|
@ -15,10 +15,10 @@ MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
build+run:
|
||||
media-libs/SDL:0[X]
|
||||
media-libs/SDL_image:1
|
||||
media-libs/SDL_mixer:0[ogg]
|
||||
x11-libs/libX11
|
||||
media-libs/SDL:0[X]
|
||||
media-libs/SDL_image:1
|
||||
media-libs/SDL_mixer:0[ogg]
|
||||
x11-libs/libX11
|
||||
sys-libs/zlib
|
||||
x11-dri/glu
|
||||
x11-dri/mesa
|
||||
@ -30,12 +30,12 @@ DEPENDENCIES="
|
||||
WORK=${WORKBASE}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
edo rm -r sauerbraten_unix bin_unix src/{include,lib,vcpp}
|
||||
edo rm -r sauerbraten_unix bin_unix src/{include,lib,vcpp}
|
||||
|
||||
default
|
||||
|
||||
# Fix links so they point to the correct directory
|
||||
edo sed -i -e 's:docs/::' README.html
|
||||
# Fix links so they point to the correct directory
|
||||
edo sed -i -e 's:docs/::' README.html
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
@ -44,8 +44,8 @@ src_compile() {
|
||||
|
||||
src_install() {
|
||||
local LIBEXECDIR="/usr/$(exhost --target)/libexec/${PN}"
|
||||
local DATADIR="/usr/share/${PN}"
|
||||
local STATEDIR="/var/lib/${PN}"
|
||||
local DATADIR="/usr/share/${PN}"
|
||||
local STATEDIR="/var/lib/${PN}"
|
||||
|
||||
# Install the game data
|
||||
insinto "${DATADIR}"
|
||||
@ -77,14 +77,14 @@ Icon=${PN}
|
||||
Categories=Game;ActionGame;
|
||||
EOF
|
||||
|
||||
# Install the server config files
|
||||
insinto "${STATEDIR}"
|
||||
doins "server-init.cfg"
|
||||
# Install the server config files
|
||||
insinto "${STATEDIR}"
|
||||
doins "server-init.cfg"
|
||||
|
||||
# Install the server executables
|
||||
exeinto "${LIBEXECDIR}"
|
||||
doexe src/sauer_master
|
||||
doexe src/sauer_server
|
||||
# Install the server executables
|
||||
exeinto "${LIBEXECDIR}"
|
||||
doexe src/sauer_master
|
||||
doexe src/sauer_server
|
||||
|
||||
herebin ${PN}-server <<EOF
|
||||
#!/bin/sh
|
||||
@ -96,30 +96,30 @@ exec "${LIBEXECDIR}/sauer_master" ${STATEDIR} "\$@"
|
||||
EOF
|
||||
|
||||
# Install the server init script
|
||||
edo cp "${FILES}"/${PN}.init "${TEMP}"
|
||||
edo sed -i \
|
||||
-e "s:%SYSCONFDIR%:${STATEDIR}:g" \
|
||||
-e "s:%LIBEXECDIR%:${LIBEXECDIR}:g" \
|
||||
"${TEMP}"/${PN}.init
|
||||
newinitd "${TEMP}"/${PN}.init ${PN}
|
||||
edo cp "${FILES}"/${PN}.conf "${TEMP}"
|
||||
edo sed -i \
|
||||
-e "s:%SYSCONFDIR%:${STATEDIR}:g" \
|
||||
-e "s:%LIBEXECDIR%:${LIBEXECDIR}:g" \
|
||||
"${TEMP}"/${PN}.conf
|
||||
newconfd "${TEMP}"/${PN}.conf ${PN}
|
||||
edo cp "${FILES}"/${PN}.init "${TEMP}"
|
||||
edo sed -i \
|
||||
-e "s:%SYSCONFDIR%:${STATEDIR}:g" \
|
||||
-e "s:%LIBEXECDIR%:${LIBEXECDIR}:g" \
|
||||
"${TEMP}"/${PN}.init
|
||||
newinitd "${TEMP}"/${PN}.init ${PN}
|
||||
edo cp "${FILES}"/${PN}.conf "${TEMP}"
|
||||
edo sed -i \
|
||||
-e "s:%SYSCONFDIR%:${STATEDIR}:g" \
|
||||
-e "s:%LIBEXECDIR%:${LIBEXECDIR}:g" \
|
||||
"${TEMP}"/${PN}.conf
|
||||
newconfd "${TEMP}"/${PN}.conf ${PN}
|
||||
|
||||
dodoc src/*.txt docs/dev/*.txt
|
||||
dodoc src/*.txt docs/dev/*.txt
|
||||
|
||||
insinto /usr/share/doc/${PNVR}/html
|
||||
doins -r README.html docs/*
|
||||
|
||||
edo chown sauerbraten:sauerbraten "${IMAGE%/}/${STATEDIR}"
|
||||
edo chown sauerbraten:sauerbraten "${IMAGE%/}/${STATEDIR}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you plan to use map editor feature copy all map data from ${DATADIR}"
|
||||
elog "to corresponding folder in your HOME/.${PN}"
|
||||
elog "If you plan to use map editor feature copy all map data from ${DATADIR}"
|
||||
elog "to corresponding folder in your HOME/.${PN}"
|
||||
|
||||
gtk-icon-cache_pkg_postinst
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
Author: hasufell <hasufell@gentoo.org>
|
||||
Date: Wed Jul 10 01:25:27 2013 +0200
|
||||
Upstream: no, they don't care
|
||||
|
||||
respect CFLAGS/LDFLAGS
|
||||
|
||||
|
@ -7,7 +7,7 @@ DATA_PV=${PV//./}
|
||||
ENGINE_PV=${PV//./}
|
||||
ENGINE_P=${PN}_${ENGINE_PV}_sdk
|
||||
|
||||
DESCRIPTION="Multiplayer FPS based on the QFusion engine (evolved from Quake 2)"
|
||||
SUMMARY="Multiplayer FPS based on the QFusion engine (evolved from Quake 2)"
|
||||
HOMEPAGE="http://www.warsow.net/"
|
||||
DOWNLOADS="http://mirror.null.one/${ENGINE_P}.tar.gz
|
||||
http://mirror.null.one/warsow_${DATA_PV}_unified.tar.gz
|
||||
@ -27,17 +27,17 @@ MYOPTIONS="
|
||||
|
||||
DEPENDENCIES="
|
||||
build+run:
|
||||
media-libs/SDL:2[X]
|
||||
media-libs/freetype
|
||||
media-libs/libogg
|
||||
media-libs/libpng:=
|
||||
media-libs/libtheora
|
||||
media-libs/libvorbis
|
||||
media-libs/openal
|
||||
media-libs/SDL:2[X]
|
||||
net-misc/curl
|
||||
sys-libs/zlib
|
||||
x11-dri/mesa
|
||||
providers:ijg-jpeg? ( media-libs/jpeg )
|
||||
providers:ijg-jpeg? ( media-libs/jpeg:= )
|
||||
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
|
||||
"
|
||||
|
||||
|
@ -51,33 +51,33 @@ DEPENDENCIES="
|
||||
WORK=${WORKBASE}/${MY_PN}
|
||||
|
||||
src_prepare() {
|
||||
edo sed -i \
|
||||
-e "/^EXE_/s:darkplaces:${PN}:" \
|
||||
-e "s:-O3:${CFLAGS}:" \
|
||||
-e "/-lm/s:$: ${LDFLAGS}:" \
|
||||
-e '/^STRIP/s/strip/true/' \
|
||||
source/darkplaces/makefile.inc
|
||||
edo sed -i \
|
||||
-e "/^EXE_/s:darkplaces:${PN}:" \
|
||||
-e "s:-O3:${CFLAGS}:" \
|
||||
-e "/-lm/s:$: ${LDFLAGS}:" \
|
||||
-e '/^STRIP/s/strip/true/' \
|
||||
source/darkplaces/makefile.inc
|
||||
|
||||
if ! option alsa; then
|
||||
edo sed -i \
|
||||
-e "/DEFAULT_SNDAPI/s:ALSA:OSS:" \
|
||||
source/darkplaces/makefile
|
||||
fi
|
||||
if ! option alsa; then
|
||||
edo sed -i \
|
||||
-e "/DEFAULT_SNDAPI/s:ALSA:OSS:" \
|
||||
source/darkplaces/makefile
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local i
|
||||
local i
|
||||
|
||||
export CC=${CC} CXX=${CXX} LD=${LD} AR=${AR} RANLIB=${RANLIB}
|
||||
export CC=${CC} CXX=${CXX} LD=${LD} AR=${AR} RANLIB=${RANLIB}
|
||||
|
||||
# fixes parallel build issues
|
||||
for i in sv-release cl-release sdl-release ; do
|
||||
emake \
|
||||
-C source/darkplaces \
|
||||
DP_LINK_TO_LIBJPEG=1 \
|
||||
DP_FS_BASEDIR="/usr/share/${PN}" \
|
||||
${i}
|
||||
done
|
||||
# fixes parallel build issues
|
||||
for i in sv-release cl-release sdl-release ; do
|
||||
emake \
|
||||
-C source/darkplaces \
|
||||
DP_LINK_TO_LIBJPEG=1 \
|
||||
DP_FS_BASEDIR="/usr/share/${PN}" \
|
||||
${i}
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
@ -109,11 +109,11 @@ EOF
|
||||
|
||||
dobin source/darkplaces/${PN}-glx
|
||||
dobin source/darkplaces/${PN}-sdl
|
||||
dobin source/darkplaces/${PN}-dedicated
|
||||
dobin source/darkplaces/${PN}-dedicated
|
||||
|
||||
dodoc Docs/*.txt
|
||||
dodoc Docs/*.txt
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r key_0.d0pk server data
|
||||
insinto /usr/share/${PN}
|
||||
doins -r key_0.d0pk server data
|
||||
}
|
||||
|
||||
|
@ -12,15 +12,15 @@ SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
dev-libs/boost
|
||||
virtual/pkg-config
|
||||
build+run:
|
||||
media-libs/freetype:2
|
||||
media-libs/glew
|
||||
media-libs/openal
|
||||
media-libs/SDL:0[X]
|
||||
sys-libs/zlib
|
||||
build:
|
||||
dev-libs/boost
|
||||
virtual/pkg-config
|
||||
suggestion:
|
||||
app-arch/innoextract [[ description = [ For extracting game files
|
||||
from CD, used by the
|
||||
|
@ -27,11 +27,11 @@ pkg_pretend() {
|
||||
}
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo
|
||||
einfo "Please buy & download \"${DOWNLOADS}\" from:"
|
||||
einfo " ${HOMEPAGE}"
|
||||
einfo "and move/link it to \"${FETCHEDDIR}\""
|
||||
einfo
|
||||
einfo
|
||||
einfo "Please buy & download \"${DOWNLOADS}\" from:"
|
||||
einfo " ${HOMEPAGE}"
|
||||
einfo "and move/link it to \"${FETCHEDDIR}\""
|
||||
einfo
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
@ -44,14 +44,14 @@ src_unpack() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dir=/opt/${PN}
|
||||
local f
|
||||
local dir=/opt/${PN}
|
||||
local f
|
||||
|
||||
insinto "${dir}"
|
||||
doins -r game
|
||||
edo chmod +x "${IMAGE}${dir}"/game/BaldursGateII
|
||||
insinto "${dir}"
|
||||
doins -r game
|
||||
edo chmod +x "${IMAGE}${dir}"/game/BaldursGateII
|
||||
|
||||
dodir "${dir}/lib"
|
||||
dodir "${dir}/lib"
|
||||
|
||||
edo pushd "${WORK}"/lib
|
||||
exeinto "${dir}/lib"
|
||||
@ -66,7 +66,7 @@ src_install() {
|
||||
edo popd
|
||||
|
||||
insinto /usr/share/icons/hicolor/256x256/apps
|
||||
newins support/icon.png ${PN}.png
|
||||
newins support/icon.png ${PN}.png
|
||||
|
||||
local LD_PATH="/usr/$(exhost --target)/lib/ld-linux.so.2";
|
||||
herebin ${PN} <<EOF
|
||||
@ -92,6 +92,6 @@ Icon=${PN}
|
||||
Categories=Game;RolePlaying;
|
||||
EOF
|
||||
|
||||
dodoc docs/BGManual2.pdf
|
||||
dodoc docs/BGManual2.pdf
|
||||
}
|
||||
|
||||
|
@ -27,11 +27,11 @@ pkg_pretend() {
|
||||
}
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo
|
||||
einfo "Please buy & download \"${DOWNLOADS}\" from:"
|
||||
einfo " ${HOMEPAGE}"
|
||||
einfo "and move/link it to \"${FETCHEDDIR}\""
|
||||
einfo
|
||||
einfo
|
||||
einfo "Please buy & download \"${DOWNLOADS}\" from:"
|
||||
einfo " ${HOMEPAGE}"
|
||||
einfo "and move/link it to \"${FETCHEDDIR}\""
|
||||
einfo
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
@ -44,14 +44,14 @@ src_unpack() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dir=/opt/${PN}
|
||||
local f
|
||||
local dir=/opt/${PN}
|
||||
local f
|
||||
|
||||
insinto "${dir}"
|
||||
doins -r game
|
||||
edo chmod +x "${IMAGE}${dir}"/game/BaldursGate
|
||||
insinto "${dir}"
|
||||
doins -r game
|
||||
edo chmod +x "${IMAGE}${dir}"/game/BaldursGate
|
||||
|
||||
dodir "${dir}/lib"
|
||||
dodir "${dir}/lib"
|
||||
|
||||
edo pushd "${WORK}"/lib
|
||||
exeinto "${dir}/lib"
|
||||
@ -66,7 +66,7 @@ src_install() {
|
||||
edo popd
|
||||
|
||||
insinto /usr/share/icons/hicolor/256x256/apps
|
||||
newins support/icon.png ${PN}.png
|
||||
newins support/icon.png ${PN}.png
|
||||
|
||||
local LD_PATH="/usr/$(exhost --target)/lib/ld-linux.so.2";
|
||||
herebin ${PN} <<EOF
|
||||
@ -92,6 +92,6 @@ Icon=${PN}
|
||||
Categories=Game;RolePlaying;
|
||||
EOF
|
||||
|
||||
dodoc -r docs/Manuals
|
||||
dodoc -r docs/Manuals
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,8 @@ MYOPTIONS="
|
||||
RESTRICT="fetch bindist"
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
virtual/unzip
|
||||
run:
|
||||
dev-libs/atk
|
||||
media-libs/fontconfig
|
||||
@ -38,22 +40,20 @@ DEPENDENCIES="
|
||||
x11-libs/gdk-pixbuf:2.0
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/pango
|
||||
build:
|
||||
virtual/unzip
|
||||
"
|
||||
|
||||
WORK="${WORKBASE}/data/noarch"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo
|
||||
einfo "Please buy & download \"${BASE_SRC_DL}\""
|
||||
option dlc1 && einfo "and \"${DLC1_SRC_DL}\""
|
||||
option dlc2 && einfo "and \"${DLC2_SRC_DL}\""
|
||||
option dlc3 && einfo "and \"${DLC3_SRC_DL}\""
|
||||
einfo "from:"
|
||||
einfo " ${HOMEPAGE}"
|
||||
einfo "and move/link it to \"${FETCHEDDIR}\""
|
||||
einfo
|
||||
einfo
|
||||
einfo "Please buy & download \"${BASE_SRC_DL}\""
|
||||
option dlc1 && einfo "and \"${DLC1_SRC_DL}\""
|
||||
option dlc2 && einfo "and \"${DLC2_SRC_DL}\""
|
||||
option dlc3 && einfo "and \"${DLC3_SRC_DL}\""
|
||||
einfo "from:"
|
||||
einfo " ${HOMEPAGE}"
|
||||
einfo "and move/link it to \"${FETCHEDDIR}\""
|
||||
einfo
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
@ -73,26 +73,26 @@ src_unpack() {
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if option dlc1 ; then
|
||||
unpack_zip "${FETCHEDDIR}/${DLC1_SRC_DL}"
|
||||
fi
|
||||
if option dlc1 ; then
|
||||
unpack_zip "${FETCHEDDIR}/${DLC1_SRC_DL}"
|
||||
fi
|
||||
|
||||
if option dlc2 ; then
|
||||
unpack_zip "${FETCHEDDIR}/${DLC2_SRC_DL}"
|
||||
fi
|
||||
if option dlc2 ; then
|
||||
unpack_zip "${FETCHEDDIR}/${DLC2_SRC_DL}"
|
||||
fi
|
||||
|
||||
if option dlc3 ; then
|
||||
unpack_zip "${FETCHEDDIR}/${DLC3_SRC_DL}"
|
||||
fi
|
||||
if option dlc3 ; then
|
||||
unpack_zip "${FETCHEDDIR}/${DLC3_SRC_DL}"
|
||||
fi
|
||||
|
||||
unpack_zip "${FETCHEDDIR}/${BASE_SRC_DL}"
|
||||
unpack_zip "${FETCHEDDIR}/${BASE_SRC_DL}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dir=/opt/${PN}
|
||||
local dir=/opt/${PN}
|
||||
|
||||
insinto /usr/share/icons/hicolor/512x512/apps
|
||||
newins game/PillarsOfEternity.png ${PN}.png
|
||||
newins game/PillarsOfEternity.png ${PN}.png
|
||||
|
||||
herebin ${PN} <<EOF
|
||||
#!/bin/sh
|
||||
@ -112,13 +112,13 @@ Icon=${PN}
|
||||
Categories=Game;RolePlaying;
|
||||
EOF
|
||||
|
||||
dodoc game/Docs/{pe-game-manual.pdf,readme.txt}
|
||||
dodoc game/Docs/{pe-game-manual.pdf,readme.txt}
|
||||
|
||||
dodir "${dir}"
|
||||
edo rm "${WORK}"/game/PillarsOfEternity_Data/Plugins/x86_64/libCSteamworks.so \
|
||||
"${WORK}"/game/PillarsOfEternity_Data/Plugins/x86_64/libsteam_api.so
|
||||
edo mv "${WORK}/game" "${IMAGE}${dir}/"
|
||||
edo chmod +x "${IMAGE}${dir}"/game/PillarsOfEternity
|
||||
dodir "${dir}"
|
||||
edo rm "${WORK}"/game/PillarsOfEternity_Data/Plugins/x86_64/libCSteamworks.so \
|
||||
"${WORK}"/game/PillarsOfEternity_Data/Plugins/x86_64/libsteam_api.so
|
||||
edo mv "${WORK}/game" "${IMAGE}${dir}/"
|
||||
edo chmod +x "${IMAGE}${dir}"/game/PillarsOfEternity
|
||||
|
||||
# there are empty installed dirs for some reason, just keep em
|
||||
find "${IMAGE}" -depth -type d -empty -exec sh -c 'touch "${1}"' - '{}'/.keep_${CATEGORY}_${PN}-${SLOT%/*} \; || die
|
||||
|
@ -17,6 +17,8 @@ MYOPTIONS="
|
||||
"
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
virtual/unzip
|
||||
run:
|
||||
dev-libs/glib:2
|
||||
x11-dri/glu
|
||||
@ -25,8 +27,6 @@ DEPENDENCIES="
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcursor
|
||||
build:
|
||||
virtual/unzip
|
||||
"
|
||||
|
||||
WORK="${WORKBASE}/data/noarch"
|
||||
|
@ -1,7 +1,6 @@
|
||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
|
||||
require cmake gtk-icon-cache flag-o-matic
|
||||
|
||||
SUMMARY="A multi-player, 3D action role-playing game"
|
||||
@ -22,9 +21,9 @@ DEPENDENCIES="
|
||||
dev-libs/ogre[freeimage][opengl]
|
||||
dev-libs/tinyxml
|
||||
media-libs/freealut
|
||||
media-libs/openal
|
||||
media-libs/libogg
|
||||
media-libs/libvorbis
|
||||
media-libs/openal
|
||||
net-libs/enet
|
||||
x11-libs/libX11
|
||||
x11-libs/libXrandr
|
||||
|
@ -27,10 +27,6 @@ MYOPTIONS="
|
||||
"
|
||||
|
||||
DEPENDENCIES="
|
||||
editor? (
|
||||
build+run:
|
||||
x11-libs/qt:4[opengl]
|
||||
)
|
||||
build:
|
||||
dev-libs/boost
|
||||
sys-devel/gettext
|
||||
@ -45,6 +41,7 @@ DEPENDENCIES="
|
||||
x11-dri/glu
|
||||
x11-dri/mesa
|
||||
x11-libs/libX11
|
||||
editor? ( x11-libs/qt:4[opengl] )
|
||||
"
|
||||
|
||||
CMAKE_SOURCE=${WORKBASE}/${MY_PNV}
|
||||
|
@ -14,6 +14,8 @@ MYOPTIONS=""
|
||||
RESTRICT="bindist fetch mirror"
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
virtual/unzip
|
||||
run:
|
||||
dev-libs/atk
|
||||
dev-libs/glib:2
|
||||
@ -29,8 +31,6 @@ DEPENDENCIES="
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrandr
|
||||
build:
|
||||
virtual/unzip
|
||||
"
|
||||
|
||||
WORK="${WORKBASE}/data/noarch"
|
||||
|
@ -12,10 +12,10 @@ SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
|
||||
DEPENDENCIES="
|
||||
run:
|
||||
games-engines/solarus[~>1.4.0]
|
||||
build:
|
||||
app-arch/zip
|
||||
run:
|
||||
games-engines/solarus[~>1.4.0]
|
||||
"
|
||||
|
||||
CMAKE_SRC_CONFIGURE_PARAMS=(
|
||||
|
@ -12,10 +12,10 @@ SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
|
||||
DEPENDENCIES="
|
||||
run:
|
||||
games-engines/solarus[~>1.4.0]
|
||||
build:
|
||||
app-arch/zip
|
||||
run:
|
||||
games-engines/solarus[~>1.4.0]
|
||||
"
|
||||
|
||||
CMAKE_SRC_CONFIGURE_PARAMS=(
|
||||
|
@ -1,4 +1,5 @@
|
||||
# Copyright 2015 Julian Ospald <hasufell@posteo.de>, Heiko Schaefer <heiko@rangun.de>
|
||||
# Copyright 2015 Julian Ospald <hasufell@posteo.de>,
|
||||
# Heiko Schaefer <heiko@rangun.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require flag-o-matic
|
||||
|
@ -17,9 +17,8 @@ MYOPTIONS="
|
||||
"
|
||||
|
||||
DEPENDENCIES="
|
||||
run:
|
||||
user/minetest
|
||||
group/minetest
|
||||
build:
|
||||
sys-devel/gettext
|
||||
build+run:
|
||||
app-arch/bzip2
|
||||
dev-db/leveldb
|
||||
@ -28,8 +27,6 @@ DEPENDENCIES="
|
||||
dev-libs/gmp:0
|
||||
dev-libs/hiredis
|
||||
media-libs/freetype:2
|
||||
providers:ijg-jpeg? ( media-libs/jpeg )
|
||||
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
|
||||
media-libs/libogg
|
||||
media-libs/libpng:=
|
||||
media-libs/libvorbis
|
||||
@ -39,8 +36,11 @@ DEPENDENCIES="
|
||||
x11-dri/mesa
|
||||
x11-libs/libX11
|
||||
x11-libs/libXxf86vm
|
||||
build:
|
||||
sys-devel/gettext
|
||||
providers:ijg-jpeg? ( media-libs/jpeg:= )
|
||||
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
|
||||
run:
|
||||
user/minetest
|
||||
group/minetest
|
||||
"
|
||||
|
||||
CMAKE_SRC_CONFIGURE_PARAMS=(
|
||||
@ -78,3 +78,4 @@ src_install() {
|
||||
doins -r mods menu
|
||||
doins game.conf minetest.conf
|
||||
}
|
||||
|
||||
|
@ -41,19 +41,6 @@ MYOPTIONS="
|
||||
"
|
||||
|
||||
DEPENDENCIES="
|
||||
editor? (
|
||||
build+run:
|
||||
x11-libs/wxGTK:3.0
|
||||
)
|
||||
lobby? (
|
||||
build+run:
|
||||
net-libs/gloox
|
||||
)
|
||||
sound? (
|
||||
build+run:
|
||||
media-libs/libvorbis
|
||||
media-libs/openal
|
||||
)
|
||||
build:
|
||||
dev-lang/python:*[>=2.7]
|
||||
virtual/pkg-config
|
||||
@ -62,8 +49,6 @@ DEPENDENCIES="
|
||||
dev-libs/icu:=
|
||||
dev-libs/libxml2:2.0
|
||||
dev-libs/nspr
|
||||
providers:ijg-jpeg? ( media-libs/jpeg )
|
||||
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
|
||||
media-libs/libpng:=
|
||||
media-libs/SDL:2[X]
|
||||
net-libs/enet
|
||||
@ -72,6 +57,14 @@ DEPENDENCIES="
|
||||
x11-dri/mesa
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcursor
|
||||
editor? ( x11-libs/wxGTK:3.0 )
|
||||
lobby? ( net-libs/gloox )
|
||||
providers:ijg-jpeg? ( media-libs/jpeg:= )
|
||||
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
|
||||
sound? (
|
||||
media-libs/libvorbis
|
||||
media-libs/openal
|
||||
)
|
||||
"
|
||||
|
||||
DEFAULT_SRC_PREPARE_PATCHES=(
|
||||
|
@ -1,6 +1,7 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Sun Jun 24 18:32:38 UTC 2012
|
||||
Subject: build system
|
||||
Upstream: no
|
||||
|
||||
* respect flags
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
|
||||
require gtk-icon-cache
|
||||
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
||||
|
||||
@ -14,11 +13,11 @@ SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
virtual/pkg-config
|
||||
build+run:
|
||||
media-libs/SDL:0[X]
|
||||
media-libs/SDL_mixer:0[midi]
|
||||
build:
|
||||
virtual/pkg-config
|
||||
"
|
||||
|
||||
DEFAULT_SRC_PREPARE_PATCHES=(
|
||||
|
@ -1,5 +1,6 @@
|
||||
Author: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Thu Aug 9 18:57:40 2012 +0200
|
||||
Upstream: no
|
||||
|
||||
respect flags
|
||||
use pkg-config
|
||||
|
@ -1,4 +1,6 @@
|
||||
Fix install permissions
|
||||
Author: Julian Ospald <hasufell@posteo.de>
|
||||
Upstream: not yet
|
||||
Reason: Fix install permissions
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 27ef953..cc1e2cd 100644
|
||||
|
@ -24,7 +24,7 @@ src_unpack() {
|
||||
|
||||
src_configure() {
|
||||
# not an autoconf script
|
||||
./configure --prefix=/usr
|
||||
edo ./configure --prefix=/usr
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
@ -54,6 +54,8 @@ MYOPTIONS="
|
||||
|
||||
LUA_SLOT="5.1"
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
virtual/unzip
|
||||
build+run:
|
||||
dev-dotnet/libgdiplus
|
||||
dev-lang/lua:${LUA_SLOT}
|
||||
@ -64,8 +66,6 @@ DEPENDENCIES="
|
||||
x11-dri/mesa
|
||||
providers:ijg-jpeg? ( media-libs/jpeg )
|
||||
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
|
||||
build:
|
||||
virtual/unzip
|
||||
"
|
||||
|
||||
WORK=${WORKBASE}/OpenRA-release-${PV}
|
||||
@ -163,3 +163,4 @@ pkg_postrm() {
|
||||
freedesktop-desktop_pkg_postrm
|
||||
freedesktop-mime_pkg_postrm
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Sun Aug 12 09:26:49 UTC 2012
|
||||
Subject: build system
|
||||
Upstream: yes
|
||||
|
||||
respect CXX and CXXFLAGS
|
||||
|
||||
|
@ -1,4 +1,6 @@
|
||||
Fixes linux support
|
||||
Author: unknown
|
||||
Upstream: yes
|
||||
Reason Fixes linux support
|
||||
|
||||
diff -burN zod_engine/zod_launcher_src/common.cpp zod_engine.new/zod_launcher_src/common.cpp
|
||||
--- zod_engine/zod_launcher_src/common.cpp 2011-03-22 12:05:11.000000000 +0100
|
||||
|
@ -3,10 +3,10 @@
|
||||
|
||||
require gtk-icon-cache
|
||||
|
||||
MY_P=zod_linux-${PV:0:4}-${PV:4:2}-${PV:6:2}
|
||||
DESCRIPTION="Zod engine is a remake of the 1996 classic game by Bitmap Brothers called Z"
|
||||
MY_PNV=zod_linux-${PV:0:4}-${PV:4:2}-${PV:6:2}
|
||||
SUMMARY="Zod engine is a remake of the 1996 classic game by Bitmap Brothers called Z"
|
||||
HOMEPAGE="http://zod.sourceforge.net/"
|
||||
DOWNLOADS="mirror://sourceforge/zod/linux_releases/${MY_P}.tar.gz"
|
||||
DOWNLOADS="mirror://sourceforge/zod/linux_releases/${MY_PNV}.tar.gz"
|
||||
|
||||
LICENCES="all-rights-reserved GPL-3 LGPL-2.1"
|
||||
SLOT="0"
|
||||
|
@ -30,7 +30,7 @@ DEPENDENCIES="
|
||||
"
|
||||
|
||||
DEFAULT_SRC_CONFIGURE_OPTION_WITHS=(
|
||||
libnotify
|
||||
'libnotify'
|
||||
'providers:gtk3 gtk3'
|
||||
)
|
||||
|
||||
@ -38,3 +38,4 @@ src_prepare() {
|
||||
edo intltoolize --force --copy
|
||||
autotools_src_prepare
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
# Source: Gentoo
|
||||
# Upstream: no, but we tried, see https://code.google.com/p/pidgin-opensteamworks/issues/detail?id=31
|
||||
# Reason: provide an actual working Makefile
|
||||
|
||||
|
||||
CC ?= gcc
|
||||
PKG_CONFIG ?= pkg-config
|
||||
INSTALL = install
|
||||
|
@ -24,7 +24,6 @@ DEPENDENCIES="
|
||||
WORK=${WORKBASE}
|
||||
|
||||
src_prepare() {
|
||||
# see https://code.google.com/p/pidgin-opensteamworks/issues/detail?id=31
|
||||
edo cp "${FILES}"/${PN}-1.3-Makefile "${WORK}"/${PNV}/steam-mobile/Makefile
|
||||
edo unzip "${WORK}"/${PNV}/steam-mobile/releases/icons.zip
|
||||
}
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
require cmake
|
||||
|
||||
MY_P=${PN}-${PV/_rc/rc}
|
||||
MY_PNV=${PN}-${PV/_rc/rc}
|
||||
SUMMARY="Peer-to-peer VPN, NCD scripting language, tun2socks proxifier"
|
||||
DESCRIPTION="
|
||||
BadVPN is an open-source peer-to-peer VPN system. It provides a
|
||||
@ -41,6 +41,8 @@ MYOPTIONS="
|
||||
"
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
virtual/pkg-config
|
||||
build+run:
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
@ -54,11 +56,9 @@ DEPENDENCIES="
|
||||
providers:eudev? ( sys-apps/eudev )
|
||||
providers:systemd? ( sys-apps/systemd )
|
||||
)
|
||||
build:
|
||||
virtual/pkg-config
|
||||
"
|
||||
|
||||
WORK=${WORKBASE}/${MY_P}
|
||||
WORK=${WORKBASE}/${MY_PNV}
|
||||
|
||||
CMAKE_SRC_CONFIGURE_PARAMS=(
|
||||
-DBUILD_NOTHING_BY_DEFAULT=1
|
||||
@ -73,20 +73,20 @@ CMAKE_SRC_CONFIGURE_OPTIONS=(
|
||||
)
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
dodoc ChangeLog
|
||||
cmake_src_install
|
||||
dodoc ChangeLog
|
||||
|
||||
exeinto /etc/init.d
|
||||
newexe "${FILES}"/${PN}-server.init ${PN}-server
|
||||
insinto /etc/conf.d
|
||||
newins "${FILES}"/${PN}-server.conf ${PN}-server
|
||||
|
||||
if option ncd; then
|
||||
if option ncd; then
|
||||
exeinto /etc/init.d
|
||||
newexe "${FILES}"/${PN}-1.999.127-ncd.init ${PN}-ncd
|
||||
newexe "${FILES}"/${PN}-1.999.127-ncd.init ${PN}-ncd
|
||||
insinto /etc/conf.d
|
||||
newins "${FILES}"/${PN}-ncd.conf ${PN}-ncd
|
||||
newins "${FILES}"/${PN}-ncd.conf ${PN}-ncd
|
||||
install_systemd_files
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
|
||||
SUMMARY="Synchronize local workstation with time offered by remote webservers"
|
||||
HOMEPAGE="http://www.vervest.org/fiki/bin/view/HTP/DownloadC"
|
||||
DOWNLOADS="http://www.vervest.org/htp/archive/c/${PNV}.tar.gz"
|
||||
|
@ -17,10 +17,10 @@ SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
|
||||
DEPENDENCIES="
|
||||
run:
|
||||
sys-apps/gentoo-functions
|
||||
build:
|
||||
virtual/pkg-config
|
||||
run:
|
||||
sys-apps/gentoo-functions
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
@ -45,3 +45,4 @@ pkg_postinst() {
|
||||
elog "${ROOT}/usr/share/doc/${PNVR}/README"
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
|
||||
require gtk-icon-cache
|
||||
require perl-module
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
commit afadc8d05674a0e3e2fcf6dfbcf5f3c8f9133119
|
||||
Author: Julian Ospald <hasufell@hasufell.de>
|
||||
Date: Sun May 18 19:32:59 2014 +0200
|
||||
Upstream: yes, https://github.com/wbhart/flint2/commit/afadc8d05674a0e3e2fcf6dfbcf5f3c8f9133119
|
||||
|
||||
Respect CFLAGS/CXXFLAGS/LDFLAGS, fixes #66
|
||||
|
||||
|
@ -2,6 +2,7 @@ From 27eb23c1844029ee64907500bd8aa87097ffcd32 Mon Sep 17 00:00:00 2001
|
||||
From: Julian Ospald <hasufell@hasufell.de>
|
||||
Date: Sun, 18 May 2014 18:46:24 +0200
|
||||
Subject: [PATCH] Allow to control LIBDIR
|
||||
Upstream: yes, https://github.com/wbhart/flint2/commit/27eb23c1844029ee64907500bd8aa87097ffcd32
|
||||
|
||||
Some distributions have lib32/lib64 and need to control
|
||||
the destination properly.
|
||||
|
@ -1,6 +1,7 @@
|
||||
commit 5e3d4a0504158f70d227e7cfc03985fe9a646797
|
||||
Author: Julian Ospald <hasufell@hasufell.de>
|
||||
Date: Wed Jul 2 12:58:50 2014 +0200
|
||||
Upstream: yes, https://github.com/wbhart/flint2/commit/5e3d4a0504158f70d227e7cfc03985fe9a646797
|
||||
|
||||
Fix NTL test build
|
||||
|
||||
|
@ -2,6 +2,7 @@ From 3506d617ef9dfc5184aa99be05a25e4f73d6c3f6 Mon Sep 17 00:00:00 2001
|
||||
From: Julian Ospald <hasufell@hasufell.de>
|
||||
Date: Sun, 18 May 2014 18:47:27 +0200
|
||||
Subject: [PATCH] Quote variables that could contain whitespaces
|
||||
Upstream: yes, https://github.com/wbhart/flint2/commit/3506d617ef9dfc5184aa99be05a25e4f73d6c3f6
|
||||
|
||||
Make does NOT take care of this in this context. It's
|
||||
not a variable assignment and installation would fail
|
||||
|
@ -30,3 +30,4 @@ CMAKE_SRC_CONFIGURE_PARAMS=(
|
||||
-DBUILD_BULLET2_DEMOS=OFF
|
||||
-DUSE_GRAPHICAL_BENCHMARK=OFF
|
||||
)
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
|
||||
require flag-o-matic
|
||||
|
||||
|
||||
HOMEPAGE="https://www.gentoo.org"
|
||||
DOWNLOADS="https://github.com/gentoo/${PN}/archive/${PV}.tar.gz -> ${PNV}.tar.gz"
|
||||
|
||||
@ -26,3 +25,4 @@ src_prepare() {
|
||||
export CC=$(exhost --tool-prefix)cc
|
||||
append-cppflags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
|
||||
}
|
||||
|
||||
|
@ -36,13 +36,14 @@ DEPENDENCIES="
|
||||
build+run:
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
pam? ( sys-libs/pam )
|
||||
run:
|
||||
providers:runit? ( sys-apps/runit )
|
||||
providers:sinit? ( sys-apps/sinit )
|
||||
providers:sysvinit? ( sys-apps/sysvinit )
|
||||
suggestion:
|
||||
net-misc/netifrc [[ description = [
|
||||
Network Interface Management Scripts
|
||||
] ]]
|
||||
providers:runit? ( sys-apps/runit )
|
||||
providers:sinit? ( sys-apps/sinit )
|
||||
providers:sysvinit? ( sys-apps/sysvinit )
|
||||
"
|
||||
|
||||
DEFAULT_SRC_COMPILE_PARAMS=(
|
||||
|
@ -1,10 +1,7 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
From: Julian Ospald <hasufell@posteo.de>
|
||||
Date: Tue Sep 8 10:10:18 UTC 2015
|
||||
Subject: Fix data path fallback
|
||||
|
||||
Distutils installs into "/usr/share/blink", but
|
||||
blink was unable to find it on gentoo, probably due
|
||||
to python-exec magic.
|
||||
Upstream: no, correct fix pending since 'sys.prefix' is broken in exherbo
|
||||
|
||||
--- blink-1.4.1/blink/resources.py
|
||||
+++ blink-1.4.1/blink/resources.py
|
||||
|
@ -18,7 +18,6 @@ MYOPTIONS="
|
||||
"
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
|
||||
DEPENDENCIES="
|
||||
run:
|
||||
app-arch/quazip[qt5]
|
||||
@ -28,7 +27,6 @@ DEPENDENCIES="
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
"
|
||||
|
||||
|
||||
WORK="${WORKBASE}"
|
||||
|
||||
pkg_nofetch() {
|
||||
|
@ -1,11 +1,10 @@
|
||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
|
||||
require systemd-service
|
||||
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
||||
|
||||
DESCRIPTION="Minimalistic Murmur (Mumble server)"
|
||||
SUMMARY="Minimalistic Murmur (Mumble server)"
|
||||
HOMEPAGE="https://github.com/fatbob313/umurmur"
|
||||
DOWNLOADS="https://github.com/fatbob313/${PN}/archive/${PV}.tar.gz -> ${PNV}.tar.gz"
|
||||
|
||||
|
@ -1,17 +1,17 @@
|
||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
MY_P="monitor"
|
||||
MY_PN="monitor"
|
||||
|
||||
SUMMARY="Monitoring application for www-servers/hiawatha"
|
||||
HOMEPAGE="http://www.hiawatha-webserver.org/howto/monitor"
|
||||
DOWNLOADS="http://www.hiawatha-webserver.org/files/${MY_P}-${PV}.tar.gz "
|
||||
DOWNLOADS="http://www.hiawatha-webserver.org/files/${MY_PN}-${PV}.tar.gz "
|
||||
|
||||
LICENCES="GPL-2"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
|
||||
WORK=${WORKBASE}/${MY_P}
|
||||
WORK=${WORKBASE}/${MY_PN}
|
||||
|
||||
src_install () {
|
||||
default
|
||||
|
@ -1,6 +1,7 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Fri May 23 16:59:33 UTC 2014
|
||||
Subject: make optimization level build-type dependant
|
||||
Upstream: no, doesn't care
|
||||
|
||||
--- hiawatha-9.5/CMakeLists.txt
|
||||
+++ hiawatha-9.5/CMakeLists.txt
|
||||
|
Loading…
Reference in New Issue
Block a user