Rm merged packages

This commit is contained in:
Julian Ospald 2016-02-20 16:48:47 +01:00
parent 4570fba66f
commit 5659d03426
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
5 changed files with 87 additions and 1223 deletions

View File

@ -11,14 +11,12 @@ games-fps
games-roguelike games-roguelike
games-rpg games-rpg
games-strategy games-strategy
media-libs
media-sound media-sound
net-misc net-misc
net-www net-www
sci-mathematics sci-mathematics
sci-physics sci-physics
sys-apps sys-apps
sys-power
voip voip
www-apps www-apps
www-servers www-servers

View 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."
}

View File

@ -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

View File

@ -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
}