forked from hasufell/hasufell-repository
Various minor improvements
This commit is contained in:
@@ -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=(
|
||||
|
||||
Reference in New Issue
Block a user