Rm merged packages
This commit is contained in:
parent
4570fba66f
commit
5659d03426
@ -11,14 +11,12 @@ games-fps
|
||||
games-roguelike
|
||||
games-rpg
|
||||
games-strategy
|
||||
media-libs
|
||||
media-sound
|
||||
net-misc
|
||||
net-www
|
||||
sci-mathematics
|
||||
sci-physics
|
||||
sys-apps
|
||||
sys-power
|
||||
voip
|
||||
www-apps
|
||||
www-servers
|
||||
|
87
packages/games-engines/OpenJK/OpenJK-scm.exheres-0
Normal file
87
packages/games-engines/OpenJK/OpenJK-scm.exheres-0
Normal file
@ -0,0 +1,87 @@
|
||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# TODO: fix build with gcc-5
|
||||
|
||||
require github [ user=JACoders ] cmake [ api=2 ]
|
||||
|
||||
SUMMARY="Open Source Jedi Academy and Jedi Outcast games engine"
|
||||
HOMEPAGE="https://github.com/JACoders/OpenJK"
|
||||
DOWNLOADS=""
|
||||
|
||||
LICENCES="GPL-2"
|
||||
SLOT="0"
|
||||
PLATFORMS="-* ~amd64 ~x86"
|
||||
MYOPTIONS="
|
||||
( providers: ijg-jpeg jpeg-turbo ) [[ number-selected = exactly-one ]]
|
||||
( platform: amd64 x86 )
|
||||
"
|
||||
|
||||
DEPENDENCIES="
|
||||
build+run:
|
||||
media-libs/libpng:=
|
||||
media-libs/SDL:2[X]
|
||||
providers:ijg-jpeg? ( media-libs/jpeg )
|
||||
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
|
||||
sys-libs/zlib
|
||||
x11-dri/mesa
|
||||
"
|
||||
|
||||
CMAKE_SRC_CONFIGURE_PARAMS=(
|
||||
-DBuildMPEngine=YES
|
||||
-DBuildMPRdVanilla=YES
|
||||
-DBuildSPEngine=YES
|
||||
-DBuildSPGame=YES
|
||||
-DBuildSPRdVanilla=YES
|
||||
)
|
||||
|
||||
src_install() {
|
||||
local i
|
||||
local myext=$(option platform:amd64 "x86_64" "i386")
|
||||
local mylibdir="/usr/$(exhost --target)/lib"
|
||||
|
||||
cmake_src_install
|
||||
|
||||
for i in openjk openjk_sp openjkded ; do
|
||||
herebin ${i} <<EOF
|
||||
#!/bin/sh
|
||||
cd "${mylibdir}/JediAcademy/"
|
||||
if [ "\${LD_LIBRARY_PATH+set}" = "set" ] ; then
|
||||
export LD_LIBRARY_PATH="\${LD_LIBRARY_PATH}:${mylibdir}/JediAcademy/base:${mylibdir}/JediAcademy/OpenJK"
|
||||
else
|
||||
export LD_LIBRARY_PATH="${mylibdir}/JediAcademy/base:${mylibdir}/JediAcademy/OpenJK"
|
||||
fi
|
||||
exec ./${i}.${myext} "\$@"
|
||||
EOF
|
||||
done
|
||||
|
||||
insinto /usr/share/applications
|
||||
hereins openjk <<EOF
|
||||
[Desktop Entry]
|
||||
Name=Jedi Academy Multi Player
|
||||
Type=Application
|
||||
Comment=Open Source Jedi Academy and Jedi Outcast games engine
|
||||
Exec=openjk
|
||||
TryExec=openjk
|
||||
Icon=OpenJK
|
||||
Categories=Game;
|
||||
EOF
|
||||
|
||||
hereins openjk_sp <<EOF
|
||||
[Desktop Entry]
|
||||
Name=Jedi Academy Single Player
|
||||
Type=Application
|
||||
Comment=Open Source Jedi Academy and Jedi Outcast games engine
|
||||
Exec=openjk_sp
|
||||
TryExec=openjk_sp
|
||||
Icon=OpenJK
|
||||
Categories=Game;
|
||||
EOF
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You need to copy GameData/base/*.{pk3,cfg} from either your"
|
||||
elog "installation media or your hard drive to"
|
||||
elog "~/.local/share/openjk/base before running the game."
|
||||
}
|
||||
|
@ -1,50 +0,0 @@
|
||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
#
|
||||
# partly based on freeimage-3.15.4.ebuild from Gentoo, which has Copyright:
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
MY_PN=FreeImage
|
||||
MY_P=${MY_PN}${PV//.}
|
||||
|
||||
DESCRIPTION="Image library supporting many formats"
|
||||
HOMEPAGE="http://freeimage.sourceforge.net/"
|
||||
DOWNLOADS="mirror://sourceforge/${PN}/${MY_P}.zip"
|
||||
|
||||
LICENCES="|| ( GPL-2 FIPL-1.0 )"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
virtual/unzip
|
||||
"
|
||||
|
||||
WORK=${WORKBASE}/${MY_PN}
|
||||
|
||||
DEFAULT_SRC_PREPARE_PATCHES=(
|
||||
-p1 "${FILES}"/${PNV}-gcc-5.diff
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
edo sed -i 's/\r$//' -- \
|
||||
"${WORKBASE}"/FreeImage/Source/LibWebP/src/dsp/*
|
||||
default
|
||||
edo cp -r "${WORKBASE}"/FreeImage "${WORKBASE}"/FreeImagefip
|
||||
}
|
||||
|
||||
foreach_make() {
|
||||
edo emake -C "${WORKBASE}"/FreeImage -f Makefile.gnu "$@"
|
||||
edo emake -C "${WORKBASE}"/FreeImagefip -f Makefile.fip "$@"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
foreach_make
|
||||
}
|
||||
|
||||
src_install() {
|
||||
foreach_make install DESTDIR="${IMAGE}" \
|
||||
INCDIR="${IMAGE}"/usr/$(exhost --target)/include \
|
||||
INSTALLDIR="${IMAGE}"/usr/$(exhost --target)/lib
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1,25 +0,0 @@
|
||||
# Copyright 2008 Mike Kelly <pioto@exherbo.org>
|
||||
# Distributed under the terms of the GPL v2
|
||||
|
||||
SUMMARY="Script to help do all the necessary voodoo for suspending to ram/disk on Linux"
|
||||
HOMEPAGE="http://www.tuxonice.net/"
|
||||
DOWNLOADS="http://www.tuxonice.net/downloads/all/${PNV}.tar.gz"
|
||||
|
||||
LICENCES="GPL-2"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES=""
|
||||
|
||||
BUGS_TO="pioto@exherbo.org"
|
||||
|
||||
src_install() {
|
||||
PREFIX="/usr" \
|
||||
BASE_DIR="${IMAGE}" \
|
||||
MAN_DIR="${IMAGE}/usr/share/man" \
|
||||
DISTRIBUTION="gentoo" \
|
||||
SCRIPT_DEST="${IMAGE}/usr/$(exhost --target)/bin/hibernate" \
|
||||
edo sh ./install.sh
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user