parent
b2bad923c9
commit
17e64de876
@ -1,2 +1,3 @@
|
|||||||
DIST supernova-1.0.3.tar.gz 17473 SHA256 09c540775dd167c0698ec0c8e44006982060b8c73f02c22478a054097b72b6c8 SHA512 0555119f67b9441451e4860c345e5e290fbf794ecb7ddd27f22449c7d14006765c8fede85610cb2c4f5faa04c941b92c838414b5fe7c39161fb3e54954d38be2 WHIRLPOOL fa0d0897f6aa02ada5f63c9b5bf3ae632391e00188849e32e3cde9263d893a1c54d6f748992c3328bf6f944d416d415eb70f2341663ad73625da948411ac08f0
|
DIST supernova-1.0.3.tar.gz 17473 SHA256 09c540775dd167c0698ec0c8e44006982060b8c73f02c22478a054097b72b6c8 SHA512 0555119f67b9441451e4860c345e5e290fbf794ecb7ddd27f22449c7d14006765c8fede85610cb2c4f5faa04c941b92c838414b5fe7c39161fb3e54954d38be2 WHIRLPOOL fa0d0897f6aa02ada5f63c9b5bf3ae632391e00188849e32e3cde9263d893a1c54d6f748992c3328bf6f944d416d415eb70f2341663ad73625da948411ac08f0
|
||||||
DIST supernova-1.0.4.tar.gz 17525 SHA256 3609ad00c218edc3a80455ae2ef50fe91c952d55532fb304e7d600c7c9e1c7ba SHA512 02c930a38ce8ea9d1049d8b9fcb01ced902fd64e40ebf528621b7cdef794b36546d9cf6f1ef9c97aa4ac060ac9a9daed2d2a364cecb4f217162f90f048768bcc WHIRLPOOL fbbe23596142008ae14ece769cc6e2d6b40b234eff0fc984b4c0487864a6fd15ddb2f288b53eca83c0d11798830696ae78f7db26e6425b9d47e13c729fd1acfc
|
DIST supernova-1.0.4.tar.gz 17525 SHA256 3609ad00c218edc3a80455ae2ef50fe91c952d55532fb304e7d600c7c9e1c7ba SHA512 02c930a38ce8ea9d1049d8b9fcb01ced902fd64e40ebf528621b7cdef794b36546d9cf6f1ef9c97aa4ac060ac9a9daed2d2a364cecb4f217162f90f048768bcc WHIRLPOOL fbbe23596142008ae14ece769cc6e2d6b40b234eff0fc984b4c0487864a6fd15ddb2f288b53eca83c0d11798830696ae78f7db26e6425b9d47e13c729fd1acfc
|
||||||
|
DIST supernova-1.0.5.tar.gz 17644 SHA256 c625799e1e91a9cb3acb2479c2d5ee2a38f03df1976b5ee7268986d72f4492ce SHA512 a35f804d4af08a56adb3dad7ad90fad0622b4f5defe6fa3c141ea6ed8362af798ac8a264c5ddbe5ac3b693adf342d21da096959d2d28e02faa1bbc1b548d2603 WHIRLPOOL 04165cf0c43afb7e734bf91a75a8c9f2dc21ca161c5a75f70f3c4d473e4697998f40b285ab1c7f32e454c5796ea209b8d578a9bd1d11f15ddd4e2ca063ee87fd
|
||||||
|
@ -0,0 +1,39 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-admin/supernova/supernova-1.0.5.ebuild,v 1.1 2014/10/27 19:11:58 alunduil Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
PYTHON_COMPAT=( python2_7 )
|
||||||
|
|
||||||
|
inherit bash-completion-r1 distutils-r1 vcs-snapshot
|
||||||
|
|
||||||
|
DESCRIPTION="novaclient wrapper for multiple nova environments"
|
||||||
|
HOMEPAGE="https://github.com/rackerhacker/supernova"
|
||||||
|
SRC_URI="https://github.com/major/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="doc examples"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/keyring-0.9.2[${PYTHON_USEDEP}]
|
||||||
|
dev-python/rackspace-novaclient[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
python_compile_all() {
|
||||||
|
use doc && emake -C docs html
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||||
|
use examples && local EXAMPLES=( example_configs/. )
|
||||||
|
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
|
||||||
|
newbashcomp contrib/${PN}-completion.bash ${PN}
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST ssdeep-2.10.tar.gz 377718 SHA256 5b893b8059941476352fa1794c2839b2cc13bc2a09e2f2bb6dea4184217beddc SHA512 971eb681ac6e94fee4cf81c4036a652f196297874ed8e547523a6d104323a4fb08385c2aa9a735e9fe49048a822ab538adfaf3bfe2238cc7520bad83ac700753 WHIRLPOOL b05cab9f8d1d9405e2b6e20738aa0642e317dd8e06cd01b93bf6aa0a582badef99d6c3e392a37a174901631ec76192110e243c10fbccd21a85bdca02d908c469
|
DIST ssdeep-2.10.tar.gz 377718 SHA256 5b893b8059941476352fa1794c2839b2cc13bc2a09e2f2bb6dea4184217beddc SHA512 971eb681ac6e94fee4cf81c4036a652f196297874ed8e547523a6d104323a4fb08385c2aa9a735e9fe49048a822ab538adfaf3bfe2238cc7520bad83ac700753 WHIRLPOOL b05cab9f8d1d9405e2b6e20738aa0642e317dd8e06cd01b93bf6aa0a582badef99d6c3e392a37a174901631ec76192110e243c10fbccd21a85bdca02d908c469
|
||||||
DIST ssdeep-2.11.1.tar.gz 376592 SHA256 a632ac30fca29ad5627e1bf5fae05d9a8873e6606314922479259531e0c19608 SHA512 383639f30ee4728898b33f82865188e5b66edcbac4f9f6c39a990154375d286cccfe6fe3112e555cefb9c1e5f7a3e5644e6d9edcde00ddf91d5ac3d59c07348f WHIRLPOOL f46e553a1fa4d0e4a37f6ca1945477c4fc7b2654672db12020ab156e60e190562d141d76fb4b55959c6dcf942ed7fc0e4ab9df62855ce9bcc7312c45fc3214ad
|
DIST ssdeep-2.11.1.tar.gz 376592 SHA256 a632ac30fca29ad5627e1bf5fae05d9a8873e6606314922479259531e0c19608 SHA512 383639f30ee4728898b33f82865188e5b66edcbac4f9f6c39a990154375d286cccfe6fe3112e555cefb9c1e5f7a3e5644e6d9edcde00ddf91d5ac3d59c07348f WHIRLPOOL f46e553a1fa4d0e4a37f6ca1945477c4fc7b2654672db12020ab156e60e190562d141d76fb4b55959c6dcf942ed7fc0e4ab9df62855ce9bcc7312c45fc3214ad
|
||||||
|
DIST ssdeep-2.12.tar.gz 375241 SHA256 89049e87adfd16b51bd8601d01cf02251df7513c4e0eb12576541bcb2e1e4bde SHA512 caf423b816a98b89bbffc6e1c789deb7fd3675efd92543eba779c8a054c4ffa48b87a3fa4d5479f15e300b6ba532dc6f6bf636d3704847f31e3e01b63cc7267f WHIRLPOOL 1b8b64a7f499e8633c3308d0c49e9561fe8a6d97dce12404cdda688df630f682dbdc90b976b041e907d62bba9857fa0b6ac74bc2032b6fbe5d655fe852149328
|
||||||
|
@ -0,0 +1,21 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-crypt/ssdeep/ssdeep-2.12.ebuild,v 1.1 2014/10/27 19:25:03 radhermit Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
AUTOTOOLS_AUTORECONF=1
|
||||||
|
|
||||||
|
inherit autotools-multilib
|
||||||
|
|
||||||
|
DESCRIPTION="Computes context triggered piecewise hashes (fuzzy hashes)"
|
||||||
|
HOMEPAGE="http://ssdeep.sourceforge.net/"
|
||||||
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="static-libs"
|
||||||
|
|
||||||
|
DOCS=( AUTHORS ChangeLog FILEFORMAT NEWS README TODO )
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}"/${PN}-2.10-shared.patch )
|
@ -0,0 +1,11 @@
|
|||||||
|
--- a/configure.in
|
||||||
|
+++ b/configure.in
|
||||||
|
@@ -13,7 +13,7 @@
|
||||||
|
|
||||||
|
dnl Checks for libraries.
|
||||||
|
dnl Replace `main' with a function in -lncurses:
|
||||||
|
-AC_CHECK_LIB(ncurses, initscr,,AC_CHECK_LIB(curses, initscr))
|
||||||
|
+PKG_CHECK_MODULES(ncurses,ncurses,LIBS="$LIBS $ncurses_LIBS",)
|
||||||
|
|
||||||
|
dnl Checks for header files.
|
||||||
|
AC_HEADER_STDC
|
@ -1,56 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/figlet/figlet-222.ebuild,v 1.19 2013/07/28 12:03:22 grobian Exp $
|
|
||||||
|
|
||||||
EAPI=2
|
|
||||||
inherit eutils bash-completion toolchain-funcs
|
|
||||||
|
|
||||||
MY_P=${P/-/}
|
|
||||||
DESCRIPTION="program for making large letters out of ordinary text"
|
|
||||||
HOMEPAGE="http://www.figlet.org/"
|
|
||||||
# Bug 35339 - add more fonts to figlet ebuild
|
|
||||||
# The fonts are available from the figlet site, but they don't
|
|
||||||
# have versions so we mirror them ourselves.
|
|
||||||
SRC_URI="ftp://ftp.figlet.org/pub/figlet/program/unix/${MY_P}.tar.gz
|
|
||||||
mirror://gentoo/contributed-${PN}-221.tar.gz
|
|
||||||
mirror://gentoo/ms-dos-${PN}-221.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="AFL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cp "${WORKDIR}"/contributed/C64-fonts/*.flf fonts/ || die
|
|
||||||
cp "${WORKDIR}"/contributed/bdffonts/*.flf fonts/ || die
|
|
||||||
cp "${WORKDIR}"/ms-dos/*.flf fonts/ || die
|
|
||||||
cp "${WORKDIR}"/contributed/*.flf fonts/ || die
|
|
||||||
|
|
||||||
epatch \
|
|
||||||
"${FILESDIR}"/${P}-gentoo.diff \
|
|
||||||
"${FILESDIR}"/${P}-includes.diff
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake clean
|
|
||||||
emake \
|
|
||||||
CC="$(tc-getCC)" \
|
|
||||||
CFLAGS="${CFLAGS} ${LDFLAGS}" \
|
|
||||||
all || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodir /usr/bin /usr/share/man/man6 || die "dodir failed"
|
|
||||||
chmod +x figlist showfigfonts
|
|
||||||
use prefix || ED="${D}"
|
|
||||||
emake \
|
|
||||||
DESTDIR="${ED}"/usr/bin \
|
|
||||||
MANDIR="${ED}"/usr/share/man/man6 \
|
|
||||||
DEFAULTFONTDIR="${ED}"/usr/share/figlet \
|
|
||||||
install || die "make install failed"
|
|
||||||
|
|
||||||
dodoc README figfont.txt
|
|
||||||
dobashcompletion "${FILESDIR}"/figlet.bashcomp
|
|
||||||
}
|
|
@ -1,37 +0,0 @@
|
|||||||
--- Makefile.org 2003-07-17 23:56:17.000000000 +0200
|
|
||||||
+++ Makefile 2003-07-17 23:57:57.000000000 +0200
|
|
||||||
@@ -15,21 +15,29 @@
|
|
||||||
CFLAGS = -g
|
|
||||||
|
|
||||||
# Where the executables should be put
|
|
||||||
-DESTDIR = /usr/local/bin
|
|
||||||
+ifndef DESTDIR
|
|
||||||
+ DESTDIR = /usr/bin
|
|
||||||
+endif
|
|
||||||
|
|
||||||
# Where the man page should be put
|
|
||||||
-MANDIR = /usr/local/man/man6
|
|
||||||
+ifndef MANDIR
|
|
||||||
+ MANDIR = /usr/share/man/man6
|
|
||||||
+endif
|
|
||||||
|
|
||||||
# Where figlet will search first for fonts (the ".flf" files).
|
|
||||||
-DEFAULTFONTDIR = /usr/local/share/figlet
|
|
||||||
+ifndef DEFAULTFONTDIR
|
|
||||||
+ DEFAULTFONTDIR = /usr/share/figlet
|
|
||||||
+endif
|
|
||||||
# Use this definition if you can't put things in /usr/local/share/figlet
|
|
||||||
-DEFAULTFONTDIR = fonts
|
|
||||||
+#DEFAULTFONTDIR = fonts
|
|
||||||
|
|
||||||
# The filename of the font to be used if no other is specified
|
|
||||||
# (standard.flf is recommended, but any other can be used).
|
|
||||||
# This font file should reside in the directory specified by
|
|
||||||
# DEFAULTFONTDIR.
|
|
||||||
-DEFAULTFONTFILE = standard.flf
|
|
||||||
+ifndef DEFAULTFONTFILE
|
|
||||||
+ DEFAULTFONTFILE = standard.flf
|
|
||||||
+endif
|
|
||||||
|
|
||||||
##
|
|
||||||
## END OF CONFIGURATION SECTION
|
|
@ -1,20 +0,0 @@
|
|||||||
--- a/chkfont.c 1998-03-06 01:00:00.000000000 +0100
|
|
||||||
+++ b/chkfont.c 2010-10-20 06:47:20.000000000 +0200
|
|
||||||
@@ -1,6 +1,7 @@
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
+#include <stdlib.h> /* exit() */
|
|
||||||
|
|
||||||
#define DATE "20 Feb 1996"
|
|
||||||
#define VERSION "2.2"
|
|
||||||
--- a/figlet.c 2005-07-05 11:50:49.000000000 +0200
|
|
||||||
+++ b/figlet.c 2010-10-20 06:48:42.000000000 +0200
|
|
||||||
@@ -59,6 +59,7 @@
|
|
||||||
#endif
|
|
||||||
#include <string.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
+#include <unistd.h> /* close() getopt() */
|
|
||||||
#include <fcntl.h> /* Needed for get_columns */
|
|
||||||
|
|
||||||
#ifdef unix
|
|
@ -1,2 +1,2 @@
|
|||||||
DIST tiled-0.10.1.tar.gz 2179428 SHA256 89d9b0fefe7c8950a7d279bbc898f7ff54783c471f58bcca5af48a24562e8d67 SHA512 f5fee680719a8ee10470d1f212fd0ac6531959f44d481ae282818a83d74e3ae6e1304461673fbf5471a6cb2ab058a61a29b44c23c3291a3f85fed1ac87e76d1e WHIRLPOOL 708b6751a097c2173d1ce337287980e87cc642c62eed5e081e172de550ad4bd190a8ea5efc5617e2b89fc98fa6cffcdf31aa078884770305ee8d7328951da101
|
DIST tiled-0.10.1.tar.gz 2179428 SHA256 89d9b0fefe7c8950a7d279bbc898f7ff54783c471f58bcca5af48a24562e8d67 SHA512 f5fee680719a8ee10470d1f212fd0ac6531959f44d481ae282818a83d74e3ae6e1304461673fbf5471a6cb2ab058a61a29b44c23c3291a3f85fed1ac87e76d1e WHIRLPOOL 708b6751a097c2173d1ce337287980e87cc642c62eed5e081e172de550ad4bd190a8ea5efc5617e2b89fc98fa6cffcdf31aa078884770305ee8d7328951da101
|
||||||
DIST tiled-qt-0.9.1.tar.gz 1436286 SHA256 6868f8333b8c66835301792051a76e7fc68467619b6e97a85b587f537c36b527 SHA512 03afbe3609007778c8d96f670f469982723483aeee771a792cfe3db5032fa449a4aed4c86f6bfbcd594d15e38ce2d2fb528e843096cd4b8c7c310bb380cd574a WHIRLPOOL 3e47eb7be861c4d1b0e673e1cde30e7b70388614962a53f9e228638e188c51c2efcd1a6d03ecd3bcd6dfa4152bc5acb66c1cd902a20655413ad021c855137000
|
DIST tiled-0.10.2.tar.gz 2180092 SHA256 32c62b459aa74c411f28860b96b3e0a48b3cd2ca51fabddd7421704b361d975c SHA512 bceabaed47289abaeb5a395415625d02d058c3b86410484d03fb1fd899963e7d7fe573ec6032d18539f31b2f6443602f87dacfa2701a4d4b50c323b87b322ba2 WHIRLPOOL 35c6f47bf92252f972314851bc6d87faa8862162854ac339cb76ac1c9b03d47b82d9edd32732f2b2a0fd24c46ca6737d924ce443f886779bb2960ac126afbcdf
|
||||||
|
@ -0,0 +1,52 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-games/tiled/tiled-0.10.2.ebuild,v 1.1 2014/10/27 15:58:28 kensington Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
PLOCALES="cs de en es fr he it ja lv nl pt pt_BR ru zh zh_TW"
|
||||||
|
PYTHON_COMPAT=( python2_7 )
|
||||||
|
inherit multilib l10n python-single-r1 qt4-r2
|
||||||
|
|
||||||
|
DESCRIPTION="A general purpose tile map editor"
|
||||||
|
HOMEPAGE="http://www.mapeditor.org/"
|
||||||
|
SRC_URI="https://github.com/bjorn/tiled/archive/v${PV}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="examples python"
|
||||||
|
|
||||||
|
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||||
|
|
||||||
|
DEPEND=">=dev-qt/qtcore-4.7:4
|
||||||
|
>=dev-qt/qtgui-4.7:4
|
||||||
|
>=dev-qt/qtopengl-4.7:4
|
||||||
|
sys-libs/zlib
|
||||||
|
python? ( ${PYTHON_DEPS} )"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
DOCS=( AUTHORS COPYING NEWS README.md )
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
use python && python-single-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
rm -r src/zlib || die
|
||||||
|
sed -e "s/^LANGUAGES =.*/LANGUAGES = $(l10n_get_locales)/" \
|
||||||
|
-i translations/translations.pro || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
eqmake4 LIBDIR="/usr/$(get_libdir)" PREFIX="/usr" DISABLE_PYTHON_PLUGIN="$(usex !python)"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
qt4-r2_src_install
|
||||||
|
|
||||||
|
if use examples ; then
|
||||||
|
docompress -x /usr/share/doc/${PF}/examples
|
||||||
|
dodoc -r examples
|
||||||
|
fi
|
||||||
|
}
|
@ -1,48 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-games/tiled/tiled-0.9.1.ebuild,v 1.2 2014/08/10 20:06:39 slyfox Exp $
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
PLOCALES="cs de en es fr he it ja lv nl pt pt_BR ru zh"
|
|
||||||
MY_P="${PN}-qt-${PV}"
|
|
||||||
|
|
||||||
inherit multilib l10n qt4-r2
|
|
||||||
|
|
||||||
DESCRIPTION="A general purpose tile map editor"
|
|
||||||
HOMEPAGE="http://www.mapeditor.org/"
|
|
||||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE="examples"
|
|
||||||
|
|
||||||
DEPEND=">=dev-qt/qtcore-4.6:4
|
|
||||||
>=dev-qt/qtgui-4.6:4
|
|
||||||
>=dev-qt/qtopengl-4.6:4
|
|
||||||
sys-libs/zlib"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
|
|
||||||
DOCS=( AUTHORS COPYING NEWS README.md )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
rm -r src/zlib || die
|
|
||||||
sed -e "s/^LANGUAGES =.*/LANGUAGES = $(l10n_get_locales)/" \
|
|
||||||
-i translations/translations.pro || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
eqmake4 LIBDIR="/usr/$(get_libdir)" PREFIX="/usr"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
qt4-r2_src_install
|
|
||||||
|
|
||||||
if use examples ; then
|
|
||||||
docompress -x /usr/share/doc/${PF}/examples
|
|
||||||
dodoc -r examples
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,6 +1,7 @@
|
|||||||
DIST haddock-2.10.0.tar.gz 159750 SHA256 d107dba15e8aee5abcb540b818b5dcb8ced98bae7d0714f50192dba26cadb410 SHA512 0680ffafce7a2e6a24ae85869694ea5c590305007da07cdffd6adb8a837164452cdf2de159c9fdcba059f76fc01f30771237dbcd71dd44d04afc0d2317e28563 WHIRLPOOL b584452acbe6e1c3474c97a62b17621e1ce0ef31574845499ca8b6ebdcf54559fed2b37d1890b80b1d526cc9b45d52b51a9acf6ae0d9472e15f93c1a7ff7ef3f
|
DIST haddock-2.10.0.tar.gz 159750 SHA256 d107dba15e8aee5abcb540b818b5dcb8ced98bae7d0714f50192dba26cadb410 SHA512 0680ffafce7a2e6a24ae85869694ea5c590305007da07cdffd6adb8a837164452cdf2de159c9fdcba059f76fc01f30771237dbcd71dd44d04afc0d2317e28563 WHIRLPOOL b584452acbe6e1c3474c97a62b17621e1ce0ef31574845499ca8b6ebdcf54559fed2b37d1890b80b1d526cc9b45d52b51a9acf6ae0d9472e15f93c1a7ff7ef3f
|
||||||
DIST haddock-2.13.1.tar.gz 176831 SHA256 6e5e2295cd191e43a046c12544f2f4e8b4260cfda8282d48b15a7a35d8a24e7f SHA512 2cff54f4a3676c605327a6ad926df51976e7ec2bd512e464d0bf84d24f29fa3078dd5f8006329a4a6913607717c2c45f1db2b63d9e9f655d64cbbe92e0fe35fc WHIRLPOOL d1d9202767f4d5ee68ed100f3b95c9be6bff5024b3155b3dbaf3d1d690ac9dc0be2841ef1ea960c095a30005dc2bbb16046dbc4827c6047ee50ad6b1671ae38f
|
DIST haddock-2.13.1.tar.gz 176831 SHA256 6e5e2295cd191e43a046c12544f2f4e8b4260cfda8282d48b15a7a35d8a24e7f SHA512 2cff54f4a3676c605327a6ad926df51976e7ec2bd512e464d0bf84d24f29fa3078dd5f8006329a4a6913607717c2c45f1db2b63d9e9f655d64cbbe92e0fe35fc WHIRLPOOL d1d9202767f4d5ee68ed100f3b95c9be6bff5024b3155b3dbaf3d1d690ac9dc0be2841ef1ea960c095a30005dc2bbb16046dbc4827c6047ee50ad6b1671ae38f
|
||||||
DIST haddock-2.13.2-pregenerated-files.patch 206413 SHA256 dd603527692c12055d6a03c59d414f24dc43a0c56cdb815a0755126586a61f4c SHA512 447d7478365f895028fa56a06695ad71792cb3631fe06b18fb051a6d20d1c829eeff6d2c579c90d4d6b5594f245d2aa4f296bff280e5162f090b9b3f98e780c8 WHIRLPOOL 57bdf7bab4077afe003760015aa9535b4af5f2549f51db1a9d7ca87fd67faa842bd1e0adbfabceffee6ff1cb6ad9b4ec6a34b70630190e89b67900f834538e4f
|
DIST haddock-2.13.2-pregenerated-files.patch 206413 SHA256 dd603527692c12055d6a03c59d414f24dc43a0c56cdb815a0755126586a61f4c SHA512 447d7478365f895028fa56a06695ad71792cb3631fe06b18fb051a6d20d1c829eeff6d2c579c90d4d6b5594f245d2aa4f296bff280e5162f090b9b3f98e780c8 WHIRLPOOL 57bdf7bab4077afe003760015aa9535b4af5f2549f51db1a9d7ca87fd67faa842bd1e0adbfabceffee6ff1cb6ad9b4ec6a34b70630190e89b67900f834538e4f
|
||||||
|
DIST haddock-2.13.2.1.tar.gz 208851 SHA256 c9cfe2bd2e8e1201870f88bc9a2ccdb0173315d0a8c734b459ec344feb1af34e SHA512 91e451264ff1c82c801f32a48f33d9fd808d22135e0ca6c73a0bd5b515ec69f2530ca9566ee11109cdf67005c4f794cf5e12b7743cf72e34e1e76f094a5744e2 WHIRLPOOL 42f4c9e37ed928403b4d228a3288f6c95372965b8875e97106482bbe0163a124b3c6a6fc727030ca5c04d7d5cc8f092c5b304147fc763971f81135a380e8fd70
|
||||||
DIST haddock-2.13.2.tar.gz 174973 SHA256 25e7d5819d38cbb1c9b1ff967e2a4093c776c3defaa0a249c8eabba1e70892e3 SHA512 6b70f4cc659858e86919cd35a4e936215a53d23767262e25c7add5986cf21d04a761dc3581fe97c6510b3cb0c9867df3e6fa9668732b55e0e9d56b4932dca330 WHIRLPOOL ff06c0d092cdeaf2ddbffd225d30f53239523cd7d482c73f4b7a20100ebcc4e6b6c329bab5cf828ae2730503cff7709061b04cda29ea034939c5acc59191ac52
|
DIST haddock-2.13.2.tar.gz 174973 SHA256 25e7d5819d38cbb1c9b1ff967e2a4093c776c3defaa0a249c8eabba1e70892e3 SHA512 6b70f4cc659858e86919cd35a4e936215a53d23767262e25c7add5986cf21d04a761dc3581fe97c6510b3cb0c9867df3e6fa9668732b55e0e9d56b4932dca330 WHIRLPOOL ff06c0d092cdeaf2ddbffd225d30f53239523cd7d482c73f4b7a20100ebcc4e6b6c329bab5cf828ae2730503cff7709061b04cda29ea034939c5acc59191ac52
|
||||||
DIST haddock-2.14.3.0.7.8.3.tar.gz 230282 SHA256 8bcdea48e3fbba6e38d2e629edf230da39d07421424bb1c615198c77623ff2c4 SHA512 62ae4a29c877c3b9742828fcda2f1f045357f41b4a2c495a4791a42d412d41b3d206cdcb73e2d1bd4e95c40371dae865f4eaa37031cda6c1bada5dfed963c2be WHIRLPOOL afd36c8f04aa29c007d83d7c7731098347836daa4e8307710b839ecbc764e191624075df5c3e353c8bcd9f640dfe560a07477bf7909d53ed7e13b34a806efc9a
|
DIST haddock-2.14.3.0.7.8.3.tar.gz 230282 SHA256 8bcdea48e3fbba6e38d2e629edf230da39d07421424bb1c615198c77623ff2c4 SHA512 62ae4a29c877c3b9742828fcda2f1f045357f41b4a2c495a4791a42d412d41b3d206cdcb73e2d1bd4e95c40371dae865f4eaa37031cda6c1bada5dfed963c2be WHIRLPOOL afd36c8f04aa29c007d83d7c7731098347836daa4e8307710b839ecbc764e191624075df5c3e353c8bcd9f640dfe560a07477bf7909d53ed7e13b34a806efc9a
|
||||||
DIST haddock-2.6.1.tar.gz 128158 SHA256 626bfbc51f33ada003fbbfe1b40f3147039369e9898f8e8d2f5c1c863436ea6a SHA512 afa2c1166448f313b3031718caa25e4507b3b773dfd3af3b029ce58c3d8e0fde44f823206dac1219f61ac84589ac580cade688470abd7f53fac677caab0abff0 WHIRLPOOL e719061a8f66fec8273e59d4a99f105710d3ff2f150dae4086bac4b8fc9f365a597876669ebffbb975b9b00639bbe4645f743961de26f0b102cf4485fb00c555
|
DIST haddock-2.6.1.tar.gz 128158 SHA256 626bfbc51f33ada003fbbfe1b40f3147039369e9898f8e8d2f5c1c863436ea6a SHA512 afa2c1166448f313b3031718caa25e4507b3b773dfd3af3b029ce58c3d8e0fde44f823206dac1219f61ac84589ac580cade688470abd7f53fac677caab0abff0 WHIRLPOOL e719061a8f66fec8273e59d4a99f105710d3ff2f150dae4086bac4b8fc9f365a597876669ebffbb975b9b00639bbe4645f743961de26f0b102cf4485fb00c555
|
||||||
|
@ -0,0 +1,76 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haddock/haddock-2.13.2.1.ebuild,v 1.1 2014/10/28 03:49:33 mjo Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
CABAL_FEATURES="bin lib profile haddock hscolour nocabaldep test-suite"
|
||||||
|
inherit eutils haskell-cabal pax-utils
|
||||||
|
|
||||||
|
DESCRIPTION="A documentation-generation tool for Haskell libraries"
|
||||||
|
HOMEPAGE="http://www.haskell.org/haddock/"
|
||||||
|
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
# ia64 lost as we don't have ghc-7 there yet
|
||||||
|
# ppc64 needs to be rekeyworded due to xhtml not being keyworded
|
||||||
|
# x86-fbsd is lost due xhtml
|
||||||
|
KEYWORDS="~amd64 -ia64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="dev-haskell/ghc-paths:=[profile?]
|
||||||
|
=dev-haskell/xhtml-3000.2*:=[profile?]
|
||||||
|
>=dev-lang/ghc-7.6:= <dev-lang/ghc-7.7:="
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
>=dev-haskell/cabal-1.14"
|
||||||
|
|
||||||
|
CABAL_EXTRA_BUILD_FLAGS+=" --ghc-options=-rtsopts"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# we would like to avoid happy and alex depends
|
||||||
|
epatch "${FILESDIR}"/${PN}-2.13.1-drop-tools.patch
|
||||||
|
# pick pregenerated files
|
||||||
|
for f in Lex Parse; do
|
||||||
|
rm "src/Haddock/$f."* || die
|
||||||
|
mv "dist/build/haddock/haddock-tmp/Haddock/$f.hs" src/Haddock/ || die
|
||||||
|
done
|
||||||
|
rm -r "dist/build/"* || die
|
||||||
|
|
||||||
|
# Fix: Ticket #213 Haddock fails when advanced typesystem features are used
|
||||||
|
# epatch "${FILESDIR}"/${PN}-2.13.1-renameType.patch
|
||||||
|
if [[ ! -e "${S}/html" ]]; then
|
||||||
|
ln -s resources/html "${S}/html" || die "Could not create symbolic link ${S}/html"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# create a fake haddock executable. it'll set the right version to cabal
|
||||||
|
# configure, but will eventually get overwritten in src_compile by
|
||||||
|
# the real executable.
|
||||||
|
local exe="${S}/dist/build/haddock/haddock"
|
||||||
|
mkdir -p $(dirname "${exe}")
|
||||||
|
echo -e "#!/bin/sh\necho Haddock version ${PV}" > "${exe}"
|
||||||
|
chmod +x "${exe}"
|
||||||
|
|
||||||
|
# we use 'nocabaldep' to use ghc's bundled Cabal
|
||||||
|
# as external one is likely to break our haddock
|
||||||
|
# (known to work on 1.16.0 and breaks on 1.16.0.1!)
|
||||||
|
haskell-cabal_src_configure \
|
||||||
|
--with-haddock="${exe}" \
|
||||||
|
--constraint="Cabal == $(cabal-version)"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# when building the (recursive..) haddock docs, change the datadir to the
|
||||||
|
# current directory, as we're using haddock inplace even if it's built to be
|
||||||
|
# installed into the system first.
|
||||||
|
haddock_datadir="${S}" haskell-cabal_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cabal_src_install
|
||||||
|
# haddock uses GHC-api to process TH source.
|
||||||
|
# TH requires GHCi which needs mmap('rwx') (bug #299709)
|
||||||
|
pax-mark -m "${D}/usr/bin/${PN}"
|
||||||
|
}
|
@ -1,14 +1,20 @@
|
|||||||
DIST ruby-1.9.3-p484.tar.bz2 10041514 SHA256 0fdc6e860d0023ba7b94c7a0cf1f7d32908b65b526246de9dfd5bb39d0d7922b SHA512 2c3ef8b6022027d444bd709b1a5db96a7a692e2e3aa895df4fceae101f9689a31f02583703bb0483d80659bbd4555fbb4b9b57ceb2351508fab8cd10ff28f14d WHIRLPOOL 1b1174e012bff8d047db2da654dcf535486bfd1593b8e2f6fc888603c8ed6b41bd72625ff4eeaaa645ae01a81f7edbf62f0345b61eeda02d73743572af3f6b85
|
DIST ruby-1.9.3-p484.tar.bz2 10041514 SHA256 0fdc6e860d0023ba7b94c7a0cf1f7d32908b65b526246de9dfd5bb39d0d7922b SHA512 2c3ef8b6022027d444bd709b1a5db96a7a692e2e3aa895df4fceae101f9689a31f02583703bb0483d80659bbd4555fbb4b9b57ceb2351508fab8cd10ff28f14d WHIRLPOOL 1b1174e012bff8d047db2da654dcf535486bfd1593b8e2f6fc888603c8ed6b41bd72625ff4eeaaa645ae01a81f7edbf62f0345b61eeda02d73743572af3f6b85
|
||||||
DIST ruby-1.9.3-p547.tar.bz2 10036828 SHA256 ef588ed3ff53009b4c1833c83187ae252dd6c20db45e21a326cd4a16a102ef4c SHA512 d6e166f7a12ffa57d0287f7eaa7cd7717f09a745beb58f2755331874086df1a69c71144cfce5ba00d46cc44da46317fbc0d18f44a7bd65f2b2aaf149331e0d26 WHIRLPOOL 0e69db57ee41e0ce05ab9f487aab33ebde2401af5f45ddbb4cb7a4afe0dd7928f083380b4a69be2afca21db727cd01ca0f3f5ac5ea8157503e5f068a62822963
|
DIST ruby-1.9.3-p547.tar.bz2 10036828 SHA256 ef588ed3ff53009b4c1833c83187ae252dd6c20db45e21a326cd4a16a102ef4c SHA512 d6e166f7a12ffa57d0287f7eaa7cd7717f09a745beb58f2755331874086df1a69c71144cfce5ba00d46cc44da46317fbc0d18f44a7bd65f2b2aaf149331e0d26 WHIRLPOOL 0e69db57ee41e0ce05ab9f487aab33ebde2401af5f45ddbb4cb7a4afe0dd7928f083380b4a69be2afca21db727cd01ca0f3f5ac5ea8157503e5f068a62822963
|
||||||
|
DIST ruby-1.9.3-p550.tar.bz2 10053787 SHA256 d3da003896db47fb10ba4d2e0285eea7fe8cdc785b86c02ebad5bc9cdeaa4748 SHA512 38767e98df25484f7292437f3cb0f798b3a43e9a7414a5401677e96ad1cc367cb3fa23ac3abe568d5bf2b2ca553713469a8770d41b79bc63daf3fa59cb4e15c6 WHIRLPOOL e5a975ab3c11c323916c1e28011e1e65226813805bdd0ef155609750d137ca40d094a70c6f79dc2e65bcb8852c3e864a946c5c0e3b3951451b5d6fee32a968f0
|
||||||
DIST ruby-2.0.0-p353.tar.bz2 10730412 SHA256 3de4e4d9aff4682fa4f8ed2b70bd0d746fae17452fc3d3a8e8f505ead9105ad9 SHA512 52aa64c5991e61cc49c2062672554353bc88ab563da93a1d1591257153c2f6d8de02417a33d7a585eb0102f1079a993e46671fb6c97c62eac8615de567b575f2 WHIRLPOOL 8d3b616838290095ab389d32caa48941e9146676730975f2868d42cf43dd5f6ff6a26bb6ca1499a164a5c743e4f5c3ad122c1bed18556d85da98b821d66caf89
|
DIST ruby-2.0.0-p353.tar.bz2 10730412 SHA256 3de4e4d9aff4682fa4f8ed2b70bd0d746fae17452fc3d3a8e8f505ead9105ad9 SHA512 52aa64c5991e61cc49c2062672554353bc88ab563da93a1d1591257153c2f6d8de02417a33d7a585eb0102f1079a993e46671fb6c97c62eac8615de567b575f2 WHIRLPOOL 8d3b616838290095ab389d32caa48941e9146676730975f2868d42cf43dd5f6ff6a26bb6ca1499a164a5c743e4f5c3ad122c1bed18556d85da98b821d66caf89
|
||||||
DIST ruby-2.0.0-p481.tar.bz2 10727244 SHA256 0762dad7e96d8091bdf33b3e3176c2066fbf3dc09dfe85fbf40e74e83c63d8e2 SHA512 23d662b7cdc92f06161ea648505c156c7e88e86b226baa03fa3ec7c2177e052b0c9ccb95479873dc2ddd3642f58bd7b874fdce95b54d3212db57c3645c67a0de WHIRLPOOL 5d9a408c7f67e416dffda84283ea50f92baee5197f00486a84a25c0da9c173d00aaad762487dcea31bca34713e2798262e64588005bbb7abd23ba3127c394d87
|
DIST ruby-2.0.0-p481.tar.bz2 10727244 SHA256 0762dad7e96d8091bdf33b3e3176c2066fbf3dc09dfe85fbf40e74e83c63d8e2 SHA512 23d662b7cdc92f06161ea648505c156c7e88e86b226baa03fa3ec7c2177e052b0c9ccb95479873dc2ddd3642f58bd7b874fdce95b54d3212db57c3645c67a0de WHIRLPOOL 5d9a408c7f67e416dffda84283ea50f92baee5197f00486a84a25c0da9c173d00aaad762487dcea31bca34713e2798262e64588005bbb7abd23ba3127c394d87
|
||||||
DIST ruby-2.0.0-p576.tar.bz2 10753403 SHA256 8cfdbffc81cebd1d25304225ffadc7dcb612a500c81ba6f5f95c5296dfa62059 SHA512 e089cca4867cd9c715f4f37e40a1db9af6ba0c74b47e79568121bb980476f8877a87ccb848b973381edb4667c0c73165f5e1761f60db839e67f6326302dbd864 WHIRLPOOL fab1a10ed8473edd214a8975af45801df885b97ee0a9f366b07343d3e96e0d67d1ea1ddfca9f701105acff355d0b677b8141dba39e98dfb02047bc6e9e9e662c
|
DIST ruby-2.0.0-p576.tar.bz2 10753403 SHA256 8cfdbffc81cebd1d25304225ffadc7dcb612a500c81ba6f5f95c5296dfa62059 SHA512 e089cca4867cd9c715f4f37e40a1db9af6ba0c74b47e79568121bb980476f8877a87ccb848b973381edb4667c0c73165f5e1761f60db839e67f6326302dbd864 WHIRLPOOL fab1a10ed8473edd214a8975af45801df885b97ee0a9f366b07343d3e96e0d67d1ea1ddfca9f701105acff355d0b677b8141dba39e98dfb02047bc6e9e9e662c
|
||||||
|
DIST ruby-2.0.0-p594.tar.xz 8316772 SHA256 561465447428a5bc52ed3cca98c6067948b2c81811e1445a196b1c24913b3e72 SHA512 d5ba88dd5eb3569203cbe91e75bf21bea6897338885479e34a839569de15ca2f09e4eff655636923892e9234a0f0b6a2c058442ebc1b13a3d2ddced25bd88fa8 WHIRLPOOL 2babf30aa05e52d06d5177d0265c20629de9b17254a47c284e74acfb2beb0f9f4aa8663ae70a2697ca4805f08c4fb7a90453a4e0a65f87e9ab1065ecc164901b
|
||||||
DIST ruby-2.1.2.tar.bz2 11976939 SHA256 6948b02570cdfb89a8313675d4aa665405900e27423db408401473f30fc6e901 SHA512 51594ecee8ef6ad45e4a835d7671d11c126826fdaaeddfd361a6640bf30077e22212ee00342fe705c564225f637f8d692572c56b553a188bba507499b55d8843 WHIRLPOOL 259b9e8282376fe127a65159773d4a6b581306f3d5100561d6d274daeed79234b30ed6bed7cc56267f03f84e0082c359bbbefaf52a940bd046cf1e615fef8d93
|
DIST ruby-2.1.2.tar.bz2 11976939 SHA256 6948b02570cdfb89a8313675d4aa665405900e27423db408401473f30fc6e901 SHA512 51594ecee8ef6ad45e4a835d7671d11c126826fdaaeddfd361a6640bf30077e22212ee00342fe705c564225f637f8d692572c56b553a188bba507499b55d8843 WHIRLPOOL 259b9e8282376fe127a65159773d4a6b581306f3d5100561d6d274daeed79234b30ed6bed7cc56267f03f84e0082c359bbbefaf52a940bd046cf1e615fef8d93
|
||||||
DIST ruby-2.1.3.tar.bz2 11998074 SHA256 36ce72f84ae4129f6cc66e33077a79d87b018ea7bf1dbc3d353604bf006f76d6 SHA512 9b48adb161e5e4550a71f61252c8edf59944affb82250babcb64240749af4b672e4a54ccd0feac5b36ea447a358b350b5080125ef2d4acf6e9e8b1ab82612f48 WHIRLPOOL 21ccd843eb95868c2a154aae37c7691e69141251e52f7b290958b4622d658113ef63a41e95f2a024bbbab596e313a9a9bcd3047411b55fd48ad6bc47bc308d77
|
DIST ruby-2.1.3.tar.bz2 11998074 SHA256 36ce72f84ae4129f6cc66e33077a79d87b018ea7bf1dbc3d353604bf006f76d6 SHA512 9b48adb161e5e4550a71f61252c8edf59944affb82250babcb64240749af4b672e4a54ccd0feac5b36ea447a358b350b5080125ef2d4acf6e9e8b1ab82612f48 WHIRLPOOL 21ccd843eb95868c2a154aae37c7691e69141251e52f7b290958b4622d658113ef63a41e95f2a024bbbab596e313a9a9bcd3047411b55fd48ad6bc47bc308d77
|
||||||
|
DIST ruby-2.1.4.tar.xz 9392500 SHA256 e1cc5cbbcaa8644e282f04763d96057ddd6f443338a5019200e8726273e84fcf SHA512 b0fbecca0ffec8f6a3c5d27f62087628b8a79874b7bdbfd8ce39cfc5b6f5cb4da2f8a3e6031abae9c59273cf629f41cf5987e2a5f4c083b0f3a3b02eeb5d7dca WHIRLPOOL 12c631c5f0000504001fabffe06b80c36ce2c573aad8215d32ab705872878917578e5df81f787695d79a66128c67f9981dcd3a29fc9bb526744ca7017c652782
|
||||||
DIST ruby-patches-1.9.3_p484.tar.bz2 2154 SHA256 c1c40f2b1f186a05774fd15c3566d722a5ab1af5b93a7c73f2d3c247d604fd73 SHA512 fdb07393439dfcc97e5d4ecd12059ef69983b23588079e1292cec1c93544524a67265e4f61f75d20ac540ee9f9ace730a584462f94bea4919124a3264e6f0ae1 WHIRLPOOL 422b7bfcbdb564fd89ae9536c15d78442ad5597c7728f84f2523a751a862807a92a77779cfdd42fcdd20569726f401e391e33c1666b0455432ddff228ea674fc
|
DIST ruby-patches-1.9.3_p484.tar.bz2 2154 SHA256 c1c40f2b1f186a05774fd15c3566d722a5ab1af5b93a7c73f2d3c247d604fd73 SHA512 fdb07393439dfcc97e5d4ecd12059ef69983b23588079e1292cec1c93544524a67265e4f61f75d20ac540ee9f9ace730a584462f94bea4919124a3264e6f0ae1 WHIRLPOOL 422b7bfcbdb564fd89ae9536c15d78442ad5597c7728f84f2523a751a862807a92a77779cfdd42fcdd20569726f401e391e33c1666b0455432ddff228ea674fc
|
||||||
DIST ruby-patches-1.9.3_p547.tar.bz2 2154 SHA256 c1c40f2b1f186a05774fd15c3566d722a5ab1af5b93a7c73f2d3c247d604fd73 SHA512 fdb07393439dfcc97e5d4ecd12059ef69983b23588079e1292cec1c93544524a67265e4f61f75d20ac540ee9f9ace730a584462f94bea4919124a3264e6f0ae1 WHIRLPOOL 422b7bfcbdb564fd89ae9536c15d78442ad5597c7728f84f2523a751a862807a92a77779cfdd42fcdd20569726f401e391e33c1666b0455432ddff228ea674fc
|
DIST ruby-patches-1.9.3_p547.tar.bz2 2154 SHA256 c1c40f2b1f186a05774fd15c3566d722a5ab1af5b93a7c73f2d3c247d604fd73 SHA512 fdb07393439dfcc97e5d4ecd12059ef69983b23588079e1292cec1c93544524a67265e4f61f75d20ac540ee9f9ace730a584462f94bea4919124a3264e6f0ae1 WHIRLPOOL 422b7bfcbdb564fd89ae9536c15d78442ad5597c7728f84f2523a751a862807a92a77779cfdd42fcdd20569726f401e391e33c1666b0455432ddff228ea674fc
|
||||||
|
DIST ruby-patches-1.9.3_p550.tar.bz2 2154 SHA256 c1c40f2b1f186a05774fd15c3566d722a5ab1af5b93a7c73f2d3c247d604fd73 SHA512 fdb07393439dfcc97e5d4ecd12059ef69983b23588079e1292cec1c93544524a67265e4f61f75d20ac540ee9f9ace730a584462f94bea4919124a3264e6f0ae1 WHIRLPOOL 422b7bfcbdb564fd89ae9536c15d78442ad5597c7728f84f2523a751a862807a92a77779cfdd42fcdd20569726f401e391e33c1666b0455432ddff228ea674fc
|
||||||
DIST ruby-patches-2.0.0_p353.tar.bz2 1929 SHA256 4feee409319dbcac7525fb9c1c76c36888a62ee0623c117ae532bf765845f0f9 SHA512 95cf20e26e43a1515843d74c558e3344ae33b7383362c1742a115c1b3e6d09e1ed947df8ab7fee6275e96c920bd0ef880647da70165ddccd40d0995ff43aae64 WHIRLPOOL 869055dd0e14af0dc285a11d95a891ab4686e1d16960d46728ddf680eee58d42570f64d058b88d30805b732b082c354a36dac5a816a7ce5f3034d1b22237aa5a
|
DIST ruby-patches-2.0.0_p353.tar.bz2 1929 SHA256 4feee409319dbcac7525fb9c1c76c36888a62ee0623c117ae532bf765845f0f9 SHA512 95cf20e26e43a1515843d74c558e3344ae33b7383362c1742a115c1b3e6d09e1ed947df8ab7fee6275e96c920bd0ef880647da70165ddccd40d0995ff43aae64 WHIRLPOOL 869055dd0e14af0dc285a11d95a891ab4686e1d16960d46728ddf680eee58d42570f64d058b88d30805b732b082c354a36dac5a816a7ce5f3034d1b22237aa5a
|
||||||
DIST ruby-patches-2.0.0_p481.tar.bz2 2525 SHA256 9842526b161105af36bf67d22ad578a5c4f82bd1feaf78eee72e674df594d997 SHA512 6c844bd7930ee0d6b62759f5217508f5267c857ed1ff0fc857d6077c17ecb5733d949aa9154fa22e51f8f973719749360a6b821832f2e59c37e65c080fa0c292 WHIRLPOOL 2c302058886d9bc06a5e5febd54e2419a362ca141dd18f70bf7d4c4be65484fc95c9cd432717f6f97f5949f7cf69bb9f5df6e99ae94e14df1802a6f9244a2a7a
|
DIST ruby-patches-2.0.0_p481.tar.bz2 2525 SHA256 9842526b161105af36bf67d22ad578a5c4f82bd1feaf78eee72e674df594d997 SHA512 6c844bd7930ee0d6b62759f5217508f5267c857ed1ff0fc857d6077c17ecb5733d949aa9154fa22e51f8f973719749360a6b821832f2e59c37e65c080fa0c292 WHIRLPOOL 2c302058886d9bc06a5e5febd54e2419a362ca141dd18f70bf7d4c4be65484fc95c9cd432717f6f97f5949f7cf69bb9f5df6e99ae94e14df1802a6f9244a2a7a
|
||||||
DIST ruby-patches-2.0.0_p576.tar.bz2 2525 SHA256 9842526b161105af36bf67d22ad578a5c4f82bd1feaf78eee72e674df594d997 SHA512 6c844bd7930ee0d6b62759f5217508f5267c857ed1ff0fc857d6077c17ecb5733d949aa9154fa22e51f8f973719749360a6b821832f2e59c37e65c080fa0c292 WHIRLPOOL 2c302058886d9bc06a5e5febd54e2419a362ca141dd18f70bf7d4c4be65484fc95c9cd432717f6f97f5949f7cf69bb9f5df6e99ae94e14df1802a6f9244a2a7a
|
DIST ruby-patches-2.0.0_p576.tar.bz2 2525 SHA256 9842526b161105af36bf67d22ad578a5c4f82bd1feaf78eee72e674df594d997 SHA512 6c844bd7930ee0d6b62759f5217508f5267c857ed1ff0fc857d6077c17ecb5733d949aa9154fa22e51f8f973719749360a6b821832f2e59c37e65c080fa0c292 WHIRLPOOL 2c302058886d9bc06a5e5febd54e2419a362ca141dd18f70bf7d4c4be65484fc95c9cd432717f6f97f5949f7cf69bb9f5df6e99ae94e14df1802a6f9244a2a7a
|
||||||
|
DIST ruby-patches-2.0.0_p594.tar.bz2 2525 SHA256 9842526b161105af36bf67d22ad578a5c4f82bd1feaf78eee72e674df594d997 SHA512 6c844bd7930ee0d6b62759f5217508f5267c857ed1ff0fc857d6077c17ecb5733d949aa9154fa22e51f8f973719749360a6b821832f2e59c37e65c080fa0c292 WHIRLPOOL 2c302058886d9bc06a5e5febd54e2419a362ca141dd18f70bf7d4c4be65484fc95c9cd432717f6f97f5949f7cf69bb9f5df6e99ae94e14df1802a6f9244a2a7a
|
||||||
DIST ruby-patches-2.1.2.tar.bz2 2237 SHA256 785c1682ef146d45ae9748c20792fb27de89b32afa84e2463c39e72b226b9ca4 SHA512 73df725134d12f437a9505d8345be8b55887e9b6b75ffaf2e983f375d0e5aff9fcd25624d8df79919256340e097bcf90e8656cb36073f55a00d0e00354fc40d2 WHIRLPOOL cc7d9968a58c9eddb881cf3830dd9c9532c0267c45f802733aa55f6d5c410f78a226e4e5916215bde4c2765b08a93661d5633579cbbd1830dcce89908ac88e94
|
DIST ruby-patches-2.1.2.tar.bz2 2237 SHA256 785c1682ef146d45ae9748c20792fb27de89b32afa84e2463c39e72b226b9ca4 SHA512 73df725134d12f437a9505d8345be8b55887e9b6b75ffaf2e983f375d0e5aff9fcd25624d8df79919256340e097bcf90e8656cb36073f55a00d0e00354fc40d2 WHIRLPOOL cc7d9968a58c9eddb881cf3830dd9c9532c0267c45f802733aa55f6d5c410f78a226e4e5916215bde4c2765b08a93661d5633579cbbd1830dcce89908ac88e94
|
||||||
DIST ruby-patches-2.1.3.tar.bz2 2310 SHA256 1743dc0cec0adc1a0b5d90b0ed7908f888b8251b7a414049a57e6e32e01e4ad6 SHA512 b695621d210a7afc6704dd480bf3e7fc559174ebf240d2287338d60537ba45e5bf0f5defac6b254064d4b28077e2b97ef23b7eadc1bfa1a6bf2c616e828f937c WHIRLPOOL e9fde062fc04e4e22aec2dc55250f9007c64b07c7d03875b4073c19af9cfb0ae735d6dcb2b65bd1465a457cf0ff0602866600b5af1d520df3efc8a418763ab5b
|
DIST ruby-patches-2.1.3.tar.bz2 2310 SHA256 1743dc0cec0adc1a0b5d90b0ed7908f888b8251b7a414049a57e6e32e01e4ad6 SHA512 b695621d210a7afc6704dd480bf3e7fc559174ebf240d2287338d60537ba45e5bf0f5defac6b254064d4b28077e2b97ef23b7eadc1bfa1a6bf2c616e828f937c WHIRLPOOL e9fde062fc04e4e22aec2dc55250f9007c64b07c7d03875b4073c19af9cfb0ae735d6dcb2b65bd1465a457cf0ff0602866600b5af1d520df3efc8a418763ab5b
|
||||||
|
DIST ruby-patches-2.1.4.tar.bz2 2310 SHA256 1743dc0cec0adc1a0b5d90b0ed7908f888b8251b7a414049a57e6e32e01e4ad6 SHA512 b695621d210a7afc6704dd480bf3e7fc559174ebf240d2287338d60537ba45e5bf0f5defac6b254064d4b28077e2b97ef23b7eadc1bfa1a6bf2c616e828f937c WHIRLPOOL e9fde062fc04e4e22aec2dc55250f9007c64b07c7d03875b4073c19af9cfb0ae735d6dcb2b65bd1465a457cf0ff0602866600b5af1d520df3efc8a418763ab5b
|
||||||
|
@ -0,0 +1,217 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.9.3_p550.ebuild,v 1.1 2014/10/27 19:15:55 graaff Exp $
|
||||||
|
|
||||||
|
EAPI=4
|
||||||
|
|
||||||
|
#PATCHSET=1
|
||||||
|
|
||||||
|
inherit autotools eutils flag-o-matic multilib versionator
|
||||||
|
|
||||||
|
RUBYPL=$(get_version_component_range 4)
|
||||||
|
|
||||||
|
MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}"
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
SLOT=$(get_version_component_range 1-2)
|
||||||
|
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||||
|
# 1.9.3 still uses 1.9.1
|
||||||
|
RUBYVERSION=1.9.1
|
||||||
|
|
||||||
|
if [[ -n ${PATCHSET} ]]; then
|
||||||
|
if [[ ${PVR} == ${PV} ]]; then
|
||||||
|
PATCHSET="${PV}-r0.${PATCHSET}"
|
||||||
|
else
|
||||||
|
PATCHSET="${PVR}.${PATCHSET}"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
PATCHSET="${PVR}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="An object-oriented scripting language"
|
||||||
|
HOMEPAGE="http://www.ruby-lang.org/"
|
||||||
|
SRC_URI="mirror://ruby/1.9/${MY_P}.tar.bz2
|
||||||
|
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="|| ( Ruby-BSD BSD-2 )"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||||
|
IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl xemacs ncurses +readline +yaml" #libedit
|
||||||
|
|
||||||
|
# libedit support is removed everywhere because of this upstream bug:
|
||||||
|
# http://redmine.ruby-lang.org/issues/show/3698
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
berkdb? ( sys-libs/db )
|
||||||
|
gdbm? ( sys-libs/gdbm )
|
||||||
|
ssl? ( dev-libs/openssl )
|
||||||
|
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||||
|
ncurses? ( sys-libs/ncurses )
|
||||||
|
readline? ( sys-libs/readline )
|
||||||
|
yaml? ( dev-libs/libyaml )
|
||||||
|
virtual/libffi
|
||||||
|
sys-libs/zlib
|
||||||
|
>=app-admin/eselect-ruby-20100402
|
||||||
|
!<dev-ruby/rdoc-3.9.4
|
||||||
|
!<dev-ruby/rubygems-1.8.10-r1"
|
||||||
|
# libedit? ( dev-libs/libedit )
|
||||||
|
# !libedit? ( readline? ( sys-libs/readline ) )
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
PDEPEND="
|
||||||
|
virtual/rubygems:ruby19
|
||||||
|
rdoc? ( >=dev-ruby/rdoc-3.9.4[ruby_targets_ruby19] )
|
||||||
|
xemacs? ( app-xemacs/ruby-modes )"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||||
|
epatch "${WORKDIR}/patches"
|
||||||
|
|
||||||
|
einfo "Unbundling gems..."
|
||||||
|
cd "$S"
|
||||||
|
rm -r \
|
||||||
|
{bin,lib}/rake lib/rake.rb man/rake.1 \
|
||||||
|
ext/json \
|
||||||
|
bin/gem || die "removal failed"
|
||||||
|
|
||||||
|
# Fix a hardcoded lib path in configure script
|
||||||
|
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
|
||||||
|
configure.in || die "sed failed"
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf=
|
||||||
|
|
||||||
|
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||||
|
filter-flags -fomit-frame-pointer
|
||||||
|
# In many places aliasing rules are broken; play it safe
|
||||||
|
# as it's risky with newer compilers to leave it as it is.
|
||||||
|
append-flags -fno-strict-aliasing
|
||||||
|
# SuperH needs this
|
||||||
|
use sh && append-flags -mieee
|
||||||
|
|
||||||
|
# Socks support via dante
|
||||||
|
if use socks5 ; then
|
||||||
|
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||||
|
# set and socks library is present, so need to unset
|
||||||
|
# SOCKS_SERVER in that case.
|
||||||
|
unset SOCKS_SERVER
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||||
|
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||||
|
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||||
|
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||||
|
|
||||||
|
# if use libedit; then
|
||||||
|
# einfo "Using libedit to provide readline extension"
|
||||||
|
# myconf="${myconf} --enable-libedit --with-readline"
|
||||||
|
# elif use readline; then
|
||||||
|
# einfo "Using readline to provide readline extension"
|
||||||
|
# myconf="${myconf} --with-readline"
|
||||||
|
# else
|
||||||
|
# myconf="${myconf} --without-readline"
|
||||||
|
# fi
|
||||||
|
myconf="${myconf} $(use_with readline)"
|
||||||
|
|
||||||
|
# Always disable tk because the module is no longer compatible with
|
||||||
|
# stable tcl/tk: https://bugs.gentoo.org/show_bug.cgi?id=500894
|
||||||
|
INSTALL="${EPREFIX}/usr/bin/install -c" econf \
|
||||||
|
--program-suffix=${MY_SUFFIX} \
|
||||||
|
--with-soname=ruby${MY_SUFFIX} \
|
||||||
|
--enable-shared \
|
||||||
|
--enable-pthread \
|
||||||
|
--without-tk \
|
||||||
|
$(use_enable socks5 socks) \
|
||||||
|
$(use_enable doc install-doc) \
|
||||||
|
--enable-ipv6 \
|
||||||
|
$(use_enable debug) \
|
||||||
|
$(use_with berkdb dbm) \
|
||||||
|
$(use_with gdbm) \
|
||||||
|
$(use_with ssl openssl) \
|
||||||
|
$(use_with ncurses curses) \
|
||||||
|
$(use_with yaml psych) \
|
||||||
|
${myconf} \
|
||||||
|
--enable-option-checking=no \
|
||||||
|
|| die "econf failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
emake -j1 V=1 test || die "make test failed"
|
||||||
|
|
||||||
|
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||||
|
elog "that cannot be run until after ruby has been installed."
|
||||||
|
elog
|
||||||
|
if use rubytests; then
|
||||||
|
elog "You have enabled rubytests, so they will be installed to"
|
||||||
|
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||||
|
elog "than root, and you must place them into a writeable directory."
|
||||||
|
elog "Then call: "
|
||||||
|
elog
|
||||||
|
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||||
|
else
|
||||||
|
elog "Enable the rubytests USE flag to install the make check tests"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# Ruby is involved in the install process, we don't want interference here.
|
||||||
|
unset RUBYOPT
|
||||||
|
|
||||||
|
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||||
|
|
||||||
|
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||||
|
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||||
|
for d in $(find "${S}/ext" -type d) ; do
|
||||||
|
RUBYLIB="${RUBYLIB}:$d"
|
||||||
|
done
|
||||||
|
export LD_LIBRARY_PATH RUBYLIB
|
||||||
|
|
||||||
|
emake V=1 DESTDIR="${D}" install || die "make install failed"
|
||||||
|
|
||||||
|
# Remove installed rubygems copy
|
||||||
|
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||||
|
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||||
|
rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
make DESTDIR="${D}" install-doc || die "make install-doc failed"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use examples; then
|
||||||
|
insinto /usr/share/doc/${PF}
|
||||||
|
doins -r sample
|
||||||
|
fi
|
||||||
|
|
||||||
|
dodoc ChangeLog NEWS doc/NEWS* README* ToDo || die
|
||||||
|
|
||||||
|
if use rubytests; then
|
||||||
|
pushd test
|
||||||
|
insinto /usr/share/${PN}-${SLOT}/test
|
||||||
|
doins -r .
|
||||||
|
popd
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
|
||||||
|
eselect ruby set ruby${MY_SUFFIX}
|
||||||
|
fi
|
||||||
|
|
||||||
|
elog
|
||||||
|
elog "To switch between available Ruby profiles, execute as root:"
|
||||||
|
elog "\teselect ruby set ruby(19|20|...)"
|
||||||
|
elog
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
eselect ruby cleanup
|
||||||
|
}
|
@ -0,0 +1,226 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-2.0.0_p594.ebuild,v 1.1 2014/10/27 19:15:55 graaff Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
#PATCHSET=1
|
||||||
|
|
||||||
|
inherit autotools eutils flag-o-matic multilib versionator
|
||||||
|
|
||||||
|
RUBYPL=$(get_version_component_range 4)
|
||||||
|
|
||||||
|
MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}"
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
SLOT=$(get_version_component_range 1-2)
|
||||||
|
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||||
|
RUBYVERSION=2.0.0
|
||||||
|
|
||||||
|
if [[ -n ${PATCHSET} ]]; then
|
||||||
|
if [[ ${PVR} == ${PV} ]]; then
|
||||||
|
PATCHSET="${PV}-r0.${PATCHSET}"
|
||||||
|
else
|
||||||
|
PATCHSET="${PVR}.${PATCHSET}"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
PATCHSET="${PVR}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="An object-oriented scripting language"
|
||||||
|
HOMEPAGE="http://www.ruby-lang.org/"
|
||||||
|
SRC_URI="mirror://ruby/2.0/${MY_P}.tar.xz
|
||||||
|
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="|| ( Ruby-BSD BSD-2 )"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||||
|
IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl xemacs ncurses +readline"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
berkdb? ( sys-libs/db )
|
||||||
|
gdbm? ( sys-libs/gdbm )
|
||||||
|
ssl? ( dev-libs/openssl )
|
||||||
|
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||||
|
ncurses? ( sys-libs/ncurses )
|
||||||
|
readline? ( sys-libs/readline )
|
||||||
|
dev-libs/libyaml
|
||||||
|
virtual/libffi
|
||||||
|
sys-libs/zlib
|
||||||
|
>=app-admin/eselect-ruby-20100402
|
||||||
|
!<dev-ruby/rdoc-3.9.4
|
||||||
|
!<dev-ruby/rubygems-1.8.10-r1"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
PDEPEND="
|
||||||
|
virtual/rubygems:ruby20
|
||||||
|
>=dev-ruby/json-1.7.7[ruby_targets_ruby20]
|
||||||
|
>=dev-ruby/rake-0.9.6[ruby_targets_ruby20]
|
||||||
|
rdoc? ( >=dev-ruby/rdoc-4.0.0[ruby_targets_ruby20] )
|
||||||
|
xemacs? ( app-xemacs/ruby-modes )"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||||
|
epatch "${WORKDIR}/patches"
|
||||||
|
|
||||||
|
# We can no longer unbundle all of rake because rubygems now depends
|
||||||
|
# on this. We leave the actual rake code around to bootstrap
|
||||||
|
# rubygems, but remove the bits that would cause a file collision.
|
||||||
|
einfo "Unbundling gems..."
|
||||||
|
cd "$S"
|
||||||
|
rm -r \
|
||||||
|
{bin,lib}/rake lib/rake.rb man/rake.1 \
|
||||||
|
bin/gem || die "removal failed"
|
||||||
|
|
||||||
|
# Fix a hardcoded lib path in configure script
|
||||||
|
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
|
||||||
|
configure.in || die "sed failed"
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf=
|
||||||
|
|
||||||
|
# The Tk module can no longer be built because the module code is no
|
||||||
|
# longer compatible with newer stable versions.
|
||||||
|
# https://bugs.gentoo.org/show_bug.cgi?id=500894
|
||||||
|
local modules="tk"
|
||||||
|
|
||||||
|
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||||
|
filter-flags -fomit-frame-pointer
|
||||||
|
# In many places aliasing rules are broken; play it safe
|
||||||
|
# as it's risky with newer compilers to leave it as it is.
|
||||||
|
append-flags -fno-strict-aliasing
|
||||||
|
# SuperH needs this
|
||||||
|
use sh && append-flags -mieee
|
||||||
|
|
||||||
|
# Socks support via dante
|
||||||
|
if use socks5 ; then
|
||||||
|
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||||
|
# set and socks library is present, so need to unset
|
||||||
|
# SOCKS_SERVER in that case.
|
||||||
|
unset SOCKS_SERVER
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||||
|
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||||
|
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||||
|
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||||
|
|
||||||
|
# Determine which modules *not* to build depending in the USE flags.
|
||||||
|
if ! use readline ; then
|
||||||
|
modules="${modules},readline"
|
||||||
|
fi
|
||||||
|
if ! use berkdb ; then
|
||||||
|
modules="${modules},dbm"
|
||||||
|
fi
|
||||||
|
if ! use gdbm ; then
|
||||||
|
modules="${modules},gdbm"
|
||||||
|
fi
|
||||||
|
if ! use ssl ; then
|
||||||
|
modules="${modules},openssl"
|
||||||
|
fi
|
||||||
|
if ! use ncurses ; then
|
||||||
|
modules="${modules},curses"
|
||||||
|
fi
|
||||||
|
|
||||||
|
INSTALL="${EPREFIX}/usr/bin/install -c" econf \
|
||||||
|
--program-suffix=${MY_SUFFIX} \
|
||||||
|
--with-soname=ruby${MY_SUFFIX} \
|
||||||
|
--docdir=${EPREFIX}/usr/share/doc/${P} \
|
||||||
|
--enable-shared \
|
||||||
|
--enable-pthread \
|
||||||
|
--disable-rpath \
|
||||||
|
--with-out-ext="${modules}" \
|
||||||
|
$(use_enable socks5 socks) \
|
||||||
|
$(use_enable doc install-doc) \
|
||||||
|
--enable-ipv6 \
|
||||||
|
$(use_enable debug) \
|
||||||
|
${myconf} \
|
||||||
|
--enable-option-checking=no \
|
||||||
|
|| die "econf failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
emake -j1 V=1 test || die "make test failed"
|
||||||
|
|
||||||
|
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||||
|
elog "that cannot be run until after ruby has been installed."
|
||||||
|
elog
|
||||||
|
if use rubytests; then
|
||||||
|
elog "You have enabled rubytests, so they will be installed to"
|
||||||
|
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||||
|
elog "than root, and you must place them into a writeable directory."
|
||||||
|
elog "Then call: "
|
||||||
|
elog
|
||||||
|
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||||
|
else
|
||||||
|
elog "Enable the rubytests USE flag to install the make check tests"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# Remove the remaining bundled gems. We do this late in the process
|
||||||
|
# since they are used during the build to e.g. create the
|
||||||
|
# documentation.
|
||||||
|
rm -rf ext/json || die
|
||||||
|
|
||||||
|
# Ruby is involved in the install process, we don't want interference here.
|
||||||
|
unset RUBYOPT
|
||||||
|
|
||||||
|
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||||
|
|
||||||
|
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||||
|
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||||
|
for d in $(find "${S}/ext" -type d) ; do
|
||||||
|
RUBYLIB="${RUBYLIB}:$d"
|
||||||
|
done
|
||||||
|
export LD_LIBRARY_PATH RUBYLIB
|
||||||
|
|
||||||
|
emake V=1 DESTDIR="${D}" install || die "make install failed"
|
||||||
|
|
||||||
|
# Remove installed rubygems copy
|
||||||
|
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||||
|
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||||
|
rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
make DESTDIR="${D}" install-doc || die "make install-doc failed"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use examples; then
|
||||||
|
insinto /usr/share/doc/${PF}
|
||||||
|
doins -r sample
|
||||||
|
fi
|
||||||
|
|
||||||
|
dodoc ChangeLog NEWS doc/NEWS* README* || die
|
||||||
|
|
||||||
|
if use rubytests; then
|
||||||
|
pushd test
|
||||||
|
insinto /usr/share/${PN}-${SLOT}/test
|
||||||
|
doins -r .
|
||||||
|
popd
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
|
||||||
|
eselect ruby set ruby${MY_SUFFIX}
|
||||||
|
fi
|
||||||
|
|
||||||
|
elog
|
||||||
|
elog "To switch between available Ruby profiles, execute as root:"
|
||||||
|
elog "\teselect ruby set ruby(19|20|...)"
|
||||||
|
elog
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
eselect ruby cleanup
|
||||||
|
}
|
@ -0,0 +1,227 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-2.1.4.ebuild,v 1.1 2014/10/27 19:15:55 graaff Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
#PATCHSET=1
|
||||||
|
|
||||||
|
inherit autotools eutils flag-o-matic multilib versionator
|
||||||
|
|
||||||
|
RUBYPL=$(get_version_component_range 4)
|
||||||
|
|
||||||
|
MY_P="${PN}-$(get_version_component_range 1-3)"
|
||||||
|
#MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}"
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
SLOT=$(get_version_component_range 1-2)
|
||||||
|
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||||
|
RUBYVERSION=2.1.0
|
||||||
|
|
||||||
|
if [[ -n ${PATCHSET} ]]; then
|
||||||
|
if [[ ${PVR} == ${PV} ]]; then
|
||||||
|
PATCHSET="${PV}-r0.${PATCHSET}"
|
||||||
|
else
|
||||||
|
PATCHSET="${PVR}.${PATCHSET}"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
PATCHSET="${PVR}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="An object-oriented scripting language"
|
||||||
|
HOMEPAGE="http://www.ruby-lang.org/"
|
||||||
|
SRC_URI="mirror://ruby/2.1/${MY_P}.tar.xz
|
||||||
|
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="|| ( Ruby-BSD BSD-2 )"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||||
|
IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl xemacs ncurses +readline"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
berkdb? ( sys-libs/db )
|
||||||
|
gdbm? ( sys-libs/gdbm )
|
||||||
|
ssl? ( dev-libs/openssl )
|
||||||
|
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||||
|
ncurses? ( sys-libs/ncurses )
|
||||||
|
readline? ( sys-libs/readline )
|
||||||
|
dev-libs/libyaml
|
||||||
|
virtual/libffi
|
||||||
|
sys-libs/zlib
|
||||||
|
>=app-admin/eselect-ruby-20131227
|
||||||
|
!<dev-ruby/rdoc-3.9.4
|
||||||
|
!<dev-ruby/rubygems-1.8.10-r1"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
PDEPEND="
|
||||||
|
virtual/rubygems:ruby21
|
||||||
|
>=dev-ruby/json-1.8.1[ruby_targets_ruby21]
|
||||||
|
>=dev-ruby/rake-0.9.6[ruby_targets_ruby21]
|
||||||
|
rdoc? ( >=dev-ruby/rdoc-4.0.1[ruby_targets_ruby21] )
|
||||||
|
xemacs? ( app-xemacs/ruby-modes )"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||||
|
epatch "${WORKDIR}/patches"
|
||||||
|
|
||||||
|
# We can no longer unbundle all of rake because rubygems now depends
|
||||||
|
# on this. We leave the actual rake code around to bootstrap
|
||||||
|
# rubygems, but remove the bits that would cause a file collision.
|
||||||
|
einfo "Unbundling gems..."
|
||||||
|
cd "$S"
|
||||||
|
rm -r \
|
||||||
|
{bin,lib}/rake lib/rake.rb man/rake.1 \
|
||||||
|
bin/gem || die "removal failed"
|
||||||
|
|
||||||
|
# Fix a hardcoded lib path in configure script
|
||||||
|
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
|
||||||
|
configure.in || die "sed failed"
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf=
|
||||||
|
|
||||||
|
# The Tk module can no longer be built because the module code is no
|
||||||
|
# longer compatible with newer stable versions.
|
||||||
|
# https://bugs.gentoo.org/show_bug.cgi?id=500894
|
||||||
|
local modules="tk"
|
||||||
|
|
||||||
|
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||||
|
filter-flags -fomit-frame-pointer
|
||||||
|
# In many places aliasing rules are broken; play it safe
|
||||||
|
# as it's risky with newer compilers to leave it as it is.
|
||||||
|
append-flags -fno-strict-aliasing
|
||||||
|
# SuperH needs this
|
||||||
|
use sh && append-flags -mieee
|
||||||
|
|
||||||
|
# Socks support via dante
|
||||||
|
if use socks5 ; then
|
||||||
|
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||||
|
# set and socks library is present, so need to unset
|
||||||
|
# SOCKS_SERVER in that case.
|
||||||
|
unset SOCKS_SERVER
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||||
|
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||||
|
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||||
|
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||||
|
|
||||||
|
# Determine which modules *not* to build depending in the USE flags.
|
||||||
|
if ! use readline ; then
|
||||||
|
modules="${modules},readline"
|
||||||
|
fi
|
||||||
|
if ! use berkdb ; then
|
||||||
|
modules="${modules},dbm"
|
||||||
|
fi
|
||||||
|
if ! use gdbm ; then
|
||||||
|
modules="${modules},gdbm"
|
||||||
|
fi
|
||||||
|
if ! use ssl ; then
|
||||||
|
modules="${modules},openssl"
|
||||||
|
fi
|
||||||
|
if ! use ncurses ; then
|
||||||
|
modules="${modules},curses"
|
||||||
|
fi
|
||||||
|
|
||||||
|
INSTALL="${EPREFIX}/usr/bin/install -c" econf \
|
||||||
|
--program-suffix=${MY_SUFFIX} \
|
||||||
|
--with-soname=ruby${MY_SUFFIX} \
|
||||||
|
--docdir=${EPREFIX}/usr/share/doc/${P} \
|
||||||
|
--enable-shared \
|
||||||
|
--enable-pthread \
|
||||||
|
--disable-rpath \
|
||||||
|
--with-out-ext="${modules}" \
|
||||||
|
$(use_enable socks5 socks) \
|
||||||
|
$(use_enable doc install-doc) \
|
||||||
|
--enable-ipv6 \
|
||||||
|
$(use_enable debug) \
|
||||||
|
${myconf} \
|
||||||
|
--enable-option-checking=no \
|
||||||
|
|| die "econf failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
emake -j1 V=1 test || die "make test failed"
|
||||||
|
|
||||||
|
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||||
|
elog "that cannot be run until after ruby has been installed."
|
||||||
|
elog
|
||||||
|
if use rubytests; then
|
||||||
|
elog "You have enabled rubytests, so they will be installed to"
|
||||||
|
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||||
|
elog "than root, and you must place them into a writeable directory."
|
||||||
|
elog "Then call: "
|
||||||
|
elog
|
||||||
|
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||||
|
else
|
||||||
|
elog "Enable the rubytests USE flag to install the make check tests"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# Remove the remaining bundled gems. We do this late in the process
|
||||||
|
# since they are used during the build to e.g. create the
|
||||||
|
# documentation.
|
||||||
|
rm -rf ext/json || die
|
||||||
|
|
||||||
|
# Ruby is involved in the install process, we don't want interference here.
|
||||||
|
unset RUBYOPT
|
||||||
|
|
||||||
|
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||||
|
|
||||||
|
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||||
|
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||||
|
for d in $(find "${S}/ext" -type d) ; do
|
||||||
|
RUBYLIB="${RUBYLIB}:$d"
|
||||||
|
done
|
||||||
|
export LD_LIBRARY_PATH RUBYLIB
|
||||||
|
|
||||||
|
emake V=1 DESTDIR="${D}" install || die "make install failed"
|
||||||
|
|
||||||
|
# Remove installed rubygems copy
|
||||||
|
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||||
|
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||||
|
rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
make DESTDIR="${D}" install-doc || die "make install-doc failed"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use examples; then
|
||||||
|
insinto /usr/share/doc/${PF}
|
||||||
|
doins -r sample
|
||||||
|
fi
|
||||||
|
|
||||||
|
dodoc ChangeLog NEWS doc/NEWS* README* || die
|
||||||
|
|
||||||
|
if use rubytests; then
|
||||||
|
pushd test
|
||||||
|
insinto /usr/share/${PN}-${SLOT}/test
|
||||||
|
doins -r .
|
||||||
|
popd
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
|
||||||
|
eselect ruby set ruby${MY_SUFFIX}
|
||||||
|
fi
|
||||||
|
|
||||||
|
elog
|
||||||
|
elog "To switch between available Ruby profiles, execute as root:"
|
||||||
|
elog "\teselect ruby set ruby(19|20|...)"
|
||||||
|
elog
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
eselect ruby cleanup
|
||||||
|
}
|
@ -0,0 +1,57 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-libs/angelscript/angelscript-2.29.2.ebuild,v 1.1 2014/10/27 20:06:23 hasufell Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
inherit toolchain-funcs multilib-minimal
|
||||||
|
|
||||||
|
DESCRIPTION="A flexible, cross-platform scripting library"
|
||||||
|
HOMEPAGE="http://www.angelcode.com/angelscript/"
|
||||||
|
SRC_URI="http://www.angelcode.com/angelscript/sdk/files/angelscript_${PV}.zip"
|
||||||
|
|
||||||
|
LICENSE="ZLIB"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="doc static-libs"
|
||||||
|
|
||||||
|
DEPEND="app-arch/unzip"
|
||||||
|
|
||||||
|
S=${WORKDIR}/sdk
|
||||||
|
S2=${WORKDIR}/sdk_static
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
tc-export CXX AR RANLIB
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if use static-libs ; then
|
||||||
|
cp -pR "${WORKDIR}"/sdk "${S2}"/ || die
|
||||||
|
fi
|
||||||
|
epatch "${FILESDIR}"/${P}-execstack.patch
|
||||||
|
multilib_copy_sources
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
einfo "Shared build"
|
||||||
|
emake -C ${PN}/projects/gnuc SHARED=1 VERSION=${PV}
|
||||||
|
|
||||||
|
if use static-libs ; then
|
||||||
|
einfo "Static build"
|
||||||
|
emake -C ${PN}/projects/gnuc
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
doheader ${PN}/include/angelscript.h
|
||||||
|
dolib.so ${PN}/lib/libangelscript-${PV}.so
|
||||||
|
dosym libangelscript-${PV}.so /usr/$(get_libdir)/libangelscript.so
|
||||||
|
|
||||||
|
if use static-libs ; then
|
||||||
|
dolib.a ${PN}/lib/libangelscript.a
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
use doc && dohtml -r "${WORKDIR}"/sdk/docs/*
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
From: Julian Ospald <hasufell@gentoo.org>
|
||||||
|
Date: Sun Mar 23 13:45:39 UTC 2014
|
||||||
|
Subject: fix RWX sections
|
||||||
|
|
||||||
|
--- a/sdk/angelscript/source/as_callfunc_arm_gcc.S
|
||||||
|
+++ b/sdk/angelscript/source/as_callfunc_arm_gcc.S
|
||||||
|
@@ -696,3 +696,6 @@
|
||||||
|
|
||||||
|
#endif /* arm */
|
||||||
|
|
||||||
|
+#if defined(__linux__) && defined(__ELF__)
|
||||||
|
+.section .note.GNU-stack,"",%progbits
|
||||||
|
+#endif
|
@ -0,0 +1,22 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Algorithm-ClusterPoints/Algorithm-ClusterPoints-0.80.0.ebuild,v 1.1 2014/10/27 20:35:43 dilfridge Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
MODULE_AUTHOR=SALVA
|
||||||
|
MODULE_VERSION=0.08
|
||||||
|
inherit perl-module
|
||||||
|
|
||||||
|
DESCRIPTION='Find clusters inside a set of points'
|
||||||
|
LICENSE="|| ( Artistic GPL-2 )"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
RDEPEND=""
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/perl-ExtUtils-MakeMaker
|
||||||
|
test? ( virtual/perl-Test-Simple )
|
||||||
|
"
|
||||||
|
|
||||||
|
SRC_TEST="do"
|
@ -0,0 +1 @@
|
|||||||
|
DIST Algorithm-ClusterPoints-0.08.tar.gz 16870 SHA256 fdeed97c7032d221abd3cbe40b629c043de7ad5c6c9b848b1479d2b0622b95d3 SHA512 977379d5ba12b711988b2a39930b4f07829a822ce2b609f6afdcbe893886fa46fe92483978eac7173ff7b34fed1ae302b61175945364e5de6b330a4973998c01 WHIRLPOOL c36580e6313b2f8f4af93fb3022b2b1098e88f1cbb2b9d6efa984efb0f126a9342af44bd4f9e6aa4b8b17891367356977ffa0be950fc7f6a61db60985b55b9a6
|
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<herd>perl</herd>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="cpan">Algorithm-ClusterPoints</remote-id>
|
||||||
|
<remote-id type="cpan-module">Algorithm::ClusterPoints</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
@ -1,2 +1,3 @@
|
|||||||
DIST YAML-LibYAML-0.380.0-patches.tar.gz 619 SHA256 d582d2235aab928a0ba0b50486ea1ee4e7c8586d5fe49f9346ede76444b1131e SHA512 96aa389cee9ef34fa1f267b5f1abedc71bd1eb57a4d21b7f1d3ca1639213515625ee312bb278684f64991a0a61786ffc6f4d0adc46b776c530417dd17d8cff6c WHIRLPOOL dec1cd2e0c818676519a78e42852b19d699824927ea9cd41717fd544ece7fa87a40c1091da68d171f44dfddbddebf1e782ef07bbf913cf2faebe1b1ac96ed085
|
DIST YAML-LibYAML-0.380.0-patches.tar.gz 619 SHA256 d582d2235aab928a0ba0b50486ea1ee4e7c8586d5fe49f9346ede76444b1131e SHA512 96aa389cee9ef34fa1f267b5f1abedc71bd1eb57a4d21b7f1d3ca1639213515625ee312bb278684f64991a0a61786ffc6f4d0adc46b776c530417dd17d8cff6c WHIRLPOOL dec1cd2e0c818676519a78e42852b19d699824927ea9cd41717fd544ece7fa87a40c1091da68d171f44dfddbddebf1e782ef07bbf913cf2faebe1b1ac96ed085
|
||||||
DIST YAML-LibYAML-0.41.tar.gz 179218 SHA256 9a654427a3a63de434c6d03b18bba144cc7ba0f0e61a7100c6d08d77a90145ce SHA512 f978ed941d7642c14f33d08590ccbead0ec6243a37b2e48e937bd456512bd2c6d62357ed06990bbe16d8b31f4703b4d2ae7b8d72335dd0950d0c41baabf8ab08 WHIRLPOOL a17d0d1066b8092e701890c45e2911392d4c3cc44f7a9f7cdbe462a1f115f7e4494186b4be1158808cee40d1afa6615537730ae51089fc0a75ad7bfc0219e42a
|
DIST YAML-LibYAML-0.41.tar.gz 179218 SHA256 9a654427a3a63de434c6d03b18bba144cc7ba0f0e61a7100c6d08d77a90145ce SHA512 f978ed941d7642c14f33d08590ccbead0ec6243a37b2e48e937bd456512bd2c6d62357ed06990bbe16d8b31f4703b4d2ae7b8d72335dd0950d0c41baabf8ab08 WHIRLPOOL a17d0d1066b8092e701890c45e2911392d4c3cc44f7a9f7cdbe462a1f115f7e4494186b4be1158808cee40d1afa6615537730ae51089fc0a75ad7bfc0219e42a
|
||||||
|
DIST YAML-LibYAML-0.52.tar.gz 140142 SHA256 06c1b162c06ca6b7f76f7e86e3eb0f3b03870d43d2fa88c6975e8bb89c960a93 SHA512 7cda72d05a3c630e1a7c67a5aa5cb22f9a815351a2e89db2af6823d5e92104d323ecd6eef54a1e6f0223eadb8ede8f19c77d0ca2e02527bf1a616e37a954245e WHIRLPOOL cebb964a67084270bbe04d9b826cd5786136324b0c555ebf2c2e0851ca9e31519cad10386c0e4ff8c35207d0c41c2897df4c706581f762aae481eaf1eb4aa083
|
||||||
|
@ -0,0 +1,22 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-perl/YAML-LibYAML/YAML-LibYAML-0.520.0.ebuild,v 1.1 2014/10/27 20:41:25 dilfridge Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
MODULE_AUTHOR=INGY
|
||||||
|
MODULE_VERSION=0.52
|
||||||
|
inherit perl-module
|
||||||
|
|
||||||
|
DESCRIPTION='Perl YAML Serialization using XS and libyaml'
|
||||||
|
SRC_URI+=" http://dev.gentoo.org/~tove/distfiles/dev-perl/${PN}-0.380.0-patches.tar.gz"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
SRC_TEST="do"
|
||||||
|
PATCHES=(
|
||||||
|
"${WORKDIR}"/${PN}-patches/0.380.0-format_string_flaws.patch
|
||||||
|
)
|
||||||
|
export OPTIMIZE="$CFLAGS"
|
@ -0,0 +1,38 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/yard-0.8.7.6.ebuild,v 1.1 2014/10/27 17:44:18 mrueg Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
USE_RUBY="ruby19 ruby20 ruby21 jruby"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||||
|
RUBY_FAKEGEM_TASK_DOC="yard"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||||
|
RUBY_FAKEGEM_DOCDIR="doc docs"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_EXTRAINSTALL="templates"
|
||||||
|
|
||||||
|
inherit ruby-fakegem
|
||||||
|
|
||||||
|
DESCRIPTION="Documentation generation tool for the Ruby programming language"
|
||||||
|
HOMEPAGE="http://yardoc.org/"
|
||||||
|
|
||||||
|
# The gem lakes the gemspec file needed to pass tests.
|
||||||
|
SRC_URI="https://github.com/lsegal/yard/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
ruby_add_bdepend "doc? ( || ( dev-ruby/bluecloth dev-ruby/maruku dev-ruby/rdiscount dev-ruby/kramdown ) )
|
||||||
|
test? ( dev-ruby/rack )"
|
||||||
|
|
||||||
|
USE_RUBY="ruby19" ruby_add_bdepend "test? ( >=dev-ruby/ruby-gettext-2.3.8 )"
|
||||||
|
|
||||||
|
all_ruby_prepare() {
|
||||||
|
sed -i -e '/[Bb]undler/ s:^:#:' spec/spec_helper.rb || die
|
||||||
|
sed -i -e "s/require 'bundler'; rescue LoadError//" spec/cli/server_spec.rb || die
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST jenkins-bin-1.585.war 67939529 SHA256 1ba85e5c05fa6083b1642518c7628de51c4e61c34648787db4a8eb522344368e SHA512 568a7b2a6f5e946f1df79c8a93fd7b1708a94478e8616e230c8b32506e01134e726c6bb564eda37b00b7ea1127192e1d1d059719318cb58c94ae3ae677a9ab23 WHIRLPOOL df865daa51c02262435469b4e5ee24f53e1672b99ef070f9862c6016179c8235462e75c39af61f57f06d4423102af3ba658551dbdd3dc3d46baa7dbf4c253830
|
DIST jenkins-bin-1.565.3.war 67867391 SHA256 a7d6f7dfc39374490861499589d5b4dfff2538f663a4f50a69f22601bf5bba7f SHA512 cef127050b39b294f7fe7f3eb627adabac9b5469af0c9fd016064ce8ab7ef51c387b9b0b618d91cd9231a38ddffcf42e0599201a6627a7601a183d9c0b2fe1d0 WHIRLPOOL 8fdebc5704099335e6d55f8831e57eab7454abc2b16e8701dfd52e414f60b8f8c796d1f65f2c39b0d5e4adc7f7a14981c18acc8a5402a651d5bb58e9ba5d592a
|
||||||
|
DIST jenkins-bin-1.586.war 67995785 SHA256 d7959b5ac134aa6e49e577e824856c53966df400903ac5b0f31d6bf0a47eb8ba SHA512 5fe1c58f458a991cc8f9751ca9c77b374606e1e23c24528db9e1a65d0aafa620de17bc4dd3bf8580aac829a59d0f0b2bc9b17369f3d4e4fe121a8ff8d1bc1241 WHIRLPOOL 457badf5fbef9c4fe74d5c0bd54bc1d888f419af0bb04bde55651e4761a720c26b98d3e88498668ff5a8e669b2e24ad898b8acab3cf920f86a5afc95e2f7233c
|
||||||
|
@ -0,0 +1,45 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-util/jenkins-bin/jenkins-bin-1.565.3-r1.ebuild,v 1.1 2014/10/27 21:37:17 mrueg Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
inherit user
|
||||||
|
|
||||||
|
DESCRIPTION="Extensible continuous integration server"
|
||||||
|
HOMEPAGE="http://jenkins-ci.org/"
|
||||||
|
LICENSE="MIT"
|
||||||
|
SRC_URI="http://mirrors.jenkins-ci.org/war-stable/${PV}/${PN/-bin/}.war -> ${P}.war"
|
||||||
|
RESTRICT="mirror"
|
||||||
|
SLOT="lts"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND="media-fonts/dejavu"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
!dev-util/jenkins-bin:0
|
||||||
|
>=virtual/jdk-1.5"
|
||||||
|
|
||||||
|
S=${WORKDIR}
|
||||||
|
|
||||||
|
JENKINS_DIR=/var/lib/jenkins
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewgroup jenkins
|
||||||
|
enewuser jenkins -1 -1 ${JENKINS_DIR} jenkins
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
keepdir /var/log/jenkins ${JENKINS_DIR}/backup ${JENKINS_DIR}/home
|
||||||
|
|
||||||
|
insinto /opt/jenkins
|
||||||
|
newins "${DISTDIR}"/${P}.war ${PN/-bin/}.war
|
||||||
|
|
||||||
|
insinto /etc/logrotate.d
|
||||||
|
newins "${FILESDIR}"/${PN}.logrotate ${PN/-bin/}
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/${PN}.init2 jenkins
|
||||||
|
newconfd "${FILESDIR}"/${PN}.confd jenkins
|
||||||
|
|
||||||
|
fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
|
||||||
|
}
|
@ -1,36 +0,0 @@
|
|||||||
# Copyright 1999-2007 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/games-arcade/openmortal/openmortal-0.7.ebuild,v 1.7 2007/02/07 06:40:28 nyhm Exp $
|
|
||||||
|
|
||||||
inherit eutils games
|
|
||||||
|
|
||||||
DESCRIPTION="A spoof of the famous Mortal Kombat game"
|
|
||||||
HOMEPAGE="http://openmortal.sourceforge.net/"
|
|
||||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="media-libs/libsdl
|
|
||||||
media-libs/sdl-image
|
|
||||||
media-libs/sdl-mixer
|
|
||||||
media-libs/sdl-ttf
|
|
||||||
media-libs/sdl-net
|
|
||||||
>=media-libs/freetype-2.1.0
|
|
||||||
dev-lang/perl"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
cd "${S}"
|
|
||||||
epatch "${FILESDIR}/${P}"-gcc41.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install || die "emake install failed"
|
|
||||||
newicon data/gfx/icon.png ${PN}.png
|
|
||||||
make_desktop_entry ${PN} OpenMortal
|
|
||||||
dodoc AUTHORS ChangeLog README TODO
|
|
||||||
prepgamesdirs
|
|
||||||
}
|
|
@ -1,3 +1 @@
|
|||||||
DIST gnuchess-6.0.3.tar.gz 556445 SHA256 7c3a99c6c62f5dcc12c6fded9e91577ba2d327668b13b1af6169cc8b1a46ce05 SHA512 8f41108847a5c3ce63c824b2d0b29e5e47caa9561bc683565992dc0659c00e863d61be8f0ffbc7c6231d53c06cf7b4f0f6c29016ba6a6da535c1b408e43ef85b WHIRLPOOL 3aa6fbb84c2c7be8cefb661eb503a0442c562f7f5ad52ea7bf949e02b57cca215990f2cb5c700877487fda3b86a1182d204ca57027a59ff2fed61a212fe78aad
|
|
||||||
DIST gnuchess-6.1.1.tar.gz 699439 SHA256 76a24fb1e86cec886fa6ae0fd3e97c15d89ac78db6018defc8728788c3bb93c9 SHA512 b36289187d216596490b71988ac9425a8a47e39c84895c67313e015211f68da0a2acfbca3918ff6b1ac6b30a38444deece84d1395c47c7f66c9d473ed4c89be9 WHIRLPOOL e91ca133f132366a63aa9f1e88cb0b214a9441c39b68706b9f0525cbcf33fa48093c2dfa36ae25eba50ed46fd65cb7581bc52bd1108271955191fb644f88ef59
|
|
||||||
DIST gnuchess-6.1.2.tar.gz 720282 SHA256 14a1128f1cfa7d76a20d4f981d7e0dfc8e9da4548c1d754134a65ce65fe26696 SHA512 ae6625f2a5bd5a8e42fc3983dd42b8908250d4c6629423f84b147c879886163c6b2b7896494017a5242e9d951333941abd1fac6376dd43af28978870da68a043 WHIRLPOOL 1e9b61fe2b27327b47edfa945bf2b86daa23e3fddd370dd03f58dd87a5f955dbb58a35d442c6e16c62b1f1515a9f5903f72385adee32a5cac0cb9d70ce9b5a9e
|
DIST gnuchess-6.1.2.tar.gz 720282 SHA256 14a1128f1cfa7d76a20d4f981d7e0dfc8e9da4548c1d754134a65ce65fe26696 SHA512 ae6625f2a5bd5a8e42fc3983dd42b8908250d4c6629423f84b147c879886163c6b2b7896494017a5242e9d951333941abd1fac6376dd43af28978870da68a043 WHIRLPOOL 1e9b61fe2b27327b47edfa945bf2b86daa23e3fddd370dd03f58dd87a5f955dbb58a35d442c6e16c62b1f1515a9f5903f72385adee32a5cac0cb9d70ce9b5a9e
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/games-board/gnuchess/gnuchess-6.0.3.ebuild,v 1.6 2013/12/24 12:46:53 ago Exp $
|
|
||||||
|
|
||||||
EAPI=2
|
|
||||||
inherit flag-o-matic games
|
|
||||||
|
|
||||||
DESCRIPTION="Console based chess interface"
|
|
||||||
HOMEPAGE="http://www.gnu.org/software/chess/chess.html"
|
|
||||||
SRC_URI="mirror://gnu/chess/${P}.tar.gz"
|
|
||||||
|
|
||||||
KEYWORDS="amd64 ~arm ppc ppc64 x86"
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="readline"
|
|
||||||
|
|
||||||
DEPEND="readline? ( sys-libs/readline )"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
strip-flags # bug #199097
|
|
||||||
egamesconf \
|
|
||||||
--disable-dependency-tracking \
|
|
||||||
$(use_with readline)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install () {
|
|
||||||
emake DESTDIR="${D}" install || die "emake install failed"
|
|
||||||
dodoc AUTHORS ChangeLog NEWS TODO README || die
|
|
||||||
prepgamesdirs
|
|
||||||
|
|
||||||
mv "${D}"/usr/share/games/${PN}/{,small}book.bin || die
|
|
||||||
}
|
|
@ -1,25 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/games-board/gnuchess/gnuchess-6.1.1.ebuild,v 1.4 2014/08/13 09:16:24 ago Exp $
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
inherit flag-o-matic games
|
|
||||||
|
|
||||||
DESCRIPTION="Console based chess interface"
|
|
||||||
HOMEPAGE="http://www.gnu.org/software/chess/chess.html"
|
|
||||||
SRC_URI="mirror://gnu/chess/${P}.tar.gz"
|
|
||||||
|
|
||||||
KEYWORDS="amd64 ~arm ppc ~ppc64 x86"
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
strip-flags # bug #199097
|
|
||||||
egamesconf --without-readline # bug 491088
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install () {
|
|
||||||
default
|
|
||||||
prepgamesdirs
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST mj-1.12.1-src.tar.gz 402341 SHA256 6066a5e8fb629063313f1383db9c9d775c0f0ba390803f07ac6393cd03f2d0ce SHA512 442c02e32285d728b0c3e6a64847b6bbf4b838c9b18586f828553a05734fefa40e78fdd4ebabb028c0eba355836d822b395c57b307b947dc1027d50db2874540 WHIRLPOOL 4a384bd79fa1a314bf2165cdc8f16045f7aa906f099dd4bd786ad1d3eb89aa289594991deaf7542733b08f6906b9d19f44ca61a08d36f140f502d531518abd34
|
|
||||||
DIST mj-1.14-src.tar.gz 414414 SHA256 976c9e0e11b78066cd74568992ff5382930711d7536bb11c9fa6877366c63dd6 SHA512 b4c631ce388041475b877cd4b413fda200932aea19212c00cb606d2ef0bb6a498fe12b7b52b04ef744b296c37c531bc44d9e35f9aed44edf89651580acde91e5 WHIRLPOOL 7a3550330dca726b333622902e2d7934ab8d99fac5a34ffa6676f28e14ee99b98196875d29bd06e102743f52c1e9e301997baac988d2fc93dd2daf8a173253d6
|
DIST mj-1.14-src.tar.gz 414414 SHA256 976c9e0e11b78066cd74568992ff5382930711d7536bb11c9fa6877366c63dd6 SHA512 b4c631ce388041475b877cd4b413fda200932aea19212c00cb606d2ef0bb6a498fe12b7b52b04ef744b296c37c531bc44d9e35f9aed44edf89651580acde91e5 WHIRLPOOL 7a3550330dca726b333622902e2d7934ab8d99fac5a34ffa6676f28e14ee99b98196875d29bd06e102743f52c1e9e301997baac988d2fc93dd2daf8a173253d6
|
||||||
|
@ -1,47 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/games-board/mah-jong/mah-jong-1.12.1.ebuild,v 1.5 2014/05/16 01:06:38 mr_bones_ Exp $
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
inherit eutils toolchain-funcs games
|
|
||||||
|
|
||||||
MY_P="mj-${PV}-src"
|
|
||||||
DESCRIPTION="A networked Mah Jong program, together with a computer player"
|
|
||||||
HOMEPAGE="http://www.stevens-bradfield.com/MahJong/"
|
|
||||||
SRC_URI="http://mahjong.julianbradfield.org/Source/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="x11-libs/gtk+:2"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-lang/perl"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i -e '/^.TH/ s/1/6/' xmj.man || die
|
|
||||||
sed -i \
|
|
||||||
-e "/^DESTDIR =/ s:=.*:= ${D}:" \
|
|
||||||
-e "/^BINDIR =/ s:=.*:= ${GAMES_BINDIR}:" \
|
|
||||||
-e '/^MANDIR =/ s:man/man1:/usr/share/man/man6:' \
|
|
||||||
-e '/^MANSUFFIX =/ s:1:6:' \
|
|
||||||
-e "/^CC =/ s:gcc:$(tc-getCC):" \
|
|
||||||
-e "/^CFLAGS =/ s:=:= ${CFLAGS}:" \
|
|
||||||
-e "/^LDLIBS =/ s:$:${LDFLAGS} -lm:" \
|
|
||||||
-e '/^INSTPGMFLAGS =/ s:-s::' \
|
|
||||||
-e '/^CDEBUGFLAGS =/d' \
|
|
||||||
-e "/^TILESETPATH=/ s:NULL:\"${GAMES_DATADIR}/${PN}/\":" Makefile || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake install install.man
|
|
||||||
insinto "${GAMES_DATADIR}/${PN}"
|
|
||||||
doins -r fallbacktiles/ tiles-numbered/ tiles-small/
|
|
||||||
newicon tiles-v1/tongE.xpm ${PN}.xpm
|
|
||||||
make_desktop_entry xmj Mah-Jong ${PN}
|
|
||||||
dodoc CHANGES ChangeLog *.txt
|
|
||||||
prepgamesdirs
|
|
||||||
}
|
|
@ -1,49 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/games-board/pioneers/pioneers-15.1.ebuild,v 1.6 2014/08/13 09:15:22 ago Exp $
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
inherit autotools eutils gnome-games
|
|
||||||
|
|
||||||
DESCRIPTION="A clone of the popular board game The Settlers of Catan"
|
|
||||||
HOMEPAGE="http://pio.sourceforge.net/"
|
|
||||||
SRC_URI="mirror://sourceforge/pio/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc x86"
|
|
||||||
IUSE="help nls"
|
|
||||||
|
|
||||||
# dev-util/gob only for autoreconf
|
|
||||||
RDEPEND=">=dev-libs/glib-2.6:2
|
|
||||||
>=x11-libs/gtk+-2.6:2
|
|
||||||
x11-libs/libnotify
|
|
||||||
help? (
|
|
||||||
>=app-text/scrollkeeper-0.3.8
|
|
||||||
>=gnome-base/libgnome-2.10
|
|
||||||
)
|
|
||||||
nls? ( virtual/libintl )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-util/gob:2
|
|
||||||
virtual/pkgconfig
|
|
||||||
nls? ( sys-devel/gettext )"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}"/${P}-build.patch
|
|
||||||
eautoreconf
|
|
||||||
gnome2_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
gnome-games_src_configure \
|
|
||||||
$(use_enable nls) \
|
|
||||||
--enable-minimal-flags \
|
|
||||||
$(use_with help) \
|
|
||||||
--includedir=/usr/include
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
DOCS="AUTHORS ChangeLog README TODO NEWS" \
|
|
||||||
gnome2_src_install scrollkeeper_localstate_dir="${ED%/}"/var/lib/scrollkeeper/
|
|
||||||
prepgamesdirs
|
|
||||||
}
|
|
@ -0,0 +1,271 @@
|
|||||||
|
Author: hasufell <hasufell@gentoo.org>
|
||||||
|
Date: Tue Jan 21 01:02:00 2014 +0100
|
||||||
|
|
||||||
|
fix multiple abi support
|
||||||
|
|
||||||
|
--- renpy.py
|
||||||
|
+++ renpy.py
|
||||||
|
@@ -29,92 +29,9 @@
|
||||||
|
import sys
|
||||||
|
import warnings
|
||||||
|
|
||||||
|
-# Functions to be customized by distributors. ################################
|
||||||
|
-
|
||||||
|
-# Given the Ren'Py base directory (usually the directory containing
|
||||||
|
-# this file), this is expected to return the path to the common directory.
|
||||||
|
-def path_to_common(renpy_base):
|
||||||
|
- return renpy_base + "/renpy/common"
|
||||||
|
-
|
||||||
|
-# Given a directory holding a Ren'Py game, this is expected to return
|
||||||
|
-# the path to a directory that will hold save files.
|
||||||
|
-def path_to_saves(gamedir):
|
||||||
|
- import renpy #@UnresolvedImport
|
||||||
|
-
|
||||||
|
- # Makes sure the permissions are right on the save directory.
|
||||||
|
- def test_writable(d):
|
||||||
|
- try:
|
||||||
|
- fn = os.path.join(d, "test.txt")
|
||||||
|
- open(fn, "w").close()
|
||||||
|
- open(fn, "r").close()
|
||||||
|
- os.unlink(fn)
|
||||||
|
- return True
|
||||||
|
- except:
|
||||||
|
- return False
|
||||||
|
-
|
||||||
|
-
|
||||||
|
- # Android.
|
||||||
|
- if renpy.android:
|
||||||
|
- paths = [
|
||||||
|
- os.path.join(os.environ["ANDROID_OLD_PUBLIC"], "game/saves"),
|
||||||
|
- os.path.join(os.environ["ANDROID_PRIVATE"], "saves"),
|
||||||
|
- os.path.join(os.environ["ANDROID_PUBLIC"], "saves"),
|
||||||
|
- ]
|
||||||
|
-
|
||||||
|
- for rv in paths:
|
||||||
|
- if os.path.isdir(rv) and test_writable(rv):
|
||||||
|
- break
|
||||||
|
-
|
||||||
|
- print "Using savedir", rv
|
||||||
|
-
|
||||||
|
- # We return the last path as the default.
|
||||||
|
-
|
||||||
|
- return rv
|
||||||
|
-
|
||||||
|
-
|
||||||
|
- # No save directory given.
|
||||||
|
- if not renpy.config.save_directory:
|
||||||
|
- return gamedir + "/saves"
|
||||||
|
-
|
||||||
|
- # Search the path above Ren'Py for a directory named "Ren'Py Data".
|
||||||
|
- # If it exists, then use that for our save directory.
|
||||||
|
- path = renpy.config.renpy_base
|
||||||
|
-
|
||||||
|
- while True:
|
||||||
|
- if os.path.isdir(path + "/Ren'Py Data"):
|
||||||
|
- return path + "/Ren'Py Data/" + renpy.config.save_directory
|
||||||
|
-
|
||||||
|
- newpath = os.path.dirname(path)
|
||||||
|
- if path == newpath:
|
||||||
|
- break
|
||||||
|
- path = newpath
|
||||||
|
-
|
||||||
|
- # Otherwise, put the saves in a platform-specific location.
|
||||||
|
- if renpy.macintosh:
|
||||||
|
- rv = "~/Library/RenPy/" + renpy.config.save_directory
|
||||||
|
- return os.path.expanduser(rv)
|
||||||
|
-
|
||||||
|
- elif renpy.windows:
|
||||||
|
- if 'APPDATA' in os.environ:
|
||||||
|
- return os.environ['APPDATA'] + "/RenPy/" + renpy.config.save_directory
|
||||||
|
- else:
|
||||||
|
- rv = "~/RenPy/" + renpy.config.save_directory
|
||||||
|
- return os.path.expanduser(rv)
|
||||||
|
-
|
||||||
|
- else:
|
||||||
|
- rv = "~/.renpy/" + renpy.config.save_directory
|
||||||
|
- return os.path.expanduser(rv)
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-# Returns the path to the Ren'Py base directory (containing common and
|
||||||
|
-# the launcher, usually.)
|
||||||
|
-def path_to_renpy_base():
|
||||||
|
- renpy_base = os.path.dirname(os.path.realpath(sys.argv[0]))
|
||||||
|
- renpy_base = os.path.abspath(renpy_base)
|
||||||
|
-
|
||||||
|
- return renpy_base
|
||||||
|
-
|
||||||
|
-##############################################################################
|
||||||
|
+from distutils.sysconfig import get_python_lib
|
||||||
|
+sys.path.append(get_python_lib() + "/renpy@SLOT@")
|
||||||
|
+import renpy.common as common
|
||||||
|
|
||||||
|
# The version of the Mac Launcher and py4renpy that we require.
|
||||||
|
macos_version = (6, 14, 0)
|
||||||
|
@@ -142,7 +59,7 @@
|
||||||
|
|
||||||
|
def main():
|
||||||
|
|
||||||
|
- renpy_base = path_to_renpy_base()
|
||||||
|
+ renpy_base = common.path_to_renpy_base()
|
||||||
|
|
||||||
|
# Add paths.
|
||||||
|
if os.path.exists(renpy_base + "/module"):
|
||||||
|
--- /dev/null
|
||||||
|
+++ renpy/common.py
|
||||||
|
@@ -0,0 +1,127 @@
|
||||||
|
+# This file is part of Ren'Py. The license below applies to Ren'Py only.
|
||||||
|
+# Games and other projects that use Ren'Py may use a different license.
|
||||||
|
+
|
||||||
|
+# Copyright 2004-2014 Tom Rothamel <pytom@bishoujo.us>
|
||||||
|
+#
|
||||||
|
+# Permission is hereby granted, free of charge, to any person
|
||||||
|
+# obtaining a copy of this software and associated documentation files
|
||||||
|
+# (the "Software"), to deal in the Software without restriction,
|
||||||
|
+# including without limitation the rights to use, copy, modify, merge,
|
||||||
|
+# publish, distribute, sublicense, and/or sell copies of the Software,
|
||||||
|
+# and to permit persons to whom the Software is furnished to do so,
|
||||||
|
+# subject to the following conditions:
|
||||||
|
+#
|
||||||
|
+# The above copyright notice and this permission notice shall be
|
||||||
|
+# included in all copies or substantial portions of the Software.
|
||||||
|
+#
|
||||||
|
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
+# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
+# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||||
|
+# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||||
|
+# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
+# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
+
|
||||||
|
+import os
|
||||||
|
+import sys
|
||||||
|
+import warnings
|
||||||
|
+from distutils.sysconfig import get_python_lib
|
||||||
|
+
|
||||||
|
+# Functions to be customized by distributors. ################################
|
||||||
|
+
|
||||||
|
+# Given the Ren'Py base directory (usually the directory containing
|
||||||
|
+# this file), this is expected to return the path to the common directory.
|
||||||
|
+def path_to_common(renpy_base):
|
||||||
|
+ return renpy_base + "/renpy/common"
|
||||||
|
+
|
||||||
|
+# Given a directory holding a Ren'Py game, this is expected to return
|
||||||
|
+# the path to a directory that will hold save files.
|
||||||
|
+def path_to_saves(gamedir):
|
||||||
|
+ import renpy #@UnresolvedImport
|
||||||
|
+
|
||||||
|
+ # Makes sure the permissions are right on the save directory.
|
||||||
|
+ def test_writable(d):
|
||||||
|
+ try:
|
||||||
|
+ fn = os.path.join(d, "test.txt")
|
||||||
|
+ open(fn, "w").close()
|
||||||
|
+ open(fn, "r").close()
|
||||||
|
+ os.unlink(fn)
|
||||||
|
+ return True
|
||||||
|
+ except:
|
||||||
|
+ return False
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+ # Makes sure the permissions are right on the save directory.
|
||||||
|
+ def test_writable(d):
|
||||||
|
+ try:
|
||||||
|
+ fn = os.path.join(d, "test.txt")
|
||||||
|
+ open(fn, "w").close()
|
||||||
|
+ open(fn, "r").close()
|
||||||
|
+ os.unlink(fn)
|
||||||
|
+ return True
|
||||||
|
+ except:
|
||||||
|
+ return False
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+ # Android.
|
||||||
|
+ if renpy.android:
|
||||||
|
+ paths = [
|
||||||
|
+ os.path.join(os.environ["ANDROID_OLD_PUBLIC"], "game/saves"),
|
||||||
|
+ os.path.join(os.environ["ANDROID_PRIVATE"], "saves"),
|
||||||
|
+ os.path.join(os.environ["ANDROID_PUBLIC"], "saves"),
|
||||||
|
+ ]
|
||||||
|
+
|
||||||
|
+ for rv in paths:
|
||||||
|
+ if os.path.isdir(rv) and test_writable(rv):
|
||||||
|
+ break
|
||||||
|
+
|
||||||
|
+ print "Using savedir", rv
|
||||||
|
+
|
||||||
|
+ # We return the last path as the default.
|
||||||
|
+
|
||||||
|
+ return rv
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+ # No save directory given.
|
||||||
|
+ if not renpy.config.save_directory:
|
||||||
|
+ return gamedir + "/saves"
|
||||||
|
+
|
||||||
|
+ # Search the path above Ren'Py for a directory named "Ren'Py Data".
|
||||||
|
+ # If it exists, then use that for our save directory.
|
||||||
|
+ path = renpy.config.renpy_base
|
||||||
|
+
|
||||||
|
+ while True:
|
||||||
|
+ if os.path.isdir(path + "/Ren'Py Data"):
|
||||||
|
+ return path + "/Ren'Py Data/" + renpy.config.save_directory
|
||||||
|
+
|
||||||
|
+ newpath = os.path.dirname(path)
|
||||||
|
+ if path == newpath:
|
||||||
|
+ break
|
||||||
|
+ path = newpath
|
||||||
|
+
|
||||||
|
+ # Otherwise, put the saves in a platform-specific location.
|
||||||
|
+ if renpy.macintosh:
|
||||||
|
+ rv = "~/Library/RenPy/" + renpy.config.save_directory
|
||||||
|
+ return os.path.expanduser(rv)
|
||||||
|
+
|
||||||
|
+ elif renpy.windows:
|
||||||
|
+ if 'APPDATA' in os.environ:
|
||||||
|
+ return os.environ['APPDATA'] + "/RenPy/" + renpy.config.save_directory
|
||||||
|
+ else:
|
||||||
|
+ rv = "~/RenPy/" + renpy.config.save_directory
|
||||||
|
+ return os.path.expanduser(rv)
|
||||||
|
+
|
||||||
|
+ else:
|
||||||
|
+ rv = "~/.renpy/" + renpy.config.save_directory
|
||||||
|
+ return os.path.expanduser(rv)
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+# Returns the path to the Ren'Py base directory (containing common and
|
||||||
|
+# the launcher, usually.)
|
||||||
|
+def path_to_renpy_base():
|
||||||
|
+ renpy_base = os.path.dirname(os.path.realpath(sys.argv[0]))
|
||||||
|
+ renpy_base = get_python_lib() + "/renpy@SLOT@"
|
||||||
|
+ renpy_base = os.path.abspath(renpy_base)
|
||||||
|
+
|
||||||
|
+ return renpy_base
|
||||||
|
--- renpy/main.py
|
||||||
|
+++ renpy/main.py
|
||||||
|
@@ -25,7 +25,7 @@ import os
|
||||||
|
import sys
|
||||||
|
import time
|
||||||
|
import zipfile
|
||||||
|
-import __main__
|
||||||
|
+import renpy.common as common
|
||||||
|
|
||||||
|
|
||||||
|
def run(restart):
|
||||||
|
@@ -167,7 +167,7 @@ def main():
|
||||||
|
renpy.config.searchpath = [ renpy.config.gamedir ]
|
||||||
|
|
||||||
|
# Find the common directory.
|
||||||
|
- commondir = __main__.path_to_common(renpy.config.renpy_base) # E1101 @UndefinedVariable
|
||||||
|
+ commondir = common.path_to_common(renpy.config.renpy_base) # E1101 @UndefinedVariable
|
||||||
|
|
||||||
|
if os.path.isdir(commondir):
|
||||||
|
renpy.config.searchpath.append(commondir)
|
||||||
|
@@ -230,7 +230,7 @@ def main():
|
||||||
|
|
||||||
|
# Find the save directory.
|
||||||
|
if renpy.config.savedir is None:
|
||||||
|
- renpy.config.savedir = __main__.path_to_saves(renpy.config.gamedir) # E1101 @UndefinedVariable
|
||||||
|
+ renpy.config.savedir = common.path_to_saves(renpy.config.gamedir) # E1101 @UndefinedVariable
|
||||||
|
|
||||||
|
if renpy.game.args.savedir: #@UndefinedVariable
|
||||||
|
renpy.config.savedir = renpy.game.args.savedir #@UndefinedVariable
|
@ -0,0 +1,111 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/games-engines/renpy/renpy-6.18.3.ebuild,v 1.1 2014/10/27 20:12:15 hasufell Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
PYTHON_COMPAT=( python2_7 )
|
||||||
|
DISTUTILS_IN_SOURCE_BUILD=1
|
||||||
|
inherit eutils toolchain-funcs python-r1 versionator gnome2-utils games distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Visual novel engine written in python"
|
||||||
|
HOMEPAGE="http://www.renpy.org"
|
||||||
|
SRC_URI="http://www.renpy.org/dl/${PV}/${P}-source.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="$(get_version_component_range 1-2)"
|
||||||
|
MYSLOT=$(delete_all_version_separators ${SLOT})
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="development doc examples"
|
||||||
|
REQUIRED_USE="examples? ( development )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=app-admin/eselect-renpy-0.5
|
||||||
|
dev-libs/fribidi
|
||||||
|
dev-python/pygame[X,${PYTHON_USEDEP}]
|
||||||
|
>=dev-lang/python-exec-0.3[${PYTHON_USEDEP}]
|
||||||
|
media-libs/glew
|
||||||
|
media-libs/libpng:0
|
||||||
|
media-libs/libsdl[X,video]
|
||||||
|
media-libs/freetype:2
|
||||||
|
sys-libs/zlib
|
||||||
|
virtual/ffmpeg"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-python/cython[${PYTHON_USEDEP}]
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
S=${WORKDIR}/${P}-source
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
games_pkg_setup
|
||||||
|
export CFLAGS="${CFLAGS} $($(tc-getPKG_CONFIG) --cflags fribidi)"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# wooosh! this should fix multiple abi
|
||||||
|
epatch "${FILESDIR}"/${P}-multiple-abi.patch
|
||||||
|
|
||||||
|
einfo "Deleting precompiled python files"
|
||||||
|
find . -name '*.py[co]' -print -delete || die
|
||||||
|
|
||||||
|
sed -i \
|
||||||
|
-e "s/@SLOT@/${MYSLOT}/" \
|
||||||
|
renpy.py renpy/common.py || die "setting slot failed!"
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_compile() {
|
||||||
|
cd "${S}"/module || die
|
||||||
|
distutils-r1_python_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install() {
|
||||||
|
cd "${S}"/module || die
|
||||||
|
distutils-r1_python_install --install-lib="$(python_get_sitedir)/renpy${MYSLOT}"
|
||||||
|
|
||||||
|
cd "${S}" || die
|
||||||
|
python_scriptinto "${GAMES_BINDIR}"
|
||||||
|
python_newscript renpy.py ${PN}-${SLOT}
|
||||||
|
|
||||||
|
python_moduleinto renpy${MYSLOT}
|
||||||
|
python_domodule renpy
|
||||||
|
if use development ; then
|
||||||
|
python_domodule launcher templates
|
||||||
|
fi
|
||||||
|
if use examples ; then
|
||||||
|
python_domodule the_question tutorial
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
if use development; then
|
||||||
|
newicon -s 32 launcher/game/images/logo32.png ${P}.png
|
||||||
|
make_desktop_entry ${PN}-${SLOT} "Ren'Py ${PV}" ${P}
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
dohtml -r doc
|
||||||
|
fi
|
||||||
|
|
||||||
|
prepgamesdirs
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
games_pkg_preinst
|
||||||
|
use development && gnome2_icon_savelist
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
games_pkg_postinst
|
||||||
|
use development && gnome2_icon_cache_update
|
||||||
|
|
||||||
|
einfo "running: eselect renpy update --if-unset"
|
||||||
|
eselect renpy update --if-unset
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
use development && gnome2_icon_cache_update
|
||||||
|
|
||||||
|
einfo "running: eselect renpy update --if-unset"
|
||||||
|
eselect renpy update --if-unset
|
||||||
|
}
|
@ -0,0 +1,49 @@
|
|||||||
|
From 88579f929f0fc777762de1ad0895264ad077e0ee Mon Sep 17 00:00:00 2001
|
||||||
|
From: hasufell <hasufell@gentoo.org>
|
||||||
|
Date: Mon, 27 Oct 2014 20:48:03 +0100
|
||||||
|
Subject: [PATCH 2/2] Use pkg-config for linking to ncurses
|
||||||
|
|
||||||
|
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=527034
|
||||||
|
---
|
||||||
|
source/Makefile | 14 ++++++--------
|
||||||
|
1 file changed, 6 insertions(+), 8 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/source/Makefile b/source/Makefile
|
||||||
|
index df51e70..2db2781 100644
|
||||||
|
--- a/source/Makefile
|
||||||
|
+++ b/source/Makefile
|
||||||
|
@@ -956,17 +956,15 @@ endif
|
||||||
|
# Your ncurses library may include Unicode support, and you may not have a
|
||||||
|
# separate libncursesw; this is the case on Mac OS/Darwin.
|
||||||
|
ifdef LIBNCURSES_IS_UNICODE
|
||||||
|
-NC_LIB = ncurses
|
||||||
|
-NC_INCLUDE = $(NC_PREFIX)/include/ncurses
|
||||||
|
+NC_LIBS = $(shell $(PKGCONFIG) --lib ncurses 2>/dev/null || echo "-L$(NC_PREFIX)/lib -lncurses")
|
||||||
|
+NC_CFLAGS = $(shell $(PKGCONFIG) --cflags ncurses 2>/dev/null || echo "-isystem $(NC_PREFIX)/include/ncurses")
|
||||||
|
else
|
||||||
|
-NC_LIB = ncursesw
|
||||||
|
-NC_INCLUDE = $(NC_PREFIX)/include/ncursesw
|
||||||
|
+NC_LIBS = $(shell $(PKGCONFIG) --lib ncursesw || echo "-L$(NC_PREFIX)/lib -lncursesw")
|
||||||
|
+NC_CFLAGS = $(shell $(PKGCONFIG) --cflags ncursesw 2>/dev/null || echo "-isystem $(NC_PREFIX)/include/ncursesw")
|
||||||
|
endif
|
||||||
|
|
||||||
|
-INCLUDES_L += -isystem $(NC_INCLUDE)
|
||||||
|
-
|
||||||
|
ifndef TILES
|
||||||
|
-LIBS += -L$(NC_PREFIX)/lib -l$(NC_LIB)
|
||||||
|
+LIBS += $(NC_LIBS)
|
||||||
|
endif
|
||||||
|
|
||||||
|
endif
|
||||||
|
@@ -1111,7 +1109,7 @@ CFLAGS := $(CFOPTIMIZE) $(CFOTHERS) $(CFWARN) $(CFLAGS)
|
||||||
|
else
|
||||||
|
CFLAGS := $(CFOPTIMIZE) $(CFOTHERS) $(CFWARN)
|
||||||
|
endif
|
||||||
|
-CFLAGS_L := $(CFOPTIMIZE_L) $(DEFINES_L) $(CFWARN_L) $(INCLUDES_L) $(CFOTHERS_L)
|
||||||
|
+CFLAGS_L := $(CFOPTIMIZE_L) $(DEFINES_L) $(CFWARN_L) $(INCLUDES_L) $(CFOTHERS_L) $(NC_CFLAGS)
|
||||||
|
ALL_CFLAGS := $(CFLAGS) $(CFLAGS_L)
|
||||||
|
YACC_CFLAGS := $(ALL_CFLAGS) -Wno-unused-function -Wno-sign-compare -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0
|
||||||
|
|
||||||
|
--
|
||||||
|
2.1.2
|
||||||
|
|
@ -0,0 +1,110 @@
|
|||||||
|
From 14abbe4e6c888148caecbf16231ae48499d6d2b2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: hasufell <hasufell@gentoo.org>
|
||||||
|
Date: Mon, 27 Oct 2014 20:39:50 +0100
|
||||||
|
Subject: [PATCH 1/2] respect flags and compiler
|
||||||
|
|
||||||
|
---
|
||||||
|
source/Makefile | 5 ++---
|
||||||
|
source/rltiles/Makefile | 22 +++++++++++-----------
|
||||||
|
2 files changed, 13 insertions(+), 14 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/source/Makefile b/source/Makefile
|
||||||
|
index db39bd9..df51e70 100644
|
||||||
|
--- a/source/Makefile
|
||||||
|
+++ b/source/Makefile
|
||||||
|
@@ -101,7 +101,7 @@ include Makefile.obj
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
-CFOTHERS := -pipe $(EXTERNAL_FLAGS)
|
||||||
|
+CFOTHERS := $(EXTERNAL_FLAGS)
|
||||||
|
CFWARN := -Wall -Wformat-security
|
||||||
|
CFWARN_L := -Wundef
|
||||||
|
|
||||||
|
@@ -770,7 +770,6 @@ ifdef FULLDEBUG
|
||||||
|
DEFINES += -DFULLDEBUG
|
||||||
|
endif
|
||||||
|
ifdef DEBUG
|
||||||
|
-CFOTHERS := -ggdb $(CFOTHERS)
|
||||||
|
DEFINES += -DDEBUG
|
||||||
|
endif
|
||||||
|
ifndef NOWIZARD
|
||||||
|
@@ -1559,7 +1558,7 @@ ifdef ANDROID
|
||||||
|
# prove that tiles were generated properly
|
||||||
|
grep tile_info rltiles/*.cc| head
|
||||||
|
else
|
||||||
|
- +$(MAKE) -C $(RLTILES) all ARCH=$(ARCH) TILES=$(TILES)$(WEBTILES)
|
||||||
|
+ +$(MAKE) -C $(RLTILES) all V=$(V) ARCH=$(ARCH) DEBUG=$(DEBUG) TILES=$(TILES)$(WEBTILES)
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(TILEDEFSRCS) $(TILEDEFHDRS) $(ORIGTILEFILES): build-rltiles
|
||||||
|
diff --git a/source/rltiles/Makefile b/source/rltiles/Makefile
|
||||||
|
index aacd551..41b3ebe 100644
|
||||||
|
--- a/source/rltiles/Makefile
|
||||||
|
+++ b/source/rltiles/Makefile
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
|
uname_S := $(shell uname -s)
|
||||||
|
|
||||||
|
ifneq (,$(findstring MINGW,$(uname_S)))
|
||||||
|
-LDFLAGS += -lmingw32
|
||||||
|
+LIBS += -lmingw32
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Note: since generation of tiles is done on the host, we don't care about
|
||||||
|
@@ -10,7 +10,7 @@ endif
|
||||||
|
# Also, cross-compilation with no system libraries for host rather than target
|
||||||
|
# is not supported. If host=target, contribs are enough.
|
||||||
|
|
||||||
|
-CFLAGS := -O2 -g -Wall -Wextra -Wno-parentheses -Wno-unused-parameter
|
||||||
|
+CXXFLAGS := -Wall -Wextra -Wno-parentheses -Wno-unused-parameter
|
||||||
|
|
||||||
|
ifdef ANDROID
|
||||||
|
CXXFLAGS :=
|
||||||
|
@@ -35,24 +35,24 @@ ifdef TILES
|
||||||
|
PNG_LIB := ../contrib/install/$(ARCH)/lib/libpng.a ../contrib/install/$(ARCH)/lib/libz.a
|
||||||
|
endif
|
||||||
|
|
||||||
|
- CFLAGS += $(SDL_CFLAGS) $(PNG_INCLUDE)
|
||||||
|
- LDFLAGS += $(SDL_LDFLAGS) $(PNG_LIB)
|
||||||
|
+ CXXFLAGS += $(SDL_CFLAGS) $(PNG_INCLUDE)
|
||||||
|
+ LIBS += $(SDL_LDFLAGS) $(PNG_LIB)
|
||||||
|
|
||||||
|
- CFLAGS += -DUSE_TILE
|
||||||
|
+ CXXFLAGS += -DUSE_TILE
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifdef DEBUG
|
||||||
|
-CFLAGS += -O0 -DDEBUG -ggdb
|
||||||
|
+CXXFLAGS += -DDEBUG
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(findstring MINGW,$(uname_S)))
|
||||||
|
-LDFLAGS += -lgdi32 -lwinmm
|
||||||
|
+LIBS += -lgdi32 -lwinmm
|
||||||
|
endif
|
||||||
|
ifeq ($(uname_S),Darwin)
|
||||||
|
LDFLAGS += -framework AppKit -framework AudioUnit -framework Carbon -framework IOKit -framework OpenGL
|
||||||
|
endif
|
||||||
|
ifeq ($(uname_S),Linux)
|
||||||
|
-LDFLAGS += -ldl -lpthread
|
||||||
|
+LIBS += -ldl -lpthread
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Attempt to use a full compiler name, to make
|
||||||
|
@@ -137,10 +137,10 @@ clean:
|
||||||
|
|
||||||
|
distclean: clean
|
||||||
|
|
||||||
|
-%.o: %.cc .cflags
|
||||||
|
- $(QUIET_HOSTCXX)$(HOSTCXX) $(CFLAGS) -MMD -c $< -o $@
|
||||||
|
+%.o: %.cc
|
||||||
|
+ $(QUIET_HOSTLINK)$(HOSTCXX) $(CXXFLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
$(TILEGEN): $(OBJECTS)
|
||||||
|
- $(QUIET_HOSTLINK)$(HOSTCXX) $(OBJECTS) -o $@ $(LDFLAGS)
|
||||||
|
+ $(QUIET_HOSTLINK)$(HOSTCXX) $(CXXFLAGS) $(OBJECTS) -o $@ $(LDFLAGS) $(LIBS)
|
||||||
|
|
||||||
|
.PHONY: all clean distclean
|
||||||
|
--
|
||||||
|
2.1.2
|
||||||
|
|
@ -0,0 +1,163 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/stone-soup/stone-soup-0.15.2.ebuild,v 1.1 2014/10/27 19:59:02 hasufell Exp $
|
||||||
|
|
||||||
|
## TODO
|
||||||
|
# add sound support (no build switch, no sound files)
|
||||||
|
|
||||||
|
# cross compiling is severly broken
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
VIRTUALX_REQUIRED="manual"
|
||||||
|
inherit eutils gnome2-utils virtualx toolchain-funcs games
|
||||||
|
|
||||||
|
MY_P="stone_soup-${PV}"
|
||||||
|
DESCRIPTION="Dungeon Crawl Stone Soup is a role-playing roguelike game of exploration and treasure-hunting in dungeons"
|
||||||
|
HOMEPAGE="http://crawl.develz.org/wordpress/"
|
||||||
|
SRC_URI="mirror://sourceforge/crawl-ref/Stone%20Soup/${PV}/${MY_P}.tar.xz
|
||||||
|
http://dev.gentoo.org/~hasufell/distfiles/${PN}.png
|
||||||
|
http://dev.gentoo.org/~hasufell/distfiles/${PN}.svg"
|
||||||
|
|
||||||
|
# 3-clause BSD: mt19937ar.cc, MSVC/stdint.h
|
||||||
|
# 2-clause BSD: all contributions by Steve Noonan and Jesse Luehrs
|
||||||
|
# Public Domain|CC0: most of tiles
|
||||||
|
# MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/
|
||||||
|
LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="debug luajit ncurses test +tiles"
|
||||||
|
# test is broken
|
||||||
|
# see https://crawl.develz.org/mantis/view.php?id=6121
|
||||||
|
#RESTRICT="!debug? ( test )"
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-db/sqlite:3
|
||||||
|
luajit? ( >=dev-lang/luajit-2.0.0 )
|
||||||
|
sys-libs/zlib
|
||||||
|
!ncurses? ( !tiles? ( sys-libs/ncurses ) )
|
||||||
|
ncurses? ( sys-libs/ncurses )
|
||||||
|
tiles? (
|
||||||
|
media-fonts/dejavu
|
||||||
|
media-libs/freetype:2
|
||||||
|
media-libs/libpng:0
|
||||||
|
media-libs/libsdl[X,opengl,video]
|
||||||
|
media-libs/sdl-image[png]
|
||||||
|
virtual/glu
|
||||||
|
virtual/opengl
|
||||||
|
)"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-lang/perl
|
||||||
|
sys-devel/flex
|
||||||
|
virtual/pkgconfig
|
||||||
|
virtual/yacc
|
||||||
|
tiles? (
|
||||||
|
sys-libs/ncurses
|
||||||
|
test? ( ${VIRTUALX_DEPEND} )
|
||||||
|
)"
|
||||||
|
|
||||||
|
S=${WORKDIR}/${MY_P}/source
|
||||||
|
S_TEST=${WORKDIR}/${MY_P}_test/source
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
games_pkg_setup
|
||||||
|
if use !ncurses && use !tiles ; then
|
||||||
|
ewarn "Neither ncurses nor tiles frontend"
|
||||||
|
ewarn "selected, choosing ncurses only."
|
||||||
|
ewarn "Note that you can also enable both."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
epatch "${FILESDIR}"/${P}-respect-flags-and-compiler.patch \
|
||||||
|
"${FILESDIR}"/${P}-Use-pkg-config-for-linking-to-ncurses.patch
|
||||||
|
|
||||||
|
rm -r contrib/{fonts,freetype,libpng,pcre,sdl,sdl-image,sqlite,zlib} || die
|
||||||
|
|
||||||
|
# if use test ; then
|
||||||
|
# cp -av "${WORKDIR}/${MY_P}" "${WORKDIR}/${MY_P}_test" \
|
||||||
|
# || die "setting up test-dir failed"
|
||||||
|
# fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
export HOSTCXX=$(tc-getBUILD_CXX)
|
||||||
|
|
||||||
|
# leave DATADIR at the top
|
||||||
|
myemakeargs=(
|
||||||
|
$(usex luajit "" "BUILD_LUA=yes") # luajit is not bundled
|
||||||
|
USE_LUAJIT=$(usex luajit "yes" "")
|
||||||
|
DATADIR="${GAMES_DATADIR}/${PN}"
|
||||||
|
V=1
|
||||||
|
prefix="${GAMES_PREFIX}"
|
||||||
|
SAVEDIR="~/.crawl"
|
||||||
|
$(usex debug "FULLDEBUG=y DEBUG=y" "")
|
||||||
|
CFOPTIMIZE="${CXXFLAGS}"
|
||||||
|
LDFLAGS="${LDFLAGS}"
|
||||||
|
MAKEOPTS="${MAKEOPTS}"
|
||||||
|
AR="$(tc-getAR)"
|
||||||
|
RANLIB="$(tc-getRANLIB)"
|
||||||
|
CC="$(tc-getCC)"
|
||||||
|
CXX="$(tc-getCXX)"
|
||||||
|
PKGCONFIG="$(tc-getPKG_CONFIG)"
|
||||||
|
STRIP=touch
|
||||||
|
)
|
||||||
|
|
||||||
|
if use ncurses || (use !ncurses && use !tiles) ; then
|
||||||
|
emake "${myemakeargs[@]}"
|
||||||
|
# move it in case we build both variants
|
||||||
|
use tiles && { mv crawl "${WORKDIR}"/crawl-ncurses || die ;}
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use tiles ; then
|
||||||
|
emake clean
|
||||||
|
emake "${myemakeargs[@]}" "TILES=y"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# for test to work we need to compile with unset DATADIR
|
||||||
|
# if use test ; then
|
||||||
|
# emake ${myemakeargs[@]:1} -C "${S_TEST}"
|
||||||
|
# fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake "${myemakeargs[@]}" $(usex tiles "TILES=y" "") DESTDIR="${D}" prefix_fp="" bin_prefix="${D}${GAMES_BINDIR}" install
|
||||||
|
[[ -e "${WORKDIR}"/crawl-ncurses ]] && dogamesbin "${WORKDIR}"/crawl-ncurses
|
||||||
|
|
||||||
|
# don't relocate docs, needed at runtime
|
||||||
|
rm -rf "${D}${GAMES_DATADIR}"/${PN}/docs/license
|
||||||
|
dodoc "${WORKDIR}"/${MY_P}/README.{txt,pdf}
|
||||||
|
|
||||||
|
# icons and menu for graphical build
|
||||||
|
if use tiles ; then
|
||||||
|
doicon -s 48 "${DISTDIR}"/${PN}.png
|
||||||
|
doicon -s scalable "${DISTDIR}"/${PN}.svg
|
||||||
|
make_desktop_entry crawl
|
||||||
|
fi
|
||||||
|
|
||||||
|
prepgamesdirs
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
$(usex tiles "X" "")emake "${myemakeargs[@]:1}" -C "${S_TEST}" test
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
games_pkg_preinst
|
||||||
|
gnome2_icon_savelist
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
games_pkg_postinst
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
|
||||||
|
if use tiles && use ncurses ; then
|
||||||
|
elog "Since you have enabled both tiles and ncurses frontends"
|
||||||
|
elog "the ncurses binary is called 'crawl-ncurses' and the"
|
||||||
|
elog "tiles binary is called 'crawl'."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
@ -1,6 +1,3 @@
|
|||||||
DIST simulinux-112-3.zip 3071766 SHA256 2ca8375b44b433e7034dd17515d1f8319d4a04e18960d0d8c828cf7603199e92 SHA512 9e051989761d0c469b070af99b95ad04f1f96e85513664d5ff13b564404bed579217d90f92e5e80069288d0e5db0887a1f1ca9a62250895a58f63ad592d62e7c WHIRLPOOL f2a844e981ec4db115ef9e36e18e8bce8f494063d4d3d1e13e56c9837c382d6559954ef2002e26a40accf82da088aa5cd91001ac7f834134f50472840692b920
|
DIST simulinux-112-3.zip 3071766 SHA256 2ca8375b44b433e7034dd17515d1f8319d4a04e18960d0d8c828cf7603199e92 SHA512 9e051989761d0c469b070af99b95ad04f1f96e85513664d5ff13b564404bed579217d90f92e5e80069288d0e5db0887a1f1ca9a62250895a58f63ad592d62e7c WHIRLPOOL f2a844e981ec4db115ef9e36e18e8bce8f494063d4d3d1e13e56c9837c382d6559954ef2002e26a40accf82da088aa5cd91001ac7f834134f50472840692b920
|
||||||
DIST simulinux-complete-102-2-2.zip 6115022 SHA256 0f7752b7625ecfe18ab29f724321249ca9cc49cc9e05e392b3d19190188a6c98 SHA512 9af231cdc7c254030b061b3f11a09bbfba6569c57757a3589036eb8ee980531877911d44626d5a663fe6cf209a913e7f66a7a480f141aa7c518dabae01e0feb1 WHIRLPOOL e3fa7745f08619c9c8944c7046d18ef539e4ecee98a63645ef93799b5722a881fa4e3f0f4e78a9e1d5ba4225894f15002fcfb0ffbac870585fabffc0f363380c
|
|
||||||
DIST simupak64-112-3.zip 4117394 SHA256 dc443d9ddc1f36e10435f672a03f86d4ad83e33926045b14664f6d2580b56e8b SHA512 7e5997efb52c36a1871e25ca3f278088aa5450f6ba4abb447dd3881438bda4473571166b79719cb8b5879f878538e74c5375683b8d76ddbdd5c575de690c44a9 WHIRLPOOL aa92bd5882827e6c1cb54a99bf92ff6251c31fb37072457b802d499e47e3b3ea5ff52592e56d04d71c6e1e8b2588c57c195793233a0b5322247651a2a3b02d6a
|
DIST simupak64-112-3.zip 4117394 SHA256 dc443d9ddc1f36e10435f672a03f86d4ad83e33926045b14664f6d2580b56e8b SHA512 7e5997efb52c36a1871e25ca3f278088aa5450f6ba4abb447dd3881438bda4473571166b79719cb8b5879f878538e74c5375683b8d76ddbdd5c575de690c44a9 WHIRLPOOL aa92bd5882827e6c1cb54a99bf92ff6251c31fb37072457b802d499e47e3b3ea5ff52592e56d04d71c6e1e8b2588c57c195793233a0b5322247651a2a3b02d6a
|
||||||
DIST simupak64-addon-food-102-2-1.zip 113454 SHA256 7add9c3e3dc3959c6a39776043a16beb92f6f59190fcae25b29e367c17e24607 SHA512 162ee13cf56d2ec248f4cceb4083586a5029fefb08d4a848ddd73fea114671d7b88267baefd10b63e2d3e4559d1cdef7cd7203e8d931ed5cebddcac6cf23a80d WHIRLPOOL a57cca9e1210c688ce4f0e048de9f0a487b87bbfecaf06e964baeadc2ec18a5456c3f37b04b1b73ee3fca72aa880915c79e832be231a0dfd13baa8d551108aef
|
|
||||||
DIST simutrans-src-102-2-2.zip 2498680 SHA256 b105013ba180706a4790eddf19e007e1955c4ef7daa1c90fb6aaa48c28134351 SHA512 8206c19723a5497b8f156ac9efde402eae15055d7ebf2ce0e6fb9bf2a1cb220a13f601a42583eb252cb362f0641d5c58d8d9afaab3b5ee182f7e9e180d024a4c WHIRLPOOL 1aacf2bb99c6c84d41cfac304a59e195a3cb970e4876273d4d0c9278250da803f7fec9bb92d459530e374a947753631189c553b53422799a5bc921ecc7ace45b
|
|
||||||
DIST simutrans-src-112-3.zip 1677347 SHA256 8aa9ded7ac65587d65070b950b50f4094b7f77d33d263d1b821a0fe9f214b849 SHA512 0d63da8bed2298dd4516caea748a10c7c27eec2fb00ced9c76600ec93a975a01efa0fe7b4c8f8a5dc9e035b8c1dcf1f7772dfec54594f41efb8c4790d4da99e9 WHIRLPOOL 7ed9310d49339421fed2c4ca8098f21d367de7ad2d933d1d56d5c25542995657f1a98b34066464fbf916ffa4903338bd519fd1e15437017d7899bc2b4c4466f1
|
DIST simutrans-src-112-3.zip 1677347 SHA256 8aa9ded7ac65587d65070b950b50f4094b7f77d33d263d1b821a0fe9f214b849 SHA512 0d63da8bed2298dd4516caea748a10c7c27eec2fb00ced9c76600ec93a975a01efa0fe7b4c8f8a5dc9e035b8c1dcf1f7772dfec54594f41efb8c4790d4da99e9 WHIRLPOOL 7ed9310d49339421fed2c4ca8098f21d367de7ad2d933d1d56d5c25542995657f1a98b34066464fbf916ffa4903338bd519fd1e15437017d7899bc2b4c4466f1
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
--- tpl/slist_tpl.h.old 2011-05-09 14:01:02.299244745 +0200
|
|
||||||
+++ tpl/slist_tpl.h 2011-05-09 14:01:39.973619614 +0200
|
|
||||||
@@ -8,6 +8,7 @@
|
|
||||||
#ifndef tpl_slist_tpl_h
|
|
||||||
#define tpl_slist_tpl_h
|
|
||||||
|
|
||||||
+#include <cstddef>
|
|
||||||
#include <iterator>
|
|
||||||
#include <typeinfo>
|
|
||||||
#include "../dataobj/freelist.h"
|
|
@ -1,59 +0,0 @@
|
|||||||
--- gui/curiositylist_stats_t.cc.old 2012-10-04 08:46:47.623621825 +0200
|
|
||||||
+++ gui/curiositylist_stats_t.cc 2012-10-04 08:47:12.429854860 +0200
|
|
||||||
@@ -151,7 +151,8 @@
|
|
||||||
get_unique_attractions( sortby, sortreverse );
|
|
||||||
}
|
|
||||||
|
|
||||||
- for (uint32 i=0; i<attractions.get_count() && yoff<end; i++) {
|
|
||||||
+ uint32 i;
|
|
||||||
+ for (i=0; i<attractions.get_count() && yoff<end; i++) {
|
|
||||||
const gebaeude_t* geb = attractions[i];
|
|
||||||
|
|
||||||
int xoff = offset.x+10;
|
|
||||||
--- tpl/hashtable_tpl.h.old 2012-10-03 13:51:30.558014602 +0200
|
|
||||||
+++ tpl/hashtable_tpl.h 2012-10-03 17:18:43.988237496 +0200
|
|
||||||
@@ -48,7 +48,7 @@
|
|
||||||
while(iter.next()) {
|
|
||||||
node_t node = iter.get_current();
|
|
||||||
|
|
||||||
- if(comp(node.key, key) == 0) {
|
|
||||||
+ if(this->comp(node.key, key) == 0) {
|
|
||||||
return node.object;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -61,7 +61,7 @@
|
|
||||||
while(iter.next()) {
|
|
||||||
node_t &node = iter.access_current();
|
|
||||||
|
|
||||||
- if(comp(node.key, key) == 0) {
|
|
||||||
+ if(this->comp(node.key, key) == 0) {
|
|
||||||
return &node.object;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -84,7 +84,7 @@
|
|
||||||
while(iter.next()) {
|
|
||||||
node_t &node = iter.access_current();
|
|
||||||
|
|
||||||
- if(comp(node.key, key) == 0) {
|
|
||||||
+ if(this->comp(node.key, key) == 0) {
|
|
||||||
// duplicate
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
@@ -111,7 +111,7 @@
|
|
||||||
|
|
||||||
while(iter.next()) {
|
|
||||||
node_t &node = iter.access_current();
|
|
||||||
- if(comp(node.key, key) == 0) {
|
|
||||||
+ if(this->comp(node.key, key) == 0) {
|
|
||||||
value_t value = node.object;
|
|
||||||
node.object = object;
|
|
||||||
return value;
|
|
||||||
@@ -138,7 +138,7 @@
|
|
||||||
|
|
||||||
while(iter.next()) {
|
|
||||||
node_t node = iter.get_current();
|
|
||||||
- if(comp(node.key, key) == 0) {
|
|
||||||
+ if(this->comp(node.key, key) == 0) {
|
|
||||||
bags[code].remove( node );
|
|
||||||
|
|
||||||
return node.object;
|
|
@ -1,69 +0,0 @@
|
|||||||
--- dataobj/loadsave.cc.old 2012-03-23 20:37:16.071335099 +0100
|
|
||||||
+++ dataobj/loadsave.cc 2012-03-23 20:39:53.600282699 +0100
|
|
||||||
@@ -82,7 +82,7 @@
|
|
||||||
if(fp==NULL) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
- gzgets(fp, buf, 80);
|
|
||||||
+ gzgets((gzFile)fp, buf, 80);
|
|
||||||
}
|
|
||||||
saving = false;
|
|
||||||
|
|
||||||
@@ -237,11 +237,11 @@
|
|
||||||
}
|
|
||||||
if(is_zipped()) {
|
|
||||||
int err_no;
|
|
||||||
- const char *err_str = gzerror( fp, &err_no );
|
|
||||||
+ const char *err_str = gzerror((gzFile)fp, &err_no );
|
|
||||||
if(err_no!=Z_OK && err_no!=Z_STREAM_END) {
|
|
||||||
success = err_no==Z_ERRNO ? strerror(errno) : err_str;
|
|
||||||
}
|
|
||||||
- gzclose(fp);
|
|
||||||
+ gzclose((gzFile)fp);
|
|
||||||
}
|
|
||||||
else if( is_bzip2() ) {
|
|
||||||
if( saving ) {
|
|
||||||
@@ -280,7 +280,7 @@
|
|
||||||
return bse!=BZ_OK;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
- return gzeof(fp) != 0;
|
|
||||||
+ return gzeof((gzFile)fp) != 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -288,7 +288,7 @@
|
|
||||||
void loadsave_t::lsputc(int c)
|
|
||||||
{
|
|
||||||
if(is_zipped()) {
|
|
||||||
- gzputc(fp, c);
|
|
||||||
+ gzputc((gzFile)fp, c);
|
|
||||||
}
|
|
||||||
else if(is_bzip2()) {
|
|
||||||
uint8 ch = c;
|
|
||||||
@@ -309,14 +309,14 @@
|
|
||||||
return bse==BZ_OK ? c[0] : -1;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
- return gzgetc(fp);
|
|
||||||
+ return gzgetc((gzFile)fp);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
long loadsave_t::write(const void *buf, size_t len)
|
|
||||||
{
|
|
||||||
if(is_zipped()) {
|
|
||||||
- return gzwrite(fp, const_cast<void *>(buf), len);
|
|
||||||
+ return gzwrite((gzFile)fp, const_cast<void *>(buf), len);
|
|
||||||
}
|
|
||||||
else if(is_bzip2()) {
|
|
||||||
BZ2_bzWrite( &bse, bzfp, const_cast<void *>(buf), len);
|
|
||||||
@@ -338,7 +338,7 @@
|
|
||||||
return (long)len&~(bse-BZ_OK);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
- return gzread(fp, buf, len);
|
|
||||||
+ return gzread((gzFile)fp, buf, len);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,68 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/games-simulation/simutrans/simutrans-0.102.2.2.ebuild,v 1.7 2014/05/15 17:01:35 ulm Exp $
|
|
||||||
|
|
||||||
EAPI=2
|
|
||||||
inherit flag-o-matic eutils games
|
|
||||||
|
|
||||||
MY_PV=${PV/0./}
|
|
||||||
MY_PV=${MY_PV//./-}
|
|
||||||
MY_FOOD_PV=${MY_PV/%-2/-1}
|
|
||||||
DESCRIPTION="A free Transport Tycoon clone"
|
|
||||||
HOMEPAGE="http://www.simutrans.com/"
|
|
||||||
SRC_URI="mirror://sourceforge/simutrans/simutrans-src-${MY_PV}.zip
|
|
||||||
mirror://sourceforge/simutrans/simulinux-complete-${MY_PV}.zip
|
|
||||||
mirror://sourceforge/simutrans/simupak64-addon-food-${MY_FOOD_PV}.zip"
|
|
||||||
|
|
||||||
LICENSE="Artistic"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="-* amd64 x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="media-libs/libsdl[sound,video]
|
|
||||||
sys-libs/zlib
|
|
||||||
media-libs/libpng
|
|
||||||
media-libs/sdl-mixer"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
app-arch/unzip"
|
|
||||||
|
|
||||||
S=${WORKDIR}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
strip-flags # bug #293927
|
|
||||||
echo "BACKEND=mixer_sdl
|
|
||||||
COLOUR_DEPTH=16
|
|
||||||
OSTYPE=linux
|
|
||||||
FLAGS=-DSTEPS16" > config.default \
|
|
||||||
|| die "echo failed"
|
|
||||||
|
|
||||||
if use amd64; then
|
|
||||||
echo "FLAGS+=-DUSE_C" >> config.default
|
|
||||||
fi
|
|
||||||
# make it look in the install location for the data
|
|
||||||
sed -i \
|
|
||||||
-e "s:argv\[0\]:\"${GAMES_DATADIR}/${PN}/\":" \
|
|
||||||
simmain.cc \
|
|
||||||
|| die "sed failed"
|
|
||||||
|
|
||||||
# Please don't override our CFLAGS, kthx
|
|
||||||
sed -i \
|
|
||||||
-e '/-O$/d' \
|
|
||||||
Makefile \
|
|
||||||
|| die "sed failed"
|
|
||||||
|
|
||||||
rm -f simutrans/simutrans
|
|
||||||
epatch "${FILESDIR}"/${P}-gcc46.patch \
|
|
||||||
"${FILESDIR}"/${P}-gcc47.patch \
|
|
||||||
"${FILESDIR}"/${P}-zlib.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
newgamesbin sim ${PN} || die "dogamesbin failed"
|
|
||||||
insinto "${GAMES_DATADIR}"/${PN}
|
|
||||||
doins -r simutrans/* || die "doins failed"
|
|
||||||
dodoc documentation/* todo.txt
|
|
||||||
doicon simutrans.ico
|
|
||||||
make_desktop_entry simutrans Simutrans /usr/share/pixmaps/simutrans.ico
|
|
||||||
prepgamesdirs
|
|
||||||
}
|
|
@ -1,3 +1,2 @@
|
|||||||
DIST freeciv-2.3.4.tar.bz2 31395893 SHA256 084c10c50c06166177c9864b5610eaf36dca3808e3d3a7da8ef7ae927d56c41c SHA512 51d89321cf7b5b08d2338f8d76051ebde745c85e4ebad21b9ff2109696edfdc79ad43d7f8d2bf989400ce5e71f28127835dc4b4e60635fb71ebb3a2fb149269a WHIRLPOOL afcb5543049059d87503451c7d82abe6be765406fe3aba13fa01dec430062c4ed51c39b42827fb863a37c0b9737962f9557c6069f9d7be1efbd851c18268b6ce
|
DIST freeciv-2.3.4.tar.bz2 31395893 SHA256 084c10c50c06166177c9864b5610eaf36dca3808e3d3a7da8ef7ae927d56c41c SHA512 51d89321cf7b5b08d2338f8d76051ebde745c85e4ebad21b9ff2109696edfdc79ad43d7f8d2bf989400ce5e71f28127835dc4b4e60635fb71ebb3a2fb149269a WHIRLPOOL afcb5543049059d87503451c7d82abe6be765406fe3aba13fa01dec430062c4ed51c39b42827fb863a37c0b9737962f9557c6069f9d7be1efbd851c18268b6ce
|
||||||
DIST freeciv-2.4.2.tar.bz2 38545497 SHA256 025d3cf51237a0c12422a5f100460a22ce1236b650a1e73cbd1c13c0b0676ce0 SHA512 de2b409b113c0da4cb3279d31f6525e94c9123806e71b183639ac8f7ed5af58520109cf3ce7561637146a11c4d2aa44c74818a7445824c399297009722d98a7c WHIRLPOOL eab5eb1120d325ebfd09be3250f79deea9c9b1208b5dc0b30df5675882594546305b47bd35178a7bc518868be999a2315cd21c3017aa6df26846deea9ab8d2e6
|
|
||||||
DIST freeciv-2.4.3.tar.bz2 38815762 SHA256 7f107fe3b09f37934410dc7a64ac1b99a95997ddf53da53933b75d4da79fa899 SHA512 7abed9b3c0f65aa5ed856080a6da68152a8fe9ea285a070858f9a92ec32fb27bfb48fb77b7098a23bbf3e092c982ed455b6ea795230295c9d14f4832378ee3ba WHIRLPOOL 8f83c02ed5954a2ffcb522110543877251199650834e27d014ff4bab783d8d7d8283c7ef95d573c8af2860dd4884ea9878b6f4a0e3fbe8bcde1349af4f242705
|
DIST freeciv-2.4.3.tar.bz2 38815762 SHA256 7f107fe3b09f37934410dc7a64ac1b99a95997ddf53da53933b75d4da79fa899 SHA512 7abed9b3c0f65aa5ed856080a6da68152a8fe9ea285a070858f9a92ec32fb27bfb48fb77b7098a23bbf3e092c982ed455b6ea795230295c9d14f4832378ee3ba WHIRLPOOL 8f83c02ed5954a2ffcb522110543877251199650834e27d014ff4bab783d8d7d8283c7ef95d573c8af2860dd4884ea9878b6f4a0e3fbe8bcde1349af4f242705
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
--- server/Makefile.in
|
|
||||||
+++ server/Makefile.in
|
|
||||||
@@ -610,7 +610,7 @@
|
|
||||||
$(top_builddir)/server/scripting/libscripting_server.la
|
|
||||||
|
|
||||||
libfreeciv_srv_la_LIBADD = \
|
|
||||||
- $(srvlibs)
|
|
||||||
+ $(srvlibs) $(SERVER_LIBS)
|
|
||||||
|
|
||||||
freeciv_server_LDFLAGS = $(GGZDMOD_LDFLAGS)
|
|
||||||
freeciv_server_LDADD = \
|
|
@ -1,181 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/freeciv-2.4.2.ebuild,v 1.5 2014/06/04 05:03:42 mr_bones_ Exp $
|
|
||||||
|
|
||||||
# FIXME: gtk3 support breaks ggz support
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
inherit eutils gnome2-utils games-ggz games
|
|
||||||
|
|
||||||
DESCRIPTION="multiplayer strategy game (Civilization Clone)"
|
|
||||||
HOMEPAGE="http://www.freeciv.org/"
|
|
||||||
SRC_URI="mirror://sourceforge/freeciv/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
|
||||||
IUSE="auth aimodules dedicated ggz +gtk ipv6 mapimg modpack mysql nls postgres readline sdl +server +sound sqlite"
|
|
||||||
|
|
||||||
RDEPEND="app-arch/bzip2
|
|
||||||
app-arch/xz-utils
|
|
||||||
dev-lang/lua
|
|
||||||
net-misc/curl
|
|
||||||
sys-libs/zlib
|
|
||||||
auth? (
|
|
||||||
mysql? ( virtual/mysql )
|
|
||||||
postgres? ( dev-db/postgresql-base )
|
|
||||||
sqlite? ( dev-db/sqlite:3 )
|
|
||||||
!mysql? ( !postgres? ( !sqlite? ( virtual/mysql ) ) )
|
|
||||||
)
|
|
||||||
readline? ( sys-libs/readline:0 )
|
|
||||||
dedicated? ( aimodules? ( sys-devel/libtool:2 ) )
|
|
||||||
!dedicated? (
|
|
||||||
media-libs/libpng:0
|
|
||||||
ggz? ( games-board/ggz-gtk-client )
|
|
||||||
gtk? ( x11-libs/gtk+:2 )
|
|
||||||
mapimg? ( media-gfx/imagemagick )
|
|
||||||
modpack? ( x11-libs/gtk+:2 )
|
|
||||||
nls? ( virtual/libintl )
|
|
||||||
sdl? (
|
|
||||||
media-libs/libsdl[video]
|
|
||||||
media-libs/sdl-image[png]
|
|
||||||
media-libs/freetype:2
|
|
||||||
)
|
|
||||||
server? ( aimodules? ( sys-devel/libtool:2 ) )
|
|
||||||
sound? (
|
|
||||||
media-libs/libsdl[sound]
|
|
||||||
media-libs/sdl-mixer[vorbis]
|
|
||||||
)
|
|
||||||
!sdl? ( !gtk? ( x11-libs/gtk+:2 ) )
|
|
||||||
)"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
virtual/pkgconfig
|
|
||||||
!dedicated? (
|
|
||||||
x11-proto/xextproto
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
)"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
if use !dedicated && use !server ; then
|
|
||||||
ewarn "Disabling server USE flag will make it impossible"
|
|
||||||
ewarn "to start local games, but you will still be able to"
|
|
||||||
ewarn "join multiplayer games."
|
|
||||||
fi
|
|
||||||
games_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}"/${P}-as-needed.patch
|
|
||||||
|
|
||||||
# install the .desktop in /usr/share/applications
|
|
||||||
# install the icons in /usr/share/pixmaps
|
|
||||||
sed -i \
|
|
||||||
-e 's:^.*\(desktopfiledir = \).*:\1/usr/share/applications:' \
|
|
||||||
-e 's:^\(icon[0-9]*dir = \)$(prefix)\(.*\):\1/usr\2:' \
|
|
||||||
-e 's:^\(icon[0-9]*dir = \)$(datadir)\(.*\):\1/usr/share\2:' \
|
|
||||||
client/Makefile.in \
|
|
||||||
server/Makefile.in \
|
|
||||||
modinst/Makefile.in \
|
|
||||||
data/Makefile.in \
|
|
||||||
data/icons/Makefile.in \
|
|
||||||
|| die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myclient myopts mydatabase
|
|
||||||
|
|
||||||
if use auth ; then
|
|
||||||
if use !mysql && use !postgres && use !sqlite ; then
|
|
||||||
einfo "No database backend chosen, defaulting"
|
|
||||||
einfo "to mysql!"
|
|
||||||
mydatabase=mysql
|
|
||||||
else
|
|
||||||
use mysql && mydatabase="${mydatabase} mysql"
|
|
||||||
use postgres && mydatabase="${mydatabase} postgres"
|
|
||||||
use sqlite && mydatabase="${mydatabase} sqlite3"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
mydatabase=no
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use dedicated ; then
|
|
||||||
myclient="no"
|
|
||||||
myopts="--enable-server"
|
|
||||||
else
|
|
||||||
if use !sdl && use !gtk ; then
|
|
||||||
einfo "No client backend given, defaulting to"
|
|
||||||
einfo "gtk2 client!"
|
|
||||||
myclient="gtk2"
|
|
||||||
else
|
|
||||||
use sdl && myclient="${myclient} sdl"
|
|
||||||
use gtk && myclient="${myclient} gtk2"
|
|
||||||
fi
|
|
||||||
myopts="$(use_enable server) $(use_with ggz ggz-client)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# disabling shared libs will break aimodules USE flag
|
|
||||||
egamesconf \
|
|
||||||
--localedir=/usr/share/locale \
|
|
||||||
$(use_enable ipv6) \
|
|
||||||
$(use_enable mapimg) \
|
|
||||||
--enable-aimodules="$(usex aimodules "yes" "no")" \
|
|
||||||
--enable-shared \
|
|
||||||
--enable-fcdb="${mydatabase}" \
|
|
||||||
--with-ggzconfig=/usr/bin \
|
|
||||||
--enable-noregistry="${GGZ_MODDIR}" \
|
|
||||||
$(use_enable nls) \
|
|
||||||
$(use_with readline) \
|
|
||||||
$(use_enable sound sdl-mixer) \
|
|
||||||
--enable-fcmp="$(usex modpack "gtk2" "no")" \
|
|
||||||
--enable-sys-lua \
|
|
||||||
${myopts} \
|
|
||||||
--enable-client="${myclient}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install
|
|
||||||
|
|
||||||
if use dedicated ; then
|
|
||||||
rm -rf "${D}/usr/share/pixmaps"
|
|
||||||
rm -f "${D}"/usr/share/man/man6/freeciv-{client,gtk2,gtk3,modpack,sdl,xaw}*
|
|
||||||
else
|
|
||||||
if use server ; then
|
|
||||||
# Create and install the html manual. It can't be done for dedicated
|
|
||||||
# servers, because the 'freeciv-manual' tool is then not built. Also
|
|
||||||
# delete freeciv-manual from the GAMES_BINDIR, because it's useless.
|
|
||||||
# Note: to have it localized, it should be ran from _postinst, or
|
|
||||||
# something like that, but then it's a PITA to avoid orphan files...
|
|
||||||
./manual/freeciv-manual || die
|
|
||||||
dohtml manual*.html
|
|
||||||
fi
|
|
||||||
if use sdl ; then
|
|
||||||
make_desktop_entry freeciv-sdl "Freeciv (SDL)" freeciv-client
|
|
||||||
else
|
|
||||||
rm -f "${D}"/usr/share/man/man6/freeciv-sdl*
|
|
||||||
fi
|
|
||||||
rm -f "${D}"/usr/share/man/man6/freeciv-xaw*
|
|
||||||
fi
|
|
||||||
find "${D}" -name "freeciv-manual*" -delete
|
|
||||||
|
|
||||||
dodoc ChangeLog NEWS doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,README*,TODO}
|
|
||||||
rm -f "${D}$(games_get_libdir)"/*.a
|
|
||||||
prune_libtool_files --all
|
|
||||||
|
|
||||||
prepgamesdirs
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
games_pkg_preinst
|
|
||||||
gnome2_icon_savelist
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
games_pkg_postinst
|
|
||||||
games-ggz_update_modules
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
games-ggz_update_modules
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST nml-0.2.4.src.tar.gz 271892 SHA256 6619a28fd3d359a8881f137bd15af5ca89a75061e94ab7649155cc2434e7d862 SHA512 920ee18a904aeefab76329575487d70693f7e87553fa233672a0ca530ae40f74387354097ce5bf36dadb4e2e3b735a0a37a44895b436dce7f59d4c8d37c0869f WHIRLPOOL dc9b7934e3f4c756b4db68f43bc6f3b7e981d86ddd2ec821bb8a6e9f2624c7ea42a46977023039170c3545b231121f766f56d56c19475ae1b3b89839ec31a2b1
|
|
||||||
DIST nml-0.3.1.tar.gz 365761 SHA256 976fb7fe89870e170d58f103e3ba1b602d96e3464b9bd91150e2aaf471272d27 SHA512 0c23476ee28a9f85a276790d644840982fa70741de8f2111e2db2abb022e55a810b762567fbf4d7e9c051012cccbac76f940ebdab797572a15b88d9cdeca4a35 WHIRLPOOL 8b8cb0e359c7e50f59b0e04ef79d8ff53f4cef59fb62dafc68c683d6c13f0ca7f8006825aad7c852aa3033afc9b97945448e061d26e71b647ef57730a329f917
|
DIST nml-0.3.1.tar.gz 365761 SHA256 976fb7fe89870e170d58f103e3ba1b602d96e3464b9bd91150e2aaf471272d27 SHA512 0c23476ee28a9f85a276790d644840982fa70741de8f2111e2db2abb022e55a810b762567fbf4d7e9c051012cccbac76f940ebdab797572a15b88d9cdeca4a35 WHIRLPOOL 8b8cb0e359c7e50f59b0e04ef79d8ff53f4cef59fb62dafc68c683d6c13f0ca7f8006825aad7c852aa3033afc9b97945448e061d26e71b647ef57730a329f917
|
||||||
|
@ -1,67 +0,0 @@
|
|||||||
diff --git a/nml/actions/real_sprite.py b/nml/actions/real_sprite.py
|
|
||||||
index 6e03473..5ae2f26 100644
|
|
||||||
--- a/nml/actions/real_sprite.py
|
|
||||||
+++ b/nml/actions/real_sprite.py
|
|
||||||
@@ -16,7 +16,8 @@ with NML; if not, write to the Free Software Foundation, Inc.,
|
|
||||||
from nml import generic, expression
|
|
||||||
from nml.actions import base_action
|
|
||||||
from nml.ast import assignment
|
|
||||||
-import os, Image
|
|
||||||
+import os
|
|
||||||
+from PIL import Image
|
|
||||||
|
|
||||||
palmap_d2w = [
|
|
||||||
0, 215, 216, 136, 88, 106, 32, 33, # 0..7
|
|
||||||
diff --git a/nml/ast/alt_sprites.py b/nml/ast/alt_sprites.py
|
|
||||||
index 163bb23..fb12d0a 100644
|
|
||||||
--- a/nml/ast/alt_sprites.py
|
|
||||||
+++ b/nml/ast/alt_sprites.py
|
|
||||||
@@ -16,7 +16,8 @@ with NML; if not, write to the Free Software Foundation, Inc.,
|
|
||||||
from nml import expression, generic, global_constants
|
|
||||||
from nml.actions import real_sprite
|
|
||||||
from nml.ast import base_statement
|
|
||||||
-import os, Image
|
|
||||||
+import os
|
|
||||||
+from PIL import Image
|
|
||||||
|
|
||||||
"""
|
|
||||||
List with all AltSpritesBlocks encountered in the nml file.
|
|
||||||
diff --git a/nml/main.py b/nml/main.py
|
|
||||||
index cbee6d2..abbecda 100644
|
|
||||||
--- a/nml/main.py
|
|
||||||
+++ b/nml/main.py
|
|
||||||
@@ -19,7 +19,7 @@ from nml.actions import action2layout, action2var, action8, sprite_count, real_s
|
|
||||||
from nml.ast import general, grf, alt_sprites
|
|
||||||
|
|
||||||
try:
|
|
||||||
- import Image
|
|
||||||
+ from PIL import Image
|
|
||||||
except ImportError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
diff --git a/nml/output_grf.py b/nml/output_grf.py
|
|
||||||
index 8f116aa..b5c05a8 100644
|
|
||||||
--- a/nml/output_grf.py
|
|
||||||
+++ b/nml/output_grf.py
|
|
||||||
@@ -18,7 +18,7 @@ from nml import generic, palette, output_base, lz77, grfstrings
|
|
||||||
from nml.actions.real_sprite import palmap_w2d
|
|
||||||
|
|
||||||
try:
|
|
||||||
- import Image
|
|
||||||
+ from PIL import Image
|
|
||||||
except ImportError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
diff --git a/nml/version_info.py b/nml/version_info.py
|
|
||||||
index da0ff94..b077baf 100644
|
|
||||||
--- a/nml/version_info.py
|
|
||||||
+++ b/nml/version_info.py
|
|
||||||
@@ -45,7 +45,7 @@ def get_lib_versions():
|
|
||||||
versions = {}
|
|
||||||
#PIL
|
|
||||||
try:
|
|
||||||
- import Image
|
|
||||||
+ from PIL import Image
|
|
||||||
versions["PIL"] = Image.VERSION
|
|
||||||
except ImportError:
|
|
||||||
versions["PIL"] = "Not found!"
|
|
@ -1,31 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/games-util/nml/nml-0.2.4-r2.ebuild,v 1.6 2013/12/13 15:27:00 hasufell Exp $
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_6 python2_7 )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Compiler of NML files into grf/nfo files"
|
|
||||||
HOMEPAGE="http://dev.openttdcoop.org/projects/nml"
|
|
||||||
SRC_URI="http://bundles.openttdcoop.org/nml/releases/${PV}/${P}.src.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm ~ppc x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="dev-python/pillow[zlib,${PYTHON_USEDEP}]
|
|
||||||
dev-python/ply[${PYTHON_USEDEP}]"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
||||||
|
|
||||||
DOCS=( docs/{changelog,readme}.txt )
|
|
||||||
PATCHES=( "${FILESDIR}/${P}-pillow.patch" )
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
distutils-r1_src_install
|
|
||||||
doman docs/nmlc.1
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue