Fix licenses, indenting and improve patch descriptions

This commit is contained in:
hasufell 2016-02-17 02:53:28 +01:00
parent 904a8c3d4b
commit 531c966aa7
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
52 changed files with 490 additions and 379 deletions

47
licences/Arev Normal file
View File

@ -0,0 +1,47 @@
Modifications to the Bitstream Vera fonts.
Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining
a copy of the fonts accompanying this license ("Fonts") and
associated documentation files (the "Font Software"), to reproduce
and distribute the modifications to the Bitstream Vera Font Software,
including without limitation the rights to use, copy, merge, publish,
distribute, and/or sell copies of the Font Software, and to permit
persons to whom the Font Software is furnished to do so, subject to
the following conditions:
The above copyright and trademark notices and this permission notice
shall be included in all copies of one or more of the Font Software
typefaces.
The Font Software may be modified, altered, or added to, and in
particular the designs of glyphs or characters in the Fonts may be
modified and additional glyphs or characters may be added to the
Fonts, only if the fonts are renamed to names not containing either
the words "Tavmjong Bah" or the word "Arev".
This License becomes null and void to the extent applicable to Fonts
or Font Software that has been modified and is distributed under the
"Tavmjong Bah Arev" names.
The Font Software may be sold as part of a larger software package but
no copy of one or more of the Font Software typefaces may be sold by
itself.
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL
TAVMJONG BAH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Except as contained in this notice, the name of Tavmjong Bah shall not
be used in advertising or otherwise to promote the sale, use or other
dealings in this Font Software without prior written authorization
from Tavmjong Bah. For further information, contact: tavmjong @ free
. fr.

30
licences/GUST Normal file
View File

@ -0,0 +1,30 @@
% This is a preliminary version (2006-09-30), barring acceptance from
% the LaTeX Project Team and other feedback, of the GUST Font License.
% (GUST is the Polish TeX Users Group, http://www.gust.org.pl)
%
% For the most recent version of this license see
% http://www.gust.org.pl/fonts/licenses/GUST-FONT-LICENSE.txt
% or
% http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt
%
% This work may be distributed and/or modified under the conditions
% of the LaTeX Project Public License, either version 1.3c of this
% license or (at your option) any later version.
%
% Please also observe the following clause:
% 1) it is requested, but not legally required, that derived works be
% distributed only after changing the names of the fonts comprising this
% work and given in an accompanying "manifest", and that the
% files comprising the Work, as listed in the manifest, also be given
% new names. Any exceptions to this request are also given in the
% manifest.
%
% We recommend the manifest be given in a separate file named
% MANIFEST-<fontid>.txt, where <fontid> is some unique identification
% of the font family. If a separate "readme" file accompanies the Work,
% we recommend a name of the form README-<fontid>.txt.
%
% The latest version of the LaTeX Project Public License is in
% http://www.latex-project.org/lppl.txt and version 1.3c or later
% is part of all distributions of LaTeX version 2006/05/20 or later.

View File

