parent
7449d7fb97
commit
e5caeaadf2
@ -0,0 +1,13 @@
|
||||
diff -urN rpm-4.9.1.2.old/rpm.am rpm-4.9.1.2/rpm.am
|
||||
--- rpm-4.9.1.2.old/rpm.am 2012-03-21 19:57:33.942448288 +0100
|
||||
+++ rpm-4.9.1.2/rpm.am 2012-03-21 20:06:19.045419773 +0100
|
||||
@@ -1,7 +1,5 @@
|
||||
# Internal binaries
|
||||
-## HACK: It probably should be $(libexecdir)/rpm or $(libdir)/rpm
|
||||
-rpmlibexecdir = $(prefix)/lib/rpm
|
||||
+rpmlibexecdir = $(pkglibexecdir)
|
||||
|
||||
# Host independent config files
|
||||
-## HACK: it probably should be $(datadir)/rpm
|
||||
-rpmconfigdir = $(prefix)/lib/rpm
|
||||
+rpmconfigdir = $(pkglibexecdir)
|
@ -0,0 +1,118 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.9.1.2-r1.ebuild,v 1.1 2012/03/21 19:19:35 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit eutils autotools flag-o-matic perl-module python
|
||||
|
||||
DESCRIPTION="Red Hat Package Management Utils"
|
||||
HOMEPAGE="http://www.rpm.org"
|
||||
SRC_URI="http://rpm.org/releases/rpm-4.9.x/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
|
||||
|
||||
IUSE="nls python doc caps lua acl"
|
||||
|
||||
RDEPEND=">=sys-libs/db-4.5
|
||||
>=sys-libs/zlib-1.2.3-r1
|
||||
>=app-arch/bzip2-1.0.1
|
||||
>=dev-libs/popt-1.7
|
||||
>=app-crypt/gnupg-1.2
|
||||
dev-libs/elfutils
|
||||
virtual/libintl
|
||||
>=dev-lang/perl-5.8.8
|
||||
dev-libs/nss
|
||||
python? ( >=dev-lang/python-2.3 )
|
||||
nls? ( virtual/libintl )
|
||||
lua? ( >=dev-lang/lua-5.1.0[deprecated] )
|
||||
acl? ( virtual/acl )
|
||||
caps? ( >=sys-libs/libcap-2.0 )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-4.8.1-autotools.patch \
|
||||
"${FILESDIR}"/${PN}-4.8.1-db-path.patch \
|
||||
"${FILESDIR}"/${PN}-4.9.1.2-libdir.patch
|
||||
|
||||
# fix #356769
|
||||
sed -i 's:%{_var}/tmp:/var/tmp:' macros.in || die "Fixing tmppath failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--without-selinux \
|
||||
--with-external-db \
|
||||
$(use_enable python) \
|
||||
$(use_with doc hackingdocs) \
|
||||
$(use_enable nls) \
|
||||
$(use_with lua) \
|
||||
$(use_with caps cap) \
|
||||
$(use_with acl)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# remove la files
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
|
||||
mv "${ED}"/bin/rpm "${ED}"/usr/bin
|
||||
rmdir "${ED}"/bin
|
||||
# fix symlinks to /bin/rpm (#349840)
|
||||
for binary in rpmquery rpmverify;do
|
||||
ln -sf rpm "${ED}"/usr/bin/${binary}
|
||||
done
|
||||
|
||||
use nls || rm -rf "${ED}"/usr/share/man/??
|
||||
|
||||
keepdir /usr/src/rpm/{SRPMS,SPECS,SOURCES,RPMS,BUILD}
|
||||
|
||||
dodoc CHANGES CREDITS GROUPS README*
|
||||
if use doc; then
|
||||
pushd doc/hacking/html
|
||||
dohtml -p hacking -r .
|
||||
popd
|
||||
pushd doc/librpm/html
|
||||
dohtml -p librpm -r .
|
||||
popd
|
||||
fi
|
||||
|
||||
# Fix perllocal.pod file collision
|
||||
fixlocalpod
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -f "${EROOT}"/var/lib/rpm/Packages ]] ; then
|
||||
einfo "RPM database found... Rebuilding database (may take a while)..."
|
||||
"${EROOT}"/usr/bin/rpmdb --rebuilddb --root="${EROOT}"
|
||||
else
|
||||
einfo "No RPM database found... Creating database..."
|
||||
"${EROOT}"/usr/bin/rpmdb --initdb --root="${EROOT}"
|
||||
fi
|
||||
|
||||
use python && python_mod_optimize rpm
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup rpm
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST leechcraft-0.4.99.tar.xz 4601736 RMD160 343e64a430cd55f401989b1c89a74a9c2ddf1e33 SHA1 c8275ea635d7ea579b95a70e64372658928752f7 SHA256 967ca3a9b942d71da7f4818ba912f12b386b553fe4abded04c7d1956473e4e42
|
||||
DIST leechcraft-0.5.0.tar.xz 4691312 RMD160 4ea82848fe59fcd1159fa835dfb94ff81775f964 SHA1 0d01a9b38fd1ce136d678803a1270538fb8e3cc4 SHA256 ef0802442b803079dc491f73ff0294cb8560d86fbea44c8e57b3d54fdf3b88fa
|
||||
DIST leechcraft-0.5.60.tar.xz 2048000 RMD160 505a90f631779a1918ea814602288732b4f8af89 SHA1 b03ce9bb160c00c6be2f50af4e061c5d7777d630 SHA256 b7ee7aff4b07fa383da169346979701f4a428fc29d4e8b77a31f27561b025baf
|
||||
DIST leechcraft-0.5.0.tar.xz 7240 RMD160 41109d2b24cf188f31bafc9d65950ecb223f1fb7 SHA1 e32a08d9926a8351fcdbc13649e0fe83bbefb84a SHA256 762751d75d2bfa76656b8a88feae193af3c9467f74749ba182212bbe72eea1fc
|
||||
DIST leechcraft-0.5.60.tar.xz 4743936 RMD160 e845b9f9e7b0bdebd2c99822ffd3e15c019f6051 SHA1 2941679520e6871372eac31d1e683615a8dd64e6 SHA256 477d8fc54167798337e64324575d12cf1cace4d6502bb14d892edd2ed4b5a7f4
|
||||
|
@ -1,2 +1 @@
|
||||
DIST ibus-hangul-1.3.1.tar.gz 431214 RMD160 996172fb00854ae2000b3197707269ebd8d6808e SHA1 e1fb0e0560d8987c3106992693638a298bd2ea1c SHA256 1e5530c1d7add8970f3a98a76a0a2feda06a08d65af56fbba5329a6645915afc
|
||||
DIST ibus-hangul-1.4.0.tar.gz 439462 RMD160 07ac966ba9f878ead7e17d31a653bd5514098305 SHA1 421d7164a27eeedfea49d54b61e2a5edd4f7d3a7 SHA256 a955ec0c9ea90ecd8e8d0fd2de1596a5ba1186463862c387d74a418d1707ca0a
|
||||
|
@ -1,155 +0,0 @@
|
||||
From 6ce58d1d79e5b175865ee26794e9fc7ce576ce56 Mon Sep 17 00:00:00 2001
|
||||
From: Daiki Ueno <ueno@unixuser.org>
|
||||
Date: Mon, 8 Nov 2010 14:12:35 +0900
|
||||
Subject: [PATCH] Fix build with ibus-1.4.
|
||||
|
||||
This patch adds compatibility code for the API changes of IBusConfig and
|
||||
IBusEngineDesc in ibus-1.3 -> ibus-1.4.
|
||||
---
|
||||
src/engine.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++++---------
|
||||
1 files changed, 63 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/src/engine.c b/src/engine.c
|
||||
index 79db70f..a297e4d 100644
|
||||
--- a/src/engine.c
|
||||
+++ b/src/engine.c
|
||||
@@ -111,7 +111,11 @@ static void ibus_hangul_engine_update_lookup_table
|
||||
static void ibus_config_value_changed (IBusConfig *config,
|
||||
const gchar *section,
|
||||
const gchar *name,
|
||||
+#if IBUS_CHECK_VERSION(1,3,99)
|
||||
+ GVariant *value,
|
||||
+#else
|
||||
GValue *value,
|
||||
+#endif /* !IBUS_CHECK_VERSION(1,3,99) */
|
||||
gpointer user_data);
|
||||
|
||||
static void lookup_table_set_visible (IBusLookupTable *table,
|
||||
@@ -136,6 +140,11 @@ static gboolean hanja_key_list_match (HanjaKeyList *list,
|
||||
static gboolean hanja_key_list_has_modifier (HanjaKeyList *list,
|
||||
guint keyval);
|
||||
|
||||
+static gboolean config_get_string (IBusConfig *config,
|
||||
+ const gchar *section,
|
||||
+ const gchar *name,
|
||||
+ gchar **result);
|
||||
+
|
||||
static IBusEngineClass *parent_class = NULL;
|
||||
static HanjaTable *hanja_table = NULL;
|
||||
static HanjaTable *symbol_table = NULL;
|
||||
@@ -176,7 +185,7 @@ void
|
||||
ibus_hangul_init (IBusBus *bus)
|
||||
{
|
||||
gboolean res;
|
||||
- GValue value = { 0, };
|
||||
+ gchar *str;
|
||||
|
||||
hanja_table = hanja_table_load (NULL);
|
||||
|
||||
@@ -187,22 +196,20 @@ ibus_hangul_init (IBusBus *bus)
|
||||
g_object_ref_sink (config);
|
||||
|
||||
hangul_keyboard = g_string_new_len ("2", 8);
|
||||
- res = ibus_config_get_value (config, "engine/Hangul",
|
||||
- "HangulKeyboard", &value);
|
||||
+ str = NULL;
|
||||
+ res = config_get_string (config, "engine/Hangul", "HangulKeyboard", &str);
|
||||
if (res) {
|
||||
- const gchar* str = g_value_get_string (&value);
|
||||
g_string_assign (hangul_keyboard, str);
|
||||
- g_value_unset(&value);
|
||||
+ g_free (str);
|
||||
}
|
||||
|
||||
hanja_key_list_init(&hanja_keys);
|
||||
|
||||
- res = ibus_config_get_value (config, "engine/Hangul",
|
||||
- "HanjaKeys", &value);
|
||||
+ str = NULL;
|
||||
+ res = config_get_string (config, "engine/Hangul", "HanjaKeys", &str);
|
||||
if (res) {
|
||||
- const gchar* str = g_value_get_string (&value);
|
||||
hanja_key_list_set_from_string(&hanja_keys, str);
|
||||
- g_value_unset(&value);
|
||||
+ g_free (str);
|
||||
} else {
|
||||
hanja_key_list_append(&hanja_keys, IBUS_Hangul_Hanja, 0);
|
||||
hanja_key_list_append(&hanja_keys, IBUS_F9, 0);
|
||||
@@ -963,27 +970,71 @@ ibus_hangul_engine_property_activate (IBusEngine *engine,
|
||||
}
|
||||
}
|
||||
|
||||
+static gboolean
|
||||
+config_get_string (IBusConfig *config,
|
||||
+ const gchar *section,
|
||||
+ const gchar *name,
|
||||
+ gchar **result)
|
||||
+{
|
||||
+#if IBUS_CHECK_VERSION(1,3,99)
|
||||
+ GVariant *value = NULL;
|
||||
+
|
||||
+ g_return_val_if_fail (result != NULL, FALSE);
|
||||
+
|
||||
+ value = ibus_config_get_value (config, section, name);
|
||||
+ if (value) {
|
||||
+ *result = g_strdup (g_variant_get_string (value, NULL));
|
||||
+ g_variant_unref (value);
|
||||
+ return TRUE;
|
||||
+ }
|
||||
+ return FALSE;
|
||||
+#else
|
||||
+ GValue value = { 0 };
|
||||
+
|
||||
+ g_return_val_if_fail (result != NULL, FALSE);
|
||||
+
|
||||
+ if (ibus_config_get_value (config, section, name, &value)) {
|
||||
+ *result = g_strdup (g_value_get_string (&value));
|
||||
+ g_value_unset (&value);
|
||||
+ return TRUE;
|
||||
+ }
|
||||
+ return FALSE;
|
||||
+#endif /* !IBUS_CHECK_VERSION(1,3,99) */
|
||||
+}
|
||||
+
|
||||
+#if IBUS_CHECK_VERSION(1,3,99)
|
||||
+#define _g_variant_get_string g_variant_get_string
|
||||
+#define _g_variant_get_int32 g_variant_get_int32
|
||||
+#else
|
||||
+#define _g_variant_get_string(value, length) g_value_get_string(value)
|
||||
+#define _g_variant_get_int32 g_value_get_int
|
||||
+#endif /* !IBUS_CHECK_VERSION(1,3,99) */
|
||||
+
|
||||
static void
|
||||
ibus_config_value_changed (IBusConfig *config,
|
||||
const gchar *section,
|
||||
const gchar *name,
|
||||
+#if IBUS_CHECK_VERSION(1,3,99)
|
||||
+ GVariant *value,
|
||||
+#else
|
||||
GValue *value,
|
||||
+#endif /* !IBUS_CHECK_VERSION(1,3,99) */
|
||||
gpointer user_data)
|
||||
{
|
||||
IBusHangulEngine *hangul = (IBusHangulEngine *) user_data;
|
||||
|
||||
if (strcmp(section, "engine/Hangul") == 0) {
|
||||
if (strcmp(name, "HangulKeyboard") == 0) {
|
||||
- const gchar *str = g_value_get_string (value);
|
||||
+ const gchar *str = _g_variant_get_string (value, NULL);
|
||||
g_string_assign (hangul_keyboard, str);
|
||||
hangul_ic_select_keyboard (hangul->context, hangul_keyboard->str);
|
||||
} else if (strcmp(name, "HanjaKeys") == 0) {
|
||||
- const gchar* str = g_value_get_string (value);
|
||||
+ const gchar* str = _g_variant_get_string (value, NULL);
|
||||
hanja_key_list_set_from_string(&hanja_keys, str);
|
||||
}
|
||||
} else if (strcmp(section, "panel") == 0) {
|
||||
if (strcmp(name, "lookup_table_orientation") == 0) {
|
||||
- lookup_table_orientation = g_value_get_int (value);
|
||||
+ lookup_table_orientation = _g_variant_get_int32 (value);
|
||||
}
|
||||
}
|
||||
}
|
||||
--
|
||||
1.7.5.1
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-hangul/ibus-hangul-1.3.1-r1.ebuild,v 1.3 2011/10/04 21:30:16 phajdan.jr Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
inherit eutils python
|
||||
|
||||
DESCRIPTION="The Hangul engine for IBus input platform"
|
||||
HOMEPAGE="http://code.google.com/p/ibus/"
|
||||
SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND=">=app-i18n/ibus-1.2.99
|
||||
>=app-i18n/libhangul-0.0.12
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
nls? ( >=sys-devel/gettext-0.17 )"
|
||||
|
||||
src_prepare() {
|
||||
# http://pkgs.fedoraproject.org/gitweb/?p=ibus-hangul.git
|
||||
epatch "${FILESDIR}/${PN}-ibus-1.4.patch" || die
|
||||
mv py-compile py-compile.orig || die
|
||||
ln -s "$(type -P true)" py-compile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable nls) || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST radeontool-1.5.tar.gz 20869 RMD160 1cdeeb7ad379afa7bc03e1cd79adbb09f6a9cb85 SHA1 bd9096d5b18b31a1f1addbea80e6debfc707abf6 SHA256 598190677279001fd8d2724ac28aae11820d3c01f850bc167ec0030c21577361
|
||||
DIST radeontool-1.6.0.tar.bz2 334577 RMD160 cf1cdf5219a469d50e804382a99f5eec64ad0ef1 SHA1 3ed4678eede77e542251863417432f2d35e1878d SHA256 b23a1335379e028d7a3a1e5c5a9b53a891f31bcd54237a46580a4b996607534e
|
||||
DIST radeontool-1.6.1.tar.bz2 338446 RMD160 c4642b6fee4b4a6525178941490d3c8b5daabbee SHA1 afa2195aa7fa02605d56dc8ecd519e81f5754299 SHA256 6ebab96e2c3bc92c0e34507eb04e7bebdb3506c4bb3f7e2a3e9f84b4699ea46e
|
||||
DIST radeontool-1.6.3.tar.bz2 367487 RMD160 e291b54638d9ed87f285541e65269d15eb223a9a SHA1 f76fbef4f7e31711bc9ec0ab34fc31bf3f6db30a SHA256 f73d1ec1a962822e681c2eefa77d9843a02ee0c63196ba0c1181cc1da016a76c
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/radeontool/radeontool-1.6.3.ebuild,v 1.1 2012/03/21 18:42:30 robbat2 Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Manage the backlight, external video output and registers of ATI Radeon graphics cards"
|
||||
|
||||
HOMEPAGE="http://cgit.freedesktop.org/~airlied/radeontool/"
|
||||
SRC_URI="http://people.freedesktop.org/~airlied/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="x11-libs/libpciaccess"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST datovka-1.7.tar.gz 883670 RMD160 a46d8b052b9e87216888ca9cd13c00e2e5d5ef34 SHA1 108ff6c9b85af3b06a96ce2a3917b0dbb78b5e24 SHA256 23ad782f42c80958b423d0ea3e39320338a85a66d2d326ae3ed2752135389ef9
|
||||
DIST datovka-2.0.tar.gz 896205 RMD160 d4b17d5bb5b75a1b1c595802a9885255757e84d4 SHA1 e3a9d30dbb15af67bb55a7829f8d5b60544f1507 SHA256 cfdc21d6f572cca73501ad462a3f93de7171ca56e17c6e64dcaec76aa154a655
|
||||
DIST datovka-2.0.2.tar.gz 896658 RMD160 41bafa462096df716b9968769f9e3d17a10a825f SHA1 5e8fdce30b6ba339edd34c84ca085d38eb12d333 SHA256 688befa5cb52e563f55421889876c5c8915dc5642b8343b580277d6fa102e87e
|
||||
|
@ -1,3 +1 @@
|
||||
DIST skrooge-0.8.0.tar.bz2 8262568 RMD160 094659591763bf757cf5bb050f191492163b072a SHA1 47182435735a9abbe733782814ff770ddb5f0ab6 SHA256 67cb3f557bbeb55afa77f7b306187cead45915d1cf0161bbd1206a942d2af66e
|
||||
DIST skrooge-1.1.1.tar.bz2 8559953 RMD160 030e9f16f9ec9a81a48c7610fc0df5b7d73442bf SHA1 063af1a04c2406babc59203e0d57912e834e46f1 SHA256 6553a61a74bb4f5d0272fff4844e47d983fa38cd6af0481658f4d1e3150c6d62
|
||||
DIST skrooge-1.2.0.tar.bz2 9709899 RMD160 9652414237b000a1ba206911876d6104423e642c SHA1 1587d493f6064637805e3601bdae08fd5258a633 SHA256 059d2e1dd6feb8e7fcf86b61c0932359b182c207f9dda21642a50253b7857f2a
|
||||
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/skrooge/skrooge-0.8.0.ebuild,v 1.4 2011/03/10 12:56:28 angelos Exp $
|
||||
|
||||
EAPI=3
|
||||
KDE_LINGUAS="bg ca ca@valencia cs da de el en_GB eo es et fr ga gl hu it ja ko lt ms nb
|
||||
nds nl pl pt pt_BR ro ru sk sv tr uk zh_TW"
|
||||
KDE_DOC_DIRS="doc doc-translations/%lingua_${PN}"
|
||||
VIRTUALX_REQUIRED=test
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="personal finances manager for KDE4, aiming at being simple and intuitive"
|
||||
HOMEPAGE="http://skrooge.org/"
|
||||
SRC_URI="http://skrooge.org/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="4"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug +handbook test"
|
||||
|
||||
DEPEND=">=dev-libs/libofx-0.9.1
|
||||
app-crypt/qca:2
|
||||
x11-libs/qt-sql:4[sqlite]"
|
||||
RDEPEND="${DEPEND}
|
||||
$(add_kdebase_dep kdesdk-scripts)"
|
||||
|
||||
# Tests hangs forever with Openbigtest
|
||||
# Quite few others fail (in all versions)
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS="AUTHORS CHANGELOG README TODO"
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs+=( $(cmake-utils_use test SKG_BUILD_TEST) )
|
||||
kde4-base_src_configure
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/skrooge/skrooge-1.1.1.ebuild,v 1.2 2012/01/18 14:46:30 johu Exp $
|
||||
|
||||
EAPI=4
|
||||
KDE_LINGUAS="bg bs ca ca@valencia cs da de el en_GB eo es et fr ga gl hu it ja lt nb
|
||||
nl pl pt pt_BR ro ru sk sv tr ug zh_CN"
|
||||
KDE_DOC_DIRS="doc"
|
||||
KDE_HANDBOOK=optional
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="personal finances manager for KDE4, aiming at being simple and intuitive"
|
||||
HOMEPAGE="http://www.skrooge.org/"
|
||||
SRC_URI="http://www.skrooge.org/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
app-crypt/qca:2
|
||||
dev-libs/grantlee
|
||||
>=dev-libs/libofx-0.9.1
|
||||
x11-libs/qt-sql:4[sqlite]
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
$(add_kdebase_dep kdesdk-scripts)
|
||||
"
|
||||
|
||||
DOCS="AUTHORS CHANGELOG README TODO"
|
||||
|
||||
src_test() { :; }
|
||||
# tests are not included in tarball, bug 372315
|
@ -1 +1,2 @@
|
||||
DIST gnome-doc-utils-0.20.6.tar.bz2 716487 RMD160 d333cd84d1ae1404f3913caaf51be833f85696bb SHA1 c11dda3cff4248a6918cfaf0d7b892fc20bf329e SHA256 091486e370480bf45349ad09dac799211092a02938b26a0d68206172cb6cebbf
|
||||
DIST gnome-doc-utils-0.20.9.tar.xz 524480 RMD160 0bf48994ba1d91ae1a7f351e00dd254a4a70e1a4 SHA1 dd23ece0d1d5359d835e6adabdc60bf151087800 SHA256 60c4c1071071b97998fc80787870b9a0c07b5fd4cc1fde177e81f40f325d432a
|
||||
|
@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/gnome-doc-utils/gnome-doc-utils-0.20.9.ebuild,v 1.1 2012/03/22 05:13:48 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*"
|
||||
|
||||
inherit gnome2 python
|
||||
|
||||
DESCRIPTION="A collection of documentation utilities for the Gnome project"
|
||||
HOMEPAGE="http://live.gnome.org/GnomeDocUtils"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/libxml2-2.6.12[python]
|
||||
>=dev-libs/libxslt-1.1.8
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-apps/gawk-3
|
||||
sys-devel/gettext
|
||||
>=dev-util/intltool-0.35
|
||||
>=dev-util/pkgconfig-0.9
|
||||
app-text/docbook-xml-dtd:4.4
|
||||
app-text/scrollkeeper-dtd"
|
||||
# dev-libs/glib needed for eautofoo, bug #255114.
|
||||
|
||||
# If there is a need to reintroduce eautomake or eautoreconf, make sure
|
||||
# to AT_M4DIR="tools m4", bug #224609 (m4 removes glib build time dep)
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
G2CONF="${G2CONF} --disable-scrollkeeper"
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
|
||||
python_clean_py-compile_files
|
||||
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
python_execute_function -s gnome2_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_execute_function -d -s
|
||||
}
|
||||
|
||||
src_test() {
|
||||
python_execute_function -d -s
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
gnome2_src_install
|
||||
python_convert_shebangs $(python_get_version) "${ED}"usr/bin/xml2po
|
||||
mv "${ED}"usr/bin/xml2po "${ED}"usr/bin/xml2po-$(python_get_version)
|
||||
}
|
||||
python_execute_function -s installation
|
||||
python_clean_installation_image
|
||||
|
||||
python_generate_wrapper_scripts -E -f "${ED}"usr/bin/xml2po
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize xml2po
|
||||
gnome2_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup xml2po
|
||||
gnome2_pkg_postrm
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST parrot-4.0.0.tar.bz2 4304293 RMD160 1c7693e0027c99efba7de2b91504db605053b844 SHA1 12c7bd48b5df4217547e8f913d989a7beafe6bd7 SHA256 a1e0bc3de509b247b2cea4863cc202cdceeaa329729416115d3c20a162a0dd88
|
||||
DIST parrot-4.1.0.tar.bz2 4302808 RMD160 a0cf550967a37f2273212ed8b401b24ce70329e4 SHA1 32e7bf38d307bc90d6fcf26f1016228bbee307d3 SHA256 826465f3b7045cf81768029b1f18a4fa05259b7268c98c9c0436bd77c74785ec
|
||||
DIST parrot-4.2.0.tar.bz2 4309388 RMD160 7e93362932cee529e15a2158be55565d45c8e41d SHA1 f439bc06d566b8e7e5e4ec703101bc6bca4dd383 SHA256 a960c89f94099c9643c5623263bdb7fa9e97effb889c975382bbf9c0251186b4
|
||||
|
@ -0,0 +1,86 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-4.2.0.ebuild,v 1.1 2012/03/21 15:06:36 patrick Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
# There's multiple small issues at the moment, so ...
|
||||
RESTRICT="test"
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="Virtual machine designed to efficiently compile and execute bytecode for dynamic languages"
|
||||
HOMEPAGE="http://www.parrot.org/"
|
||||
SRC_URI="ftp://ftp.parrot.org/pub/parrot/releases/devel/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="opengl nls doc examples gdbm gmp ssl +unicode pcre"
|
||||
|
||||
RDEPEND="sys-libs/readline
|
||||
opengl? ( media-libs/freeglut )
|
||||
nls? ( sys-devel/gettext )
|
||||
unicode? ( >=dev-libs/icu-2.6 )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.3-r1 )
|
||||
gmp? ( >=dev-libs/gmp-4.1.4 )
|
||||
ssl? ( dev-libs/openssl )
|
||||
pcre? ( dev-libs/libpcre )"
|
||||
|
||||
DEPEND="dev-lang/perl[doc?]
|
||||
${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# Fix for #404195 - pcre detection is wonky
|
||||
sed -i 's:libpcre.so.0:libpcre.so.1:' runtime/parrot/library/pcre.pir || die "Couldn't fix pcre location"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
myconf="--disable-rpath"
|
||||
use unicode || myconf+=" --without-icu"
|
||||
use ssl || myconf+=" --without-crypto"
|
||||
use gdbm || myconf+=" --without-gdbm"
|
||||
use nls || myconf+=" --without-gettext"
|
||||
use gmp || myconf+=" --without-gmp"
|
||||
use opengl || myconf+=" --without-opengl"
|
||||
use pcre || myconf+=" --without-pcre"
|
||||
|
||||
perl Configure.pl \
|
||||
--ccflags="${CFLAGS}" \
|
||||
--linkflags="${LDFLAGS}" \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--mandir="${EPREFIX}"/usr/share/man \
|
||||
--sysconfdir="${EPREFIX}"/etc \
|
||||
--sharedstatedir="${EPREFIX}"/var/lib/parrot \
|
||||
$myconf || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"${S}"/blib/lib
|
||||
# occasionally dies in parallel make
|
||||
emake -j1 || die
|
||||
if use doc ; then
|
||||
emake -j1 html || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 install-dev DESTDIR="${D}" DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" || die
|
||||
dodoc CREDITS DONORS.pod PBC_COMPAT PLATFORMS RESPONSIBLE_PARTIES TODO || die
|
||||
if use examples; then
|
||||
insinto "/usr/share/doc/${PF}/examples"
|
||||
doins -r examples/* || die
|
||||
fi
|
||||
if use doc; then
|
||||
insinto "/usr/share/doc/${PF}/editor"
|
||||
doins -r editor || die
|
||||
cd docs/html
|
||||
dohtml -r developer.html DONORS.pod.html index.html ops.html parrotbug.html pdds.html \
|
||||
pmc.html tools.html docs src tools || die
|
||||
fi
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
|
||||
# HG changeset patch
|
||||
# User Victor Stinner <victor.stinner@haypocalc.com>
|
||||
# Date 1315259096 -7200
|
||||
# Node ID fb4d2e6d393e96baac13c4efc216e361bf12c293
|
||||
# Parent cb47cf5138a4567718a25d69a79d1c62d13f187c
|
||||
Issue #9561: distutils now reads and writes egg-info files using UTF-8
|
||||
|
||||
instead of the locale encoding.
|
||||
|
||||
diff --git a/Lib/distutils/command/install_egg_info.py b/Lib/distutils/command/install_egg_info.py
|
||||
--- a/Lib/distutils/command/install_egg_info.py
|
||||
+++ b/Lib/distutils/command/install_egg_info.py
|
||||
@@ -40,9 +40,8 @@ class install_egg_info(Command):
|
||||
"Creating "+self.install_dir)
|
||||
log.info("Writing %s", target)
|
||||
if not self.dry_run:
|
||||
- f = open(target, 'w')
|
||||
- self.distribution.metadata.write_pkg_file(f)
|
||||
- f.close()
|
||||
+ with open(target, 'w', encoding='UTF-8') as f:
|
||||
+ self.distribution.metadata.write_pkg_file(f)
|
||||
|
||||
def get_outputs(self):
|
||||
return self.outputs
|
||||
diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py
|
||||
--- a/Lib/distutils/dist.py
|
||||
+++ b/Lib/distutils/dist.py
|
||||
@@ -1010,11 +1010,9 @@ class DistributionMetadata:
|
||||
def write_pkg_info(self, base_dir):
|
||||
"""Write the PKG-INFO file into the release tree.
|
||||
"""
|
||||
- pkg_info = open(os.path.join(base_dir, 'PKG-INFO'), 'w')
|
||||
- try:
|
||||
+ with open(os.path.join(base_dir, 'PKG-INFO'), 'w',
|
||||
+ encoding='UTF-8') as pkg_info:
|
||||
self.write_pkg_file(pkg_info)
|
||||
- finally:
|
||||
- pkg_info.close()
|
||||
|
||||
def write_pkg_file(self, file):
|
||||
"""Write the PKG-INFO format data to a file object.
|
||||
|
@ -0,0 +1,361 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.1.4-r4.ebuild,v 1.1 2012/03/21 16:27:07 floppym Exp $
|
||||
|
||||
EAPI="3"
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib python toolchain-funcs
|
||||
|
||||
if [[ "${PV}" == *_pre* ]]; then
|
||||
inherit mercurial
|
||||
|
||||
EHG_REPO_URI="http://hg.python.org/cpython"
|
||||
EHG_REVISION=""
|
||||
else
|
||||
MY_PV="${PV%_p*}"
|
||||
MY_P="Python-${MY_PV}"
|
||||
fi
|
||||
|
||||
PATCHSET_REVISION="0"
|
||||
|
||||
DESCRIPTION="Python is an interpreted, interactive, object-oriented programming language."
|
||||
HOMEPAGE="http://www.python.org/"
|
||||
if [[ "${PV}" == *_pre* ]]; then
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="http://www.python.org/ftp/python/${MY_PV}/${MY_P}.tar.xz
|
||||
mirror://gentoo/python-gentoo-patches-${MY_PV}$([[ "${PATCHSET_REVISION}" != "0" ]] && echo "-r${PATCHSET_REVISION}").tar.bz2"
|
||||
fi
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="3.1"
|
||||
PYTHON_ABI="${SLOT}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="build doc elibc_uclibc examples gdbm ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml"
|
||||
|
||||
RDEPEND=">=app-admin/eselect-python-20091230
|
||||
app-arch/bzip2
|
||||
>=sys-libs/zlib-1.1.3
|
||||
virtual/libffi
|
||||
virtual/libintl
|
||||
!build? (
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
ncurses? (
|
||||
>=sys-libs/ncurses-5.2
|
||||
readline? ( >=sys-libs/readline-4.1 )
|
||||
)
|
||||
sqlite? ( >=dev-db/sqlite-3.3.3:3 )
|
||||
ssl? ( dev-libs/openssl )
|
||||
tk? (
|
||||
>=dev-lang/tk-8.0
|
||||
dev-tcltk/blt
|
||||
)
|
||||
xml? ( >=dev-libs/expat-2 )
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
$([[ "${PV}" == *_pre* ]] && echo "=${CATEGORY}/${PN}-${PV%%.*}*")
|
||||
dev-util/pkgconfig
|
||||
$([[ "${PV}" =~ ^[[:digit:]]+\.[[:digit:]]+_pre ]] && echo "doc? ( dev-python/sphinx )")
|
||||
!sys-devel/gcc[libffi]"
|
||||
RDEPEND+=" !build? ( app-misc/mime-types )
|
||||
$([[ "${PV}" =~ ^[[:digit:]]+\.[[:digit:]]+_pre ]] || echo "doc? ( dev-python/python-docs:${SLOT} )")"
|
||||
PDEPEND="app-admin/python-updater"
|
||||
|
||||
if [[ "${PV}" != *_pre* ]]; then
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
pkg_setup() {
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Ensure that internal copies of expat, libffi and zlib are not used.
|
||||
rm -fr Modules/expat
|
||||
rm -fr Modules/_ctypes/libffi*
|
||||
rm -fr Modules/zlib
|
||||
|
||||
if [[ "${PV}" =~ ^[[:digit:]]+\.[[:digit:]]+_pre ]]; then
|
||||
if [[ "$(hg branch)" != "default" ]]; then
|
||||
die "Invalid EHG_REVISION"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ "${PV}" =~ ^[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+_pre ]]; then
|
||||
if [[ "$(hg branch)" != "${SLOT}" ]]; then
|
||||
die "Invalid EHG_REVISION"
|
||||
fi
|
||||
|
||||
if grep -Eq '#define PY_RELEASE_LEVEL[[:space:]]+PY_RELEASE_LEVEL_FINAL' Include/patchlevel.h; then
|
||||
# Update micro version, release level and version string.
|
||||
local micro_version="${PV%_pre*}"
|
||||
micro_version="${micro_version##*.}"
|
||||
local version_string="${PV%.*}.$((${micro_version} - 1))+"
|
||||
sed \
|
||||
-e "s/\(#define PY_MICRO_VERSION[[:space:]]\+\)[^[:space:]]\+/\1${micro_version}/" \
|
||||
-e "s/\(#define PY_RELEASE_LEVEL[[:space:]]\+\)[^[:space:]]\+/\1PY_RELEASE_LEVEL_ALPHA/" \
|
||||
-e "s/\(#define PY_VERSION[[:space:]]\+\"\)[^\"]\+\(\"\)/\1${version_string}\2/" \
|
||||
-i Include/patchlevel.h || die "sed failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
local excluded_patches
|
||||
if ! tc-is-cross-compiler; then
|
||||
excluded_patches="*_all_crosscompile.patch"
|
||||
fi
|
||||
|
||||
local patchset_dir
|
||||
if [[ "${PV}" == *_pre* ]]; then
|
||||
patchset_dir="${FILESDIR}/${SLOT}-${PATCHSET_REVISION}"
|
||||
else
|
||||
patchset_dir="${WORKDIR}/${MY_PV}"
|
||||
fi
|
||||
|
||||
EPATCH_EXCLUDE="${excluded_patches}" EPATCH_SUFFIX="patch" epatch "${patchset_dir}"
|
||||
epatch "${FILESDIR}/linux2.patch"
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=343721
|
||||
epatch "${FILESDIR}"/python-3-distutils-egg-utf8.patch
|
||||
|
||||
# Linux-3 compat. Bug #374579 (upstream issue12571)
|
||||
cp -r "${S}/Lib/plat-linux2" "${S}/Lib/plat-linux3" || die
|
||||
|
||||
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
|
||||
Lib/distutils/command/install.py \
|
||||
Lib/distutils/sysconfig.py \
|
||||
Lib/site.py \
|
||||
Makefile.pre.in \
|
||||
Modules/Setup.dist \
|
||||
Modules/getpath.c \
|
||||
setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
|
||||
|
||||
eautoconf
|
||||
eautoheader
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use build; then
|
||||
# Disable extraneous modules with extra dependencies.
|
||||
export PYTHON_DISABLE_MODULES="gdbm _curses _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat"
|
||||
export PYTHON_DISABLE_SSL="1"
|
||||
else
|
||||
local disable
|
||||
use gdbm || disable+=" gdbm"
|
||||
use ncurses || disable+=" _curses _curses_panel"
|
||||
use readline || disable+=" readline"
|
||||
use sqlite || disable+=" _sqlite3"
|
||||
use ssl || export PYTHON_DISABLE_SSL="1"
|
||||
use tk || disable+=" _tkinter"
|
||||
use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
|
||||
export PYTHON_DISABLE_MODULES="${disable}"
|
||||
|
||||
if ! use xml; then
|
||||
ewarn "You have configured Python without XML support."
|
||||
ewarn "This is NOT a recommended configuration as you"
|
||||
ewarn "may face problems parsing any XML documents."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
|
||||
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
|
||||
fi
|
||||
|
||||
if [[ "$(gcc-major-version)" -ge 4 ]]; then
|
||||
append-flags -fwrapv
|
||||
fi
|
||||
|
||||
filter-flags -malign-double
|
||||
|
||||
[[ "${ARCH}" == "alpha" ]] && append-flags -fPIC
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=50309
|
||||
if is-flagq -O3; then
|
||||
is-flagq -fstack-protector-all && replace-flags -O3 -O2
|
||||
use hardened && replace-flags -O3 -O2
|
||||
fi
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
OPT="-O1" CFLAGS="" LDFLAGS="" CC="" \
|
||||
./configure --{build,host}=${CBUILD} || die "cross-configure failed"
|
||||
emake python Parser/pgen || die "cross-make failed"
|
||||
mv python hostpython
|
||||
mv Parser/pgen Parser/hostpgen
|
||||
make distclean
|
||||
sed -i \
|
||||
-e "/^HOSTPYTHON/s:=.*:=./hostpython:" \
|
||||
-e "/^HOSTPGEN/s:=.*:=./Parser/hostpgen:" \
|
||||
Makefile.pre.in || die "sed failed"
|
||||
fi
|
||||
|
||||
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
|
||||
tc-export CXX
|
||||
|
||||
# Set LDFLAGS so we link modules with -lpython3.1 correctly.
|
||||
# Needed on FreeBSD unless Python 3.1 is already installed.
|
||||
# Please query BSD team before removing this!
|
||||
append-ldflags "-L."
|
||||
|
||||
local dbmliborder
|
||||
if use gdbm; then
|
||||
dbmliborder+="${dbmliborder:+:}gdbm"
|
||||
fi
|
||||
|
||||
OPT="" econf \
|
||||
--with-fpectl \
|
||||
--enable-shared \
|
||||
$(use_enable ipv6) \
|
||||
$(use_with threads) \
|
||||
$(use_with wide-unicode) \
|
||||
--infodir='${prefix}/share/info' \
|
||||
--mandir='${prefix}/share/man' \
|
||||
--with-computed-gotos \
|
||||
--with-dbmliborder="${dbmliborder}" \
|
||||
--with-libc="" \
|
||||
--with-system-ffi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake EPYTHON="python${PV%%.*}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Tests will not work when cross compiling.
|
||||
if tc-is-cross-compiler; then
|
||||
elog "Disabling tests due to crosscompiling."
|
||||
return
|
||||
fi
|
||||
|
||||
if ! use threads; then
|
||||
ewarn "Disabling tests due to USE=\"-threads\""
|
||||
return
|
||||
fi
|
||||
|
||||
# Byte compiling should be enabled here.
|
||||
# Otherwise test_import fails.
|
||||
python_enable_pyc
|
||||
|
||||
# Skip failing tests.
|
||||
local skipped_tests="distutils"
|
||||
|
||||
for test in ${skipped_tests}; do
|
||||
mv "${S}/Lib/test/test_${test}.py" "${T}"
|
||||
done
|
||||
|
||||
# Rerun failed tests in verbose mode (regrtest -w).
|
||||
emake test EXTRATESTOPTS="-w" < /dev/tty
|
||||
local result="$?"
|
||||
|
||||
for test in ${skipped_tests}; do
|
||||
mv "${T}/test_${test}.py" "${S}/Lib/test/test_${test}.py"
|
||||
done
|
||||
|
||||
elog "The following tests have been skipped:"
|
||||
for test in ${skipped_tests}; do
|
||||
elog "test_${test}.py"
|
||||
done
|
||||
|
||||
elog "If you would like to run them, you may:"
|
||||
elog "cd '${EPREFIX}$(python_get_libdir)/test'"
|
||||
elog "and run the tests separately."
|
||||
|
||||
python_disable_pyc
|
||||
|
||||
if [[ "${result}" -ne 0 ]]; then
|
||||
die "emake test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" altinstall || die "emake altinstall failed"
|
||||
python_clean_installation_image -q
|
||||
|
||||
mv "${ED}usr/bin/python${SLOT}-config" "${ED}usr/bin/python-config-${SLOT}"
|
||||
|
||||
# Fix collisions between different slots of Python.
|
||||
mv "${ED}usr/bin/2to3" "${ED}usr/bin/2to3-${SLOT}"
|
||||
mv "${ED}usr/bin/pydoc3" "${ED}usr/bin/pydoc${SLOT}"
|
||||
mv "${ED}usr/bin/idle3" "${ED}usr/bin/idle${SLOT}"
|
||||
rm -f "${ED}usr/bin/smtpd.py"
|
||||
|
||||
if use build; then
|
||||
rm -fr "${ED}usr/bin/idle${SLOT}" "${ED}$(python_get_libdir)/"{idlelib,sqlite3,test,tkinter}
|
||||
else
|
||||
use elibc_uclibc && rm -fr "${ED}$(python_get_libdir)/test"
|
||||
use sqlite || rm -fr "${ED}$(python_get_libdir)/"{sqlite3,test/test_sqlite*}
|
||||
use tk || rm -fr "${ED}usr/bin/idle${SLOT}" "${ED}$(python_get_libdir)/"{idlelib,tkinter,test/test_tk*}
|
||||
fi
|
||||
|
||||
use threads || rm -fr "${ED}$(python_get_libdir)/multiprocessing"
|
||||
use wininst || rm -f "${ED}$(python_get_libdir)/distutils/command/"wininst-*.exe
|
||||
|
||||
dodoc Misc/{ACKS,HISTORY,NEWS} || die "dodoc failed"
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r "${S}/Tools" || die "doins failed"
|
||||
fi
|
||||
|
||||
newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT} || die "newconfd failed"
|
||||
newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} || die "newinitd failed"
|
||||
|
||||
if use kernel_linux; then
|
||||
if [ -d "${ED}$(python_get_libdir)/plat-linux2" ];then
|
||||
cp -r "${ED}$(python_get_libdir)/plat-linux2" \
|
||||
"${ED}$(python_get_libdir)/plat-linux3" || die "copy plat-linux failed"
|
||||
else
|
||||
cp -r "${ED}$(python_get_libdir)/plat-linux3" \
|
||||
"${ED}$(python_get_libdir)/plat-linux2" || die "copy plat-linux failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \
|
||||
-e "s:@PYDOC@:pydoc${SLOT}:" \
|
||||
-i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version ">=${CATEGORY}/${PN}-${SLOT}_alpha"; then
|
||||
python_updater_warning="1"
|
||||
fi
|
||||
}
|
||||
|
||||
eselect_python_update() {
|
||||
if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then
|
||||
eselect python update
|
||||
fi
|
||||
|
||||
if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then
|
||||
eselect python update --python${PV%%.*}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect_python_update
|
||||
|
||||
python_mod_optimize -f -x "/(site-packages|test|tests)/" $(python_get_libdir)
|
||||
|
||||
if [[ "${python_updater_warning}" == "1" ]]; then
|
||||
ewarn
|
||||
ewarn "\e[1;31m************************************************************************\e[0m"
|
||||
ewarn
|
||||
ewarn "You have just upgraded from an older version of Python."
|
||||
ewarn "You should switch active version of Python ${PV%%.*} and run"
|
||||
ewarn "'python-updater \${options}' to rebuild Python modules."
|
||||
ewarn
|
||||
ewarn "\e[1;31m************************************************************************\e[0m"
|
||||
ewarn
|
||||
|
||||
local n
|
||||
for ((n = 0; n < 12; n++)); do
|
||||
echo -ne "\a"
|
||||
sleep 1
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect_python_update
|
||||
|
||||
python_mod_cleanup $(python_get_libdir)
|
||||
}
|
@ -0,0 +1,365 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.2.2-r1.ebuild,v 1.1 2012/03/21 16:27:07 floppym Exp $
|
||||
|
||||
EAPI="3"
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib python toolchain-funcs
|
||||
|
||||
if [[ "${PV}" == *_pre* ]]; then
|
||||
inherit subversion
|
||||
|
||||
ESVN_PROJECT="python"
|
||||
ESVN_REPO_URI="http://svn.python.org/projects/python/branches/release32-maint"
|
||||
ESVN_REVISION=""
|
||||
else
|
||||
MY_PV="${PV%_p*}"
|
||||
MY_P="Python-${MY_PV}"
|
||||
fi
|
||||
|
||||
PATCHSET_REVISION="0"
|
||||
|
||||
DESCRIPTION="Python is an interpreted, interactive, object-oriented programming language."
|
||||
HOMEPAGE="http://www.python.org/"
|
||||
if [[ "${PV}" == *_pre* ]]; then
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="http://www.python.org/ftp/python/${MY_PV}/${MY_P}.tar.xz
|
||||
mirror://gentoo/python-gentoo-patches-${MY_PV}$([[ "${PATCHSET_REVISION}" != "0" ]] && echo "-r${PATCHSET_REVISION}").tar.bz2"
|
||||
fi
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="3.2"
|
||||
PYTHON_ABI="${SLOT}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="build doc elibc_uclibc examples gdbm ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml"
|
||||
|
||||
RDEPEND=">=app-admin/eselect-python-20091230
|
||||
>=sys-libs/zlib-1.1.3
|
||||
virtual/libffi
|
||||
virtual/libintl
|
||||
!build? (
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
ncurses? (
|
||||
>=sys-libs/ncurses-5.2
|
||||
readline? ( >=sys-libs/readline-4.1 )
|
||||
)
|
||||
sqlite? ( >=dev-db/sqlite-3.3.8:3[extensions] )
|
||||
ssl? ( dev-libs/openssl )
|
||||
tk? (
|
||||
>=dev-lang/tk-8.0
|
||||
dev-tcltk/blt
|
||||
)
|
||||
xml? ( >=dev-libs/expat-2 )
|
||||
)"
|
||||
DEPEND=">=sys-devel/autoconf-2.65
|
||||
${RDEPEND}
|
||||
$([[ "${PV}" == *_pre* ]] && echo "=${CATEGORY}/${PN}-${PV%%.*}*")
|
||||
$([[ "${PV}" != *_pre* ]] && echo "app-arch/xz-utils")
|
||||
dev-util/pkgconfig
|
||||
$([[ "${PV}" =~ ^[[:digit:]]+\.[[:digit:]]+_pre ]] && echo "doc? ( dev-python/sphinx )")
|
||||
!sys-devel/gcc[libffi]"
|
||||
RDEPEND+=" !build? ( app-misc/mime-types )
|
||||
$([[ "${PV}" =~ ^[[:digit:]]+\.[[:digit:]]+_pre ]] || echo "doc? ( dev-python/python-docs:${SLOT} )")"
|
||||
PDEPEND="app-admin/python-updater"
|
||||
|
||||
if [[ "${PV}" != *_pre* ]]; then
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
pkg_setup() {
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Ensure that internal copies of expat, libffi and zlib are not used.
|
||||
rm -fr Modules/expat
|
||||
rm -fr Modules/_ctypes/libffi*
|
||||
rm -fr Modules/zlib
|
||||
|
||||
if [[ "${PV}" =~ ^[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+_pre ]]; then
|
||||
if grep -Eq '#define PY_RELEASE_LEVEL[[:space:]]+PY_RELEASE_LEVEL_FINAL' Include/patchlevel.h; then
|
||||
# Update micro version, release level and version string.
|
||||
local micro_version="${PV%_pre*}"
|
||||
micro_version="${micro_version##*.}"
|
||||
local version_string="${PV%.*}.$((${micro_version} - 1))+"
|
||||
sed \
|
||||
-e "s/\(#define PY_MICRO_VERSION[[:space:]]\+\)[^[:space:]]\+/\1${micro_version}/" \
|
||||
-e "s/\(#define PY_RELEASE_LEVEL[[:space:]]\+\)[^[:space:]]\+/\1PY_RELEASE_LEVEL_ALPHA/" \
|
||||
-e "s/\(#define PY_VERSION[[:space:]]\+\"\)[^\"]\+\(\"\)/\1${version_string}\2/" \
|
||||
-i Include/patchlevel.h || die "sed failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
local excluded_patches
|
||||
if ! tc-is-cross-compiler; then
|
||||
excluded_patches="*_all_crosscompile.patch"
|
||||
fi
|
||||
|
||||
local patchset_dir
|
||||
if [[ "${PV}" == *_pre* ]]; then
|
||||
patchset_dir="${FILESDIR}/${SLOT}-${PATCHSET_REVISION}"
|
||||
else
|
||||
patchset_dir="${WORKDIR}/${MY_PV}"
|
||||
fi
|
||||
|
||||
EPATCH_EXCLUDE="${excluded_patches}" EPATCH_SUFFIX="patch" epatch "${patchset_dir}"
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=343721
|
||||
epatch "${FILESDIR}"/python-3-distutils-egg-utf8.patch
|
||||
|
||||
# Linux-3 compat. Bug #374579 (upstream issue12571)
|
||||
cp -r "${S}/Lib/plat-linux2" "${S}/Lib/plat-linux3" || die
|
||||
|
||||
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
|
||||
Lib/distutils/command/install.py \
|
||||
Lib/distutils/sysconfig.py \
|
||||
Lib/site.py \
|
||||
Lib/sysconfig.py \
|
||||
Lib/test/test_site.py \
|
||||
Makefile.pre.in \
|
||||
Modules/Setup.dist \
|
||||
Modules/getpath.c \
|
||||
setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
|
||||
# The setup.py file hardcodes /usr/lib64!
|
||||
sed -i -e "s:/lib64:/$(get_libdir):g" setup.py || die
|
||||
|
||||
if ! use wininst; then
|
||||
# Remove Microsoft Windows executables.
|
||||
rm Lib/distutils/command/wininst-*.exe
|
||||
fi
|
||||
|
||||
# Support versions of Autoconf other than 2.65.
|
||||
sed -e "/version_required(2\.65)/d" -i configure.in || die "sed failed"
|
||||
|
||||
# Disable ABI flags.
|
||||
sed -e "s/ABIFLAGS=\"\${ABIFLAGS}.*\"/:/" -i configure.in || die "sed failed"
|
||||
|
||||
if [[ "${PV}" == *_pre* ]]; then
|
||||
sed -e "s/\(-DSVNVERSION=\).*\( -o\)/\1\\\\\"${ESVN_REVISION}\\\\\"\2/" -i Makefile.pre.in || die "sed failed"
|
||||
fi
|
||||
|
||||
eautoconf
|
||||
eautoheader
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use build; then
|
||||
# Disable extraneous modules with extra dependencies.
|
||||
export PYTHON_DISABLE_MODULES="gdbm _curses _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat"
|
||||
export PYTHON_DISABLE_SSL="1"
|
||||
else
|
||||
local disable
|
||||
use gdbm || disable+=" gdbm"
|
||||
use ncurses || disable+=" _curses _curses_panel"
|
||||
use readline || disable+=" readline"
|
||||
use sqlite || disable+=" _sqlite3"
|
||||
use ssl || export PYTHON_DISABLE_SSL="1"
|
||||
use tk || disable+=" _tkinter"
|
||||
use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
|
||||
export PYTHON_DISABLE_MODULES="${disable}"
|
||||
|
||||
if ! use xml; then
|
||||
ewarn "You have configured Python without XML support."
|
||||
ewarn "This is NOT a recommended configuration as you"
|
||||
ewarn "may face problems parsing any XML documents."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
|
||||
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
|
||||
fi
|
||||
|
||||
if [[ "$(gcc-major-version)" -ge 4 ]]; then
|
||||
append-flags -fwrapv
|
||||
fi
|
||||
|
||||
filter-flags -malign-double
|
||||
|
||||
[[ "${ARCH}" == "alpha" ]] && append-flags -fPIC
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=50309
|
||||
if is-flagq -O3; then
|
||||
is-flagq -fstack-protector-all && replace-flags -O3 -O2
|
||||
use hardened && replace-flags -O3 -O2
|
||||
fi
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
OPT="-O1" CFLAGS="" LDFLAGS="" CC="" \
|
||||
./configure --{build,host}=${CBUILD} || die "cross-configure failed"
|
||||
emake python Parser/pgen || die "cross-make failed"
|
||||
mv python hostpython
|
||||
mv Parser/pgen Parser/hostpgen
|
||||
make distclean
|
||||
sed -i \
|
||||
-e "/^HOSTPYTHON/s:=.*:=./hostpython:" \
|
||||
-e "/^HOSTPGEN/s:=.*:=./Parser/hostpgen:" \
|
||||
Makefile.pre.in || die "sed failed"
|
||||
fi
|
||||
|
||||
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
|
||||
tc-export CXX
|
||||
|
||||
# Set LDFLAGS so we link modules with -lpython3.2 correctly.
|
||||
# Needed on FreeBSD unless Python 3.2 is already installed.
|
||||
# Please query BSD team before removing this!
|
||||
append-ldflags "-L."
|
||||
|
||||
local dbmliborder
|
||||
if use gdbm; then
|
||||
dbmliborder+="${dbmliborder:+:}gdbm"
|
||||
fi
|
||||
|
||||
OPT="" econf \
|
||||
--with-fpectl \
|
||||
--enable-shared \
|
||||
$(use_enable ipv6) \
|
||||
$(use_with threads) \
|
||||
$(use_with wide-unicode) \
|
||||
--infodir='${prefix}/share/info' \
|
||||
--mandir='${prefix}/share/man' \
|
||||
--with-computed-gotos \
|
||||
--with-dbmliborder="${dbmliborder}" \
|
||||
--with-libc="" \
|
||||
--enable-loadable-sqlite-extensions \
|
||||
--with-system-expat \
|
||||
--with-system-ffi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake EPYTHON="python${PV%%.*}" CPPFLAGS="" CFLAGS="" LDFLAGS="" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Tests will not work when cross compiling.
|
||||
if tc-is-cross-compiler; then
|
||||
elog "Disabling tests due to crosscompiling."
|
||||
return
|
||||
fi
|
||||
|
||||
# Byte compiling should be enabled here.
|
||||
# Otherwise test_import fails.
|
||||
python_enable_pyc
|
||||
|
||||
# Skip failing tests.
|
||||
local skip_tests="distutils gdb"
|
||||
|
||||
for test in ${skip_tests}; do
|
||||
mv "${S}/Lib/test/test_${test}.py" "${T}"
|
||||
done
|
||||
|
||||
# Rerun failed tests in verbose mode (regrtest -w).
|
||||
emake test EXTRATESTOPTS="-w" CPPFLAGS="" CFLAGS="" LDFLAGS="" < /dev/tty
|
||||
local result="$?"
|
||||
|
||||
for test in ${skip_tests}; do
|
||||
mv "${T}/test_${test}.py" "${S}/Lib/test/test_${test}.py"
|
||||
done
|
||||
|
||||
elog "The following tests have been skipped:"
|
||||
for test in ${skip_tests}; do
|
||||
elog "test_${test}.py"
|
||||
done
|
||||
|
||||
elog "If you would like to run them, you may:"
|
||||
elog "cd '${EPREFIX}$(python_get_libdir)/test'"
|
||||
elog "and run the tests separately."
|
||||
|
||||
python_disable_pyc
|
||||
|
||||
if [[ "${result}" -ne 0 ]]; then
|
||||
die "emake test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" altinstall || die "emake altinstall failed"
|
||||
python_clean_installation_image -q
|
||||
|
||||
sed \
|
||||
-e "s/\(CONFIGURE_LDFLAGS=\).*/\1/" \
|
||||
-e "s/\(PY_LDFLAGS=\).*/\1/" \
|
||||
-i "${ED}$(python_get_libdir)/config-${SLOT}/Makefile" || die "sed failed"
|
||||
|
||||
mv "${ED}usr/bin/python${SLOT}-config" "${ED}usr/bin/python-config-${SLOT}"
|
||||
|
||||
if use build; then
|
||||
rm -fr "${ED}usr/bin/idle${SLOT}" "${ED}$(python_get_libdir)/"{idlelib,sqlite3,test,tkinter}
|
||||
else
|
||||
use elibc_uclibc && rm -fr "${ED}$(python_get_libdir)/test"
|
||||
use sqlite || rm -fr "${ED}$(python_get_libdir)/"{sqlite3,test/test_sqlite*}
|
||||
use tk || rm -fr "${ED}usr/bin/idle${SLOT}" "${ED}$(python_get_libdir)/"{idlelib,tkinter,test/test_tk*}
|
||||
fi
|
||||
|
||||
use threads || rm -fr "${ED}$(python_get_libdir)/multiprocessing"
|
||||
|
||||
dodoc Misc/{ACKS,HISTORY,NEWS} || die "dodoc failed"
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r "${S}/Tools" || die "doins failed"
|
||||
fi
|
||||
|
||||
newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT} || die "newconfd failed"
|
||||
newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} || die "newinitd failed"
|
||||
|
||||
if use kernel_linux; then
|
||||
if [ -d "${ED}$(python_get_libdir)/plat-linux2" ];then
|
||||
cp -r "${ED}$(python_get_libdir)/plat-linux2" \
|
||||
"${ED}$(python_get_libdir)/plat-linux3" || die "copy plat-linux failed"
|
||||
else
|
||||
cp -r "${ED}$(python_get_libdir)/plat-linux3" \
|
||||
"${ED}$(python_get_libdir)/plat-linux2" || die "copy plat-linux failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \
|
||||
-e "s:@PYDOC@:pydoc${SLOT}:" \
|
||||
-i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version ">=${CATEGORY}/${PN}-${SLOT}_alpha"; then
|
||||
python_updater_warning="1"
|
||||
fi
|
||||
}
|
||||
|
||||
eselect_python_update() {
|
||||
if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then
|
||||
eselect python update
|
||||
fi
|
||||
|
||||
if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then
|
||||
eselect python update --python${PV%%.*}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect_python_update
|
||||
|
||||
python_mod_optimize -f -x "/(site-packages|test|tests)/" $(python_get_libdir)
|
||||
|
||||
if [[ "${python_updater_warning}" == "1" ]]; then
|
||||
ewarn
|
||||
ewarn "\e[1;31m************************************************************************\e[0m"
|
||||
ewarn
|
||||
ewarn "You have just upgraded from an older version of Python."
|
||||
ewarn "You should run 'python-updater \${options}' to rebuild Python modules."
|
||||
ewarn
|
||||
ewarn "\e[1;31m************************************************************************\e[0m"
|
||||
ewarn
|
||||
|
||||
local n
|
||||
for ((n = 0; n < 12; n++)); do
|
||||
echo -ne "\a"
|
||||
sleep 1
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect_python_update
|
||||
|
||||
python_mod_cleanup $(python_get_libdir)
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/awl/awl-0.51-r1.ebuild,v 1.1 2012/03/22 00:20:11 patrick Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit depend.php php-lib-r1
|
||||
|
||||
DESCRIPTION="Andrew McMillan's web libraries: A collection of generic classes
|
||||
used by the davical calendar server"
|
||||
HOMEPAGE="http://andrew.mcmillan.net.nz/projects/awl"
|
||||
SRC_URI="http://debian.mcmillan.net.nz/packages/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="dev-lang/php[pdo,postgres,xml]
|
||||
doc? ( dev-php/PEAR-PhpDocumentor )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
need_php5
|
||||
|
||||
src_compile() {
|
||||
if use doc ; then
|
||||
ebegin "Generating documentation"
|
||||
phpdoc -c "docs/api/phpdoc.ini" || die "Documentation failed to build"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local docs="debian/README.Debian debian/changelog"
|
||||
dodoc-php ${docs} || die "dodoc failed"
|
||||
|
||||
if use doc ; then
|
||||
dohtml -r "docs/api/" || die "dohtml failed"
|
||||
fi
|
||||
|
||||
php-lib-r1_src_install . dba/* inc/* scripts/*
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST atanks-4.7.tar.gz 3114429 RMD160 027546c34d4fc4bcfac3e116fcf12ec16ee44ed2 SHA1 bcb731c2c84d16efa1930fde8756b62c28993b24 SHA256 300be923cd6f4b7eb19c5f39db1dc001da2ee6c52f544c768e059dc5ad42a94d
|
||||
DIST atanks-5.1.tar.gz 3125673 RMD160 542cc069a850eb2a28cc6df320da62c9d6461f94 SHA1 b5c692839015992e55bb9c9eb94d75739dcb4081 SHA256 39788e7139d553c628e2cba0c81b7e24659fb640b9bbf041619d4f94e0c7286c
|
||||
DIST atanks-5.2.tar.gz 3125456 RMD160 b4b1b0e2798f1474174539b14893cc9b97e7b6c9 SHA1 ad49d15ab8dcc0066fa88a6241e4454a5b37a444 SHA256 c086810db7661ba61e2b585c5d7fb3795924e978462b866fa05d5e6a00901a8e
|
||||
DIST atanks-5.3.tar.gz 3129896 RMD160 0bc985539331a8c6e6b8faf100fdbe4f0588456b SHA1 01ae12570496db7625ab2d72b837a0346b54c3bf SHA256 592f33f742c2017947896d1f3297727a724f191664ab8bae0fd3e9af11f8d530
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/atanks-4.7.ebuild,v 1.6 2011/10/14 06:19:16 vapier Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils games
|
||||
|
||||
DESCRIPTION="Worms and Scorched Earth-like game"
|
||||
HOMEPAGE="http://atanks.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/atanks/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="media-libs/allegro:0[X]"
|
||||
|
||||
src_prepare() {
|
||||
find . -type f -name ".directory" -exec rm -vf '{}' +
|
||||
epatch "${FILESDIR}"/${P}-build.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
BINDIR="${GAMES_BINDIR}" \
|
||||
INSTALLDIR="${GAMES_DATADIR}/${PN}" \
|
||||
|| die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dogamesbin ${PN} || die "dogamesbin failed"
|
||||
insinto "${GAMES_DATADIR}"/${PN}
|
||||
doins -r button misc missile sound stock tank tankgun text title \
|
||||
unicode.dat *.txt \
|
||||
|| die "doins failed"
|
||||
doicon ${PN}.png
|
||||
make_desktop_entry atanks "Atomic Tanks"
|
||||
dodoc Changelog README TODO
|
||||
prepgamesdirs
|
||||
}
|
@ -1,134 +0,0 @@
|
||||
diff -ru atanks-4.6.orig/src/Makefile atanks-4.6/src/Makefile
|
||||
--- atanks-4.6.orig/src/Makefile 2010-05-24 12:30:23.000000000 -0400
|
||||
+++ atanks-4.6/src/Makefile 2010-06-02 03:22:25.112064819 -0400
|
||||
@@ -4,9 +4,6 @@
|
||||
missile.o perlin.o physobj.o player.o satellite.o sky.o tank.o team.o teleport.o virtobj.o \
|
||||
update.o network.o floattext.o land.o text.o client.o gameloop.o
|
||||
|
||||
-CPP=g++
|
||||
-CC=gcc
|
||||
-LD=g++
|
||||
LIB=ar
|
||||
WINDRES=
|
||||
# FLAGS += -DDATA_DIR=\".\" -Wno-write-strings -DNETWORK -DTHREADS
|
||||
@@ -15,9 +12,9 @@
|
||||
WFLAGS =
|
||||
OFLAGS =
|
||||
LFLAGS +=
|
||||
-LDFLAGS = `allegro-config --libs`
|
||||
+LDFLAGS += `allegro-config --libs`
|
||||
|
||||
-CFLAGS += -g -Wall -Iinclude # -fprofile-arcs -ftest-coverage
|
||||
+CXXFLAGS += -Wall -Iinclude # -fprofile-arcs -ftest-coverage
|
||||
|
||||
SRCS = $(MODULES:.o=.cpp)
|
||||
GLOBALS = main.h imagedefs.h externs.h
|
||||
@@ -33,82 +30,82 @@
|
||||
$(MODULES): Makefile
|
||||
|
||||
atanks.o: atanks.cpp globals.h main.h menucontent.h
|
||||
- $(CPP) -c atanks.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c atanks.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
button.o: button.cpp button.h
|
||||
- $(CPP) -c button.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c button.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
client.o: client.h client.cpp
|
||||
- $(CPP) -c client.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGSS) $(CFLAGS)
|
||||
+ $(CXX) -c client.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGSS) $(CXXFLAGS)
|
||||
|
||||
environment.o: environment.cpp environment.h
|
||||
- $(CPP) -c environment.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c environment.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
explosion.o: explosion.cpp explosion.h
|
||||
- $(CPP) -c explosion.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c explosion.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
files.o: files.cpp files.h text.h text.cpp
|
||||
- $(CPP) -c files.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c files.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
floattext.o: floattext.cpp floattext.h
|
||||
- $(CPP) -c floattext.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c floattext.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
gameloop.o: gameloop.cpp atanks.cpp main.h
|
||||
- $(CPP) -c gameloop.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c gameloop.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
globaldata.o: globaldata.cpp globaldata.h
|
||||
- $(CPP) -c globaldata.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c globaldata.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
land.o: land.cpp land.h globaldata.h environment.h
|
||||
- $(CPP) -c land.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c land.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
missile.o: missile.cpp missile.h
|
||||
- $(CPP) -c missile.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c missile.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
teleport.o: teleport.cpp teleport.h
|
||||
- $(CPP) -c teleport.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c teleport.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
physobj.o: physobj.cpp physobj.h
|
||||
- $(CPP) -c physobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c physobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
player.o: player.cpp player.h
|
||||
- $(CPP) -c player.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c player.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
tank.o: tank.cpp tank.h
|
||||
- $(CPP) -c tank.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c tank.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
team.o: team.cpp team.h
|
||||
- $(CPP) -c team.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c team.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
virtobj.o: virtobj.cpp virtobj.h
|
||||
- $(CPP) -c virtobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c virtobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
fade.o: fade.cpp
|
||||
- $(CPP) -c fade.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c fade.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
perlin.o: perlin.cpp
|
||||
- $(CPP) -c perlin.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c perlin.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
sky.o: sky.cpp sky.h
|
||||
- $(CPP) -c sky.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c sky.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
satellite.o: satellite.cpp satellite.h
|
||||
- $(CPP) -c satellite.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c satellite.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
text.o: text.cpp text.h
|
||||
- $(CPP) -c text.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c text.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
update.o: update.cpp update.h
|
||||
- $(CPP) -c update.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c update.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
network.o: network.cpp network.h
|
||||
- $(CPP) -c network.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c network.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
%.o: %.cpp %.h
|
||||
- $(CPP) -c $< -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
|
||||
+ $(CXX) -c $< -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
|
||||
|
||||
$(OUTPUT): $(OBJECTS) $(MODULES)
|
||||
- $(CPP) $(MODULES) -o $(OUTPUT) $(FLAGS) $(LFLAGS) $(LDFLAGS) $(SFLAGS) $(CFLAGS)
|
||||
+ $(CXX) $(MODULES) -o $(OUTPUT) $(FLAGS) $(LFLAGS) $(LDFLAGS) $(SFLAGS) $(CXXFLAGS)
|
||||
# strip $(OUTPUT)
|
||||
|
||||
# dependencies:
|
@ -1 +1,2 @@
|
||||
DIST nazghul-0.7.0.tar.gz 7819035 RMD160 406f1e98c4de628603de7e39288129e1c126db3e SHA1 1d67c3fb3b03b3f8b5170305f3d97428932e6c4f SHA256 023796490e6ba15be1d5ae40856efb27071b3a61cd2289c06d7bef124436425b
|
||||
DIST nazghul-0.7.1.tar.gz 7929363 RMD160 e339b122aac6d67262a42e1468ee41fe48826ce7 SHA1 eab4e5c49761373ad083ec606beb36af10fb8532 SHA256 f1b62810da52a116dfc1c407dbe683991b1b380ca611f57b5701cfbb803e9d2b
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-engines/nazghul/nazghul-0.7.1.ebuild,v 1.1 2012/03/22 01:50:37 mr_bones_ Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils games
|
||||
|
||||
DESCRIPTION="A computer role-playing game (CRPG) engine with game called HaximA"
|
||||
HOMEPAGE="http://myweb.cableone.net/gmcnutt/nazghul.html"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="media-libs/libpng
|
||||
>=media-libs/libsdl-1.2.3[X,audio,video]
|
||||
media-libs/sdl-image[png]
|
||||
media-libs/sdl-mixer[midi,vorbis,wav]"
|
||||
|
||||
src_prepare() {
|
||||
ecvs_clean
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
egamesconf \
|
||||
--includedir=/usr/include
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README \
|
||||
doc/{GAME_RULES,GHULSCRIPT,MAP_HACKERS_GUIDE,USERS_GUIDE}
|
||||
|
||||
dohtml -a html,gif -r doc/*
|
||||
|
||||
docinto engine_extension_and_design
|
||||
dodoc doc/engine_extension_and_design/*
|
||||
|
||||
docinto world_building
|
||||
dodoc doc/world_building/*
|
||||
|
||||
doicon icons/haxima.png
|
||||
make_desktop_entry haxima.sh HaximA haxima
|
||||
|
||||
prepgamesdirs
|
||||
}
|
@ -1,127 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-1.8.5.ebuild,v 1.5 2011/10/04 01:27:59 josejx Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit cmake-utils eutils multilib toolchain-funcs flag-o-matic games
|
||||
|
||||
DESCRIPTION="Battle for Wesnoth - A fantasy turn-based strategy game"
|
||||
HOMEPAGE="http://www.wesnoth.org/"
|
||||
SRC_URI="mirror://sourceforge/wesnoth/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
|
||||
IUSE="dbus dedicated doc nls server tinygui"
|
||||
|
||||
RDEPEND=">=media-libs/libsdl-1.2.7[video,X]
|
||||
media-libs/sdl-net
|
||||
>=media-libs/sdl-ttf-2.0.8
|
||||
>=media-libs/sdl-mixer-1.2[vorbis]
|
||||
>=media-libs/sdl-image-1.2[jpeg,png]
|
||||
!dedicated? (
|
||||
dbus? ( sys-apps/dbus )
|
||||
)
|
||||
>=dev-libs/boost-1.35
|
||||
sys-libs/zlib
|
||||
x11-libs/pango
|
||||
dev-lang/lua
|
||||
media-libs/fontconfig
|
||||
virtual/libintl"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
!dedicated? (
|
||||
tinygui? (
|
||||
|| (
|
||||
media-gfx/imagemagick[jpeg,png]
|
||||
media-gfx/graphicsmagick[imagemagick,jpeg,png]
|
||||
)
|
||||
)
|
||||
)
|
||||
sys-devel/gettext"
|
||||
|
||||
src_prepare() {
|
||||
if use dedicated || use server ; then
|
||||
sed \
|
||||
-e "s:GAMES_BINDIR:${GAMES_BINDIR}:" \
|
||||
-e "s:GAMES_STATEDIR:${GAMES_STATEDIR}:" \
|
||||
-e "s/GAMES_USER_DED/${GAMES_USER_DED}/" \
|
||||
-e "s/GAMES_GROUP/${GAMES_GROUP}/" "${FILESDIR}"/wesnothd.rc \
|
||||
> "${T}"/wesnothd \
|
||||
|| die "sed failed"
|
||||
fi
|
||||
if ! use doc ; then
|
||||
sed -i \
|
||||
-e '/manual/d' \
|
||||
doc/CMakeLists.txt \
|
||||
|| die "sed failed"
|
||||
fi
|
||||
# how do I hate boost? Let me count the ways...
|
||||
local boost_ver=$(best_version ">=dev-libs/boost-1.35")
|
||||
|
||||
boost_ver=${boost_ver/*boost-/}
|
||||
boost_ver=${boost_ver%.*}
|
||||
boost_ver=${boost_ver/./_}
|
||||
|
||||
einfo "Using boost version ${boost_ver}"
|
||||
append-cxxflags \
|
||||
-I/usr/include/boost-${boost_ver}
|
||||
append-ldflags \
|
||||
-L/usr/$(get_libdir)/boost-${boost_ver}
|
||||
export BOOST_INCLUDEDIR="/usr/include/boost-${boost_ver}"
|
||||
export BOOST_LIBRARYDIR="/usr/$(get_libdir)/boost-${boost_ver}"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
filter-flags -ftracer -fomit-frame-pointer
|
||||
if [[ $(gcc-major-version) -eq 3 ]] ; then
|
||||
filter-flags -fstack-protector
|
||||
append-flags -fno-stack-protector
|
||||
fi
|
||||
if use dedicated || use server ; then
|
||||
mycmakeargs=(
|
||||
"-DENABLE_CAMPAIGN_SERVER=TRUE"
|
||||
"-DENABLE_SERVER=TRUE"
|
||||
"-DSERVER_UID=${GAMES_USER_DED}"
|
||||
"-DSERVER_GID=${GAMES_GROUP}"
|
||||
"-DFIFO_DIR=${GAMES_STATEDIR}/run/wesnothd"
|
||||
)
|
||||
else
|
||||
mycmakeargs=(
|
||||
"-DENABLE_CAMPAIGN_SERVER=FALSE"
|
||||
"-DENABLE_SERVER=FALSE"
|
||||
)
|
||||
fi
|
||||
mycmakeargs+=(
|
||||
$(cmake-utils_use_enable !dedicated GAME)
|
||||
$(cmake-utils_use_enable !dedicated ENABLE_DESKTOP_ENTRY)
|
||||
$(cmake-utils_use_enable nls NLS)
|
||||
$(cmake-utils_use_enable dbus NOTIFICATIONS)
|
||||
"-DGUI=$(use tinygui && echo tiny || echo normal)"
|
||||
"-DCMAKE_VERBOSE_MAKEFILE=TRUE"
|
||||
"-DENABLE_FRIBIDI=FALSE"
|
||||
"-DENABLE_STRICT_COMPILATION=FALSE"
|
||||
"-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}"
|
||||
"-DPREFERENCES_DIR=.wesnoth"
|
||||
"-DDATAROOTDIR=${GAMES_DATADIR}"
|
||||
"-DBINDIR=${GAMES_BINDIR}"
|
||||
"-DICONDIR=/usr/share/pixmaps"
|
||||
"-DDESKTOPDIR=/usr/share/applications"
|
||||
"-DMANDIR=/usr/share/man"
|
||||
"-DDOCDIR=/usr/share/doc/${PF}"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DOCS="README changelog players_changelog" cmake-utils_src_install
|
||||
if use dedicated || use server; then
|
||||
keepdir "${GAMES_STATEDIR}/run/wesnothd"
|
||||
doinitd "${T}"/wesnothd || die "doinitd failed"
|
||||
fi
|
||||
prepgamesdirs
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST pyfa-1.1.2-crucible-src.tar.bz2 4034641 RMD160 deb3467c6b23652005d18670e0b147d64e07da8a SHA1 4e25ec9b68ce8390f43a1548ad57939b0cf79688 SHA256 f0b976a0975a91217850a1b4549a00fbb4bfe5d2cd427d543adca8348e32210f
|
||||
DIST pyfa-1.1.3-crucible-src.tar.bz2 3918655 RMD160 768be5be520b4a4515a1944588b784ef2b45495b SHA1 1dcf5cab833e0b739cce8b58686f4b3209a85507 SHA256 ad0ab1589cdd5b2783781e27f789c119883cef59437234aeaabea1f71c84b5d8
|
||||
DIST pyfa-1.1.4-crucible-src.tar.bz2 3926243 RMD160 56a8b7a376a203b37bef393f376d8800c23113e5 SHA1 178fecb02b1ea6d6b83a03102cc3c8ad9cc2417f SHA256 e7ddd071d7f2c7b2794e0bece1964b4763ddcc8ba1d84f9f9736552897672674
|
||||
|
@ -0,0 +1,40 @@
|
||||
From 6971971729dbbea1db8c1006c99b1035f30214a2 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
Date: Wed, 21 Mar 2012 18:24:26 -0400
|
||||
Subject: [PATCH] Use wxversion.select('2.8') to support systems that have
|
||||
wxpython-2.9 installed
|
||||
|
||||
Pyfa-1.x supports only wxpython-2.8, but multiple wxpython versions can
|
||||
be installed in parallel, and by default, 'import wx' pulls in the
|
||||
latest one.
|
||||
|
||||
To support systems that have both wxpython-2.8 and 2.9 installed, pyfa
|
||||
needs to call wxversion.select.
|
||||
|
||||
Note that wxversion.select can potentially fail with several exceptions
|
||||
internal to the wxversion module, so for simplicity, just check for all
|
||||
of them with an 'except:'.
|
||||
|
||||
http://trac.evefit.org/ticket/475
|
||||
---
|
||||
pyfa.py | 4 ++--
|
||||
1 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/pyfa.py b/pyfa.py
|
||||
index aedb718..6992aaf 100755
|
||||
--- a/pyfa.py
|
||||
+++ b/pyfa.py
|
||||
@@ -29,8 +29,8 @@ if not hasattr(sys, 'frozen'):
|
||||
|
||||
try:
|
||||
import wxversion
|
||||
- wxversion.ensureMinimal('2.8')
|
||||
- except ImportError:
|
||||
+ wxversion.select('2.8')
|
||||
+ except:
|
||||
print "Cannot find wxPython or the installed wxPython version doesn't meet the min. requirements.\nYou can download wxPython (2.8) from http://www.wxpython.org/"
|
||||
sys.exit(1)
|
||||
|
||||
--
|
||||
1.7.8.5
|
||||
|
@ -1,79 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-util/pyfa/pyfa-1.1.3.ebuild,v 1.1 2012/03/14 06:41:11 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
PYTHON_USE_WITH="sqlite threads"
|
||||
|
||||
inherit eutils gnome2-utils python
|
||||
|
||||
if [[ ${PV/_rc*/} == ${PV} ]] ; then
|
||||
MY_PV=${PV}-crucible-src
|
||||
FOLDER=stable/${PV}
|
||||
else
|
||||
MY_PV=${PV/_rc/-stable-RC}-src
|
||||
FOLDER=stable/${PV/*_rc/RC}
|
||||
fi
|
||||
|
||||
DESCRIPTION="Python Fitting Assistant - a ship fitting application for EVE Online"
|
||||
HOMEPAGE="http://www.evefit.org/Pyfa"
|
||||
SRC_URI="http://dl.evefit.org/${FOLDER}/${PN}-${MY_PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3 LGPL-2.1 CCPL-Attribution-2.5 free-noncomm"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+graph"
|
||||
|
||||
RDEPEND="dev-python/sqlalchemy
|
||||
>=dev-python/wxpython-2.8
|
||||
graph? ( dev-python/matplotlib[wxwidgets] dev-python/numpy )"
|
||||
DEPEND=""
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# make staticPath settable from configforced again
|
||||
epatch "${FILESDIR}/${PN}-1.1-staticPath.patch"
|
||||
|
||||
python_convert_shebangs -r -x 2 .
|
||||
sed -e "s:%%SITEDIR%%:$(python_get_sitedir):" \
|
||||
-e "s:%%EPREFIX%%:${EPREFIX}:" \
|
||||
"${FILESDIR}/configforced.py" > configforced.py
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local packagedir=$(python_get_sitedir)/${PN}
|
||||
insinto "${packagedir}"
|
||||
doins -r eos gui icons service config*.py info.py gpl.txt
|
||||
exeinto "${packagedir}"
|
||||
doexe ${PN}.py
|
||||
dosym "${packagedir}/${PN}.py" /usr/bin/${PN}
|
||||
insinto /usr/share/${PN}
|
||||
doins -r staticdata
|
||||
dodoc readme.txt
|
||||
insinto /usr/share/icons/hicolor/32x32/apps
|
||||
doins icons/pyfa.png
|
||||
insinto /usr/share/icons/hicolor/64x64/apps
|
||||
newins icons/pyfa64.png pyfa.png
|
||||
domenu "${FILESDIR}/${PN}.desktop"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
python_mod_optimize ${PN}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
python_mod_cleanup ${PN}
|
||||
}
|
@ -0,0 +1,111 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird-bin/thunderbird-bin-10.0.3.ebuild,v 1.1 2012/03/21 18:26:29 jdhore Exp $
|
||||
|
||||
EAPI="4"
|
||||
MOZ_ESR="1"
|
||||
|
||||
# Can be updated using scripts/get_langs.sh from mozilla overlay
|
||||
MOZ_LANGS=(ar ast be bg bn-BD br ca cs da de el en en-GB en-US es-AR es-ES et eu
|
||||
fi fr fy-NL ga-IE gd gl he hu id is it ja ko lt nb-NO nl nn-NO pa-IN pl pt-BR
|
||||
pt-PT rm ro ru si sk sl sq sr sv-SE ta-LK tr uk vi zh-CN zh-TW)
|
||||
|
||||
# Convert the ebuild version to the upstream mozilla version, used by
|
||||
MOZ_PN="${PN/-bin}"
|
||||
MOZ_PV="${PV/_beta/b}"
|
||||
MOZ_PV="${MOZ_PV/_rc/rc}"
|
||||
|
||||
if [[ ${MOZ_ESR} == 1 ]]; then
|
||||
# ESR releases have slightly version numbers
|
||||
MOZ_PV="${MOZ_PV}esr"
|
||||
fi
|
||||
|
||||
MOZ_P="${MOZ_PN}-${MOZ_PV}"
|
||||
|
||||
# Upstream ftp release URI that's used by mozlinguas.eclass
|
||||
# We don't use the http mirror because it deletes old tarballs.
|
||||
MOZ_FTP_URI="ftp://ftp.mozilla.org/pub/mozilla.org/${MOZ_PN}/releases/"
|
||||
|
||||
inherit eutils multilib pax-utils fdo-mime gnome2-utils mozlinguas nsplugins
|
||||
|
||||
DESCRIPTION="Thunderbird Mail Client"
|
||||
SRC_URI="${SRC_URI}
|
||||
amd64? ( ${MOZ_FTP_URI}/${MOZ_PV}/linux-x86_64/en-US/${MOZ_P}.tar.bz2 -> ${PN}_x86_64-${PV}.tar.bz2 )
|
||||
x86? ( ${MOZ_FTP_URI}/${MOZ_PV}/linux-i686/en-US/${MOZ_P}.tar.bz2 -> ${PN}_i686-${PV}.tar.bz2 )"
|
||||
HOMEPAGE="http://www.mozilla.com/thunderbird"
|
||||
RESTRICT="strip mirror binchecks"
|
||||
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
SLOT="0"
|
||||
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
|
||||
IUSE="+crashreporter"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND="virtual/freedesktop-icon-theme
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
x11-libs/libXmu
|
||||
>=x11-libs/gtk+-2.2:2
|
||||
>=media-libs/alsa-lib-1.0.16
|
||||
crashreporter? ( net-misc/curl ) "
|
||||
|
||||
S="${WORKDIR}/${MOZ_PN}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
# Unpack language packs
|
||||
mozlinguas_src_unpack
|
||||
}
|
||||
|
||||
src_install() {
|
||||
declare MOZILLA_FIVE_HOME="/opt/${MOZ_PN}"
|
||||
|
||||
# Install thunderbird in /opt
|
||||
dodir ${MOZILLA_FIVE_HOME%/*}
|
||||
mv "${S}" "${D}"${MOZILLA_FIVE_HOME}
|
||||
|
||||
# Install language packs
|
||||
mozlinguas_src_install
|
||||
|
||||
# Create /usr/bin/thunderbird-bin
|
||||
dodir /usr/bin/
|
||||
cat <<EOF >"${D}"/usr/bin/${PN}
|
||||
#!/bin/sh
|
||||
unset LD_PRELOAD
|
||||
LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}"
|
||||
exec ${MOZILLA_FIVE_HOME}/thunderbird "\$@"
|
||||
EOF
|
||||
fperms 0755 /usr/bin/${PN}
|
||||
|
||||
# Install icon and .desktop for menu entry
|
||||
doicon "${FILESDIR}"/icon/${PN}-icon.png
|
||||
domenu "${FILESDIR}"/icon/${PN}.desktop
|
||||
|
||||
# revdep-rebuild entry
|
||||
insinto /etc/revdep-rebuild
|
||||
doins "${FILESDIR}"/10${PN}
|
||||
|
||||
# Enable very specific settings for thunderbird-3
|
||||
cp "${FILESDIR}"/thunderbird-gentoo-default-prefs.js \
|
||||
"${D}/${MOZILLA_FIVE_HOME}/defaults/pref/all-gentoo.js" || \
|
||||
die "failed to cp thunderbird-gentoo-default-prefs.js"
|
||||
|
||||
# Plugins dir
|
||||
share_plugins_dir
|
||||
|
||||
pax-mark mr "${ED}"/${MOZILLA_FIVE_HOME}/{thunderbird-bin,thunderbird,plugin-container}
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/colorhug-client/colorhug-client-0.1.7-r1.ebuild,v 1.1 2012/03/21 15:26:29 gregkh Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit gnome2-utils
|
||||
|
||||
DESCRIPTION="Client tools for the ColorHug display colorimeter"
|
||||
HOMEPAGE="http://www.hughsie.com/"
|
||||
SRC_URI="http://people.freedesktop.org/~hughsient/releases/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-db/sqlite:3
|
||||
>=dev-libs/glib-2.28.0
|
||||
dev-libs/libgusb
|
||||
media-libs/lcms:2
|
||||
net-libs/libsoup:2.4
|
||||
x11-libs/gtk+:3
|
||||
>=x11-misc/colord-0.1.15"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_schemas_update
|
||||
}
|
||||
pkg_postrm() {
|
||||
gnome2_schemas_update
|
||||
}
|
@ -1 +1 @@
|
||||
DIST libcdr-0.0.4.tar.xz 469428 RMD160 50c99a13c266a4555a778937722c01c34966c099 SHA1 f3cbada2925800a7a55548ca87454b8765615429 SHA256 b0f1ded08bbdf09ed0b5f9b277661811e22388b26e847c4a43b02ce635cbe7c9
|
||||
DIST libcdr-0.0.5.tar.xz 460504 RMD160 47b7d659e96af54fb42faf1522632fd261c64714 SHA1 725bf06b6b8000fd472408befb1a0b0e80a8fdbd SHA256 83b84cc2ffa5444b3d9a07026a064c3a0c2744c8dc8f2fcd1888bdba92b1e244
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libcdr/libcdr-0.0.4.ebuild,v 1.1 2012/03/09 15:11:59 scarabeus Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libcdr/libcdr-0.0.5.ebuild,v 1.1 2012/03/21 21:40:31 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
@ -1 +1,2 @@
|
||||
DIST openjpeg-1.5.0.tar.gz 2117572 RMD160 ffa85dbb0a3ba1545bc6974f4950f466789c04ef SHA1 dce705ae45f137e4698a8cf39d1fbf22bc434fa8 SHA256 c9908fab44432a2ed2550c457cb7e736da6d7c326f1203d23d1082d992364ace
|
||||
DIST openjpeg_v1_4_sources_r697.tgz 2365447 RMD160 c0d88c4a312651bac17d50bd6917e1b678fcf8f7 SHA1 9ef6a08ecf5944962b4e2cd7569ac01a8eaa66d0 SHA256 493e4db087bf5c5485618a1e1cfd827c4fb2ad421a4342903b166b76cf094b73
|
||||
|
@ -0,0 +1,72 @@
|
||||
Some bits have been loaned from http://pkgs.fedoraproject.org/gitweb/?p=openjpeg.git;a=tree
|
||||
|
||||
--- CMake/OpenJPEGConfig.cmake.in
|
||||
+++ CMake/OpenJPEGConfig.cmake.in
|
||||
@@ -11,13 +11,13 @@
|
||||
SET(OPENJPEG_BUILD_VERSION "@OPENJPEG_VERSION_BUILD@")
|
||||
|
||||
# The libraries.
|
||||
-SET(OPENJPEG_LIBRARIES "@OPENJPEG_LIBRARIES@")
|
||||
+SET(OPENJPEG_LIBRARIES "@OPENJPEG_LIBRARY_NAME@")
|
||||
|
||||
# The CMake macros dir.
|
||||
-SET(OPENJPEG_CMAKE_DIR "@OPENJPEG_CMAKE_DIR_CONFIG@")
|
||||
+SET(OPENJPEG_CMAKE_DIR "@OPENJPEG_INSTALL_PACKAGE_DIR@")
|
||||
|
||||
# The configuration options.
|
||||
-SET(OPENJPEG_BUILD_SHARED_LIBS "@OPENJPEG_BUILD_SHARED_LIBS@")
|
||||
+SET(OPENJPEG_BUILD_SHARED_LIBS "@BUILD_SHARED_LIBS@")
|
||||
|
||||
# The "use" file.
|
||||
SET(OPENJPEG_USE_FILE "@OPENJPEG_USE_FILE_CONFIG@")
|
||||
--- CMakeLists.txt
|
||||
+++ CMakeLists.txt
|
||||
@@ -146,7 +146,7 @@
|
||||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/libopenjpeg1.pc.cmake
|
||||
${CMAKE_CURRENT_BINARY_DIR}/libopenjpeg1.pc @ONLY)
|
||||
INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/libopenjpeg1.pc DESTINATION
|
||||
- ${OPENJPEG_INSTALL_SHARE_DIR}/pkgconfig )
|
||||
+ ${OPENJPEG_INSTALL_LIB_DIR}/pkgconfig )
|
||||
INSTALL( CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink
|
||||
\"libopenjpeg1.pc\"
|
||||
\"\$ENV{DESTDIR}${OPENJPEG_INSTALL_LIB_DIR}/pkgconfig/libopenjpeg.pc\")")
|
||||
@@ -252,11 +252,4 @@
|
||||
DESTINATION ${OPENJPEG_INSTALL_PACKAGE_DIR}
|
||||
)
|
||||
|
||||
-#-----------------------------------------------------------------------------
|
||||
-# install CHANGES and LICENSE
|
||||
-INSTALL(
|
||||
- FILES CHANGES
|
||||
- LICENSE
|
||||
- DESTINATION ${OPENJPEG_INSTALL_DOC_DIR})
|
||||
-
|
||||
INCLUDE (CMake/OpenJPEGCPack.cmake)
|
||||
--- libopenjpeg/CMakeLists.txt
|
||||
+++ libopenjpeg/CMakeLists.txt
|
||||
@@ -57,6 +57,10 @@
|
||||
INSTALL(FILES openjpeg.h
|
||||
DESTINATION ${OPENJPEG_INSTALL_INCLUDE_DIR}/${OPENJPEG_INSTALL_SUBDIR} COMPONENT Headers
|
||||
)
|
||||
+INSTALL( CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink
|
||||
+ \"${OPENJPEG_INSTALL_SUBDIR}/openjpeg.h\"
|
||||
+ \"\$ENV{DESTDIR}${OPENJPEG_INSTALL_INCLUDE_DIR}/openjpeg.h\")"
|
||||
+)
|
||||
|
||||
# install man page of the library
|
||||
INSTALL(
|
||||
--- libopenjpeg1.pc.cmake
|
||||
+++ libopenjpeg1.pc.cmake
|
||||
@@ -1,8 +1,8 @@
|
||||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
-bindir=@OPENJPEG_INSTALL_BIN_DIR@
|
||||
-datadir=@OPENJPEG_INSTALL_DATA_DIR@
|
||||
-libdir=@OPENJPEG_INSTALL_LIB_DIR@
|
||||
-includedir=@OPENJPEG_INSTALL_INCLUDE_DIR@
|
||||
+bindir=${prefix}/@OPENJPEG_INSTALL_BIN_DIR@
|
||||
+datadir=${prefix}/@OPENJPEG_INSTALL_DATA_DIR@
|
||||
+libdir=${prefix}/@OPENJPEG_INSTALL_LIB_DIR@
|
||||
+includedir=${prefix}/@OPENJPEG_INSTALL_INCLUDE_DIR@/@OPENJPEG_INSTALL_SUBDIR@
|
||||
|
||||
Name: openjpeg
|
||||
Description: JPEG2000 files library
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/openjpeg/openjpeg-1.5.0.ebuild,v 1.2 2012/03/22 04:37:50 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit cmake-utils multilib
|
||||
|
||||
DESCRIPTION="An open-source JPEG 2000 library"
|
||||
HOMEPAGE="http://code.google.com/p/openjpeg/"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="media-libs/lcms:2
|
||||
media-libs/libpng:0
|
||||
media-libs/tiff:0
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
DOCS=( AUTHORS CHANGES NEWS README THANKS )
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-build.patch )
|
||||
|
||||
RESTRICT="test" #409263
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DOPENJPEG_INSTALL_LIB_DIR="$(get_libdir)"
|
||||
$(cmake-utils_use_build doc)
|
||||
$(cmake-utils_use_build test TESTING)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
# See broken -E create_symlink(s) in the -build.patch!
|
||||
dosym openjpeg-1.5/openjpeg.h /usr/include/openjpeg.h
|
||||
dosym libopenjpeg1.pc /usr/$(get_libdir)/pkgconfig/libopenjpeg.pc
|
||||
}
|
@ -1,112 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/live-2012.02.29.ebuild,v 1.1 2012/03/20 10:05:44 aballier Exp $
|
||||
|
||||
EAPI=3
|
||||
inherit flag-o-matic eutils toolchain-funcs multilib
|
||||
|
||||
DESCRIPTION="Source-code libraries for standards-based RTP/RTCP/RTSP multimedia streaming, suitable for embedded and/or low-cost streaming applications"
|
||||
HOMEPAGE="http://www.live555.com/"
|
||||
SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
# Alexis Ballier <aballier@gentoo.org>
|
||||
# Be careful, bump this everytime you bump the package and the ABI has changed.
|
||||
# If you don't know, ask someone.
|
||||
LIVE_ABI_VERSION=4
|
||||
|
||||
src_prepare() {
|
||||
cd "${WORKDIR}"
|
||||
epatch "${FILESDIR}/${PN}-recursive.patch"
|
||||
|
||||
cp -pPR live live-shared
|
||||
mv live live-static
|
||||
|
||||
cp "${FILESDIR}/config.gentoo" live-static
|
||||
cp "${FILESDIR}/config.gentoo-so-r1" live-shared
|
||||
|
||||
case ${CHOST} in
|
||||
*-solaris*)
|
||||
sed -i \
|
||||
-e '/^COMPILE_OPTS /s/$/ -DSOLARIS/' \
|
||||
-e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \
|
||||
live-static/config.gentoo \
|
||||
live-shared/config.gentoo-so-r1 \
|
||||
|| die
|
||||
;;
|
||||
*-darwin*)
|
||||
sed -i \
|
||||
-e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \
|
||||
-e '/^LINK /s/$/ /' \
|
||||
-e '/^LIBRARY_LINK /s/$/ /' \
|
||||
-e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \
|
||||
live-static/config.gentoo \
|
||||
|| die static
|
||||
sed -i \
|
||||
-e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \
|
||||
-e '/^LINK /s/$/ /' \
|
||||
-e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \
|
||||
-e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \
|
||||
live-shared/config.gentoo-so-r1 \
|
||||
|| die shared
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() {
|
||||
tc-export CC CXX LD
|
||||
|
||||
cd "${WORKDIR}/live-static"
|
||||
|
||||
einfo "Beginning static library build"
|
||||
./genMakefiles gentoo
|
||||
emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries"
|
||||
|
||||
einfo "Beginning programs build"
|
||||
cd "${WORKDIR}/live-static/testProgs"
|
||||
emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs"
|
||||
cd "${WORKDIR}/live-static/mediaServer"
|
||||
emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build the mediaserver"
|
||||
|
||||
cd "${WORKDIR}/live-shared"
|
||||
einfo "Beginning shared library build"
|
||||
./genMakefiles gentoo-so-r1
|
||||
local suffix=$(get_libname ${LIVE_ABI_VERSION})
|
||||
emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" || die "failed to build shared libraries"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do
|
||||
dolib.a live-static/${library}/lib${library}.a
|
||||
dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION})
|
||||
dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname)
|
||||
|
||||
insinto /usr/include/${library}
|
||||
doins live-shared/${library}/include/*h
|
||||
done
|
||||
|
||||
# Should we really install these?
|
||||
find live-static/testProgs -type f -perm +111 -print0 | \
|
||||
xargs -0 dobin
|
||||
|
||||
#install included live555MediaServer aplication
|
||||
dobin live-static/mediaServer/live555MediaServer
|
||||
|
||||
# install docs
|
||||
dodoc live-static/README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "If you are upgrading from a version prior to live-2008.02.08"
|
||||
ewarn "Please make sure to rebuild applications built against ${PN}"
|
||||
ewarn "like vlc or mplayer. ${PN} may have had ABI changes and ${PN}"
|
||||
ewarn "support might be broken."
|
||||
}
|
@ -0,0 +1,277 @@
|
||||
--- Csound5.17.2/SConstruct
|
||||
+++ Csound5.17.2/SConstruct
|
||||
@@ -89,6 +89,9 @@
|
||||
commandOptions.Add('usePortMIDI',
|
||||
'Build PortMidi plugin for real time MIDI input and output.',
|
||||
'1')
|
||||
+commandOptions.Add('usePulseAudio',
|
||||
+ 'Set to 1 to use PulseAudio for real-time audio and MIDI input and output.',
|
||||
+ '1')
|
||||
commandOptions.Add('useALSA',
|
||||
'Set to 1 to use ALSA for real-time audio and MIDI input and output.',
|
||||
'1')
|
||||
@@ -101,6 +104,9 @@
|
||||
commandOptions.Add('noFLTKThreads',
|
||||
'Set to 1 to disable use of a separate thread for FLTK widgets.',
|
||||
'1')
|
||||
+commandOptions.Add('useLuaJIT',
|
||||
+ 'Set to 1 to use the Just-In-Time Compiler for Lua',
|
||||
+ '1')
|
||||
commandOptions.Add('pythonVersion',
|
||||
'Set to the Python version to be used.',
|
||||
'%d.%d' % (int(sys.hexversion) >> 24, (int(sys.hexversion) >> 16) & 255))
|
||||
@@ -180,6 +186,15 @@
|
||||
commandOptions.Add('dynamicCsoundLibrary',
|
||||
'Build dynamic Csound library instead of libcsound.a',
|
||||
'0')
|
||||
+commandOptions.Add('buildChuaOpcodes',
|
||||
+ 'Set to 1 to build chua opcodes.',
|
||||
+ '1')
|
||||
+commandOptions.Add('buildLinearOpcodes',
|
||||
+ 'Set to 1 to build linear algebra opcodes.',
|
||||
+ '1')
|
||||
+commandOptions.Add('buildFluidOpcodes',
|
||||
+ 'Set to 1 to build Fluidsynth opcodes.',
|
||||
+ '1')
|
||||
commandOptions.Add('buildStkOpcodes',
|
||||
"Build opcodes encapsulating Perry Cook's Synthesis Toolkit in C++ instruments and effects",
|
||||
'0')
|
||||
@@ -352,6 +367,7 @@
|
||||
fileOptions.Add('customCXXFLAGS')
|
||||
fileOptions.Add('customLIBS')
|
||||
fileOptions.Add('customLIBPATH')
|
||||
+fileOptions.Add('customLINKFLAGS')
|
||||
fileOptions.Add('customSHLINKFLAGS')
|
||||
fileOptions.Add('customSWIGFLAGS')
|
||||
fileOptions.Update(commonEnvironment)
|
||||
@@ -366,6 +382,8 @@
|
||||
commonEnvironment.Prepend(LIBS = customLIBS)
|
||||
customLIBPATH = commonEnvironment['customLIBPATH']
|
||||
commonEnvironment.Prepend(LIBPATH = customLIBPATH)
|
||||
+customLINKFLAGS = commonEnvironment['customLINKFLAGS']
|
||||
+commonEnvironment.Prepend(LINKFLAGS = customLINKFLAGS)
|
||||
customSHLINKFLAGS = commonEnvironment['customSHLINKFLAGS']
|
||||
commonEnvironment.Prepend(SHLINKFLAGS = customSHLINKFLAGS)
|
||||
customSWIGFLAGS = commonEnvironment['customSWIGFLAGS']
|
||||
@@ -469,14 +487,6 @@
|
||||
if commonEnvironment['buildRelease'] == '0':
|
||||
commonEnvironment.Prepend(CPPFLAGS = ['-DBETA'])
|
||||
|
||||
-if commonEnvironment['Lib64'] == '1':
|
||||
- if getPlatform() == 'sunos':
|
||||
- commonEnvironment.Prepend(LIBPATH = ['.', '#.', '/lib/64', '/usr/lib/64'])
|
||||
- else:
|
||||
- commonEnvironment.Prepend(LIBPATH = ['.', '#.', '/usr/local/lib64'])
|
||||
-else:
|
||||
- commonEnvironment.Prepend(LIBPATH = ['.', '#.', '/usr/local/lib'])
|
||||
-
|
||||
if commonEnvironment['Word64'] == '1':
|
||||
if compilerSun():
|
||||
commonEnvironment.Append(CCFLAGS = ['-xcode=pic32'])
|
||||
@@ -494,10 +504,7 @@
|
||||
if getPlatform() == 'linux':
|
||||
commonEnvironment.Append(CCFLAGS = ["-DLINUX"])
|
||||
commonEnvironment.Append(CPPFLAGS = ['-DHAVE_SOCKETS'])
|
||||
- commonEnvironment.Append(CPPPATH = ['/usr/local/include'])
|
||||
- commonEnvironment.Append(CPPPATH = ['/usr/include'])
|
||||
commonEnvironment.Append(CPPPATH = ['/usr/include'])
|
||||
- commonEnvironment.Append(CPPPATH = ['/usr/X11R6/include'])
|
||||
commonEnvironment.Append(CCFLAGS = ["-DPIPES"])
|
||||
commonEnvironment.Append(LINKFLAGS = ['-Wl,-Bdynamic'])
|
||||
elif getPlatform() == 'sunos':
|
||||
@@ -559,18 +566,17 @@
|
||||
|
||||
if getPlatform() == 'linux':
|
||||
path1 = '/usr/include/python%s' % commonEnvironment['pythonVersion']
|
||||
- path2 = '/usr/local/include/python%s' % commonEnvironment['pythonVersion']
|
||||
- pythonIncludePath = [path1, path2]
|
||||
+ pythonIncludePath = [path1]
|
||||
path1 = '/usr/include/tcl%s' % commonEnvironment['tclversion']
|
||||
path2 = '/usr/include/tk%s' % commonEnvironment['tclversion']
|
||||
tclIncludePath = [path1, path2]
|
||||
pythonLinkFlags = []
|
||||
if commonEnvironment['Lib64'] == '1':
|
||||
tmp = '/usr/lib64/python%s/config' % commonEnvironment['pythonVersion']
|
||||
- pythonLibraryPath = ['/usr/local/lib64', '/usr/lib64', tmp]
|
||||
+ pythonLibraryPath = ['/usr/lib64', tmp]
|
||||
else:
|
||||
tmp = '/usr/lib/python%s/config' % commonEnvironment['pythonVersion']
|
||||
- pythonLibraryPath = ['/usr/local/lib', '/usr/lib', tmp]
|
||||
+ pythonLibraryPath = ['/usr/lib', tmp]
|
||||
pythonLibs = ['python%s' % commonEnvironment['pythonVersion']]
|
||||
elif getPlatform() == 'sunos':
|
||||
path1 = '/usr/include/python%s' % commonEnvironment['pythonVersion']
|
||||
@@ -777,6 +783,7 @@
|
||||
zlibhfound = configure.CheckHeader("zlib.h", language = "C")
|
||||
midiPluginSdkFound = configure.CheckHeader("funknown.h", language = "C++")
|
||||
luaFound = configure.CheckHeader("lua.h", language = "C")
|
||||
+luajitFound = configure.CheckLibWithHeader("luajit-5.1", "luajit-2.0/lua.h", language = "C")
|
||||
#print 'LUA: %s' % (['no', 'yes'][int(luaFound)])
|
||||
swigFound = 'swig' in commonEnvironment['TOOLS']
|
||||
print 'Checking for SWIG... %s' % (['no', 'yes'][int(swigFound)])
|
||||
@@ -1452,25 +1459,31 @@
|
||||
swigflags = csoundWrapperEnvironment['SWIGFLAGS']
|
||||
print 'swigflags:', swigflags
|
||||
luaWrapper = None
|
||||
- if not (luaFound and commonEnvironment['buildLuaWrapper'] != '0'):
|
||||
+ if not ((luaFound or luajitFound) and commonEnvironment['buildLuaWrapper'] != '0'):
|
||||
print 'CONFIGURATION DECISION: Not building Lua wrapper to Csound C++ interface library.'
|
||||
else:
|
||||
print 'CONFIGURATION DECISION: Building Lua wrapper to Csound C++ interface library.'
|
||||
luaWrapperEnvironment = csoundWrapperEnvironment.Clone()
|
||||
if getPlatform() != 'win32':
|
||||
- csoundWrapperEnvironment.Append(CPPPATH=['/usr/include/lua5.1'])
|
||||
+ if luajitFound and commonEnvironment['useLuaJIT'] == '1':
|
||||
+ csoundWrapperEnvironment.Append(CPPPATH=['/usr/include/luajit-2.0'])
|
||||
+ else:
|
||||
+ csoundWrapperEnvironment.Append(CPPPATH=['/usr/include/lua5.1'])
|
||||
if getPlatform() == 'win32':
|
||||
csoundLuaInterface = luaWrapperEnvironment.SharedObject(
|
||||
'interfaces/lua_interface.i',
|
||||
SWIGFLAGS = [swigflags, '-lua', '-module', 'luaCsnd', '-outdir', '.'])
|
||||
luaWrapperEnvironment.Prepend(LIBS = ['csnd','lua51'])
|
||||
- else:
|
||||
- csoundLuaInterface = luaWrapperEnvironment.SharedObject(
|
||||
- 'interfaces/lua_interface.i',
|
||||
- SWIGFLAGS = [swigflags, '-lua', '-module', 'luaCsnd', '-outdir', '.'])
|
||||
- luaWrapperEnvironment.Prepend(LIBS = ['csnd','luajit-5.1'])
|
||||
- luaWrapper = makeLuaModule(luaWrapperEnvironment, 'luaCsnd', [csoundLuaInterface])
|
||||
- Depends(luaWrapper, csoundLuaInterface)
|
||||
+ else:
|
||||
+ csoundLuaInterface = luaWrapperEnvironment.SharedObject(
|
||||
+ 'interfaces/lua_interface.i',
|
||||
+ SWIGFLAGS = [swigflags, '-lua', '-module', 'luaCsnd', '-outdir', '.'])
|
||||
+ if luajitFound and commonEnvironment['useLuaJIT'] == '1':
|
||||
+ luaWrapperEnvironment.Prepend(LIBS = ['csnd','luajit-5.1'])
|
||||
+ else:
|
||||
+ luaWrapperEnvironment.Prepend(LIBS = ['csnd','lua'])
|
||||
+ luaWrapper = makeLuaModule(luaWrapperEnvironment, 'luaCsnd', [csoundLuaInterface])
|
||||
+ Depends(luaWrapper, csoundLuaInterface)
|
||||
|
||||
if not (javaFound and commonEnvironment['buildJavaWrapper'] != '0'):
|
||||
print 'CONFIGURATION DECISION: Not building Java wrapper to Csound C++ interface library.'
|
||||
@@ -1510,6 +1523,9 @@
|
||||
javaWrapper = javaWrapperEnvironment.Program(
|
||||
'lib_jcsound.jnilib', javaWrapperSources)
|
||||
else:
|
||||
+ soname = 'lib_jcsound.so'
|
||||
+ soflag = [ '-Wl,-soname=%s' % soname ]
|
||||
+ javaWrapperEnvironment.Prepend(LINKFLAGS = [soflag])
|
||||
javaWrapper = javaWrapperEnvironment.SharedLibrary(
|
||||
'_jcsound', javaWrapperSources)
|
||||
#Depends(javaWrapper, csoundLibrary)
|
||||
@@ -1759,9 +1775,12 @@
|
||||
jpluginEnvironment.Append(LINKFLAGS = ['-framework', 'Jackmp'])
|
||||
makePlugin(jpluginEnvironment, 'jackTransport', 'Opcodes/jackTransport.c')
|
||||
makePlugin(jpluginEnvironment, 'jacko', 'Opcodes/jacko.cpp')
|
||||
-if boostFound:
|
||||
+if commonEnvironment['buildChuaOpcodes'] == '1' and boostFound:
|
||||
+ print 'CONFIGURATION DECISION: Building chua opcodes.'
|
||||
makePlugin(pluginEnvironment, 'chua', 'Opcodes/chua/ChuaOscillator.cpp')
|
||||
-if gmmFound and commonEnvironment['useDouble'] != '0':
|
||||
+else:
|
||||
+ print 'CONFIGURATION DECISION: Not building chua opcodes.'
|
||||
+if commonEnvironment['buildLinearOpcodes'] == '1' and gmmFound and commonEnvironment['useDouble'] != '0':
|
||||
makePlugin(pluginEnvironment, 'linear_algebra', 'Opcodes/linear_algebra.cpp')
|
||||
print 'CONFIGURATION DECISION: Building linear algebra opcodes.'
|
||||
else:
|
||||
@@ -1893,11 +1912,13 @@
|
||||
alsaEnvironment.Append(LIBS = ['asound', 'pthread'])
|
||||
makePlugin(alsaEnvironment, 'rtalsa', ['InOut/rtalsa.c'])
|
||||
|
||||
-if pulseaudioFound and (getPlatform() == 'linux' or getPlatform() == 'sunos'):
|
||||
+if commonEnvironment['usePulseAudio'] == '1' and pulseaudioFound and (getPlatform() == 'linux' or getPlatform() == 'sunos'):
|
||||
print "CONFIGURATION DECISION: Building PulseAudio plugin"
|
||||
pulseaudioEnv = pluginEnvironment.Clone()
|
||||
pulseaudioEnv.Append(LIBS = ['pulse-simple'])
|
||||
makePlugin(pulseaudioEnv, 'rtpulse', ['InOut/rtpulse.c'])
|
||||
+else:
|
||||
+ print "CONFIGURATION DECISION: Not building PulseAudio plugin."
|
||||
|
||||
if getPlatform() == 'win32':
|
||||
winmmEnvironment = pluginEnvironment.Clone()
|
||||
@@ -1963,9 +1984,7 @@
|
||||
|
||||
# FLUIDSYNTH OPCODES
|
||||
|
||||
-if not configure.CheckHeader("fluidsynth.h", language = "C"):
|
||||
- print "CONFIGURATION DECISION: Not building fluid opcodes."
|
||||
-else:
|
||||
+if commonEnvironment['buildFluidOpcodes'] == '1' and configure.CheckHeader("fluidsynth.h", language = "C"):
|
||||
print "CONFIGURATION DECISION: Building fluid opcodes."
|
||||
fluidEnvironment = pluginEnvironment.Clone()
|
||||
if getPlatform() == 'win32':
|
||||
@@ -1981,6 +2000,8 @@
|
||||
fluidEnvironment.Append(LIBS = ['pthread'])
|
||||
makePlugin(fluidEnvironment, 'fluidOpcodes',
|
||||
['Opcodes/fluidOpcodes/fluidOpcodes.cpp'])
|
||||
+else:
|
||||
+ print "CONFIGURATION DECISION: Not building fluid opcodes."
|
||||
|
||||
# VST HOST OPCODES
|
||||
|
||||
@@ -2174,7 +2195,7 @@
|
||||
if getPlatform() == 'win32' and pythonLibs[0] < 'python24':
|
||||
Depends(pythonOpcodes, pythonImportLibrary)
|
||||
|
||||
-# Python opcodes
|
||||
+# Lua opcodes
|
||||
|
||||
if not (commonEnvironment['buildLuaOpcodes'] != '0'):
|
||||
print "CONFIGURATION DECISION: Not building Lua opcodes."
|
||||
@@ -2183,10 +2204,13 @@
|
||||
luaEnvironment = pluginEnvironment.Clone()
|
||||
|
||||
if getPlatform() == 'linux':
|
||||
- if(luaFound == 1):
|
||||
+ if(luajitFound == 1 and commonEnvironment['useLuaJIT'] == '1'):
|
||||
luaEnvironment.Append(LIBS = ['luajit-5.1'])
|
||||
luaEnvironment.Append(LIBS = ['util', 'dl', 'm'])
|
||||
- luaEnvironment.Append(CPPPATH = '/usr/local/include/luajit-2.0')
|
||||
+ luaEnvironment.Append(CPPPATH = '/usr/include/luajit-2.0')
|
||||
+ elif(luaFound == 1):
|
||||
+ luaEnvironment.Append(LIBS = ['lua'])
|
||||
+ luaEnvironment.Append(LIBS = ['util', 'dl', 'm'])
|
||||
elif getPlatform() == 'win32':
|
||||
if(luaFound == 1):
|
||||
luaEnvironment.Append(LIBS = ['lua51'])
|
||||
@@ -2538,21 +2562,24 @@
|
||||
Depends(csoundAcPythonModule, pythonWrapper)
|
||||
Depends(csoundAcPythonModule, csoundac)
|
||||
Depends(csoundAcPythonModule, csnd)
|
||||
- if luaFound and commonEnvironment['buildLuaWrapper'] != '0':
|
||||
- luaCsoundACWrapperEnvironment = acWrapperEnvironment.Clone()
|
||||
- if getPlatform() == 'win32':
|
||||
- luaCsoundACWrapperEnvironment.Prepend(LIBS = Split('luaCsnd lua51 CsoundAC csnd fltk_images'))
|
||||
- else:
|
||||
- luaCsoundACWrapperEnvironment.Prepend(LIBS = [luaWrapper])
|
||||
- luaCsoundACWrapperEnvironment.Prepend(LIBS = Split('luajit-5.1 CsoundAC csnd fltk_images'))
|
||||
- luaCsoundACWrapper = luaCsoundACWrapperEnvironment.SharedObject(
|
||||
- 'frontends/CsoundAC/luaCsoundAC.i', SWIGFLAGS = [swigflags, Split('-lua ')])
|
||||
- luaCsoundACWrapperEnvironment.Clean('.', 'frontends/CsoundAC/luaCsoundAC_wrap.h')
|
||||
- CsoundAclModule = makeLuaModule(luaCsoundACWrapperEnvironment, 'luaCsoundAC', [luaCsoundACWrapper])
|
||||
- Depends(CsoundAclModule, luaCsoundACWrapper)
|
||||
- Depends(CsoundAclModule, luaWrapper)
|
||||
- Depends(CsoundAclModule, csoundac)
|
||||
- Depends(CsoundAclModule, csnd)
|
||||
+ if (luajitFound or luaFound) and commonEnvironment['buildLuaWrapper'] != '0':
|
||||
+ luaCsoundACWrapperEnvironment = acWrapperEnvironment.Clone()
|
||||
+ if getPlatform() == 'win32':
|
||||
+ luaCsoundACWrapperEnvironment.Prepend(LIBS = Split('luaCsnd lua51 CsoundAC csnd fltk_images'))
|
||||
+ else:
|
||||
+ luaCsoundACWrapperEnvironment.Prepend(LIBS = [luaWrapper])
|
||||
+ if commonEnvironment['useLuaJIT'] == '1':
|
||||
+ luaCsoundACWrapperEnvironment.Prepend(LIBS = Split('luajit-5.1 CsoundAC csnd fltk_images'))
|
||||
+ else:
|
||||
+ luaCsoundACWrapperEnvironment.Prepend(LIBS = Split('lua CsoundAC csnd fltk_images'))
|
||||
+ luaCsoundACWrapper = luaCsoundACWrapperEnvironment.SharedObject(
|
||||
+ 'frontends/CsoundAC/luaCsoundAC.i', SWIGFLAGS = [swigflags, Split('-lua ')])
|
||||
+ luaCsoundACWrapperEnvironment.Clean('.', 'frontends/CsoundAC/luaCsoundAC_wrap.h')
|
||||
+ CsoundAclModule = makeLuaModule(luaCsoundACWrapperEnvironment, 'luaCsoundAC', [luaCsoundACWrapper])
|
||||
+ Depends(CsoundAclModule, luaCsoundACWrapper)
|
||||
+ Depends(CsoundAclModule, luaWrapper)
|
||||
+ Depends(CsoundAclModule, csoundac)
|
||||
+ Depends(CsoundAclModule, csnd)
|
||||
|
||||
|
||||
# Build CsoundVST
|
@ -1 +1 @@
|
||||
DIST leechcraft-0.5.60.tar.xz 2048000 RMD160 505a90f631779a1918ea814602288732b4f8af89 SHA1 b03ce9bb160c00c6be2f50af4e061c5d7777d630 SHA256 b7ee7aff4b07fa383da169346979701f4a428fc29d4e8b77a31f27561b025baf
|
||||
DIST leechcraft-0.5.60.tar.xz 4743936 RMD160 e845b9f9e7b0bdebd2c99822ffd3e15c019f6051 SHA1 2941679520e6871372eac31d1e683615a8dd64e6 SHA256 477d8fc54167798337e64324575d12cf1cace4d6502bb14d892edd2ed4b5a7f4
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST leechcraft-0.4.99.tar.xz 4601736 RMD160 343e64a430cd55f401989b1c89a74a9c2ddf1e33 SHA1 c8275ea635d7ea579b95a70e64372658928752f7 SHA256 967ca3a9b942d71da7f4818ba912f12b386b553fe4abded04c7d1956473e4e42
|
||||
DIST leechcraft-0.5.0.tar.xz 4691312 RMD160 4ea82848fe59fcd1159fa835dfb94ff81775f964 SHA1 0d01a9b38fd1ce136d678803a1270538fb8e3cc4 SHA256 ef0802442b803079dc491f73ff0294cb8560d86fbea44c8e57b3d54fdf3b88fa
|
||||
DIST leechcraft-0.5.60.tar.xz 2048000 RMD160 505a90f631779a1918ea814602288732b4f8af89 SHA1 b03ce9bb160c00c6be2f50af4e061c5d7777d630 SHA256 b7ee7aff4b07fa383da169346979701f4a428fc29d4e8b77a31f27561b025baf
|
||||
DIST leechcraft-0.5.0.tar.xz 7240 RMD160 41109d2b24cf188f31bafc9d65950ecb223f1fb7 SHA1 e32a08d9926a8351fcdbc13649e0fe83bbefb84a SHA256 762751d75d2bfa76656b8a88feae193af3c9467f74749ba182212bbe72eea1fc
|
||||
DIST leechcraft-0.5.60.tar.xz 4743936 RMD160 e845b9f9e7b0bdebd2c99822ffd3e15c019f6051 SHA1 2941679520e6871372eac31d1e683615a8dd64e6 SHA256 477d8fc54167798337e64324575d12cf1cace4d6502bb14d892edd2ed4b5a7f4
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue