Various minor improvements

This commit is contained in:
Julian Ospald 2016-02-29 00:05:15 +01:00
parent 3fa0f3d96a
commit 1300f8bdd1
71 changed files with 291 additions and 280 deletions

View File

@ -1,6 +1,7 @@
From: Julian Ospald <hasufell@gentoo.org> From: Julian Ospald <hasufell@gentoo.org>
Date: Wed Dec 26 19:46:44 UTC 2012 Date: Wed Dec 26 19:46:44 UTC 2012
Subject: build system Subject: build system
Upstream: no, dead
respect flags, add LDFLAGS to linker line respect flags, add LDFLAGS to linker line
fix install rules fix install rules

View File

@ -22,6 +22,8 @@ MYOPTIONS="
" "
DEPENDENCIES=" DEPENDENCIES="
build:
virtual/pkg-config
build+run: build+run:
dev-libs/libgcrypt dev-libs/libgcrypt
sys-apps/util-linux sys-apps/util-linux
@ -40,8 +42,6 @@ DEPENDENCIES="
providers:eudev? ( sys-apps/eudev ) providers:eudev? ( sys-apps/eudev )
providers:systemd? ( sys-apps/systemd ) providers:systemd? ( sys-apps/systemd )
) )
build:
virtual/pkg-config
" "
CMAKE_SRC_CONFIGURE_PARAMS=( CMAKE_SRC_CONFIGURE_PARAMS=(

View File

@ -25,7 +25,6 @@ src_configure() {
--with-wx-config="/usr/$(exhost --target)/lib/wx/config/$(option providers:gtk3 'gtk3' 'gtk2')-unicode-3.0" \ --with-wx-config="/usr/$(exhost --target)/lib/wx/config/$(option providers:gtk3 'gtk3' 'gtk2')-unicode-3.0" \
--with-wxshared \ --with-wxshared \
--with-sqlite3-prefix="/usr/$(exhost --target)" --with-sqlite3-prefix="/usr/$(exhost --target)"
} }
src_install() { src_install() {
@ -38,6 +37,7 @@ src_install() {
gtkver=2 gtkver=2
fi fi
# this is the upstream .pc file
edo sed \ edo sed \
-e "s:prefix=/usr:prefix=/usr/$(exhost --target):" \ -e "s:prefix=/usr:prefix=/usr/$(exhost --target):" \
-e "s:wxcode_gtk2_wxsqlite3:wxcode_gtk${gtkver}u_wxsqlite3:" \ -e "s:wxcode_gtk2_wxsqlite3:wxcode_gtk${gtkver}u_wxsqlite3:" \

View File

@ -17,9 +17,9 @@ DESCRIPTION="
" "
MY_PN="OpenSceneGraph" MY_PN="OpenSceneGraph"
MY_P=${MY_PN}-${PV} MY_PNV=${MY_PN}-${PV}
HOMEPAGE="http://${PN}.org" 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" LICENCES="wxWinLL-3 LGPL-2.1"
SLOT="0" SLOT="0"
@ -87,3 +87,4 @@ src_prepare() {
cmake_src_prepare cmake_src_prepare
} }

View File

@ -29,6 +29,9 @@ MYOPTIONS="
" "
DEPENDENCIES=" DEPENDENCIES="
build:
dev-libs/glm
virtual/pkg-config
build+run: build+run:
dev-libs/pcre[>=5.0] dev-libs/pcre[>=5.0]
media-libs/freetype:2[>=0.15.0] media-libs/freetype:2[>=0.15.0]
@ -48,9 +51,6 @@ DEPENDENCIES="
) )
tinyxml? ( dev-libs/tinyxml ) tinyxml? ( dev-libs/tinyxml )
xerces? ( dev-libs/xerces-c ) xerces? ( dev-libs/xerces-c )
build:
dev-libs/glm
virtual/pkg-config
" "
# TODO: python # TODO: python
@ -94,3 +94,4 @@ CMAKE_SRC_CONFIGURE_OPTIONS=(
src_prepare() { src_prepare() {
edo sed -i -e '/CEGUI_LIB_INSTALL_DIR/s#lib64#lib#' CMakeLists.txt edo sed -i -e '/CEGUI_LIB_INSTALL_DIR/s#lib64#lib#' CMakeLists.txt
} }

View File

@ -1,6 +1,7 @@
From: Julian Ospald <hasufell@gentoo.org> From: Julian Ospald <hasufell@gentoo.org>
Date: Sat Oct 27 22:39:31 UTC 2012 Date: Sat Oct 27 22:39:31 UTC 2012
Subject: FHS Subject: FHS
Upstream: no
paths hardcoded until upstream fixed the logic paths hardcoded until upstream fixed the logic

View File

@ -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 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 --- mygui-MyGUI3.2.2.orig/CMake/ConfigureBuild.cmake 2015-01-26 10:32:35.000000000 -0500

View File

@ -1,6 +1,7 @@
From: Julian Ospald <hasufell@gentoo.org> From: Julian Ospald <hasufell@gentoo.org>
Date: Fri Jun 15 10:42:42 UTC 2012 Date: Fri Jun 15 10:42:42 UTC 2012
Subject: build system Subject: build system
Upstream: no
fix underlinking fix underlinking

View File

@ -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 # Distributed under the terms of the GNU General Public License v2
MY_PN=MyGUI MY_PN=MyGUI
MY_P=${MY_PN}${PV} MY_PNV=${MY_PN}${PV}
WORK="${WORKBASE}/${PN}-${MY_P}" WORK="${WORKBASE}/${PN}-${MY_PNV}"
require cmake [ api=2 ] require cmake [ api=2 ]
SUMMARY="A library for creating GUIs for games" SUMMARY="A library for creating GUIs for games"
HOMEPAGE="http://mygui.info/" 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" LICENCES="MIT"
SLOT="0" SLOT="0"
PLATFORMS="~amd64 ~x86" PLATFORMS="~amd64 ~x86"
DEPENDENCIES=" DEPENDENCIES="
build+run: build+run:
media-libs/freetype:2 media-libs/freetype:2
@ -62,3 +58,4 @@ src_install() {
# wrapper not available for linux, remove related media # wrapper not available for linux, remove related media
edo rm -rf "${IMAGE}"/usr/share/MYGUI/Media/Wrapper edo rm -rf "${IMAGE}"/usr/share/MYGUI/Media/Wrapper
} }

View File

@ -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 # Distributed under the terms of the GNU General Public License v2
SUMMARY="A flexible, cross-platform scripting library" SUMMARY="A flexible, cross-platform scripting library"
@ -11,7 +11,8 @@ PLATFORMS="~amd64 ~x86"
MYOPTIONS="" MYOPTIONS=""
DEPENDENCIES=" DEPENDENCIES="
build: virtual/unzip build:
virtual/unzip
" "
WORK=${WORKBASE}/sdk WORK=${WORKBASE}/sdk
@ -21,8 +22,8 @@ DEFAULT_SRC_PREPARE_PATCHES=(
) )
src_compile() { src_compile() {
export CXX=${CXX} AR=${AR} RANLIB=${RANLIB} export CXX=${CXX} AR=${AR} RANLIB=${RANLIB}
emake -C ${PN}/projects/gnuc \ emake -C ${PN}/projects/gnuc \
LIBRARYDEST= LIBRARYDEST=
} }

View File