@ -0,0 +1,15 @@
All rights reserved.
This package has an explicit "all rights reserved" clause, or comes
without any license, or only with a disclaimer. This means that you
have only the rights that are granted to you by law. If you have
lawfully acquired a copy of the program (e.g., by buying it or by
downloading it from the author's site) then in many legislations you
are allowed to compile it, run it, make a backup, and to patch it as
necessary, without permission from the copyright holder.
Redistribution of the program is not allowed.
Disclaimer: Presumably, the above applies to the United States and
countries in the European Union at least. However, it is your own
responsibility to obey your country's laws.

View File

@ -0,0 +1,4 @@
All the tiles of the "shockbolt" tileset, located in all the "gfx/shockbolt" and "gfx/lore"
folders are granted to use with the Tales of Maj'Eyal game only.
Please contact darkgod@te4.org for more informations.

26
licences/warsow Normal file
View File

@ -0,0 +1,26 @@
Warsow Content License
Assets that are property of Chasseur de bots, use the following Warsow Content License.
TERMS AND CONDITIONS FOR USAGE, COPYING, DISTRIBUTION AND MODIFICATION
1. This License applies to any material or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this Warsow Content License.
2. Terms defined in this Article, and parenthetically elsewhere, shall throughout this License have the meanings here and there provided. Defined terms may be used in the singular or plural. Definitions:
The "Material", below, refers to any such material or work, and a "work based on the Material" means either the Material or any Derivative Work under copyright law.
"Derivative Work" shall mean a work containing the Material or a portion of it, such as a revision, modification, enhancement, adaptation, translation (including compilation or recompilation by computer), abridgement, condensation, expansion, or any other form in which such preexisting works may be recast, transformed, or adapted, and that, if prepared without authorization of the owner of the copyright in such preexisting work, would constitute a copyright infringement.
Each licensee is addressed as "you".
3. You may not copy, modify, publish, transmit, sell, participate in the transfer or sale or reproduce, create Derivative Works from, distribute, perform, display or in any way exploit any of the Material released under this License unless expressly permitted by the Chasseur de bots team.
4. You may freely distribute the Warsow archive/installer unmodified on any media. You may re-compress using different archival formats suitable for your OS (i.e. zip/tgz/rpm/deb/dmg), any changes beyond that require explicit permission of the Chasseur de bots association.
5. THERE IS NO WARRANTY FOR THE MATERIAL PROVIDED, TO THE EXTENT PERMITTED BY APPLICABLE LAW. THE MATERIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE MATERIAL IS WITH YOU.
6. IN NO EVENT SHALL Chasseur de bots BE LIABLE FOR ANY DAMAGES WHATSOEVER, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE MATERIAL.
END OF TERMS AND CONDITIONS

53
licences/wxWinLL-3 Normal file
View File

@ -0,0 +1,53 @@
wxWindows Library Licence, Version 3
====================================
Copyright (c) 1998 Julian Smart, Robert Roebling et al
Everyone is permitted to copy and distribute verbatim copies
of this licence document, but changing it is not allowed.
WXWINDOWS LIBRARY LICENCE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public Licence as published by
the Free Software Foundation; either version 2 of the Licence, or (at
your option) any later version.
This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library
General Public Licence for more details.
You should have received a copy of the GNU Library General Public Licence
along with this software, usually in a file named COPYING.LIB. If not,
write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
Boston, MA 02111-1307 USA.
EXCEPTION NOTICE
1. As a special exception, the copyright holders of this library give
permission for additional uses of the text contained in this release of
the library as licenced under the wxWindows Library Licence, applying
either version 3 of the Licence, or (at your option) any later version of
the Licence as published by the copyright holders of version 3 of the
Licence document.
2. The exception is that you may use, copy, link, modify and distribute
under the user's own terms, binary object code versions of works based
on the Library.
3. If you copy code from files distributed under the terms of the GNU
General Public Licence or the GNU Library General Public Licence into a
copy of this library, as this licence permits, the exception does not
apply to the code that you add in this way. To avoid misleading anyone as
to the status of such modified files, you must delete this exception
notice from such code and/or adjust the licensing conditions notice
accordingly.
4. If you write modifications of your own for this library, it is your
choice whether to permit this exception to apply to your modifications.
If you do not wish that, you must delete the exception notice from such
code and/or adjust the licensing conditions notice accordingly.

View File

@ -7,7 +7,7 @@ SUMMARY="Front end to cryptsetup"
HOMEPAGE="http://mhogomchungu.github.io/zuluCrypt/"
DOWNLOADS="https://github.com/mhogomchungu/zuluCrypt/releases/download/${PV}/zuluCrypt-${PV}.tar.bz2"
LICENCES="GPL-2+"
LICENCES="|| ( GPL-2 GPL-3 )"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS="

View File

@ -5,14 +5,14 @@ require cmake [ api=2 ]
SUMMARY="High performance 3D graphics toolkit"
DESCRIPTION="
The OpenSceneGraph is an open source high performance 3D graphics toolkit,
used by application developers in fields such as visual simulation, games,
virtual reality, scientific visualization and modelling. Written entirely
in Standard C++ and OpenGL it runs on all Windows platforms, OSX, GNU/Linux,
IRIX, Solaris, HP-Ux, AIX and FreeBSD operating systems. The OpenSceneGraph
is now well established as the world leading scene graph technology, used
widely in the vis-sim, space, scientific, oil-gas, games and virtual reality
industries.
The OpenSceneGraph is an open source high performance 3D graphics toolkit,
used by application developers in fields such as visual simulation, games,
virtual reality, scientific visualization and modelling. Written entirely
in Standard C++ and OpenGL it runs on all Windows platforms, OSX, GNU/Linux,
IRIX, Solaris, HP-Ux, AIX and FreeBSD operating systems. The OpenSceneGraph
is now well established as the world leading scene graph technology, used
widely in the vis-sim, space, scientific, oil-gas, games and virtual reality
industries.
"
MY_PN="OpenSceneGraph"
@ -20,7 +20,7 @@ MY_P=${MY_PN}-${PV}
HOMEPAGE="http://${PN}.org"
DOWNLOADS="http://trac.openscenegraph.org/downloads/developer_releases/${MY_P}.zip"
LICENCES="OpenSceneGraph"
LICENCES="wxWinLL-3 LGPL-2.1"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS="
@ -33,26 +33,26 @@ DEPENDENCIES="
build:
app-arch/zip
build+run:
media-libs/freetype:2
media-libs/jasper
media-libs/openexr
sys-libs/zlib
net-misc/curl
media/ffmpeg
media-libs/gstreamer:1.0
media-plugins/gst-plugins-base:1.0
app-text/poppler[cairo]
dev-libs/glib:2
media/ffmpeg
media-libs/freetype:2
media-libs/giflib:=
media-libs/gstreamer:1.0
media-libs/jasper
media-libs/libpng:=
media-libs/openexr
media-libs/SDL:0
x11-libs/gtkglext
x11-libs/wxGTK:3.0
media-libs/tiff
media-plugins/gst-plugins-base:1.0
net-misc/curl
sys-libs/zlib
x11-dri/mesa
x11-libs/gtkglext
x11-libs/qtbase:5
x11-libs/wxGTK:3.0
providers:ijg-jpeg? ( media-libs/jpeg )
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
media-libs/giflib:=
media-libs/libpng:=
media-libs/tiff
x11-libs/qtbase:5
"
DEFAULT_SRC_PREPARE_PATCHES=(

View File

@ -1,3 +1,5 @@
Make almost all features properly optional
--- OpenSceneGraph-3.4.0/CMakeLists.txt
+++ OpenSceneGraph-3.4.0/CMakeLists.txt
@@ -607,6 +607,7 @@

View File

@ -31,8 +31,8 @@ MYOPTIONS="
DEPENDENCIES="
build+run:
dev-libs/pcre[>=5.0]
sys-libs/zlib
media-libs/freetype:2[>=0.15.0]
sys-libs/zlib
devil? ( media-libs/DevIL )
expat? ( dev-libs/expat )
freeimage? ( media-libs/FreeImage )

View File

@ -1,3 +1,5 @@
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
+++ mygui-MyGUI3.2.2/CMake/ConfigureBuild.cmake 2015-03-14 01:09:40.743621643 -0400
@ -19,43 +21,3 @@ diff -ru mygui-MyGUI3.2.2.orig/CMake/ConfigureBuild.cmake mygui-MyGUI3.2.2/CMake
# configure additional packages
diff -ru mygui-MyGUI3.2.2.orig/CMake/Utils/MyGUIConfigTargets.cmake mygui-MyGUI3.2.2/CMake/Utils/MyGUIConfigTargets.cmake
--- mygui-MyGUI3.2.2.orig/CMake/Utils/MyGUIConfigTargets.cmake 2015-01-26 10:32:35.000000000 -0500
+++ mygui-MyGUI3.2.2/CMake/Utils/MyGUIConfigTargets.cmake 2015-03-14 01:08:44.905791784 -0400
@@ -1,6 +1,8 @@
# Configure settings and install targets
# FIXME: Copypasted from Ogre and need lots of changes
+include(GNUInstallDirs)
+
if (WIN32)
set(MYGUI_RELEASE_PATH "/Release")
set(MYGUI_RELWDBG_PATH "/RelWithDebInfo")
@@ -60,6 +62,12 @@
# install targets according to current build type
function(mygui_install_target TARGETNAME SUFFIX)
install(TARGETS ${TARGETNAME}
+ RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" CONFIGURATIONS Gentoo ""
+ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" CONFIGURATIONS Gentoo ""
+ ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" CONFIGURATIONS Gentoo ""
+ FRAMEWORK DESTINATION "${MYGUI_FRAMEWORK_PATH}" CONFIGURATIONS Gentoo ""
+ )
+ install(TARGETS ${TARGETNAME}
RUNTIME DESTINATION "bin${MYGUI_RELEASE_PATH}" CONFIGURATIONS Release None ""
LIBRARY DESTINATION "lib${MYGUI_LIB_RELEASE_PATH}${SUFFIX}" CONFIGURATIONS Release None ""
ARCHIVE DESTINATION "lib${MYGUI_LIB_RELEASE_PATH}${SUFFIX}" CONFIGURATIONS Release None ""
@@ -171,7 +179,13 @@
endif ()
add_executable(${PROJECTNAME} ${MYGUI_EXEC_TYPE} ${HEADER_FILES} ${SOURCE_FILES})
endif ()
- set_target_properties(${PROJECTNAME} PROPERTIES FOLDER ${SOLUTIONFOLDER})
+
+ # rename demo target^M
+ if (${SOLUTIONFOLDER} STREQUAL "Demos")
+ set_target_properties(${PROJECTNAME} PROPERTIES FOLDER ${SOLUTIONFOLDER} OUTPUT_NAME MYGUI-${PROJECTNAME})
+ else()
+ set_target_properties(${PROJECTNAME} PROPERTIES FOLDER ${SOLUTIONFOLDER})
+ endif()
add_dependencies(${PROJECTNAME} MyGUIEngine Common)

View File

@ -31,8 +31,8 @@ DEPENDENCIES="
DEFAULT_SRC_PREPARE_PATCHES=(
-p0 "${FILES}"/${PNV}-underlinking.patch
-p1 "${FILES}"/${PNV}-build.patch
-p1 "${FILES}"/${PNV}-FHS.patch
-p1 "${FILES}"/${PNV}-build.patch
-p1 "${FILES}"/${PNV}-FHS.patch
)
CMAKE_SRC_CONFIGURE_PARAMS=(
@ -55,10 +55,10 @@ CMAKE_SRC_CONFIGURE_PARAMS=(
src_install() {
cmake_src_install
keepdir /etc/MYGUI
keepdir /etc/MYGUI
# test media not needed at runtime
edo rm -rf "${IMAGE}"/usr/share/MYGUI/Media/UnitTests
# wrapper not available for linux, remove related media
edo rm -rf "${IMAGE}"/usr/share/MYGUI/Media/Wrapper
# test media not needed at runtime
edo rm -rf "${IMAGE}"/usr/share/MYGUI/Media/UnitTests
# wrapper not available for linux, remove related media
edo rm -rf "${IMAGE}"/usr/share/MYGUI/Media/Wrapper
}

View File

@ -40,22 +40,22 @@ CMAKE_SRC_CONFIGURE_TESTS=(
)
enable_mbedtls_option() {
local myopt="$@"
# check that config.h syntax is the same at version bump
sed -i \
-e "s://#define ${myopt}:#define ${myopt}:" \
include/mbedtls/config.h || die
local myopt="$@"
# check that config.h syntax is the same at version bump
sed -i \
-e "s://#define ${myopt}:#define ${myopt}:" \
include/mbedtls/config.h || die
}
src_prepare() {
enable_mbedtls_option MBEDTLS_ZLIB_SUPPORT
option havege && enable_mbedtls_option MBEDTLS_HAVEGE_C
option threads && enable_mbedtls_option MBEDTLS_THREADING_C
option threads && enable_mbedtls_option MBEDTLS_THREADING_PTHREAD
enable_mbedtls_option MBEDTLS_ZLIB_SUPPORT
option havege && enable_mbedtls_option MBEDTLS_HAVEGE_C
option threads && enable_mbedtls_option MBEDTLS_THREADING_C
option threads && enable_mbedtls_option MBEDTLS_THREADING_PTHREAD
}
src_test() {
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${ECMAKE_BUILD_DIR}/library" \
cmake_src_test
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${ECMAKE_BUILD_DIR}/library" \
cmake_src_test
}

View File

@ -9,7 +9,7 @@ HOMEPAGE="http://minetest.net/"
DOWNLOADS="http://github.com/minetest/minetest/tarball/${PV} -> ${PNV}.tar.gz
http://github.com/minetest/minetest_game/tarball/${PV} -> minetest_game-${PV}.tar.gz"
LICENCES="LGPL-2.1+ CC-BY-SA-3.0"
LICENCES="|| ( LGPL-2.1 LGPL-3 ) CCPL-Attribution-ShareAlike-3.0"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS="
@ -74,7 +74,7 @@ src_install() {
cmake_src_install
edo cd "${WORKBASE}"/minetest_game-${PV}
insinto /usr/share/minetest/games/${PN}
doins -r mods menu
doins game.conf minetest.conf
insinto /usr/share/minetest/games/${PN}
doins -r mods menu
doins game.conf minetest.conf
}

View File

@ -24,15 +24,15 @@ DEFAULT_SRC_CONFIGURE_PARAMS=( --enable-tk )
src_prepare() {
default
edo mv src/xawale.tcl src/xawale.tcl.in
edo mv configure.in configure.ac
edo mv src/xawale.tcl src/xawale.tcl.in
edo mv configure.in configure.ac
eautoreconf
}
src_install() {
default
dodoc AUTHORS ChangeLog NEWS README THANKS
edo chmod +x "${IMAGE}"/usr/share/${PN}/xawale.tcl
dodoc AUTHORS ChangeLog NEWS README THANKS
edo chmod +x "${IMAGE}"/usr/share/${PN}/xawale.tcl
}

View File

@ -5,7 +5,7 @@ SUMMARY="A clone of the popular board game The Settlers of Catan"
HOMEPAGE="http://pio.sourceforge.net/"
DOWNLOADS="mirror://sourceforge/pio/${PNV}.tar.gz"
LICENCES="GPL-2 CC-BY-SA-4.0"
LICENCES="GPL-2 CCPL-Attribution-ShareAlike-4.0"
SLOT="0"
PLATFORMS="~amd64 ~x86"

View File

@ -5,7 +5,7 @@ SUMMARY="A clone of the popular board game The Settlers of Catan"
HOMEPAGE="http://pio.sourceforge.net/"
DOWNLOADS="mirror://sourceforge/pio/${PNV}.tar.gz"
LICENCES="GPL-2 CC-BY-SA-4.0"
LICENCES="GPL-2 CCPL-Attribution-ShareAlike-4.0"
SLOT="0"
PLATFORMS="~amd64 ~x86"

View File

@ -7,7 +7,7 @@ SUMMARY="Free/Libre Action Roleplaying game engine"
HOMEPAGE="https://github.com/clintbellanger/flare-engine"
DOWNLOADS="https://github.com/clintbellanger/flare-engine/archive/v${PV}.tar.gz -> ${PNV}-engine.tar.gz"
LICENCES="CC-BY-SA-3.0 GPL-3 OFL-1.1"
LICENCES="CCPL-Attribution-ShareAlike-3.0 GPL-3 OFL-1.1"
SLOT="0"
PLATFORMS="~amd64 ~x86"

View File

@ -11,7 +11,7 @@ SUMMARY="An open source reimplementation of TES III: Morrowind"
HOMEPAGE="http://openmw.org/"
DOWNLOADS="https://github.com/OpenMW/openmw/archive/${PNV}.tar.gz"
LICENCES="GPL-3 MIT BitstreamVera OFL-1.1"
LICENCES="GPL-3 MIT bitstream-font OFL-1.1"
SLOT="0"
PLATFORMS="~amd64 ~x86"

View File

@ -29,7 +29,7 @@ CMAKE_SRC_CONFIGURE_PARAMS=(
)
src_install() {
cmake_src_install
doman solarus.6
cmake_src_install
doman solarus.6
}

View File

@ -11,8 +11,8 @@ ENGINE_P=${PN}_${ENGINE_PV}_sdk
DESCRIPTION="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
mirror://gentoo/warsow.png"
http://mirror.null.one/warsow_${DATA_PV}_unified.tar.gz
mirror://gentoo/warsow.png"
LICENCES="
GPL-2
@ -46,11 +46,11 @@ WORK=${WORKBASE}/source/source
DATA_S=${WORKBASE}/${PN}_${DATA_PV:0:2}
src_install() {
dobin_wrapper() {
local f
dobin_wrapper() {
local f
for f in $@ ; do
herebin ${f} <<EOF
for f in $@ ; do
herebin ${f} <<EOF
#!/bin/sh
basepath="/usr/share/${PN}"
@ -61,26 +61,26 @@ exec "/usr/libexec/${PN}/${f}" \
+set fs_basepath \${basepath} \
+set fs_usehomedir 1 "\$@"
EOF
done
}
insinto /usr/share/${PN}
doins -r "${DATA_S}"/basewsw
done
}
insinto /usr/share/${PN}
doins -r "${DATA_S}"/basewsw
edo cd build
edo cd build
exeinto /usr/$(exhost --target)/libexec/${PN}/
doexe */*.so
newexe ${PN}.* ${PN}
newexe wsw_server.* ${PN}-ded
newexe wswtv_server.* ${PN}-tv
dobin_wrapper ${PN} ${PN}-ded ${PN}-tv
doexe */*.so
newexe ${PN}.* ${PN}
newexe wsw_server.* ${PN}-ded
newexe wswtv_server.* ${PN}-tv
dobin_wrapper ${PN} ${PN}-ded ${PN}-tv
local so
dodir /usr/share/${PN}/libs
for so in basewsw/*.so libs/*.so ; do
dosym /usr/$(exhost --target)/libexec/${PN}/${so##*/} \
/usr/share/${PN}/${so}
done
local so
dodir /usr/share/${PN}/libs
for so in basewsw/*.so libs/*.so ; do
dosym /usr/$(exhost --target)/libexec/${PN}/${so##*/} \
/usr/share/${PN}/${so}
done
insinto /usr/share/icons/hicolor/48x48/apps
doins "${FETCHEDDIR}"/${PN}.png

View File

@ -28,10 +28,10 @@ DOWNLOADS="https://crawl.develz.org/release/${MY_P}-nodeps.tar.xz"
LICENCES="
GPL-2
BSD [[ note = [ mt19937ar.cc, MSVC/stdint.h ] ]]
BSD-3 [[ note = [ mt19937ar.cc, MSVC/stdint.h ] ]]
BSD-2 [[ note = [ all contributions by Steve Noonan and Jesse Luehrs ] ]]
public-domain [[ note = [ most of tiles ] ]]
CC0-1.0 [[ note = [ most of tiles ] ]]
CC0 [[ note = [ most of tiles ] ]]
MIT [[ note = [ json.cc/json.h, some .js files in
webserver/static/scripts/contrib/ ] ]]
"
@ -94,7 +94,7 @@ DEFAULT_SRC_COMPILE_PARAMS=(
)
src_compile() {
export HOSTCXX=${CXX}
export HOSTCXX=${CXX}
emake "${DEFAULT_SRC_COMPILE_PARAMS[@]}" $(option tiles "TILES=y" "")
}
@ -107,7 +107,7 @@ src_install() {
bin_prefix="${IMAGE}/usr/$(exhost --target)/bin" \
install
# don't relocate docs, needed at runtime
rm -rf "${IMAGE}/usr/share/${PN}/docs/license"
# don't relocate docs, needed at runtime
rm -rf "${IMAGE}/usr/share/${PN}/docs/license"
}

View File

@ -1,5 +1,5 @@
From 88579f929f0fc777762de1ad0895264ad077e0ee Mon Sep 17 00:00:00 2001
From: hasufell <hasufell@gentoo.org>
From: Julian Ospald <hasufell@gentoo.org>
Date: Mon, 27 Oct 2014 20:48:03 +0100
Subject: [PATCH 2/2] Use pkg-config for linking to ncurses

View File

@ -1,5 +1,5 @@
From aaa7cde91e4b086164f0c7f46569a34bfbb4e479 Mon Sep 17 00:00:00 2001
From: hasufell <hasufell@gentoo.org>
From: Julian Ospald <hasufell@gentoo.org>
Date: Sun, 3 May 2015 15:05:43 +0200
Subject: [PATCH] Respect flags and compiler

View File

@ -13,7 +13,7 @@ LICENCES="
GPL-3
shockbolt-tileset
Apache-2.0 [[ note = [ fonts license ] ]]
BitstreamVera [[ note = [ fonts license ] ]]
bitstream-font [[ note = [ fonts license ] ]]
"
SLOT="0"
PLATFORMS="~amd64 ~x86"
@ -35,51 +35,51 @@ DEPENDENCIES="
WORK=${WORKBASE}/${MY_P}
src_prepare() {
# fix broken sdl2 detection
# http://forums.te4.org/viewtopic.php?f=42&t=38714
edo sed -i \
-e "s~/usr/lib32~/usr/$(exhost --target)/lib~" \
-e "s~/opt/SDL-2.0~/usr/$(exhost --target)~" \
premake4.lua
# fix broken sdl2 detection
# http://forums.te4.org/viewtopic.php?f=42&t=38714
edo sed -i \
-e "s~/usr/lib32~/usr/$(exhost --target)/lib~" \
-e "s~/opt/SDL-2.0~/usr/$(exhost --target)~" \
premake4.lua
}
src_configure() {
local premake_options="--lua=default"
# Generate a "Makefile" with "premake4".
edo premake4 ${premake_options} gmake
local premake_options="--lua=default"
# Generate a "Makefile" with "premake4".
edo premake4 ${premake_options} gmake
# respect flags, remove misuse of $ARCH
# files are generated, cannot patch
edo sed -i \
-e 's~\(CFLAGS\s*+= \).*~\1-MMD -MP $(DEFINES) $(INCLUDES)~' \
-e 's~\(CXXFLAGS\s*+= \).*~\1-MMD -MP $(DEFINES) $(INCLUDES)~' \
-e '/LDFLAGS/s~-s~~' \
-e 's~$(ARCH) ~~' \
build/*.make
# respect flags, remove misuse of $ARCH
# files are generated, cannot patch
edo sed -i \
-e 's~\(CFLAGS\s*+= \).*~\1-MMD -MP $(DEFINES) $(INCLUDES)~' \
-e 's~\(CXXFLAGS\s*+= \).*~\1-MMD -MP $(DEFINES) $(INCLUDES)~' \
-e '/LDFLAGS/s~-s~~' \
-e 's~$(ARCH) ~~' \
build/*.make
# respect LDFLAGS
# http://forums.te4.org/viewtopic.php?f=42&t=38715
edo sed -i \
-e 's~^[ \t]*LINKCMD[ \t]*=[ \t]*$(CC).*$~LINKCMD = $(CC) $(CFLAGS) -o $(TARGET) $(OBJECTS) $(RESOURCES) $(LDFLAGS) $(LIBS)~' \
build/*.make
# respect LDFLAGS
# http://forums.te4.org/viewtopic.php?f=42&t=38715
edo sed -i \
-e 's~^[ \t]*LINKCMD[ \t]*=[ \t]*$(CC).*$~LINKCMD = $(CC) $(CFLAGS) -o $(TARGET) $(OBJECTS) $(RESOURCES) $(LDFLAGS) $(LIBS)~' \
build/*.make
# FHS
# http://forums.te4.org/viewtopic.php?f=42&t=38716
edo sed -i \
-e "/PHYSFS_mount/s~game~/usr/share/${PN}/game~" \
src/main.c
# FHS
# http://forums.te4.org/viewtopic.php?f=42&t=38716
edo sed -i \
-e "/PHYSFS_mount/s~game~/usr/share/${PN}/game~" \
src/main.c
}
src_compile() {
# parallel make broken
# http://forums.te4.org/viewtopic.php?f=42&t=38713
config='release' emake -j1 verbose=1
# parallel make broken
# http://forums.te4.org/viewtopic.php?f=42&t=38713
config='release' emake -j1 verbose=1
}
src_install() {
insinto "/usr/share/${PN}"
doins -r game
newbin t-engine ${PN}
insinto "/usr/share/${PN}"
doins -r game
newbin t-engine ${PN}
insinto /usr/share/applications
hereins ${PN}.desktop <<EOF

View File

@ -43,12 +43,12 @@ CMAKE_SRC_CONFIGURE_PARAMS=(
)
pkg_postinst() {
elog "This package only installs the game binary."
elog "You need the demo or full game data. Also see:"
elog "http://wiki.arx-libertatis.org/Getting_the_game_data"
elog
elog "If you have already installed the game or use the STEAM version,"
elog "run \"/usr/$(exhost --target)/bin/arx-install-data\""
elog "This package only installs the game binary."
elog "You need the demo or full game data. Also see:"
elog "http://wiki.arx-libertatis.org/Getting_the_game_data"
elog
elog "If you have already installed the game or use the STEAM version,"
elog "run \"/usr/$(exhost --target)/bin/arx-install-data\""
gtk-icon-cache_pkg_postinst
}

View File

@ -7,7 +7,7 @@ SUMMARY="Free/Libre Action Roleplaying game"
HOMEPAGE="https://github.com/clintbellanger/flare-game"
DOWNLOADS="https://github.com/clintbellanger/flare-game/archive/v${PV}.tar.gz -> ${PNV}-game.tar.gz"
LICENCES="CC-BY-SA-3.0 GPL-2 GPL-3 OFL-1.1"
LICENCES="CCPL-Attribution-ShareAlike-3.0 GPL-2 GPL-3 OFL-1.1"
SLOT="0"
PLATFORMS="~amd64 ~x86"
@ -24,7 +24,7 @@ CMAKE_SRC_CONFIGURE_PARAMS=(
)
src_install() {
cmake_src_install
cmake_src_install
herebin ${PN}-game <<EOF
#!/bin/sh
@ -43,6 +43,6 @@ Icon=flare
Categories=Game;RolePlaying;
EOF
dodoc README
dodoc README
}

View File

@ -1,5 +1,4 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 2014-2016 Julian Ospald <hasufell@posteo.de>
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
@ -9,7 +8,7 @@ SUMMARY="A multi-player, 3D action role-playing game"
HOMEPAGE="http://sumwars.org"
DOWNLOADS="mirror://sourceforge/sumwars/${PNV//_/-}-src.tar.bz2"
LICENCES="GPL-3 CC-BY-SA-3.0"
LICENCES="GPL-3 CCPL-Attribution-ShareAlike-3.0"
SLOT="0"
PLATFORMS="~amd64 ~x86"
@ -48,20 +47,20 @@ CMAKE_SRC_CONFIGURE_PARAMS=(
)
src_configure() {
# QA
append-flags -fno-strict-aliasing
# QA
append-flags -fno-strict-aliasing
cmake_src_configure
cmake_src_configure
}
src_install() {
cmake_src_install
cmake_src_install
# cleanup empty directories
edo rm -r "${IMAGE}"/usr/share/sumwars/translation/{potfiles,extract}
insinto /usr/share/icons/hicolor/128x128/apps
newins share/icon/SumWarsIcon_128x128.png ${PN}.png
newins share/icon/SumWarsIcon_128x128.png ${PN}.png
insinto /usr/share/applications
hereins ${PN}.desktop <<EOF

View File

@ -15,7 +15,7 @@ MY_PNV=ValyriaTear-${PV}
SUMMARY="A free 2D J-RPG based on the Hero of Allacrost engine"
HOMEPAGE="http://valyriatear.blogspot.de/
https://github.com/Bertram25/ValyriaTear"
https://github.com/Bertram25/ValyriaTear"
DOWNLOADS=""
LICENCES="GPL-2 GPL-3 CCPL-Attribution-ShareAlike-3.0 CCPL-Attribution-3.0 CC0 OFL-1.1"

View File

@ -7,7 +7,7 @@ SUMMARY="A free 2D Zelda fangame"
HOMEPAGE="http://www.solarus-games.org/"
DOWNLOADS="http://www.zelda-solarus.com/downloads/${PN}/${PNV}.tar.gz"
LICENCES="CC-BY-SA-3.0 GPL-3"
LICENCES="CCPL-Attribution-ShareAlike-3.0 GPL-3"
SLOT="0"
PLATFORMS="~amd64 ~x86"
@ -24,15 +24,15 @@ CMAKE_SRC_CONFIGURE_PARAMS=(
)
src_install() {
cmake_src_install
cmake_src_install
insinto /usr/share/icons/hicolor/256x256/apps
newins build/icons/${PN}_icon_256.png ${PN}.png
insinto /usr/share/icons/hicolor/48x48/apps
newins build/icons/${PN}_icon_48.png ${PN}.png
# install proper wrapper script
edo rm -f "${IMAGE%/}"/usr/share/${PN}
# install proper wrapper script
edo rm -f "${IMAGE%/}"/usr/share/${PN}
herebin ${PN} <<EOF
#!/bin/sh
exec solarus_run "/usr/share/solarus/${PN}" "\$@"

View File

@ -24,15 +24,15 @@ CMAKE_SRC_CONFIGURE_PARAMS=(
)
src_install() {
cmake_src_install
cmake_src_install
insinto /usr/share/icons/hicolor/256x256/apps
newins build/icons/${PN}_icon_256.png ${PN}.png
insinto /usr/share/icons/hicolor/48x48/apps
newins build/icons/${PN}_icon_48.png ${PN}.png
# install proper wrapper script
edo rm -f "${IMAGE%/}"/usr/share/${PN}
# install proper wrapper script
edo rm -f "${IMAGE%/}"/usr/share/${PN}
herebin ${PN} <<EOF
#!/bin/sh
exec solarus_run "/usr/share/solarus/${PN}" "\$@"

View File

@ -13,7 +13,7 @@ DOWNLOADS="
LICENCES="
Arev [[ note = [ Included DejaVu Fonts ] ]]
Bitstream-Vera [[ note = [ Included DejaVu Fonts ] ]]
bitstream-font [[ note = [ Included DejaVu Fonts ] ]]
BSD-3 [[ note = [ build/premake/premake4 ] ]]
CCPL-Attribution-ShareAlike-3.0 [[ note = [ binaries/data/mods/{art,audio} ] ]]
GPL-2 [[ note = [
@ -75,7 +75,7 @@ DEPENDENCIES="
"
DEFAULT_SRC_PREPARE_PATCHES=(
-p0 "${FILES}"/${PNV}-exherbo.patch
-p0 "${FILES}"/${PNV}-flags.patch
)
src_unpack() {
@ -159,7 +159,7 @@ src_configure() {
###### spidermonkey #####
# build bundled and patched spidermonkey-31
# build bundled and patched spidermonkey-31
#
# spidermonkey build system requires that SHELL is always set.
# It's missing sometimes in chroot environments, so force it here.

View File

@ -3,7 +3,6 @@ Date: Sun Jun 24 18:32:38 UTC 2012
Subject: build system
* respect flags
* disable debug build of spidermonkey
--- libraries/source/fcollada/src/Makefile
+++ libraries/source/fcollada/src/Makefile
@ -64,38 +63,3 @@ Subject: build system
--include $(GCH:%.h.gch=%.h.d)
\ No newline at end of file
+-include $(GCH:%.h.gch=%.h.d)
--- libraries/source/spidermonkey/build.sh
+++ libraries/source/spidermonkey/build.sh
@@ -92,19 +92,7 @@
cd mozjs31/js/src
# Clean up data generated by previous builds that could cause problems
-rm -rf build-debug
rm -rf build-release
-
-# We want separate debug/release versions of the library, so we have to change
-# the LIBRARY_NAME for each build.
-# (We use perl instead of sed so that it works with MozillaBuild on Windows,
-# which has an ancient sed.)
-perl -i.bak -pe 's/(LIBRARY_NAME\s+=).*/$1 '\''mozjs31-ps-debug'\''/' moz.build
-mkdir -p build-debug
-cd build-debug
-CXXFLAGS="${TLCXXFLAGS}" ../configure ${CONF_OPTS} --with-nspr-libs="$NSPR_LIBS" --with-nspr-cflags="$NSPR_INCLUDES" --enable-debug --disable-optimize --enable-js-diagnostics --enable-gczeal # --enable-root-analysis
-${MAKE} ${MAKE_OPTS}
-cd ..
perl -i.bak -pe 's/(LIBRARY_NAME\s+=).*/$1 '\''mozjs31-ps-release'\''/' moz.build
mkdir -p build-release
@@ -147,12 +135,9 @@
mkdir -p ${INCLUDE_DIR_DEBUG}
mkdir -p ${INCLUDE_DIR_RELEASE}
cp -R -L mozjs31/js/src/build-release/dist/include/* ${INCLUDE_DIR_RELEASE}/
-cp -R -L mozjs31/js/src/build-debug/dist/include/* ${INCLUDE_DIR_DEBUG}/
mkdir -p lib/
-cp -L mozjs31/js/src/build-debug/dist/lib/${LIB_PREFIX}mozjs31-ps-debug${LIB_SRC_SUFFIX} lib/${LIB_PREFIX}mozjs31-ps-debug${LIB_DST_SUFFIX}
cp -L mozjs31/js/src/build-release/dist/lib/${LIB_PREFIX}mozjs31-ps-release${LIB_SRC_SUFFIX} lib/${LIB_PREFIX}mozjs31-ps-release${LIB_DST_SUFFIX}
-cp -L mozjs31/js/src/build-debug/dist/bin/${LIB_PREFIX}mozjs31-ps-debug${DLL_SRC_SUFFIX} ../../../binaries/system/${LIB_PREFIX}mozjs31-ps-debug${DLL_DST_SUFFIX}
cp -L mozjs31/js/src/build-release/dist/bin/${LIB_PREFIX}mozjs31-ps-release${DLL_SRC_SUFFIX} ../../../binaries/system/${LIB_PREFIX}mozjs31-ps-release${DLL_DST_SUFFIX}
# Flag that it's already been built successfully so we can skip it next time

View File

@ -16,7 +16,7 @@ PLATFORMS="~amd64 ~x86"
DEPENDENCIES="
build+run:
media-libs/SDL:0[X]
media-libs/SDL_mixer:0[midi]
media-libs/SDL_mixer:0[midi]
build:
virtual/pkg-config
"
@ -26,7 +26,7 @@ DEFAULT_SRC_PREPARE_PATCHES=(
)
src_install() {
default
default
insinto /usr/share/icons/hicolor/scalable/apps
doins ${PN}.svg
@ -49,27 +49,27 @@ EOF
pkg_postinst() {
gtk-icon-cache_pkg_postinst
elog "You will need to copy all Dune 2 PAK files to one of these"
elog "directories:"
elog " /usr/share/${PN}"
elog " ~/.config/${PN}/data"
elog
elog "At least the following files are needed:"
elog " - ATRE.PAK"
elog " - DUNE.PAK"
elog " - ENGLISH.PAK"
elog " - FINALE.PAK"
elog " - HARK.PAK"
elog " - INTRO.PAK"
elog " - INTROVOC.PAK"
elog " - MENTAT.PAK"
elog " - MERC.PAK"
elog " - ORDOS.PAK"
elog " - SCENARIO.PAK"
elog " - SOUND.PAK"
elog " - VOC.PAK"
elog
elog "For playing in german or french you need additionally"
elog "GERMAN.PAK or FRENCH.PAK."
elog "You will need to copy all Dune 2 PAK files to one of these"
elog "directories:"
elog " /usr/share/${PN}"
elog " ~/.config/${PN}/data"
elog
elog "At least the following files are needed:"
elog " - ATRE.PAK"
elog " - DUNE.PAK"
elog " - ENGLISH.PAK"
elog " - FINALE.PAK"
elog " - HARK.PAK"
elog " - INTRO.PAK"
elog " - INTROVOC.PAK"
elog " - MENTAT.PAK"
elog " - MERC.PAK"
elog " - ORDOS.PAK"
elog " - SCENARIO.PAK"
elog " - SOUND.PAK"
elog " - VOC.PAK"
elog
elog "For playing in german or french you need additionally"
elog "GERMAN.PAK or FRENCH.PAK."
}

View File

@ -1,4 +1,4 @@
Author: hasufell <hasufell@gentoo.org>
Author: Julian Ospald <hasufell@gentoo.org>
Date: Thu Aug 9 18:57:40 2012 +0200
respect flags

View File

@ -1,3 +1,5 @@
Fix install permissions
diff --git a/Makefile b/Makefile
index 27ef953..cc1e2cd 100644
--- a/Makefile

View File

@ -4,7 +4,7 @@
SUMMARY="A port of Jagged Alliance 2 to SDL"
HOMEPAGE="https://bitbucket.org/gennady/ja2-stracciatella http://tron.homeunix.org/ja2/"
DOWNLOADS="https://bitbucket.org/gennady/ja2-stracciatella/get/v${PV}.tar.gz -> ${PNV}.tar.gz
mirror://gentoo/editor.slf.gz"
mirror://gentoo/editor.slf.gz"
LICENCES="SFI-SCLA"
SLOT="0"
@ -24,19 +24,19 @@ src_unpack() {
src_configure() {
# not an autoconf script
./configure --prefix=/usr
./configure --prefix=/usr
}
src_compile() {
emake Q=""
emake Q=""
}
src_install() {
emake \
BINARY_DIR="${IMAGE}/usr/$(exhost --target)/bin" \
MANPAGE_DIR="${IMAGE}/usr/share/man/man6" \
FULL_PATH_EXTRA_DATA_DIR="${IMAGE}/usr/share/ja2" \
install
emake \
BINARY_DIR="${IMAGE}/usr/$(exhost --target)/bin" \
MANPAGE_DIR="${IMAGE}/usr/share/man/man6" \
FULL_PATH_EXTRA_DATA_DIR="${IMAGE}/usr/share/ja2" \
install
insinto /usr/share/ja2/data
doins "${WORKBASE}"/editor.slf
@ -55,11 +55,11 @@ EOF
}
pkg_postinst() {
elog "You need to copy all files from the Data directory of"
elog "Jagged Alliance 2 installation to"
elog "/usr/share/ja2/data "
elog "Make sure the filenames are lowercase. You may want to run the"
elog "script"
elog "/usr/bin/ja2-convert"
elog "You need to copy all files from the Data directory of"
elog "Jagged Alliance 2 installation to"
elog "/usr/share/ja2/data "
elog "Make sure the filenames are lowercase. You may want to run the"
elog "script"
elog "/usr/bin/ja2-convert"
}

View File

@ -7,6 +7,8 @@ SUMMARY="A free RTS engine supporting games like Command & Conquer and Red Alert
HOMEPAGE="http://www.openra.net/"
DOWNLOADS="https://github.com/OpenRA/OpenRA/archive/release-${PV}.tar.gz -> ${PNV}.tar.gz"
## this is a massive amount of 3rd party deps that would otherwise
## be fetched during build time
NG_SRC="https://nuget.org/api/v2/package"
# 3rd party deps
StyleCopPlus_MSBuild="${NG_SRC}/StyleCopPlus.MSBuild/4.7.49.5 -> StyleCopPlus_MSBuild-4.7.49.5.zip"
@ -69,50 +71,50 @@ DEPENDENCIES="
WORK=${WORKBASE}/OpenRA-release-${PV}
src_unpack() {
unpack ${PNV}.tar.gz
unpack ${PNV}.tar.gz
# this is pure crapshit, but it will successfully die
# if upstream has added/changed files
edo cd "${WORK}"/thirdparty
edo sed -i \
-e 's/get()/furz()/' \
-e 's|curl |: |' \
fetch-thirdparty-deps.sh
# this is pure crapshit, but it will successfully die
# if upstream has added/changed files
edo cd "${WORK}"/thirdparty
edo sed -i \
-e 's/get()/furz()/' \
-e 's|curl |: |' \
fetch-thirdparty-deps.sh
edo mkdir "${WORK}"/thirdparty/download
get() {
# don't add dies here
local archive="${1/./_}"
local version="${2}"
mkdir -p "${WORK}"/thirdparty/download/${1}
unzip -o -qq "${FETCHEDDIR}"/${archive}-${version}.zip \
-d "${WORK}"/thirdparty/download/${1}
}
export -f get
edo ./fetch-thirdparty-deps.sh
unset get
edo cd "${WORK}"/thirdparty/download
edo cp "${FETCHEDDIR}"/${SDL2CS##* } ./SDL2-CS.dll
edo cp "${FETCHEDDIR}"/${Eluant##* } ./Eluant.dll
edo cp "${FETCHEDDIR}"/${GEO_IP_DB##* } ./GeoLite2-Country.mmdb.gz
edo mkdir "${WORK}"/thirdparty/download
get() {
# don't add dies here
local archive="${1/./_}"
local version="${2}"
mkdir -p "${WORK}"/thirdparty/download/${1}
unzip -o -qq "${FETCHEDDIR}"/${archive}-${version}.zip \
-d "${WORK}"/thirdparty/download/${1}
}
export -f get
edo ./fetch-thirdparty-deps.sh
unset get
edo cd "${WORK}"/thirdparty/download
edo cp "${FETCHEDDIR}"/${SDL2CS##* } ./SDL2-CS.dll
edo cp "${FETCHEDDIR}"/${Eluant##* } ./Eluant.dll
edo cp "${FETCHEDDIR}"/${GEO_IP_DB##* } ./GeoLite2-Country.mmdb.gz
}
src_configure() { :; }
src_prepare() {
# register game-version
emake VERSION="${PV}" version
# register game-version
emake VERSION="${PV}" version
edo sed \
-e "s/@LIBLUA51@/liblua${LUA_SLOT}.so/" \
"${WORK}"/thirdparty/Eluant.dll.config.in > Eluant.dll.config
edo sed \
-e "s/@LIBLUA51@/liblua${LUA_SLOT}.so/" \
"${WORK}"/thirdparty/Eluant.dll.config.in > Eluant.dll.config
edo cd "${WORK}"/thirdparty/download
edo cp *.dll *.dll.config GeoLite2-Country.mmdb.gz "${WORK}"/
edo cd "${WORK}"/thirdparty/download
edo cp *.dll *.dll.config GeoLite2-Country.mmdb.gz "${WORK}"/
}
src_compile() {
emake VERSION="${PV}" core tools
emake VERSION="${PV}" core tools
}
install_desktop_entry() {
@ -132,22 +134,22 @@ EOF
}
src_install() {
emake \
datadir="/usr/share" \
emake \
datadir="/usr/share" \
bindir="/usr/$(exhost --target)/bin" \
libdir="/usr/$(exhost --target)/libexec" \
VERSION="${PV}" \
DESTDIR="${IMAGE}" \
install-all install-linux-scripts install-linux-mime install-linux-icons
libdir="/usr/$(exhost --target)/libexec" \
VERSION="${PV}" \
DESTDIR="${IMAGE}" \
install-all install-linux-scripts install-linux-mime install-linux-icons
exeinto /usr/$(exhost --target)/libexec/openra
doexe Eluant.dll.config
exeinto /usr/$(exhost --target)/libexec/openra
doexe Eluant.dll.config
# desktop entries
install_desktop_entry "${PN} Game.Mods=cnc" "OpenRA CNC" ${PN}
install_desktop_entry "${PN} Game.Mods=ra" "OpenRA RA" ${PN}
install_desktop_entry "${PN} Game.Mods=d2k" "OpenRA Dune2k" ${PN}
install_desktop_entry "${PN}-editor" "OpenRA Map Editor" ${PN}
# desktop entries
install_desktop_entry "${PN} Game.Mods=cnc" "OpenRA CNC" ${PN}
install_desktop_entry "${PN} Game.Mods=ra" "OpenRA RA" ${PN}
install_desktop_entry "${PN} Game.Mods=d2k" "OpenRA Dune2k" ${PN}
install_desktop_entry "${PN}-editor" "OpenRA Map Editor" ${PN}
}
pkg_postinst() {

View File

@ -1,3 +1,5 @@
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
+++ zod_engine.new/zod_launcher_src/common.cpp 2012-05-05 22:50:56.000000000 +0200

View File

@ -33,9 +33,9 @@ DEFAULT_SRC_PREPARE_PATCHES=(
src_prepare() {
default
# remove unused files
edo find "${WORK}" -type f \( -name Thumbs.db -o -name "*.xcf" -o -name "*.ico" \) -delete
edo rm assets/{splash.png,WebCamScene.icescene}
# remove unused files
edo find "${WORK}" -type f \( -name Thumbs.db -o -name "*.xcf" -o -name "*.ico" \) -delete
edo rm assets/{splash.png,WebCamScene.icescene}
# fix some tool invocations
eval $(eclectic wxwidgets script 2.8-gtk2)
@ -44,13 +44,13 @@ src_prepare() {
}
src_compile() {
emake -C zod_src DATA_PATH="\"/usr/share/${PN}\"" main map_editor
emake -C zod_launcher_src DATA_PATH="\"/usr/share/${PN}\""
emake -C zod_src DATA_PATH="\"/usr/share/${PN}\"" main map_editor
emake -C zod_launcher_src DATA_PATH="\"/usr/share/${PN}\""
}
src_install() {
dobin zod_src/zod
dodoc zod_engine_help.txt
dobin zod_src/zod
dodoc zod_engine_help.txt
dobin zod_src/zod_map_editor
dodoc map_editor_help.txt
@ -69,7 +69,7 @@ Icon=zod-engine
Categories=Game;StrategyGame;
EOF
insinto /usr/share/zod-engine
doins -r assets blank_maps *.map default_settings.txt *map_list.txt
insinto /usr/share/zod-engine
doins -r assets blank_maps *.map default_settings.txt *map_list.txt
}

View File

@ -40,11 +40,11 @@ foreach_make() {
}
src_compile() {
foreach_make
foreach_make
}
src_install() {
foreach_make install DESTDIR="${IMAGE}" \
foreach_make install DESTDIR="${IMAGE}" \
INCDIR="${IMAGE}"/usr/$(exhost --target)/include \
INSTALLDIR="${IMAGE}"/usr/$(exhost --target)/lib
}

View File

@ -1,3 +1,6 @@
Fixes build with gcc-5.x
Found at https://raw.githubusercontent.com/Homebrew/patches/f2b4fb19/freeimage/gcc5.diff
diff --git a/Source/LibWebP/src/dsp/dsp.dec_mips_dsp_r2.c b/Source/LibWebP/src/dsp/dsp.dec_mips_dsp_r2.c
index 55da0ff..40e4d82 100644
--- a/Source/LibWebP/src/dsp/dsp.dec_mips_dsp_r2.c

View File

@ -24,24 +24,24 @@ DEPENDENCIES="
"
src_compile() {
MAKE_ARGS="
UDEVDIR=${UDEVRULESDIR}
LIBEXECDIR=/usr/$(exhost --target)/libexec/${PN}
MAKE_ARGS="
UDEVDIR=${UDEVRULESDIR}
LIBEXECDIR=/usr/$(exhost --target)/libexec/${PN}
PF=${PNVR}"
emake ${MAKE_ARGS} all
emake ${MAKE_ARGS} all
}
src_install() {
emake ${MAKE_ARGS} DESTDIR="${IMAGE}" install
dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO ChangeLog
emake ${MAKE_ARGS} DESTDIR="${IMAGE}" install
dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO ChangeLog
}
pkg_postinst() {
if [[ ! -e "${ROOT}"/etc/conf.d/net ]]; then
elog "The network configuration scripts will use dhcp by"
elog "default to set up your interfaces."
elog "If you need to set up something more complete, see"
elog "${ROOT}/usr/share/doc/${PNVR}/README"
fi
if [[ ! -e "${ROOT}"/etc/conf.d/net ]]; then
elog "The network configuration scripts will use dhcp by"
elog "default to set up your interfaces."
elog "If you need to set up something more complete, see"
elog "${ROOT}/usr/share/doc/${PNVR}/README"
fi
}

View File

@ -1,5 +1,5 @@
commit afadc8d05674a0e3e2fcf6dfbcf5f3c8f9133119
Author: hasufell <hasufell@hasufell.de>
Author: Julian Ospald <hasufell@hasufell.de>
Date: Sun May 18 19:32:59 2014 +0200
Respect CFLAGS/CXXFLAGS/LDFLAGS, fixes #66

View File

@ -1,5 +1,5 @@
From 27eb23c1844029ee64907500bd8aa87097ffcd32 Mon Sep 17 00:00:00 2001
From: hasufell <hasufell@hasufell.de>
From: Julian Ospald <hasufell@hasufell.de>
Date: Sun, 18 May 2014 18:46:24 +0200
Subject: [PATCH] Allow to control LIBDIR

View File

@ -1,5 +1,5 @@
commit 5e3d4a0504158f70d227e7cfc03985fe9a646797
Author: hasufell <hasufell@hasufell.de>
Author: Julian Ospald <hasufell@hasufell.de>
Date: Wed Jul 2 12:58:50 2014 +0200
Fix NTL test build

View File

@ -1,5 +1,5 @@
From 3506d617ef9dfc5184aa99be05a25e4f73d6c3f6 Mon Sep 17 00:00:00 2001
From: hasufell <hasufell@hasufell.de>
From: Julian Ospald <hasufell@hasufell.de>
Date: Sun, 18 May 2014 18:47:27 +0200
Subject: [PATCH] Quote variables that could contain whitespaces

View File

@ -12,7 +12,7 @@ PLATFORMS="~amd64 ~x86"
DEPENDENCIES="
build+run:
dev-libs/gmp
dev-libs/mpfr
dev-libs/mpfr
"
DEFAULT_SRC_COMPILE_PARAMS=( verbose )
@ -26,13 +26,13 @@ src_prepare() {
src_configure() {
# NOT an autotools script
edo ./configure \
--prefix="/usr" \
--with-gmp="/usr" \
--with-mpfr="/usr" \
--disable-static \
CC=${CC} \
CXX=${CXX} \
AR=${AR}
edo ./configure \
--prefix="/usr" \
--with-gmp="/usr" \
--with-mpfr="/usr" \
--disable-static \
CC=${CC} \
CXX=${CXX} \
AR=${AR}
}

View File

@ -9,7 +9,7 @@ DESCRIPTION="Minimalistic Murmur (Mumble server)"
HOMEPAGE="https://github.com/fatbob313/umurmur"
DOWNLOADS="https://github.com/fatbob313/${PN}/archive/${PV}.tar.gz -> ${PNV}.tar.gz"
LICENCES="BSD"
LICENCES="BSD-3"
SLOT="0"
PLATFORMS="~amd64 ~x86"
@ -39,20 +39,20 @@ src_install() {
default
insinto /etc/init.d
newins "${FILES}"/umurmurd.initd umurmurd
newins "${FILES}"/umurmurd.initd umurmurd
insinto /etc/conf.d
newins "${FILES}"/umurmurd.confd umurmurd
newins "${FILES}"/umurmurd.confd umurmurd
install_systemd_files
local confdir="/etc/umurmur"
insinto "${confdir}"
doins "${FILES}"/umurmur.conf
local confdir="/etc/umurmur"
insinto "${confdir}"
doins "${FILES}"/umurmur.conf
# Some permissions are adjusted as the config may contain a server
# password, and /etc/umurmur will typically contain the cert and the
# key used to sign it, which are read after priveleges are dropped.
edo chmod 0750 "${IMAGE%/}/${confdir}"
edo chown -R root:umurmur "${IMAGE%/}/${confdir}"
edo chmod 0640 "${IMAGE%/}/${confdir}"/umurmur.conf
# Some permissions are adjusted as the config may contain a server
# password, and /etc/umurmur will typically contain the cert and the
# key used to sign it, which are read after priveleges are dropped.
edo chmod 0750 "${IMAGE%/}/${confdir}"
edo chown -R root:umurmur "${IMAGE%/}/${confdir}"
edo chmod 0640 "${IMAGE%/}/${confdir}"/umurmur.conf
}

View File

@ -14,11 +14,11 @@ PLATFORMS="~amd64 ~x86"
WORK=${WORKBASE}/${MY_P}
src_install () {
default
default
edo rm -f ChangeLog README LICENSE
edo rm -f ChangeLog README LICENSE
insinto /usr/share/${PN}
doins -r *
insinto /usr/share/${PN}
doins -r *
}

View File

@ -71,36 +71,36 @@ CMAKE_SRC_CONFIGURE_TESTS=(
src_prepare() {
default
edo grep -E "^#ServerId =.*$" "config/hiawatha.conf.in" 1>/dev/null
edo sed -r -i -e "s|^#ServerId =.*$|ServerId = hiawatha|" \
config/hiawatha.conf.in
edo grep -E "^#ServerId =.*$" "config/hiawatha.conf.in" 1>/dev/null
edo sed -r -i -e "s|^#ServerId =.*$|ServerId = hiawatha|" \
config/hiawatha.conf.in
edo grep -E "@HIAWATHA_PID_DIR@" "${FILES}/hiawatha.initd" 1>/dev/null
edo sed -r -e "s|@HIAWATHA_PID_DIR@|${HIAWATHA_PID_DIR}|" \
"${FILES}/hiawatha.initd" > "${TEMP}/hiawatha.initd"
edo grep -E "@HIAWATHA_PID_DIR@" "${FILES}/hiawatha.initd" 1>/dev/null
edo sed -r -e "s|@HIAWATHA_PID_DIR@|${HIAWATHA_PID_DIR}|" \
"${FILES}/hiawatha.initd" > "${TEMP}/hiawatha.initd"
}
src_install() {
cmake_src_install
cmake_src_install
edo rm -r "${IMAGE%/}${HIAWATHA_WEBROOT_DIR}"/*
edo rm -r "${IMAGE%/}${HIAWATHA_WEBROOT_DIR}"/*
insinto /etc/init.d
newins "${TEMP}"/hiawatha.initd hiawatha
newins "${TEMP}"/hiawatha.initd hiawatha
install_systemd_files
local i
for i in "${HIAWATHA_LOG_DIR}" "${HIAWATHA_WORK_DIR}" ; do
keepdir "${i}"
edo chown ${HIAWATHA_USER}:${HIAWATHA_GROUP} "${IMAGE%/}${i}"
edo chmod 0750 "${IMAGE%/}${i}"
done
local i
for i in "${HIAWATHA_LOG_DIR}" "${HIAWATHA_WORK_DIR}" ; do
keepdir "${i}"
edo chown ${HIAWATHA_USER}:${HIAWATHA_GROUP} "${IMAGE%/}${i}"
edo chmod 0750 "${IMAGE%/}${i}"
done
# hiawatha creates empty /run dir
edo rm -r "${IMAGE%/}/run"
keepdir "${HIAWATHA_WEBROOT_DIR}"
edo chown ${HIAWATHA_USER}:${HIAWATHA_GROUP} \
keepdir "${HIAWATHA_WEBROOT_DIR}"
edo chown ${HIAWATHA_USER}:${HIAWATHA_GROUP} \
"${IMAGE%/}${HIAWATHA_WEBROOT_DIR}"
}

View File

@ -16,7 +16,7 @@ DEPENDENCIES="
"
src_install() {
insinto /usr/share/themes/Clearlooks-Phenix
doins -r *
insinto /usr/share/themes/Clearlooks-Phenix
doins -r *
}