@ -44,9 +44,9 @@ CMAKE_SRC_CONFIGURE_TESTS=(
enable_mbedtls_option() { enable_mbedtls_option() {
local myopt="$@" local myopt="$@"
# check that config.h syntax is the same at version bump # check that config.h syntax is the same at version bump
sed -i \ edo sed -i \
-e "s://#define ${myopt}:#define ${myopt}:" \ -e "s://#define ${myopt}:#define ${myopt}:" \
include/mbedtls/config.h || die include/mbedtls/config.h
} }
src_prepare() { src_prepare() {

View File

@ -14,10 +14,10 @@ PLATFORMS="~amd64"
MYOPTIONS="" MYOPTIONS=""
DEPENDENCIES=" DEPENDENCIES="
build+run:
dev-libs/protobuf[>=2.6.0]
build: build:
virtual/pkg-config virtual/pkg-config
build+run:
dev-libs/protobuf[>=2.6.0]
" "
BUGS_TO="will@worrbase.com" BUGS_TO="will@worrbase.com"

View File

@ -3,7 +3,6 @@
require pypi setup-py [ import=distutils ] require pypi setup-py [ import=distutils ]
SUMMARY="Basic building blocks for python applications" SUMMARY="Basic building blocks for python applications"
HOMEPAGE="http://ag-projects.com/" HOMEPAGE="http://ag-projects.com/"
@ -12,4 +11,3 @@ SLOT="0"
PLATFORMS="~amd64 ~x86" PLATFORMS="~amd64 ~x86"
MYOPTIONS="" MYOPTIONS=""

View File

@ -1,6 +1,7 @@
From: Julian Ospald <hasufell@gentoo.org> From: Julian Ospald <hasufell@gentoo.org>
Date: Tue Sep 8 01:22:40 UTC 2015 Date: Tue Sep 8 01:22:40 UTC 2015
Subject: fix compatibility with libressl Subject: fix compatibility with libressl
Upstream: not yet
--- a/eventlib/green/socket.py --- a/eventlib/green/socket.py
+++ b/eventlib/green/socket.py +++ b/eventlib/green/socket.py

View File

@ -29,8 +29,6 @@ DEPENDENCIES="
media-libs/freealut[>=1.1.0] media-libs/freealut[>=1.1.0]
media-libs/freetype:2 media-libs/freetype:2
media-libs/glew media-libs/glew
providers:ijg-jpeg? ( media-libs/jpeg )
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
media-libs/libogg[>=1.2.2] media-libs/libogg[>=1.2.2]
media-libs/libpng:= media-libs/libpng:=
media-libs/libvorbis[>=1.3.2] media-libs/libvorbis[>=1.3.2]
@ -44,6 +42,8 @@ DEPENDENCIES="
x11-libs/gtk+:3 x11-libs/gtk+:3
x11-libs/libX11 x11-libs/libX11
x11-libs/libXrandr x11-libs/libXrandr
providers:ijg-jpeg? ( media-libs/jpeg:= )
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
test: test:
dev-cpp/gtest dev-cpp/gtest
" "

View File

@ -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" SUMMARY="A game made in 20 hours for a friend. It has explosions"
HOMEPAGE="http://stabyourself.net/trosh/" HOMEPAGE="http://stabyourself.net/trosh/"
DOWNLOADS="http://stabyourself.net/dl.php?file=trosh/trosh-linux.zip -> ${PNV}.zip 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" LICENCES="WTFPL-2"
SLOT="0" SLOT="0"

View File

@ -1,6 +1,7 @@
From: Julian Ospald <hasufell@gentoo.org> From: Julian Ospald <hasufell@gentoo.org>
Date: Sat Jan 26 20:04:17 UTC 2013 Date: Sat Jan 26 20:04:17 UTC 2013
Subject: build system Subject: build system
Upstream: not yet
fix FHS compliance fix FHS compliance
add several switches for icon, desktopdir and tk add several switches for icon, desktopdir and tk

View File

@ -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 # Distributed under the terms of the GNU General Public License v2
require qmake [ slot=4 ] require qmake [ slot=4 ]
@ -30,7 +31,7 @@ WORK=${WORKBASE}/NetMauMau-Qt-Client-${PV}
src_configure() { src_configure() {
if option espeak; then USE_ESPEAK='CONFIG+=espeak'; fi if option espeak; then USE_ESPEAK='CONFIG+=espeak'; fi
EQMAKE_SOURCES="nmm-qt-client.pro" eqmake $USE_ESPEAK 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() { src_install() {

View File

@ -8,7 +8,7 @@ MY_PN=PySolFC
SUMMARY="An exciting collection of more than 1000 solitaire card games" SUMMARY="An exciting collection of more than 1000 solitaire card games"
HOMEPAGE="http://pysolfc.sourceforge.net/" HOMEPAGE="http://pysolfc.sourceforge.net/"
DOWNLOADS="mirror://sourceforge/${PN}/${MY_PN}-${PV}.tar.bz2 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" LICENCES="GPL-3"
SLOT="0" SLOT="0"
@ -25,14 +25,14 @@ DEPENDENCIES="
WORK=${WORKBASE}/${MY_PN}-${PV} WORK=${WORKBASE}/${MY_PN}-${PV}
src_prepare() { src_prepare() {
setup-py_src_prepare setup-py_src_prepare
edo sed -i \ edo sed -i \
-e "/pysol.desktop/d" \ -e "/pysol.desktop/d" \
-e "s:share/icons:share/pixmaps:" \ -e "s:share/icons:share/pixmaps:" \
setup.py setup.py
edo mv docs/README{,.txt} edo mv docs/README{,.txt}
} }
src_install() { src_install() {
@ -41,7 +41,7 @@ src_install() {
insinto /usr/share/${MY_PN} insinto /usr/share/${MY_PN}
doins -r "${WORKBASE}"/${MY_PN}-Cardsets-${PV}/* doins -r "${WORKBASE}"/${MY_PN}-Cardsets-${PV}/*
doman docs/*.6 doman docs/*.6
insinto /usr/share/applications insinto /usr/share/applications
hereins ${PN}.desktop << EOF hereins ${PN}.desktop << EOF

View File

@ -33,64 +33,64 @@ DEPENDENCIES="
" "
fix_scons() { fix_scons() {
local i local i
for i; do for i; do
cat >> $i << END || die cat >> $i << END || die
import os import os
import SCons.Util import SCons.Util
if os.environ.has_key('AR'): if os.environ.has_key('AR'):
env['AR'] = os.environ['AR'] env['AR'] = os.environ['AR']
if os.environ.has_key('RANLIB'): if os.environ.has_key('RANLIB'):
env['RANLIB'] = os.environ['RANLIB'] env['RANLIB'] = os.environ['RANLIB']
if os.environ.has_key('CC'): if os.environ.has_key('CC'):
env['CC'] = os.environ['CC'] env['CC'] = os.environ['CC']
if os.environ.has_key('CFLAGS'): 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'): if os.environ.has_key('CXX'):
env['CXX'] = os.environ['CXX'] env['CXX'] = os.environ['CXX']
if os.environ.has_key('CXXFLAGS'): 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'): 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'): if os.environ.has_key('LDFLAGS'):
env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS']) env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
END END
done done
} }
src_prepare() { src_prepare() {
fix_scons {gambatte_sdl,libgambatte}/SConstruct fix_scons {gambatte_sdl,libgambatte}/SConstruct
} }
src_configure() { src_configure() {
if option qt4; then if option qt4; then
edo cd "${WORK}"/gambatte_qt edo cd "${WORK}"/gambatte_qt
eqmake ${PN}_qt.pro eqmake ${PN}_qt.pro
fi fi
} }
src_compile() { src_compile() {
# build core library # build core library
edo cd "${WORK}"/libgambatte edo cd "${WORK}"/libgambatte
escons escons
# build sdl frontend # build sdl frontend
if option sdl; then if option sdl; then
edo cd "${WORK}"/gambatte_sdl edo cd "${WORK}"/gambatte_sdl
escons escons
fi fi
# build qt frontend # build qt frontend
if option qt4; then if option qt4; then
emake -C "${WORK}"/gambatte_qt emake -C "${WORK}"/gambatte_qt
fi fi
} }
src_install() { src_install() {
option sdl && dobin gambatte_sdl/gambatte_sdl option sdl && dobin gambatte_sdl/gambatte_sdl
option qt4 && dobin gambatte_qt/bin/gambatte_qt option qt4 && dobin gambatte_qt/bin/gambatte_qt
nonfatal dodoc README changelog nonfatal dodoc README changelog
} }

View File

@ -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 # 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" LICENCES="GPL-3 MIT bitstream-font OFL-1.1"
SLOT="0" SLOT="0"
PLATFORMS="~amd64 ~x86" PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
MYOPTIONS="
( providers: ijg-jpeg jpeg-turbo ) [[ number-selected = exactly-one ]]
"
DEPENDENCIES=" DEPENDENCIES="
build: build:

View File

@ -1,6 +1,7 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de> # Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
require lua [ whitelist="5.1" multibuild=false ]
require cmake require cmake
SUMMARY="An open-source Zelda-like 2D game engine" SUMMARY="An open-source Zelda-like 2D game engine"
@ -14,7 +15,6 @@ PLATFORMS="~amd64 ~x86"
DEPENDENCIES=" DEPENDENCIES="
build+run: build+run:
dev-games/physfs dev-games/physfs
dev-lang/lua:5.1
media-libs/libmodplug media-libs/libmodplug
media-libs/libvorbis media-libs/libvorbis
media-libs/openal media-libs/openal

View File

@ -1,6 +1,7 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de> # Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
require lua [ whitelist="all" multibuild=false ]
require cmake require cmake
SUMMARY="A realtime strategy game engine" SUMMARY="A realtime strategy game engine"
@ -18,7 +19,6 @@ DEPENDENCIES="
build+run: build+run:
app-arch/bzip2 app-arch/bzip2
dev-db/sqlite:3 dev-db/sqlite:3
dev-lang/lua:=
dev-lang/toluapp dev-lang/toluapp
media-libs/SDL:0[X] media-libs/SDL:0[X]
media-libs/libmikmod media-libs/libmikmod

View File

@ -7,7 +7,7 @@ MY_PN=alienarena-7.66
SUMMARY="Fast-paced multiplayer deathmatch game" SUMMARY="Fast-paced multiplayer deathmatch game"
HOMEPAGE="http://red.planetarena.org/" HOMEPAGE="http://red.planetarena.org/"
DOWNLOADS="http://icculus.org/alienarena/Files/${MY_PN}-linux${PV}.tar.gz 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" LICENCES="GPL-2 free-noncomm"
SLOT="0" SLOT="0"
@ -56,7 +56,7 @@ src_compile() {
} }
src_install() { src_install() {
default default
insinto /usr/share/applications/ insinto /usr/share/applications/
hereins ${PN}.desktop << EOF hereins ${PN}.desktop << EOF

View File

@ -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.old 2016-01-18 20:13:25.147714704 +0100
+++ source/game/p_client.c 2016-01-18 20:13:38.776476727 +0100 +++ source/game/p_client.c 2016-01-18 20:13:38.776476727 +0100
@@ -2123,7 +2123,7 @@ @@ -2123,7 +2123,7 @@

View File

@ -24,7 +24,7 @@ MY_SC55=3.0
MY_OPL=2.0 MY_OPL=2.0
MY_XXX=1.33 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/" HOMEPAGE="http://www.eduke32.com/ http://hrp.duke4.net/"
DOWNLOADS="http://dev.gentoo.org/~hasufell/distfiles/eduke32-icons.tar DOWNLOADS="http://dev.gentoo.org/~hasufell/distfiles/eduke32-icons.tar
hires-textures? ( mirror://gentoo/duke3d_hrp_${MY_HRP}.zip ) hires-textures? ( mirror://gentoo/duke3d_hrp_${MY_HRP}.zip )

View File

@ -15,10 +15,10 @@ MYOPTIONS=""
DEPENDENCIES=" DEPENDENCIES="
build+run: build+run:
media-libs/SDL:0[X] media-libs/SDL:0[X]
media-libs/SDL_image:1 media-libs/SDL_image:1
media-libs/SDL_mixer:0[ogg] media-libs/SDL_mixer:0[ogg]
x11-libs/libX11 x11-libs/libX11
sys-libs/zlib sys-libs/zlib
x11-dri/glu x11-dri/glu
x11-dri/mesa x11-dri/mesa
@ -30,12 +30,12 @@ DEPENDENCIES="
WORK=${WORKBASE}/${PN} WORK=${WORKBASE}/${PN}
src_prepare() { 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 default
# Fix links so they point to the correct directory # Fix links so they point to the correct directory
edo sed -i -e 's:docs/::' README.html edo sed -i -e 's:docs/::' README.html
} }
src_compile() { src_compile() {
@ -44,8 +44,8 @@ src_compile() {
src_install() { src_install() {
local LIBEXECDIR="/usr/$(exhost --target)/libexec/${PN}" local LIBEXECDIR="/usr/$(exhost --target)/libexec/${PN}"
local DATADIR="/usr/share/${PN}" local DATADIR="/usr/share/${PN}"
local STATEDIR="/var/lib/${PN}" local STATEDIR="/var/lib/${PN}"
# Install the game data # Install the game data
insinto "${DATADIR}" insinto "${DATADIR}"
@ -77,14 +77,14 @@ Icon=${PN}
Categories=Game;ActionGame; Categories=Game;ActionGame;
EOF EOF
# Install the server config files # Install the server config files
insinto "${STATEDIR}" insinto "${STATEDIR}"
doins "server-init.cfg" doins "server-init.cfg"
# Install the server executables # Install the server executables
exeinto "${LIBEXECDIR}" exeinto "${LIBEXECDIR}"
doexe src/sauer_master doexe src/sauer_master
doexe src/sauer_server doexe src/sauer_server
herebin ${PN}-server <<EOF herebin ${PN}-server <<EOF
#!/bin/sh #!/bin/sh
@ -96,30 +96,30 @@ exec "${LIBEXECDIR}/sauer_master" ${STATEDIR} "\$@"
EOF EOF
# Install the server init script # Install the server init script
edo cp "${FILES}"/${PN}.init "${TEMP}" edo cp "${FILES}"/${PN}.init "${TEMP}"
edo sed -i \ edo sed -i \
-e "s:%SYSCONFDIR%:${STATEDIR}:g" \ -e "s:%SYSCONFDIR%:${STATEDIR}:g" \
-e "s:%LIBEXECDIR%:${LIBEXECDIR}:g" \ -e "s:%LIBEXECDIR%:${LIBEXECDIR}:g" \
"${TEMP}"/${PN}.init "${TEMP}"/${PN}.init
newinitd "${TEMP}"/${PN}.init ${PN} newinitd "${TEMP}"/${PN}.init ${PN}
edo cp "${FILES}"/${PN}.conf "${TEMP}" edo cp "${FILES}"/${PN}.conf "${TEMP}"
edo sed -i \ edo sed -i \
-e "s:%SYSCONFDIR%:${STATEDIR}:g" \ -e "s:%SYSCONFDIR%:${STATEDIR}:g" \
-e "s:%LIBEXECDIR%:${LIBEXECDIR}:g" \ -e "s:%LIBEXECDIR%:${LIBEXECDIR}:g" \
"${TEMP}"/${PN}.conf "${TEMP}"/${PN}.conf
newconfd "${TEMP}"/${PN}.conf ${PN} newconfd "${TEMP}"/${PN}.conf ${PN}
dodoc src/*.txt docs/dev/*.txt dodoc src/*.txt docs/dev/*.txt
insinto /usr/share/doc/${PNVR}/html insinto /usr/share/doc/${PNVR}/html
doins -r README.html docs/* doins -r README.html docs/*
edo chown sauerbraten:sauerbraten "${IMAGE%/}/${STATEDIR}" edo chown sauerbraten:sauerbraten "${IMAGE%/}/${STATEDIR}"
} }
pkg_postinst() { pkg_postinst() {
elog "If you plan to use map editor feature copy all map data from ${DATADIR}" elog "If you plan to use map editor feature copy all map data from ${DATADIR}"
elog "to corresponding folder in your HOME/.${PN}" elog "to corresponding folder in your HOME/.${PN}"
gtk-icon-cache_pkg_postinst gtk-icon-cache_pkg_postinst
} }

View File

@ -1,5 +1,6 @@
Author: hasufell <hasufell@gentoo.org> Author: hasufell <hasufell@gentoo.org>
Date: Wed Jul 10 01:25:27 2013 +0200 Date: Wed Jul 10 01:25:27 2013 +0200
Upstream: no, they don't care
respect CFLAGS/LDFLAGS respect CFLAGS/LDFLAGS

View File

@ -7,7 +7,7 @@ DATA_PV=${PV//./}
ENGINE_PV=${PV//./} ENGINE_PV=${PV//./}
ENGINE_P=${PN}_${ENGINE_PV}_sdk 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/" HOMEPAGE="http://www.warsow.net/"
DOWNLOADS="http://mirror.null.one/${ENGINE_P}.tar.gz DOWNLOADS="http://mirror.null.one/${ENGINE_P}.tar.gz
http://mirror.null.one/warsow_${DATA_PV}_unified.tar.gz http://mirror.null.one/warsow_${DATA_PV}_unified.tar.gz
@ -27,17 +27,17 @@ MYOPTIONS="
DEPENDENCIES=" DEPENDENCIES="
build+run: build+run:
media-libs/SDL:2[X]
media-libs/freetype media-libs/freetype
media-libs/libogg media-libs/libogg
media-libs/libpng:= media-libs/libpng:=
media-libs/libtheora media-libs/libtheora
media-libs/libvorbis media-libs/libvorbis
media-libs/openal media-libs/openal
media-libs/SDL:2[X]
net-misc/curl net-misc/curl
sys-libs/zlib sys-libs/zlib
x11-dri/mesa x11-dri/mesa
providers:ijg-jpeg? ( media-libs/jpeg ) providers:ijg-jpeg? ( media-libs/jpeg:= )
providers:jpeg-turbo? ( media-libs/libjpeg-turbo ) providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
" "

View File

@ -51,33 +51,33 @@ DEPENDENCIES="
WORK=${WORKBASE}/${MY_PN} WORK=${WORKBASE}/${MY_PN}
src_prepare() { src_prepare() {
edo sed -i \ edo sed -i \
-e "/^EXE_/s:darkplaces:${PN}:" \ -e "/^EXE_/s:darkplaces:${PN}:" \
-e "s:-O3:${CFLAGS}:" \ -e "s:-O3:${CFLAGS}:" \
-e "/-lm/s:$: ${LDFLAGS}:" \ -e "/-lm/s:$: ${LDFLAGS}:" \
-e '/^STRIP/s/strip/true/' \ -e '/^STRIP/s/strip/true/' \
source/darkplaces/makefile.inc source/darkplaces/makefile.inc
if ! option alsa; then if ! option alsa; then
edo sed -i \ edo sed -i \
-e "/DEFAULT_SNDAPI/s:ALSA:OSS:" \ -e "/DEFAULT_SNDAPI/s:ALSA:OSS:" \
source/darkplaces/makefile source/darkplaces/makefile
fi fi
} }
src_compile() { 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 # fixes parallel build issues
for i in sv-release cl-release sdl-release ; do for i in sv-release cl-release sdl-release ; do
emake \ emake \
-C source/darkplaces \ -C source/darkplaces \
DP_LINK_TO_LIBJPEG=1 \ DP_LINK_TO_LIBJPEG=1 \
DP_FS_BASEDIR="/usr/share/${PN}" \ DP_FS_BASEDIR="/usr/share/${PN}" \
${i} ${i}
done done
} }
src_install() { src_install() {
@ -109,11 +109,11 @@ EOF
dobin source/darkplaces/${PN}-glx dobin source/darkplaces/${PN}-glx
dobin source/darkplaces/${PN}-sdl 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} insinto /usr/share/${PN}
doins -r key_0.d0pk server data doins -r key_0.d0pk server data
} }

View File

@ -12,15 +12,15 @@ SLOT="0"
PLATFORMS="~amd64 ~x86" PLATFORMS="~amd64 ~x86"
DEPENDENCIES=" DEPENDENCIES="
build:
dev-libs/boost
virtual/pkg-config
build+run: build+run:
media-libs/freetype:2 media-libs/freetype:2
media-libs/glew media-libs/glew
media-libs/openal media-libs/openal
media-libs/SDL:0[X] media-libs/SDL:0[X]
sys-libs/zlib sys-libs/zlib
build:
dev-libs/boost
virtual/pkg-config
suggestion: suggestion:
app-arch/innoextract [[ description = [ For extracting game files app-arch/innoextract [[ description = [ For extracting game files
from CD, used by the from CD, used by the

View File

@ -27,11 +27,11 @@ pkg_pretend() {
} }
pkg_nofetch() { pkg_nofetch() {
einfo einfo
einfo "Please buy & download \"${DOWNLOADS}\" from:" einfo "Please buy & download \"${DOWNLOADS}\" from:"
einfo " ${HOMEPAGE}" einfo " ${HOMEPAGE}"
einfo "and move/link it to \"${FETCHEDDIR}\"" einfo "and move/link it to \"${FETCHEDDIR}\""
einfo einfo
} }
pkg_setup() { pkg_setup() {
@ -44,14 +44,14 @@ src_unpack() {
} }
src_install() { src_install() {
local dir=/opt/${PN} local dir=/opt/${PN}
local f local f
insinto "${dir}" insinto "${dir}"
doins -r game doins -r game
edo chmod +x "${IMAGE}${dir}"/game/BaldursGateII edo chmod +x "${IMAGE}${dir}"/game/BaldursGateII
dodir "${dir}/lib" dodir "${dir}/lib"
edo pushd "${WORK}"/lib edo pushd "${WORK}"/lib
exeinto "${dir}/lib" exeinto "${dir}/lib"
@ -66,7 +66,7 @@ src_install() {
edo popd edo popd
insinto /usr/share/icons/hicolor/256x256/apps 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"; local LD_PATH="/usr/$(exhost --target)/lib/ld-linux.so.2";
herebin ${PN} <<EOF herebin ${PN} <<EOF
@ -92,6 +92,6 @@ Icon=${PN}
Categories=Game;RolePlaying; Categories=Game;RolePlaying;
EOF EOF
dodoc docs/BGManual2.pdf dodoc docs/BGManual2.pdf
} }

View File

@ -27,11 +27,11 @@ pkg_pretend() {
} }
pkg_nofetch() { pkg_nofetch() {
einfo einfo
einfo "Please buy & download \"${DOWNLOADS}\" from:" einfo "Please buy & download \"${DOWNLOADS}\" from:"
einfo " ${HOMEPAGE}" einfo " ${HOMEPAGE}"
einfo "and move/link it to \"${FETCHEDDIR}\"" einfo "and move/link it to \"${FETCHEDDIR}\""
einfo einfo
} }
pkg_setup() { pkg_setup() {
@ -44,14 +44,14 @@ src_unpack() {
} }
src_install() { src_install() {
local dir=/opt/${PN} local dir=/opt/${PN}
local f local f
insinto "${dir}" insinto "${dir}"
doins -r game doins -r game
edo chmod +x "${IMAGE}${dir}"/game/BaldursGate edo chmod +x "${IMAGE}${dir}"/game/BaldursGate
dodir "${dir}/lib" dodir "${dir}/lib"
edo pushd "${WORK}"/lib edo pushd "${WORK}"/lib
exeinto "${dir}/lib" exeinto "${dir}/lib"
@ -66,7 +66,7 @@ src_install() {
edo popd edo popd
insinto /usr/share/icons/hicolor/256x256/apps 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"; local LD_PATH="/usr/$(exhost --target)/lib/ld-linux.so.2";
herebin ${PN} <<EOF herebin ${PN} <<EOF
@ -92,6 +92,6 @@ Icon=${PN}
Categories=Game;RolePlaying; Categories=Game;RolePlaying;
EOF EOF
dodoc -r docs/Manuals dodoc -r docs/Manuals
} }

View File

@ -29,6 +29,8 @@ MYOPTIONS="
RESTRICT="fetch bindist" RESTRICT="fetch bindist"
DEPENDENCIES=" DEPENDENCIES="
build:
virtual/unzip
run: run:
dev-libs/atk dev-libs/atk
media-libs/fontconfig media-libs/fontconfig
@ -38,22 +40,20 @@ DEPENDENCIES="
x11-libs/gdk-pixbuf:2.0 x11-libs/gdk-pixbuf:2.0
x11-libs/gtk+:2 x11-libs/gtk+:2
x11-libs/pango x11-libs/pango
build:
virtual/unzip
" "
WORK="${WORKBASE}/data/noarch" WORK="${WORKBASE}/data/noarch"
pkg_nofetch() { pkg_nofetch() {
einfo einfo
einfo "Please buy & download \"${BASE_SRC_DL}\"" einfo "Please buy & download \"${BASE_SRC_DL}\""
option dlc1 && einfo "and \"${DLC1_SRC_DL}\"" option dlc1 && einfo "and \"${DLC1_SRC_DL}\""
option dlc2 && einfo "and \"${DLC2_SRC_DL}\"" option dlc2 && einfo "and \"${DLC2_SRC_DL}\""
option dlc3 && einfo "and \"${DLC3_SRC_DL}\"" option dlc3 && einfo "and \"${DLC3_SRC_DL}\""
einfo "from:" einfo "from:"
einfo " ${HOMEPAGE}" einfo " ${HOMEPAGE}"
einfo "and move/link it to \"${FETCHEDDIR}\"" einfo "and move/link it to \"${FETCHEDDIR}\""
einfo einfo
} }
pkg_setup() { pkg_setup() {
@ -73,26 +73,26 @@ src_unpack() {
} }
src_unpack() { src_unpack() {
if option dlc1 ; then if option dlc1 ; then
unpack_zip "${FETCHEDDIR}/${DLC1_SRC_DL}" unpack_zip "${FETCHEDDIR}/${DLC1_SRC_DL}"
fi fi
if option dlc2 ; then if option dlc2 ; then
unpack_zip "${FETCHEDDIR}/${DLC2_SRC_DL}" unpack_zip "${FETCHEDDIR}/${DLC2_SRC_DL}"
fi fi
if option dlc3 ; then if option dlc3 ; then
unpack_zip "${FETCHEDDIR}/${DLC3_SRC_DL}" unpack_zip "${FETCHEDDIR}/${DLC3_SRC_DL}"
fi fi
unpack_zip "${FETCHEDDIR}/${BASE_SRC_DL}" unpack_zip "${FETCHEDDIR}/${BASE_SRC_DL}"
} }
src_install() { src_install() {
local dir=/opt/${PN} local dir=/opt/${PN}
insinto /usr/share/icons/hicolor/512x512/apps insinto /usr/share/icons/hicolor/512x512/apps
newins game/PillarsOfEternity.png ${PN}.png newins game/PillarsOfEternity.png ${PN}.png
herebin ${PN} <<EOF herebin ${PN} <<EOF
#!/bin/sh #!/bin/sh
@ -112,13 +112,13 @@ Icon=${PN}
Categories=Game;RolePlaying; Categories=Game;RolePlaying;
EOF EOF
dodoc game/Docs/{pe-game-manual.pdf,readme.txt} dodoc game/Docs/{pe-game-manual.pdf,readme.txt}
dodir "${dir}" dodir "${dir}"
edo rm "${WORK}"/game/PillarsOfEternity_Data/Plugins/x86_64/libCSteamworks.so \ edo rm "${WORK}"/game/PillarsOfEternity_Data/Plugins/x86_64/libCSteamworks.so \
"${WORK}"/game/PillarsOfEternity_Data/Plugins/x86_64/libsteam_api.so "${WORK}"/game/PillarsOfEternity_Data/Plugins/x86_64/libsteam_api.so
edo mv "${WORK}/game" "${IMAGE}${dir}/" edo mv "${WORK}/game" "${IMAGE}${dir}/"
edo chmod +x "${IMAGE}${dir}"/game/PillarsOfEternity edo chmod +x "${IMAGE}${dir}"/game/PillarsOfEternity
# there are empty installed dirs for some reason, just keep em # 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 find "${IMAGE}" -depth -type d -empty -exec sh -c 'touch "${1}"' - '{}'/.keep_${CATEGORY}_${PN}-${SLOT%/*} \; || die

View File

@ -17,6 +17,8 @@ MYOPTIONS="
" "
DEPENDENCIES=" DEPENDENCIES="
build:
virtual/unzip
run: run:
dev-libs/glib:2 dev-libs/glib:2
x11-dri/glu x11-dri/glu
@ -25,8 +27,6 @@ DEPENDENCIES="
x11-libs/gtk+:2 x11-libs/gtk+:2
x11-libs/libX11 x11-libs/libX11
x11-libs/libXcursor x11-libs/libXcursor
build:
virtual/unzip
" "
WORK="${WORKBASE}/data/noarch" WORK="${WORKBASE}/data/noarch"

View File

@ -1,7 +1,6 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de> # Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
require cmake gtk-icon-cache flag-o-matic require cmake gtk-icon-cache flag-o-matic
SUMMARY="A multi-player, 3D action role-playing game" SUMMARY="A multi-player, 3D action role-playing game"
@ -22,9 +21,9 @@ DEPENDENCIES="
dev-libs/ogre[freeimage][opengl] dev-libs/ogre[freeimage][opengl]
dev-libs/tinyxml dev-libs/tinyxml
media-libs/freealut media-libs/freealut
media-libs/openal
media-libs/libogg media-libs/libogg
media-libs/libvorbis media-libs/libvorbis
media-libs/openal
net-libs/enet net-libs/enet
x11-libs/libX11 x11-libs/libX11
x11-libs/libXrandr x11-libs/libXrandr

View File

@ -27,10 +27,6 @@ MYOPTIONS="
" "
DEPENDENCIES=" DEPENDENCIES="
editor? (
build+run:
x11-libs/qt:4[opengl]
)
build: build:
dev-libs/boost dev-libs/boost
sys-devel/gettext sys-devel/gettext
@ -45,6 +41,7 @@ DEPENDENCIES="
x11-dri/glu x11-dri/glu
x11-dri/mesa x11-dri/mesa
x11-libs/libX11 x11-libs/libX11
editor? ( x11-libs/qt:4[opengl] )
" "
CMAKE_SOURCE=${WORKBASE}/${MY_PNV} CMAKE_SOURCE=${WORKBASE}/${MY_PNV}

View File

@ -14,6 +14,8 @@ MYOPTIONS=""
RESTRICT="bindist fetch mirror" RESTRICT="bindist fetch mirror"
DEPENDENCIES=" DEPENDENCIES="
build:
virtual/unzip
run: run:
dev-libs/atk dev-libs/atk
dev-libs/glib:2 dev-libs/glib:2
@ -29,8 +31,6 @@ DEPENDENCIES="
x11-libs/libXcursor x11-libs/libXcursor
x11-libs/libXext x11-libs/libXext
x11-libs/libXrandr x11-libs/libXrandr
build:
virtual/unzip
" "
WORK="${WORKBASE}/data/noarch" WORK="${WORKBASE}/data/noarch"

View File

@ -12,10 +12,10 @@ SLOT="0"
PLATFORMS="~amd64 ~x86" PLATFORMS="~amd64 ~x86"
DEPENDENCIES=" DEPENDENCIES="
run:
games-engines/solarus[~>1.4.0]
build: build:
app-arch/zip app-arch/zip
run:
games-engines/solarus[~>1.4.0]
" "
CMAKE_SRC_CONFIGURE_PARAMS=( CMAKE_SRC_CONFIGURE_PARAMS=(

View File

@ -12,10 +12,10 @@ SLOT="0"
PLATFORMS="~amd64 ~x86" PLATFORMS="~amd64 ~x86"
DEPENDENCIES=" DEPENDENCIES="
run:
games-engines/solarus[~>1.4.0]
build: build:
app-arch/zip app-arch/zip
run:
games-engines/solarus[~>1.4.0]
" "
CMAKE_SRC_CONFIGURE_PARAMS=( CMAKE_SRC_CONFIGURE_PARAMS=(

View File

@ -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 # Distributed under the terms of the GNU General Public License v2
require flag-o-matic require flag-o-matic

View File

@ -17,9 +17,8 @@ MYOPTIONS="
" "
DEPENDENCIES=" DEPENDENCIES="
run: build:
user/minetest sys-devel/gettext
group/minetest
build+run: build+run:
app-arch/bzip2 app-arch/bzip2
dev-db/leveldb dev-db/leveldb
@ -28,8 +27,6 @@ DEPENDENCIES="
dev-libs/gmp:0 dev-libs/gmp:0
dev-libs/hiredis dev-libs/hiredis
media-libs/freetype:2 media-libs/freetype:2
providers:ijg-jpeg? ( media-libs/jpeg )
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
media-libs/libogg media-libs/libogg
media-libs/libpng:= media-libs/libpng:=
media-libs/libvorbis media-libs/libvorbis
@ -39,8 +36,11 @@ DEPENDENCIES="
x11-dri/mesa x11-dri/mesa
x11-libs/libX11 x11-libs/libX11
x11-libs/libXxf86vm x11-libs/libXxf86vm
build: providers:ijg-jpeg? ( media-libs/jpeg:= )
sys-devel/gettext providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
run:
user/minetest
group/minetest
" "
CMAKE_SRC_CONFIGURE_PARAMS=( CMAKE_SRC_CONFIGURE_PARAMS=(
@ -78,3 +78,4 @@ src_install() {
doins -r mods menu doins -r mods menu
doins game.conf minetest.conf doins game.conf minetest.conf
} }

View File

@ -41,19 +41,6 @@ MYOPTIONS="
" "
DEPENDENCIES=" 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: build:
dev-lang/python:*[>=2.7] dev-lang/python:*[>=2.7]
virtual/pkg-config virtual/pkg-config
@ -62,8 +49,6 @@ DEPENDENCIES="
dev-libs/icu:= dev-libs/icu:=
dev-libs/libxml2:2.0 dev-libs/libxml2:2.0
dev-libs/nspr dev-libs/nspr
providers:ijg-jpeg? ( media-libs/jpeg )
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
media-libs/libpng:= media-libs/libpng:=
media-libs/SDL:2[X] media-libs/SDL:2[X]
net-libs/enet net-libs/enet
@ -72,6 +57,14 @@ DEPENDENCIES="
x11-dri/mesa x11-dri/mesa
x11-libs/libX11 x11-libs/libX11
x11-libs/libXcursor 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=( DEFAULT_SRC_PREPARE_PATCHES=(

View File

@ -1,6 +1,7 @@
From: Julian Ospald <hasufell@gentoo.org> From: Julian Ospald <hasufell@gentoo.org>
Date: Sun Jun 24 18:32:38 UTC 2012 Date: Sun Jun 24 18:32:38 UTC 2012
Subject: build system Subject: build system
Upstream: no
* respect flags * respect flags

View File

@ -1,7 +1,6 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de> # Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
require gtk-icon-cache require gtk-icon-cache
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ] require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
@ -14,11 +13,11 @@ SLOT="0"
PLATFORMS="~amd64 ~x86" PLATFORMS="~amd64 ~x86"
DEPENDENCIES=" DEPENDENCIES="
build:
virtual/pkg-config
build+run: build+run:
media-libs/SDL:0[X] media-libs/SDL:0[X]
media-libs/SDL_mixer:0[midi] media-libs/SDL_mixer:0[midi]
build:
virtual/pkg-config
" "
DEFAULT_SRC_PREPARE_PATCHES=( DEFAULT_SRC_PREPARE_PATCHES=(

View File

@ -1,5 +1,6 @@
Author: Julian Ospald <hasufell@gentoo.org> Author: Julian Ospald <hasufell@gentoo.org>
Date: Thu Aug 9 18:57:40 2012 +0200 Date: Thu Aug 9 18:57:40 2012 +0200
Upstream: no
respect flags respect flags
use pkg-config use pkg-config

View File

@ -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 diff --git a/Makefile b/Makefile
index 27ef953..cc1e2cd 100644 index 27ef953..cc1e2cd 100644

View File

@ -24,7 +24,7 @@ src_unpack() {
src_configure() { src_configure() {
# not an autoconf script # not an autoconf script
./configure --prefix=/usr edo ./configure --prefix=/usr
} }
src_compile() { src_compile() {

View File

@ -54,6 +54,8 @@ MYOPTIONS="
LUA_SLOT="5.1" LUA_SLOT="5.1"
DEPENDENCIES=" DEPENDENCIES="
build:
virtual/unzip
build+run: build+run:
dev-dotnet/libgdiplus dev-dotnet/libgdiplus
dev-lang/lua:${LUA_SLOT} dev-lang/lua:${LUA_SLOT}
@ -64,8 +66,6 @@ DEPENDENCIES="
x11-dri/mesa x11-dri/mesa
providers:ijg-jpeg? ( media-libs/jpeg ) providers:ijg-jpeg? ( media-libs/jpeg )
providers:jpeg-turbo? ( media-libs/libjpeg-turbo ) providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
build:
virtual/unzip
" "
WORK=${WORKBASE}/OpenRA-release-${PV} WORK=${WORKBASE}/OpenRA-release-${PV}
@ -163,3 +163,4 @@ pkg_postrm() {
freedesktop-desktop_pkg_postrm freedesktop-desktop_pkg_postrm
freedesktop-mime_pkg_postrm freedesktop-mime_pkg_postrm
} }

View File

@ -1,6 +1,7 @@
From: Julian Ospald <hasufell@gentoo.org> From: Julian Ospald <hasufell@gentoo.org>
Date: Sun Aug 12 09:26:49 UTC 2012 Date: Sun Aug 12 09:26:49 UTC 2012
Subject: build system Subject: build system
Upstream: yes
respect CXX and CXXFLAGS respect CXX and CXXFLAGS

View File

@ -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 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 --- zod_engine/zod_launcher_src/common.cpp 2011-03-22 12:05:11.000000000 +0100

View File

@ -3,10 +3,10 @@
require gtk-icon-cache require gtk-icon-cache
MY_P=zod_linux-${PV:0:4}-${PV:4:2}-${PV:6:2} MY_PNV=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" SUMMARY="Zod engine is a remake of the 1996 classic game by Bitmap Brothers called Z"
HOMEPAGE="http://zod.sourceforge.net/" 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" LICENCES="all-rights-reserved GPL-3 LGPL-2.1"
SLOT="0" SLOT="0"

View File

@ -30,7 +30,7 @@ DEPENDENCIES="
" "
DEFAULT_SRC_CONFIGURE_OPTION_WITHS=( DEFAULT_SRC_CONFIGURE_OPTION_WITHS=(
libnotify 'libnotify'
'providers:gtk3 gtk3' 'providers:gtk3 gtk3'
) )
@ -38,3 +38,4 @@ src_prepare() {
edo intltoolize --force --copy edo intltoolize --force --copy
autotools_src_prepare autotools_src_prepare
} }

View File

@ -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 CC ?= gcc
PKG_CONFIG ?= pkg-config PKG_CONFIG ?= pkg-config
INSTALL = install INSTALL = install

View File

@ -24,7 +24,6 @@ DEPENDENCIES="
WORK=${WORKBASE} WORK=${WORKBASE}
src_prepare() { 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 cp "${FILES}"/${PN}-1.3-Makefile "${WORK}"/${PNV}/steam-mobile/Makefile
edo unzip "${WORK}"/${PNV}/steam-mobile/releases/icons.zip edo unzip "${WORK}"/${PNV}/steam-mobile/releases/icons.zip
} }

View File

@ -8,7 +8,7 @@
require cmake require cmake
MY_P=${PN}-${PV/_rc/rc} MY_PNV=${PN}-${PV/_rc/rc}
SUMMARY="Peer-to-peer VPN, NCD scripting language, tun2socks proxifier" SUMMARY="Peer-to-peer VPN, NCD scripting language, tun2socks proxifier"
DESCRIPTION=" DESCRIPTION="
BadVPN is an open-source peer-to-peer VPN system. It provides a BadVPN is an open-source peer-to-peer VPN system. It provides a
@ -41,6 +41,8 @@ MYOPTIONS="
" "
DEPENDENCIES=" DEPENDENCIES="
build:
virtual/pkg-config
build+run: build+run:
dev-libs/nspr dev-libs/nspr
dev-libs/nss dev-libs/nss
@ -54,11 +56,9 @@ DEPENDENCIES="
providers:eudev? ( sys-apps/eudev ) providers:eudev? ( sys-apps/eudev )
providers:systemd? ( sys-apps/systemd ) providers:systemd? ( sys-apps/systemd )
) )
build:
virtual/pkg-config
" "
WORK=${WORKBASE}/${MY_P} WORK=${WORKBASE}/${MY_PNV}
CMAKE_SRC_CONFIGURE_PARAMS=( CMAKE_SRC_CONFIGURE_PARAMS=(
-DBUILD_NOTHING_BY_DEFAULT=1 -DBUILD_NOTHING_BY_DEFAULT=1
@ -73,20 +73,20 @@ CMAKE_SRC_CONFIGURE_OPTIONS=(
) )
src_install() { src_install() {
cmake_src_install cmake_src_install
dodoc ChangeLog dodoc ChangeLog
exeinto /etc/init.d exeinto /etc/init.d
newexe "${FILES}"/${PN}-server.init ${PN}-server newexe "${FILES}"/${PN}-server.init ${PN}-server
insinto /etc/conf.d insinto /etc/conf.d
newins "${FILES}"/${PN}-server.conf ${PN}-server newins "${FILES}"/${PN}-server.conf ${PN}-server
if option ncd; then if option ncd; then
exeinto /etc/init.d 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 insinto /etc/conf.d
newins "${FILES}"/${PN}-ncd.conf ${PN}-ncd newins "${FILES}"/${PN}-ncd.conf ${PN}-ncd
install_systemd_files install_systemd_files
fi fi
} }

View File

@ -1,7 +1,6 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de> # Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
SUMMARY="Synchronize local workstation with time offered by remote webservers" SUMMARY="Synchronize local workstation with time offered by remote webservers"
HOMEPAGE="http://www.vervest.org/fiki/bin/view/HTP/DownloadC" HOMEPAGE="http://www.vervest.org/fiki/bin/view/HTP/DownloadC"
DOWNLOADS="http://www.vervest.org/htp/archive/c/${PNV}.tar.gz" DOWNLOADS="http://www.vervest.org/htp/archive/c/${PNV}.tar.gz"

View File

@ -17,10 +17,10 @@ SLOT="0"
PLATFORMS="~amd64 ~x86" PLATFORMS="~amd64 ~x86"
DEPENDENCIES=" DEPENDENCIES="
run:
sys-apps/gentoo-functions
build: build:
virtual/pkg-config virtual/pkg-config
run:
sys-apps/gentoo-functions
" "
src_compile() { src_compile() {
@ -45,3 +45,4 @@ pkg_postinst() {
elog "${ROOT}/usr/share/doc/${PNVR}/README" elog "${ROOT}/usr/share/doc/${PNVR}/README"
fi fi
} }

View File

@ -1,7 +1,6 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de> # Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
require gtk-icon-cache require gtk-icon-cache
require perl-module require perl-module

View File

@ -1,6 +1,7 @@
commit afadc8d05674a0e3e2fcf6dfbcf5f3c8f9133119 commit afadc8d05674a0e3e2fcf6dfbcf5f3c8f9133119
Author: Julian Ospald <hasufell@hasufell.de> Author: Julian Ospald <hasufell@hasufell.de>
Date: Sun May 18 19:32:59 2014 +0200 Date: Sun May 18 19:32:59 2014 +0200
Upstream: yes, https://github.com/wbhart/flint2/commit/afadc8d05674a0e3e2fcf6dfbcf5f3c8f9133119
Respect CFLAGS/CXXFLAGS/LDFLAGS, fixes #66 Respect CFLAGS/CXXFLAGS/LDFLAGS, fixes #66

View File

@ -2,6 +2,7 @@ From 27eb23c1844029ee64907500bd8aa87097ffcd32 Mon Sep 17 00:00:00 2001
From: Julian Ospald <hasufell@hasufell.de> From: Julian Ospald <hasufell@hasufell.de>
Date: Sun, 18 May 2014 18:46:24 +0200 Date: Sun, 18 May 2014 18:46:24 +0200
Subject: [PATCH] Allow to control LIBDIR Subject: [PATCH] Allow to control LIBDIR
Upstream: yes, https://github.com/wbhart/flint2/commit/27eb23c1844029ee64907500bd8aa87097ffcd32
Some distributions have lib32/lib64 and need to control Some distributions have lib32/lib64 and need to control
the destination properly. the destination properly.

View File

@ -1,6 +1,7 @@
commit 5e3d4a0504158f70d227e7cfc03985fe9a646797 commit 5e3d4a0504158f70d227e7cfc03985fe9a646797
Author: Julian Ospald <hasufell@hasufell.de> Author: Julian Ospald <hasufell@hasufell.de>
Date: Wed Jul 2 12:58:50 2014 +0200 Date: Wed Jul 2 12:58:50 2014 +0200
Upstream: yes, https://github.com/wbhart/flint2/commit/5e3d4a0504158f70d227e7cfc03985fe9a646797
Fix NTL test build Fix NTL test build

View File

@ -2,6 +2,7 @@ From 3506d617ef9dfc5184aa99be05a25e4f73d6c3f6 Mon Sep 17 00:00:00 2001
From: Julian Ospald <hasufell@hasufell.de> From: Julian Ospald <hasufell@hasufell.de>
Date: Sun, 18 May 2014 18:47:27 +0200 Date: Sun, 18 May 2014 18:47:27 +0200
Subject: [PATCH] Quote variables that could contain whitespaces 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 Make does NOT take care of this in this context. It's
not a variable assignment and installation would fail not a variable assignment and installation would fail

View File

@ -30,3 +30,4 @@ CMAKE_SRC_CONFIGURE_PARAMS=(
-DBUILD_BULLET2_DEMOS=OFF -DBUILD_BULLET2_DEMOS=OFF
-DUSE_GRAPHICAL_BENCHMARK=OFF -DUSE_GRAPHICAL_BENCHMARK=OFF
) )

View File

@ -7,7 +7,6 @@
require flag-o-matic require flag-o-matic
HOMEPAGE="https://www.gentoo.org" HOMEPAGE="https://www.gentoo.org"
DOWNLOADS="https://github.com/gentoo/${PN}/archive/${PV}.tar.gz -> ${PNV}.tar.gz" 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 export CC=$(exhost --tool-prefix)cc
append-cppflags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE append-cppflags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
} }

View File

@ -36,13 +36,14 @@ DEPENDENCIES="
build+run: build+run:
ncurses? ( sys-libs/ncurses ) ncurses? ( sys-libs/ncurses )
pam? ( sys-libs/pam ) pam? ( sys-libs/pam )
run:
providers:runit? ( sys-apps/runit )
providers:sinit? ( sys-apps/sinit )
providers:sysvinit? ( sys-apps/sysvinit )
suggestion: suggestion:
net-misc/netifrc [[ description = [ net-misc/netifrc [[ description = [
Network Interface Management Scripts Network Interface Management Scripts
] ]] ] ]]
providers:runit? ( sys-apps/runit )
providers:sinit? ( sys-apps/sinit )
providers:sysvinit? ( sys-apps/sysvinit )
" "
DEFAULT_SRC_COMPILE_PARAMS=( DEFAULT_SRC_COMPILE_PARAMS=(

View File

@ -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 Date: Tue Sep 8 10:10:18 UTC 2015
Subject: Fix data path fallback Subject: Fix data path fallback
Upstream: no, correct fix pending since 'sys.prefix' is broken in exherbo
Distutils installs into "/usr/share/blink", but
blink was unable to find it on gentoo, probably due
to python-exec magic.
--- blink-1.4.1/blink/resources.py --- blink-1.4.1/blink/resources.py
+++ blink-1.4.1/blink/resources.py +++ blink-1.4.1/blink/resources.py

View File

@ -18,7 +18,6 @@ MYOPTIONS="
" "
RESTRICT="mirror strip" RESTRICT="mirror strip"
DEPENDENCIES=" DEPENDENCIES="
run: run:
app-arch/quazip[qt5] app-arch/quazip[qt5]
@ -28,7 +27,6 @@ DEPENDENCIES="
pulseaudio? ( media-sound/pulseaudio ) pulseaudio? ( media-sound/pulseaudio )
" "
WORK="${WORKBASE}" WORK="${WORKBASE}"
pkg_nofetch() { pkg_nofetch() {

View File

@ -1,11 +1,10 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de> # Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
require systemd-service require systemd-service
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ] 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" HOMEPAGE="https://github.com/fatbob313/umurmur"
DOWNLOADS="https://github.com/fatbob313/${PN}/archive/${PV}.tar.gz -> ${PNV}.tar.gz" DOWNLOADS="https://github.com/fatbob313/${PN}/archive/${PV}.tar.gz -> ${PNV}.tar.gz"

View File

@ -1,17 +1,17 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de> # Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
MY_P="monitor" MY_PN="monitor"
SUMMARY="Monitoring application for www-servers/hiawatha" SUMMARY="Monitoring application for www-servers/hiawatha"
HOMEPAGE="http://www.hiawatha-webserver.org/howto/monitor" 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" LICENCES="GPL-2"
SLOT="0" SLOT="0"
PLATFORMS="~amd64 ~x86" PLATFORMS="~amd64 ~x86"
WORK=${WORKBASE}/${MY_P} WORK=${WORKBASE}/${MY_PN}
src_install () { src_install () {
default default

View File

@ -1,6 +1,7 @@
From: Julian Ospald <hasufell@gentoo.org> From: Julian Ospald <hasufell@gentoo.org>
Date: Fri May 23 16:59:33 UTC 2014 Date: Fri May 23 16:59:33 UTC 2014
Subject: make optimization level build-type dependant Subject: make optimization level build-type dependant
Upstream: no, doesn't care
--- hiawatha-9.5/CMakeLists.txt --- hiawatha-9.5/CMakeLists.txt
+++ hiawatha-9.5/CMakeLists.txt +++ hiawatha-9.5/CMakeLists.txt