parent
67b16f06aa
commit
783f316896
@ -1,2 +1,2 @@
|
||||
DIST fetchlog-0.94.tar.gz 23179 SHA256 71f88ab316f828a4e0588bd3be5f7dd653f790113a9f1414c86885cae0b3c93d SHA512 5fb4441fd97a243a1dc71369848f783142b0516eea096e647b655a9a45db3c09ad04752c0312357aeb0147f9c18bd2a3a24a12d9cee687e419b7be905cdcd17d WHIRLPOOL e3e8ca7235fc1b9a9ee482a617835bb20c809c5327f247203ddb685e611f0b3e0d54dee10bad9fef1d8a44c4c86748d32e90454e6976b6d5d64d4f84f42b807f
|
||||
DIST fetchlog-1.0.tar.gz 24016 SHA256 eba8150015cf43ebd41c8d8f8eaa598967ceafcd288a65ea1da4f21aa9fe3f79 SHA512 66a7a456ebb5353171b2f53071a73cccd66d42dafc2740bafd7c9db860f68176dffe10e556fde52048f2b198c2eaf8299d1fd6094726f7a003987b5ce0be7415 WHIRLPOOL 6197e06024b4228f29ff9c35ef26bd81352c836ab33e003c479482e270d54f79526e515a13f93ba1983c9e538aa96704e45cdd44cec530e28bc724a9caa9e915
|
||||
DIST fetchlog-1.4.tar.gz 32393 SHA256 2017cba285b4167fb9f148b4509d7463402820e4e7a04865cec0fe887bd5e13a SHA512 51590c0cdfa8f4a15fcb4a436375d960c25f35d84558ab46def58f83c97da30caee449eea7c62c539da786a613c2b1e51dbc223d70d56c21daad6e9faf8a51ad WHIRLPOOL b6ed75be2c70a361ea569030386e6a14519f3102950cf23a291689a37d69dc49a9f3f2698b7ff5d640f29450496e37315772ff18946b1b7e0d374cba0b7b41f4
|
||||
|
@ -1,14 +0,0 @@
|
||||
--- src/output/formatstring.cc
|
||||
+++ src/output/formatstring.cc
|
||||
@@ -240,9 +240,8 @@
|
||||
if(some_overlay_used)
|
||||
*some_overlay_used = true;
|
||||
if(overlay_translations) {
|
||||
- overlay = (*overlay_translations)[index];
|
||||
- if(overlay != 0) {
|
||||
- number = 0;
|
||||
+ number = (*overlay_translations)[index];
|
||||
+ if(number == 0) {
|
||||
for(vector<ExtendedVersion::Overlay>::iterator it(overlay_translations->begin());
|
||||
likely(it != overlay_translations->end()); ++it) {
|
||||
if(number < *it)
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>mr_bones_@gentoo.org</email>
|
||||
<name>Michael Sterrett</name>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>mr_bones_@gentoo.org</email>
|
||||
<name>Michael Sterrett</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,26 @@
|
||||
Author: Ralph Sennhauser <sera@gentoo.org>
|
||||
|
||||
Fix parallel unpacking #453608
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 48029bc..34882a7 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -1099,7 +1099,7 @@ clean-extract-openjdk:
|
||||
rm -f stamps/patch-fsg.stamp
|
||||
rm -f stamps/patch.stamp
|
||||
|
||||
-stamps/extract-cacao.stamp:
|
||||
+stamps/extract-cacao.stamp: stamps/download-cacao.stamp
|
||||
if BUILD_CACAO
|
||||
if !USE_SYSTEM_CACAO
|
||||
if USE_ALT_CACAO_SRC_DIR
|
||||
@@ -1124,7 +1124,7 @@ endif
|
||||
mkdir -p stamps
|
||||
touch $@
|
||||
|
||||
-stamps/extract-jamvm.stamp:
|
||||
+stamps/extract-jamvm.stamp: stamps/download-jamvm.stamp
|
||||
if BUILD_JAMVM
|
||||
set -e ; \
|
||||
if ! test -d jamvm ; \
|
@ -0,0 +1,17 @@
|
||||
Author: Ralph Sennhauser <sera@gentoo.org>
|
||||
|
||||
Fix parallel unpacking #453608
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 3f96d92..714cefa 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -1289,7 +1289,7 @@ endif
|
||||
clean-extract-cacao: clean-cacao
|
||||
rm -f stamps/extract-cacao.stamp
|
||||
|
||||
-stamps/extract-jamvm.stamp:
|
||||
+stamps/extract-jamvm.stamp: stamps/download-jamvm.stamp
|
||||
if BUILD_JAMVM
|
||||
set -e ; \
|
||||
if ! test -d jamvm ; \
|
@ -0,0 +1 @@
|
||||
DIST esco-src-0.512.tar.gz 382056 SHA256 646e88b3ff16346e41061c6cd33c37cb5e2e7d3b2b2b8604f6931fe1723935d1 SHA512 4d02af7097abbd6770a891065ea9d7d3f9acdd9c7c9164f726dba2385db48993e7fe9baa4fc57aac2d998544788416700933d473f1e9467c9f94e240f80ccf97 WHIRLPOOL 91cfdfe44756bf3b5328b8dc42d746dc33487c3565f6e172396d27e9ea5377f6e4f8fb2b6e8b28d89da8343fd437c39174c7d92daeb0157c815da64e101042c7
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/esco/esco-0.512.ebuild,v 1.1 2013/02/01 10:43:49 pinkbyte Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN="${PN}-src"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Combine interpreter of esoteric languages"
|
||||
HOMEPAGE="http://esco.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="gmp linguas_ru"
|
||||
|
||||
DEPEND="gmp? ( dev-libs/gmp )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README TODO docs/basics.txt )
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with gmp)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use linguas_ru && dodoc docs/README_RU.utf8
|
||||
}
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>games</herd>
|
||||
<maintainer>
|
||||
<email>pinkbyte@gentoo.org</email>
|
||||
<name>Sergey Popov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,4 +1,4 @@
|
||||
DIST GeoIP-1.4.8.tar.gz 1074829 SHA256 cf0f6b2bac1153e34d6ef55ee3851479b347d2b5c191fda8ff6a51fab5291ff4 SHA512 aec70bdf002f1041ecb14f091e32206af033dc6ed89d20dffcc80e4c4edad993c9dfab7810576cb75f07d356ef34529ca3f2613e43e7f97c2b7ae099ce3be317 WHIRLPOOL 3dcaa7ef9610ede593b64a7a0f111adc0b2f9c4bf64054ef4f690d284a8c7ba45083d2739585047db18e3c22b50b026c9b5fee26142a4611af7b4092e907ffdf
|
||||
DIST GeoIPASNum.dat.gz 1806832 SHA256 5f7bc13a01779c846f4c721f2294a31614b7ffbce35d591367e1fd7498164a10 SHA512 b164f30b5ed08668ec7c5d5ee25354851c16d59a651e56d4a93795f35d27566999fe7c99396471a85430267c0668cc0abb841865174183c212acb7d0e4f99061 WHIRLPOOL 14c569dd5435622ce11cb810fb1bfeefcd150dd2c0ce7797ad97b1323fb95799f5f0470bed462b9568db53e42110cf251186eb82ef85f544a323ef7f810fdf4a
|
||||
DIST GeoIPv6.dat.gz 639958 SHA256 b34a630eda040d9717c6a483f05a1dac7d84d52b1ead6a51a4b3d21da42a9115 SHA512 86897024d734ca4c83d5a51f685ed1873a46c288ddf41e75d060db00653a1f76b4d60655d109b0ae5fd44e097f54eaec03356b41830c0b9de1991e590bc0eea7 WHIRLPOOL e2a51acb1853dd168e69299bc51eb3a31752c08900f4990f0d3aa72ad14a8f888504288fc1288a0cc69ddeb417fa0fd2d442d018ff894c19c78eb8c232fc5463
|
||||
DIST GeoLiteCityv6.dat.gz 12265416 SHA256 c09c3f9140ffb85f3b05fc7820fd1eb708f65e9ba93a07a2c2849e9cdd7a4631 SHA512 4096f3d90e1442c2cb75964cc6af824ced0a647b54a9f422fe5a7a3b9d41693598d587282ac9dac1bc7f36cf4c1761efce86c4ca3ecaebfe25a1b9b7af5c4ec3 WHIRLPOOL eef284562c9d586a95278ab33e897ab50457e79b6a62aa70cb6352540072aabbdf44263a98856094a77760c2792970ee092f8545145f6870fb294c322c8b324b
|
||||
DIST GeoIPASNum.dat.gz 1813588 SHA256 be73dd4dc23b9a6ca7f6fc190821768ff49b396f1708214adb227d1822e7e83a SHA512 30f3f29f16b2100eace892086edba8a3dd64bca24e4d76d8625e12982abc7b026f503fd892a4faab1513b3bdfa4d4db174131a578ffcc5e4cf21dfb7952840ce WHIRLPOOL 9d6051a4e38bbe1ebd9f89dbfb37d4162c28a7a29e8ef1cc1fe11c6981f19a8c32cf6e023fa545a47d0b98f8c49e68cf6f5505c5f9548e5a8a181c6e12e23a74
|
||||
DIST GeoIPv6.dat.gz 609340 SHA256 6a4dc4b648578ebb5a8b0ca1a2adc8db6297484caa7c87158116dbb4af328c50 SHA512 9e995c9ab8bbfc2ea5598b66c75340d1d5ca4ca34d70b43d4a79464e738a97c08fe079f4c2b9d1c33bb128e42ffe95d1dcd9e8bdfa97c65520bffd698e1b3a14 WHIRLPOOL 2ec1dd94c933588af77592b2ab80ba9ae5042f70d54e4e578815d8b1409f2233664a1b63abcf3bbaf54b3cfba3c67de358345eb4dd8af2a1c981c1f00f982d3c
|
||||
DIST GeoLiteCityv6.dat.gz 12259422 SHA256 875847daefc12ac35eea84ae05b8ac71cdaf809753ab6c69d8f01962ea15b550 SHA512 84805f923067b5457f3207373c8325d2074374d4f0202b6b08001c5b67af5ef1eb6786a135f155e67230586ea3d358a4900388cd5fa4dc54bad9a6ec72e56bfe WHIRLPOOL 9e3e5470d0ee1b10c85df03fdff0f2dd57e2a150ab618c60fc03d9c5605fa39ef1efbaadf1d510c7367c1b8a94fcc29142af656441f2b16f27db023e51f325e5
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST sip-4.13.3.tar.gz 734458 SHA256 ec295f71ef339c5b98db5650865f2c6c1200c4085b7a3f33f284111e1f534ac1 SHA512 2e27bfbb79285e420c8989f620dca52b7bf5f0c70377c4e50def20f3440bae60c5a4cd12d03ec40f1270ddcce4f2137b3b1accd6f6646292855c8b344afd9059 WHIRLPOOL 3304b0865f3cc7f015b719a083d6632efeafa7b9233a5138397c222ef01f1a2ed74f2e793b193b8576571f0af1b549111a964ee21106d3b1818eba696943ae1a
|
||||
DIST sip-4.14.2.tar.gz 746440 SHA256 1a9d3bf26c821f369c175f8e68946b79bc994da4f96e8f5ecff06e6ee7ac0528 SHA512 d23eba57c271e5ed4f9e434709108c33bca0166987606b02b48485996d4de385d6c6057e5b0432f18248b3b786f2dce7e80a06f8dce848b90a046418dd294ec6 WHIRLPOOL 4a2815a11e7afab5598b6157f0bd0cd47783ac17eb0ad365c42bf15cfed080eded9092a85fc23ce579b34bdce8437cd35f2aa49b8055912df7ec570d3f8fed6d
|
||||
DIST sip-4.14.3.tar.gz 747092 SHA256 a84fcaf0e400a45496fe70f0cf1adc7eddf0788ade44a4567d51db8bf1ff5770 SHA512 8e91ef5efbdb84d22812b392e2fb7bfdd6e8b798d49245b7ba945f24a452475be4f5bee0d11a7a00553ec8d1628ee80542a910f87e24fe5dcc1b81fd8b9b122a WHIRLPOOL 0d8634aa175239066c387244e9296a51123ae4219419c346ff93ff68dc451af75b0cd8d136e03658ea280930b3bde7acb50d65a4e138ffbe9268a7acd69a9e62
|
||||
|
@ -0,0 +1,120 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.14.3.ebuild,v 1.1 2013/02/01 08:18:44 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2} )
|
||||
|
||||
inherit eutils python-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Python extension module generator for C and C++ libraries"
|
||||
HOMEPAGE="http://www.riverbankcomputing.co.uk/software/sip/intro http://pypi.python.org/pypi/SIP"
|
||||
LICENSE="|| ( GPL-2 GPL-3 sip )"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
# live version from mercurial repo
|
||||
EHG_REPO_URI="http://www.riverbankcomputing.com/hg/sip"
|
||||
inherit mercurial
|
||||
elif [[ ${PV} == *_pre* ]]; then
|
||||
# development snapshot
|
||||
HG_REVISION=
|
||||
MY_P=${PN}-${PV%_pre*}-snapshot-${HG_REVISION}
|
||||
SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
else
|
||||
# official release
|
||||
SRC_URI="mirror://sourceforge/pyqt/${P}.tar.gz"
|
||||
fi
|
||||
|
||||
# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h.in
|
||||
SLOT="0/9"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="debug doc"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
[[ ${PV} == *9999* ]] && DEPEND+="
|
||||
=dev-lang/python-2*
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
doc? ( dev-python/sphinx[$(python_gen_usedep python2*)] )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-4.9.3-darwin.patch
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
python2 build.py prepare || die
|
||||
if use doc; then
|
||||
python2 build.py doc || die
|
||||
fi
|
||||
fi
|
||||
|
||||
# Sub-slot sanity check
|
||||
local sub_slot=${SLOT#*/}
|
||||
local sip_api_major_nr=$(sed -nre 's:^#define SIP_API_MAJOR_NR\s+([0-9]+):\1:p' siplib/sip.h.in)
|
||||
if [[ ${sub_slot} != ${sip_api_major_nr} ]]; then
|
||||
eerror
|
||||
eerror "Ebuild sub-slot (${sub_slot}) does not match SIP_API_MAJOR_NR (${sip_api_major_nr})"
|
||||
eerror "Please update SLOT variable as follows:"
|
||||
eerror " SLOT=\"${SLOT%%/*}/${sip_api_major_nr}\""
|
||||
eerror
|
||||
die "sub-slot sanity check failed"
|
||||
fi
|
||||
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
pushd "${BUILD_DIR}" > /dev/null
|
||||
local myconf=(
|
||||
"${PYTHON}" configure.py
|
||||
--bindir="${EPREFIX}/usr/bin"
|
||||
--destdir="${EPREFIX}$(python_get_sitedir)"
|
||||
--incdir="${EPREFIX}$(python_get_includedir)"
|
||||
--sipdir="${EPREFIX}/usr/share/sip"
|
||||
$(use debug && echo --debug)
|
||||
AR="$(tc-getAR) cqs"
|
||||
CC="$(tc-getCC)"
|
||||
CFLAGS="${CFLAGS}"
|
||||
CFLAGS_RELEASE=
|
||||
CXX="$(tc-getCXX)"
|
||||
CXXFLAGS="${CXXFLAGS}"
|
||||
CXXFLAGS_RELEASE=
|
||||
LINK="$(tc-getCXX)"
|
||||
LINK_SHLIB="$(tc-getCXX)"
|
||||
LFLAGS="${LDFLAGS}"
|
||||
LFLAGS_RELEASE=
|
||||
RANLIB=
|
||||
STRIP=
|
||||
)
|
||||
echo "${myconf[@]}"
|
||||
"${myconf[@]}"
|
||||
popd > /dev/null
|
||||
}
|
||||
python_foreach_impl configuration
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
compilation() {
|
||||
pushd "${BUILD_DIR}" > /dev/null
|
||||
default
|
||||
popd > /dev/null
|
||||
}
|
||||
python_foreach_impl compilation
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
pushd "${BUILD_DIR}" > /dev/null
|
||||
emake DESTDIR="${D}" install
|
||||
python_optimize
|
||||
popd > /dev/null
|
||||
}
|
||||
python_foreach_impl installation
|
||||
|
||||
dodoc NEWS
|
||||
use doc && dohtml -r doc/html/*
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST sqlite3-1.3.3.gem 55808 SHA256 294f92e8eae56b45ad2416bb929046c5b8024b7f73addd80963ace5d909503be SHA512 e9132c370d81274b072991f4d8fd611e0796460a2815338b03df3b8fbf150631112cf2f6204b2096bd89dc47c503f17bc1e4d00fb0b1498b10c9149507573110 WHIRLPOOL d77297926425a5f20c65b4112a770d4454bd086262b75792a2e3a44704a53b3058add364b714d43eefa262f07445a6159c13b8c44cf8b65176a1caae2f131381
|
||||
DIST sqlite3-1.3.6.gem 57344 SHA256 b0063859dd46819dd228f9629adfbc16649dfeef35b90eba9757537c0be1ecdb SHA512 952bbea9863a3fd65b217fed62f37356e76fbb40fb9b2599876113e069611d65c9d1bac891580700a0d0e809411881f50774d18fdbe0ad1202ac792c366b7030 WHIRLPOOL a020b7bba1bdcb27864767bd2b8e9db023706d0f52b356f63acf78a01b81be4c5d83e10d5cfa0c11ad2525bda1cb1457186cf572bee2a065d21e98e4b3a3fb48
|
||||
DIST sqlite3-1.3.7.gem 57856 SHA256 7e1115e569aa9e993eceda01087d10147586d38d5cb7678c638b9d42894b9962 SHA512 1e8c1553706abcd7e7decae396084eadf893aae4c31be689713efeca7a00473044abd69c1e1a6ff55e60c497d5e478ecc33273dee78baa759328847b3f552c96 WHIRLPOOL 0f689c9c00eeb8daab024bab0cf674e335b71fc592a22985e2ab11de90e9bd73f6e5d363305020ef282722883f211338ce2864014039ff8eb0e43089b05ffbfb
|
||||
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/sqlite3-1.3.3.ebuild,v 1.1 2012/08/16 03:46:35 flameeyes Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="docs"
|
||||
RUBY_FAKEGEM_DOCDIR="doc faq"
|
||||
RUBY_FAKEGEM_EXTRADOC="API_CHANGES.rdoc README.rdoc ChangeLog.cvs CHANGELOG.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_NAME="sqlite3"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
DESCRIPTION="An extension library to access a SQLite database from Ruby"
|
||||
HOMEPAGE="http://rubyforge.org/projects/sqlite-ruby/"
|
||||
LICENSE="BSD"
|
||||
|
||||
KEYWORDS="amd64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
=dev-db/sqlite-3*"
|
||||
DEPEND="${DEPEND}
|
||||
=dev-db/sqlite-3*"
|
||||
|
||||
ruby_add_bdepend "
|
||||
dev-ruby/rake-compiler
|
||||
dev-ruby/hoe
|
||||
test? ( virtual/ruby-test-unit )
|
||||
doc? ( dev-ruby/redcloth )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# We remove the vendor_sqlite3 rake task because it's used to
|
||||
# bundle SQlite3 which we definitely don't want.
|
||||
rm tasks/vendor_sqlite3.rake || die
|
||||
|
||||
sed -i -e 's:, HOE.spec::' -e '/task :test/d' tasks/native.rake || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext/sqlite3 extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
# TODO: not sure what happens with jruby
|
||||
|
||||
emake -Cext/sqlite3 || die
|
||||
mv ext/sqlite3/sqlite3_native$(get_modname) lib/sqlite3/ || die
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
all_fakegem_compile
|
||||
|
||||
if use doc; then
|
||||
rake faq || die "rake faq failed"
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
}
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/sqlite3-1.3.7.ebuild,v 1.1 2013/02/01 06:54:05 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ree18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="docs faq"
|
||||
RUBY_FAKEGEM_DOCDIR="doc faq"
|
||||
RUBY_FAKEGEM_EXTRADOC="API_CHANGES.rdoc README.rdoc ChangeLog.cvs CHANGELOG.rdoc"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
DESCRIPTION="An extension library to access a SQLite database from Ruby"
|
||||
HOMEPAGE="http://rubyforge.org/projects/sqlite-ruby/"
|
||||
LICENSE="BSD"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND+=" =dev-db/sqlite-3*"
|
||||
DEPEND+=" =dev-db/sqlite-3*"
|
||||
|
||||
ruby_add_bdepend "
|
||||
dev-ruby/rake-compiler
|
||||
dev-ruby/hoe
|
||||
doc? ( dev-ruby/redcloth )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# We remove the vendor_sqlite3 rake task because it's used to
|
||||
# bundle SQlite3 which we definitely don't want.
|
||||
rm tasks/vendor_sqlite3.rake || die
|
||||
|
||||
sed -i -e 's:, HOE.spec::' -e '/task :test/d' tasks/native.rake || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext/sqlite3 extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
# TODO: not sure what happens with jruby
|
||||
|
||||
emake -Cext/sqlite3
|
||||
mv ext/sqlite3/sqlite3_native$(get_modname) lib/sqlite3/ || die
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
|
||||
# sqlite3 was called sqlite3-ruby before, so add a spec file that
|
||||
# simply loads sqlite3 to make sure that old projects load correctly
|
||||
# we don't even need to create a file to load this: the `require
|
||||
# sqlite3` was already part of sqlite3-ruby requirements.
|
||||
cat - <<EOF > "${T}/sqlite3-ruby.gemspec"
|
||||
# generated by ebuild
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/sqlite3-1.3.7.ebuild,v 1.1 2013/02/01 06:54:05 graaff Exp $
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "sqlite3-ruby"
|
||||
s.version = "${RUBY_FAKEGEM_VERSION}"
|
||||
s.summary = "Fake gem to load sqlite3"
|
||||
s.homepage = "${HOMEPAGE}"
|
||||
s.specification_version = 3
|
||||
s.add_runtime_dependency("${RUBY_FAKEGEM_NAME}", ["= ${RUBY_FAKEGEM_VERSION}"])
|
||||
end
|
||||
EOF
|
||||
RUBY_FAKEGEM_NAME=sqlite3-ruby \
|
||||
RUBY_FAKEGEM_GEMSPEC="${T}/sqlite3-ruby.gemspec" \
|
||||
ruby_fakegem_install_gemspec
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/dirdiff/dirdiff-2.1-r2.ebuild,v 1.1 2013/02/01 15:31:07 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="A tool for differing and merging directories"
|
||||
SRC_URI="http://samba.org/ftp/paulus/${P}.tar.gz"
|
||||
HOMEPAGE="http://samba.org/ftp/paulus/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-lang/tk
|
||||
dev-lang/tcl"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-include.patch \
|
||||
"${FILESDIR}"/${P}-build.patch \
|
||||
"${FILESDIR}"/${P}-vcs.patch \
|
||||
"${FILESDIR}"/${P}-tcl8.6.patch \
|
||||
"${FILESDIR}"/${P}-funky-chars.patch
|
||||
tc-export CC
|
||||
append-cppflags -I"${EPREFIX}"/usr/include/tcl
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin dirdiff
|
||||
dolib.so libfilecmp.so.0.0
|
||||
dosym libfilecmp.so.0.0 /usr/$(get_libdir)/libfilecmp.so.0
|
||||
dosym libfilecmp.so.0.0 /usr/$(get_libdir)/libfilecmp.so
|
||||
dodoc README
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
Makefile | 11 ++++++++---
|
||||
1 file changed, 8 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index b4a49f8..410e018 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -7,12 +7,17 @@ LIBDIR=$(DESTDIR)/usr/lib
|
||||
INSTALL=install
|
||||
|
||||
# You may need to change the -I arguments depending on your system
|
||||
-CFLAGS=-O3 -I/usr/include/tcl8.3/ -I/usr/include/tcl
|
||||
+#CFLAGS=-O3 -I/usr/include/tcl8.3/ -I/usr/include/tcl
|
||||
+
|
||||
+LIBS = -ltcl
|
||||
|
||||
all: libfilecmp.so.0.0
|
||||
|
||||
-libfilecmp.so.0.0: filecmp.c
|
||||
- $(CC) $(CFLAGS) -shared -o $@ filecmp.c
|
||||
+.c.o:
|
||||
+ $(CC) $(CPPFLAGS) $(CFLAGS) -fPIC -c $< -o $@
|
||||
+
|
||||
+libfilecmp.so.0.0: filecmp.o
|
||||
+ $(CC) $(LDFLAGS) -shared -Wl,-soname,libfilecmp.so.0 -o $@ filecmp.o $(LIBS)
|
||||
|
||||
install: dirdiff libfilecmp.so.0.0
|
||||
$(INSTALL) -c dirdiff $(BINDIR)
|
@ -0,0 +1,201 @@
|
||||
--- cvs-local.orig/dirdiff
|
||||
+++ cvs-local/dirdiff
|
||||
@@ -563,7 +563,7 @@
|
||||
if {$d1 == $d2} continue
|
||||
set any 1
|
||||
$base.p.$sub1 add command -label "$d2" \
|
||||
- -command "makepatch \"$d1\" \"$d2\""
|
||||
+ -command [list makepatch $d1 $d2]
|
||||
}
|
||||
if {$any} {
|
||||
$base.p add cascade -label "$d1 ->" -menu $base.p.$sub1
|
||||
@@ -579,7 +579,7 @@
|
||||
set i 0
|
||||
foreach d $dirs {
|
||||
if {!$dirreadonly($i)} {
|
||||
- $base.t add command -label $d -command "touchfiles \"$d\""
|
||||
+ $base.t add command -label $d -command [list touchfiles $d]
|
||||
}
|
||||
incr i
|
||||
}
|
||||
@@ -677,7 +677,7 @@
|
||||
set i 0
|
||||
foreach d $dirs {
|
||||
.bar.options add checkbutton -label "Read-only $d" \
|
||||
- -variable dirreadonly($i) -command "readonlychange $i"
|
||||
+ -variable dirreadonly($i) -command [list readonlychange $i]
|
||||
incr i
|
||||
}
|
||||
|
||||
@@ -1153,7 +1153,7 @@
|
||||
if {$xi != ""} {
|
||||
set x [lindex $dirs $xi]
|
||||
$diffbut add command -label "Show $x" \
|
||||
- -command "showfile \"$x\" \"$selfile\""
|
||||
+ -command [list showfile $x $selfile]
|
||||
}
|
||||
} elseif {$numgroups > 1} {
|
||||
if {$numgroups > 2} {
|
||||
@@ -1163,7 +1163,7 @@
|
||||
lappend x [lindex $dirs $i]
|
||||
}
|
||||
$diffbut add command -label "$numgroups-way diff" \
|
||||
- -command "diffn {$x} {$selfile}"
|
||||
+ -command [list diffn $x $selfile]
|
||||
}
|
||||
for {set gn 1} {$gn < $numgroups} {incr gn} {
|
||||
set yi [lindex $groupelts($gn) 0]
|
||||
@@ -1184,7 +1184,7 @@
|
||||
set xi [lindex $groupelts($go) 0]
|
||||
if {$xi == ""} continue
|
||||
set x [lindex $dirs $xi]
|
||||
- set cmd "diff2 \"$x\" \"$y\" \"$selfile\""
|
||||
+ set cmd [list diff2 $x $y $selfile]
|
||||
if {$numgroups <= 3} {
|
||||
if {$compound_ok} {
|
||||
$diffbut add command -label "$x vs. $y" \
|
||||
@@ -1283,7 +1283,7 @@
|
||||
set cl2 [lindex $bgcolors($ng) $age]
|
||||
if {$im2 == "ex"} {set im2 ""}
|
||||
set y [lindex $dirs $dst]
|
||||
- set cmd "copyselfile \"$src\" \"$dst\" \"$selfile\" 0"
|
||||
+ set cmd [list copyselfile $src $dst $selfile 0]
|
||||
if {$any == 1} {
|
||||
if {$compound_ok} {
|
||||
$copybut add command -label "$x -> $y" \
|
||||
@@ -1346,7 +1346,7 @@
|
||||
set im2 [lindex $agecolors($ng) $age]
|
||||
set cl2 [lindex $bgcolors($ng) $age]
|
||||
set y [lindex $dirs $dst]
|
||||
- set cmd "copyselfile \"$src\" \"$dst\" \"$selfile\" 1"
|
||||
+ set cmd [list copyselfile $src $dst $selfile 1]
|
||||
if {$any == 1} {
|
||||
if {$compound_ok} {
|
||||
$copybut add command -label "$x -> $y" \
|
||||
@@ -1392,10 +1392,10 @@
|
||||
if {$compound_ok} {
|
||||
$copybut add command -label "Remove from $x" \
|
||||
-image ex -compound left \
|
||||
- -command "removeselfile \"$dst\" \"$selfile\""
|
||||
+ -command [list removeselfile $dst $selfile]
|
||||
} else {
|
||||
$copybut add command -label "Remove from $x" \
|
||||
- -command "removeselfile \"$dst\" \"$selfile\""
|
||||
+ -command [list removeselfile $dst $selfile]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1415,7 +1415,7 @@
|
||||
if {$dirreadonly($d)} continue
|
||||
set y [lindex $dirs $d]
|
||||
$copybut add command -label "$x -> $y" \
|
||||
- -command "copyselfile \"$s\" \"$d\" \"$selfile\" 0"
|
||||
+ -command [list copyselfile $s $d $selfile 0]
|
||||
}
|
||||
}
|
||||
set needsep 1
|
||||
@@ -1429,10 +1429,10 @@
|
||||
if {$compound_ok} {
|
||||
$copybut add command -label "Remove from $x" \
|
||||
-image ex -compound left \
|
||||
- -command "removeselfile \"$s\" \"$selfile\""
|
||||
+ -command [list removeselfile $s $selfile]
|
||||
} else {
|
||||
$copybut add command -label "Remove from $x" \
|
||||
- -command "removeselfile \"$s\" \"$selfile\""
|
||||
+ -command [list removeselfile $s $selfile]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1469,7 +1469,7 @@
|
||||
|
||||
# Show the file in an external viewer
|
||||
if { [llength $showprogram] > 0} {
|
||||
- eval "exec $showprogram \"$fn\" &"
|
||||
+ exec $showprogram $fn &
|
||||
return
|
||||
}
|
||||
# Or make our own viewer
|
||||
@@ -1569,7 +1569,7 @@
|
||||
set diffopts "-U $ctxlines $diffiflag $diffwflag $diffbflag $diffBflag $diffdflag"
|
||||
|
||||
if { [llength $diffprogram] > 0} {
|
||||
- eval "exec $diffprogram \"$path1\" \"$path2\" &"
|
||||
+ exec $diffprogram $path1 $path2 &
|
||||
return
|
||||
}
|
||||
# If we used an external diff program, its options are used. If we didn't,
|
||||
@@ -1750,7 +1750,7 @@
|
||||
if {$gx == $g && !$dirreadonly($k)} {
|
||||
set f [lindex $dirs $k]
|
||||
$mergebut.m add command -label "update $f" \
|
||||
- -command "diffmerge $i \"$f\""
|
||||
+ -command [list diffmerge $i $f]
|
||||
set path [joinname $f $difffile]
|
||||
set diffmtime($path) [file mtime $path]
|
||||
}
|
||||
@@ -1770,7 +1770,7 @@
|
||||
if {$gx == $g && !$dirreadonly($k)} {
|
||||
set f [lindex $dirs $k]
|
||||
$mpatchbut.m add command -label "for $f" \
|
||||
- -command "diffmpatch $i \"$f\""
|
||||
+ -command [list diffmpatch $i $f]
|
||||
}
|
||||
incr k
|
||||
}
|
||||
@@ -3424,7 +3424,7 @@
|
||||
$w.bar.edit.m add command -label Copy -command "tk_textCopy $w.t"
|
||||
$w.bar.edit.m add command -label Paste -command "tk_textPaste $w.t"
|
||||
$w.bar.edit.m add command -label Find \
|
||||
- -command "difffind :merge:$di:$fi $w.t"
|
||||
+ -command [list difffind :merge:$di:$fi $w.t]
|
||||
pack $w.bar.edit -side left
|
||||
frame $w.f -relief sunk -border 2
|
||||
entry $w.f.filename
|
||||
@@ -3533,7 +3533,7 @@
|
||||
$w.bar.edit.m add command -label Copy -command "tk_textCopy $w.t"
|
||||
$w.bar.edit.m add command -label Paste -command "tk_textPaste $w.t"
|
||||
$w.bar.edit.m add command -label Find \
|
||||
- -command "difffind :mpatch:$fi $w.t"
|
||||
+ -command [list difffind :mpatch:$fi $w.t]
|
||||
pack $w.bar.edit -side left
|
||||
frame $w.f -relief sunk -border 2
|
||||
entry $w.f.filename
|
||||
@@ -3993,7 +3993,7 @@
|
||||
$w.bar.edit.m add command -label Copy -command "tk_textCopy $w.t"
|
||||
$w.bar.edit.m add command -label Paste -command "tk_textPaste $w.t"
|
||||
$w.bar.edit.m add command -label Find \
|
||||
- -command "difffind :patch:$patchnum $w.t"
|
||||
+ -command [list difffind :patch:$patchnum $w.t]
|
||||
pack $w.bar.edit -side left
|
||||
frame $w.f -relief sunk -border 2
|
||||
label $w.f.l -text "Filename: "
|
||||
@@ -4032,23 +4032,23 @@
|
||||
set p1 [joinname $d1 $f]
|
||||
set p2 [joinname $d2 $f]
|
||||
if {[file exists $p1] && [file exists $p2]} {
|
||||
- set fh [open "|diff $contextopt $p1 $p2" r]
|
||||
+ set fh [open [list |diff $contextopt $p1 $p2] r]
|
||||
} elseif {[file exists $p1] && ! [file exists $p2]} {
|
||||
- set fh [open "|diff $contextopt $p1 $nullfile" r]
|
||||
+ set fh [open [list |diff $contextopt $p1 $nullfile] r]
|
||||
} elseif {! [file exists $p1] && [file exists $p2]} {
|
||||
- set fh [open "|diff $contextopt $nullfile $p2" r]
|
||||
+ set fh [open [list |diff $contextopt $nullfile $p2] r]
|
||||
} else {
|
||||
continue
|
||||
}
|
||||
fconfigure $fh -blocking 0
|
||||
- fileevent $fh readable "readpatch $fh $pnum $w $d1 $d2 $i \"$f\""
|
||||
+ fileevent $fh readable [list readpatch $fh $pnum $w $d1 $d2 $i $f]
|
||||
return
|
||||
}
|
||||
if {[string match ".*" $w]} {
|
||||
$w.t delete "end - 1c" end
|
||||
} else {
|
||||
close $w
|
||||
- eval "exec $showprogram \"$patch_outfile\" &"
|
||||
+ exec $showprogram $patch_outfile &
|
||||
# Should we remove the tempfile here? We don't have it if we used
|
||||
# the internal viewer
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
filecmp.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/filecmp.c b/filecmp.c
|
||||
index 673c1a8..fd4c6e5 100644
|
||||
--- a/filecmp.c
|
||||
+++ b/filecmp.c
|
||||
@@ -341,7 +341,7 @@ FileCmpCmd(clientData, interp, argc, argv)
|
||||
if (n1 < 0 || n2 < 0)
|
||||
return TCL_ERROR;
|
||||
|
||||
- sprintf(interp->result, "%d", same);
|
||||
+ sprintf(Tcl_GetStringResult(interp), "%d", same);
|
||||
return TCL_OK;
|
||||
}
|
||||
|
@ -0,0 +1,16 @@
|
||||
dirdiff | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dirdiff b/dirdiff
|
||||
index c5522b6..f470348 100755
|
||||
--- a/dirdiff
|
||||
+++ b/dirdiff
|
||||
@@ -37,7 +37,7 @@ set nxdirmode 0
|
||||
set docvsignore 0
|
||||
|
||||
set defaultcvsignore {
|
||||
- RCS SCCS CVS CVS.adm RCSLOG cvslog.* tags TAGS
|
||||
+ RCS SCCS CVS CVS.adm RCSLOG cvslog.* .svn .git tags TAGS
|
||||
.make.state .nse_depinfo *~ \#* .\#* ,* _$* *$
|
||||
*.old *.bak *.BAK *.orig *.rej .del-* *.a *.olb
|
||||
*.o *.obj *.so *.exe *.Z *.elc *.ln core
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,2 +0,0 @@
|
||||
DIST noegnud-0.8.0_data-sound-falconseye.tar.bz2 257624 RMD160 cc82a0bf6e2339c203ed81c8595c014de468e9cc SHA1 cb92932af48bc52e36e6c48b41866e0ddbf5e422 SHA256 9167e2164c7109377aa901c145dc808cad0888a66233d0f82cec153ab09b86d7
|
||||
DIST noegnud-0.8.0_data-tileset-absurd.tar.bz2 26981406 RMD160 c8d5310feed38c8407cd00eb3ae24232c17b0ca6 SHA1 4f462b44180868f27f62635b7a04ab45e2f55fa4 SHA256 916b15b7b39ba68aa93e405afdff2d2af47268eee70ae5a08b02bebccfa5aca0
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/noegnud-data/noegnud-data-0.8.0.ebuild,v 1.9 2008/03/07 20:17:00 wolf31o2 Exp $
|
||||
|
||||
inherit eutils games
|
||||
|
||||
# for more info on these themes visit:
|
||||
# http://noegnud.sourceforge.net/downloads.shtml
|
||||
|
||||
# absurd itakura mazko abigabi geoduck lagged aoki falconseye
|
||||
GUI_THEME=absurd
|
||||
# falconseye nhs
|
||||
SND_THEME=falconseye
|
||||
DESCRIPTION="ultimate User Interface for nethack"
|
||||
HOMEPAGE="http://noegnud.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/noegnud/noegnud-${PV}_data-tileset-${GUI_THEME}.tar.bz2
|
||||
mirror://sourceforge/noegnud/noegnud-${PV}_data-sound-${SND_THEME}.tar.bz2"
|
||||
|
||||
LICENSE="nethack"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/noegnud-${PV}/data
|
||||
|
||||
src_install() {
|
||||
dodir "${GAMES_DATADIR}/"noegnud_data
|
||||
cp -r * "${D}/${GAMES_DATADIR}"/noegnud_data/
|
||||
prepgamesdirs
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
DIST nethack-343-src.tgz 3497458 RMD160 42f600d24715a0b7e631b357c135761410b3ca95 SHA1 c26537093c38152bc0fbcec20468d975b35f59fd SHA256 bb39c3d2a9ee2df4a0c8fdde708fbc63740853a7608d2f4c560b488124866fe4
|
||||
DIST noegnud-0.8.3_linux_src-minimal.tar.bz2 4794245 RMD160 cf0234c6272b17594de24d7f2d4d1e0fa1f0624d SHA1 1214b18097a47959a73e24475e87f31d6e47f343 SHA256 226109eeafc7f54b46b8e239e90b71550b01494dc41e450ed929f26feb2a4433
|
@ -1,11 +0,0 @@
|
||||
--- ../noegnud/noegnud_gui.c.old 2007-01-18 11:43:45.004148588 +0100
|
||||
+++ ../noegnud/noegnud_gui.c 2007-01-18 11:43:59.563935164 +0100
|
||||
@@ -627,7 +627,7 @@
|
||||
//button=(noegnud_gui_tbutton *)noegnud_gui_create_window(parent,x,y,width,height,(sizeof(noegnud_gui_twindow)-sizeof(noegnud_gui_twidget))+datasize);
|
||||
|
||||
text=noegnud_gui_create_text(
|
||||
- (noegnud_gui_twidget *)button=(noegnud_gui_tbutton *)noegnud_gui_create_window(
|
||||
+ /*(noegnud_gui_twidget *)*/button=(noegnud_gui_tbutton *)noegnud_gui_create_window(
|
||||
parent,
|
||||
x,y,
|
||||
width,height,
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>games</herd>
|
||||
</pkgmetadata>
|
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/noegnud-nethack/noegnud-nethack-0.8.3.ebuild,v 1.5 2010/12/01 07:52:26 mr_bones_ Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils games
|
||||
|
||||
VAR_NAME=nethack
|
||||
VAR_SNAME=nh
|
||||
VAR_DVER=3.4.3
|
||||
VAR_VER=${VAR_DVER//.}
|
||||
VAR_TAR=${VAR_NAME}-${VAR_VER}-src.tgz
|
||||
DESCRIPTION="An alternate 2D/3D graphical user interface for NetHack"
|
||||
HOMEPAGE="http://noegnud.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/noegnud/noegnud-${PV}_linux_src-minimal.tar.bz2
|
||||
mirror://sourceforge/${VAR_NAME}/${VAR_TAR}"
|
||||
|
||||
LICENSE="nethack"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="media-libs/libsdl
|
||||
dev-util/yacc"
|
||||
RDEPEND="media-libs/libsdl
|
||||
media-libs/sdl-image
|
||||
media-libs/sdl-mixer
|
||||
virtual/opengl
|
||||
games-roguelike/noegnud-data"
|
||||
|
||||
S=${WORKDIR}/noegnud-${PV}/variants
|
||||
|
||||
src_unpack() {
|
||||
unpack noegnud-${PV}_linux_src-minimal.tar.bz2
|
||||
ln -s "${DISTDIR}"/${VAR_TAR} noegnud-${PV}/variants/tarballs/${VAR_TAR}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-gcc41.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake ${VAR_SNAME}${VAR_VER} PREFIX="${GAMES_PREFIX}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install_${VAR_SNAME}${VAR_VER} PREFIX="${D}/${GAMES_PREFIX}" \
|
||||
|| die "emake install failed"
|
||||
|
||||
cd "${D}/${GAMES_BINDIR}"
|
||||
# we do this cause sometimes the installed package thinks it's a diff version :)
|
||||
local tver="`ls noegnud-*-${VAR_NAME}-${VAR_DVER} | cut -d- -f2`"
|
||||
rm noegnud-${VAR_NAME}-${VAR_DVER}
|
||||
mv noegnud-${tver}-${VAR_NAME}-${VAR_DVER} noegnud-${VAR_NAME}
|
||||
sed -i \
|
||||
-e "/^HACKDIR/s:=.*:=$(games_get_libdir)/noegnud-${tver}/${VAR_NAME}-${VAR_DVER}:" \
|
||||
noegnud-${VAR_NAME} \
|
||||
|| die "sed failed"
|
||||
|
||||
insinto "${GAMES_DATADIR}"/noegnud_data
|
||||
doins -r "${S}"/../data/* || die "doins failed"
|
||||
dosym "${GAMES_DATADIR}"/noegnud_data "$(games_get_libdir)"/noegnud-${tver}/data
|
||||
|
||||
keepdir "$(games_get_libdir)"/noegnud-${tver}/${VAR_NAME}-${VAR_DVER}/save
|
||||
|
||||
prepgamesdirs
|
||||
fperms -R g+w "$(games_get_libdir)"/noegnud-${tver}/${VAR_NAME}-${VAR_DVER}
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
DIST noegnud-0.8.2_linux_src-minimal.tar.bz2 4801644 RMD160 527cd14212b3c8556c3e566a2ec8cde4602de2f0 SHA1 3e76405ae99bc7ed721039e78201521e28cc136a SHA256 4efa6a865226ff63e8e42b1e6a712407064ace10ac6fcae56bd0e309a6d1d903
|
||||
DIST noegnud-0.8.2_noegnud-0.8.2.se007E3.diff.gz 6201 RMD160 b21444a02d4c8efa301d01519c0be8db6f5d46a5 SHA1 28ecc8a03d58a1cf9ff63aa471b92d228f498435 SHA256 1c0132e06e7598d8cd1a5a76af543ece8d30b7afcb04ee8fdaf1370993a79a35
|
||||
DIST se007e3.tar.gz 5073942 RMD160 08caf3101757eb4c712da3d61aafb85b61997c2b SHA1 cce7ab1f4a8e22afada00d97b2a09b76c8608e92 SHA256 ca4a0e14c64dd8a272878844cc2118094d8a983d5b922b904940b248c19fe259
|
@ -1,11 +0,0 @@
|
||||
--- noegnud-0.8.2/noegnud/noegnud_gui.c.old 2006-05-21 16:43:10.000000000 +0200
|
||||
+++ noegnud-0.8.2/noegnud/noegnud_gui.c 2006-05-21 16:44:17.000000000 +0200
|
||||
@@ -627,7 +627,7 @@
|
||||
//button=(noegnud_gui_tbutton *)noegnud_gui_create_window(parent,x,y,width,height,(sizeof(noegnud_gui_twindow)-sizeof(noegnud_gui_twidget))+datasize);
|
||||
|
||||
text=noegnud_gui_create_text(
|
||||
- (noegnud_gui_twidget *)button=(noegnud_gui_tbutton *)noegnud_gui_create_window(
|
||||
+ button=(noegnud_gui_tbutton *)noegnud_gui_create_window(
|
||||
parent,
|
||||
x,y,
|
||||
width,height,
|
@ -1,11 +0,0 @@
|
||||
--- slashem-0.0.7E3/sys/unix/Makefile.src.old 2010-10-14 09:33:49.000000000 +0200
|
||||
+++ slashem-0.0.7E3/sys/unix/Makefile.src 2010-10-14 09:34:09.000000000 +0200
|
||||
@@ -570,7 +570,7 @@
|
||||
|
||||
Sysunix: $(HOBJ) Makefile
|
||||
@echo "Loading ..."
|
||||
- $(CC) $(LFLAGS) -o $(GAME) $(HOBJ) $(WINLIB) $(LIBS)
|
||||
+ $(CC) $(LDFLAGS) $(LFLAGS) -o $(GAME) $(HOBJ) $(WINLIB) $(LIBS)
|
||||
@touch Sysunix
|
||||
|
||||
Sys3B2: $(HOBJ) Makefile
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>games</herd>
|
||||
</pkgmetadata>
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/noegnud-slashem/noegnud-slashem-0.8.2.ebuild,v 1.12 2011/02/24 14:46:03 tupone Exp $
|
||||
|
||||
inherit eutils games
|
||||
|
||||
VAR_NAME=slashem
|
||||
VAR_SNAME=se
|
||||
VAR_DVER=0.0.7E3
|
||||
VAR_VER=007e3
|
||||
VAR_TAR=${VAR_SNAME}${VAR_VER}.tar.gz
|
||||
DESCRIPTION="an alternate 2D/3D graphical user interface for SLASH'EM"
|
||||
HOMEPAGE="http://noegnud.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/noegnud/noegnud-${PV}_linux_src-minimal.tar.bz2
|
||||
mirror://sourceforge/noegnud/noegnud-${PV}_noegnud-${PV}.se${VAR_VER/e/E}.diff.gz
|
||||
mirror://sourceforge/${VAR_NAME}/${VAR_TAR}"
|
||||
|
||||
LICENSE="nethack"
|
||||
SLOT="0"
|
||||
KEYWORDS="ppc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="media-libs/libsdl
|
||||
dev-util/yacc"
|
||||
RDEPEND="media-libs/libsdl
|
||||
media-libs/sdl-image
|
||||
media-libs/sdl-mixer
|
||||
virtual/opengl
|
||||
games-roguelike/noegnud-data"
|
||||
|
||||
S=${WORKDIR}/noegnud-${PV}/variants
|
||||
|
||||
src_unpack() {
|
||||
unpack noegnud-${PV}_linux_src-minimal.tar.bz2
|
||||
cd noegnud-${PV}
|
||||
epatch "${DISTDIR}"/noegnud-${PV}_noegnud-${PV}.${VAR_SNAME}${VAR_VER/e/E}.diff.gz
|
||||
ln -s "${DISTDIR}"/${VAR_TAR} variants/tarballs/${VAR_TAR}
|
||||
epatch "${FILESDIR}/${P}"-gcc41.patch
|
||||
cd variants
|
||||
make noegnud-0.8.0-${VAR_NAME}-${VAR_DVER}
|
||||
epatch "${FILESDIR}"/${P}-ldflags.patch
|
||||
sed -i -e 's:$(LFLAGS):$(LDFLAGS) $(LFLAGS):' \
|
||||
slashem-0.0.7E3/sys/unix/Makefile.utl || die "sed failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake ${VAR_SNAME}${VAR_VER} PREFIX="${GAMES_PREFIX}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install_${VAR_SNAME}${VAR_VER} PREFIX="${D}/${GAMES_PREFIX}" || die
|
||||
|
||||
cd "${D}/${GAMES_BINDIR}"
|
||||
# we do this cause sometimes the installed package thinks it's a diff version :)
|
||||
local tver=$(ls noegnud-*-${VAR_NAME}-${VAR_DVER} | cut -d- -f2)
|
||||
rm noegnud-${VAR_NAME}-${VAR_DVER}
|
||||
mv noegnud-${tver}-${VAR_NAME}-${VAR_DVER} noegnud-${VAR_NAME}
|
||||
sed -i \
|
||||
-e "/^HACKDIR/s:=.*:=$(games_get_libdir)/noegnud-${tver}/${VAR_NAME}-${VAR_DVER}:" \
|
||||
noegnud-${VAR_NAME} \
|
||||
|| die "sed failed"
|
||||
|
||||
insinto "${GAMES_DATADIR}"/noegnud_data
|
||||
doins -r "${S}"/../data/* || die "doins failed"
|
||||
dosym "${GAMES_DATADIR}"/noegnud_data "$(games_get_libdir)"/noegnud-${tver}/data
|
||||
|
||||
keepdir "$(games_get_libdir)"/noegnud-${tver}/${VAR_NAME}-${VAR_DVER}/save
|
||||
|
||||
prepgamesdirs
|
||||
fperms -R g+w "$(games_get_libdir)"/noegnud-${tver}/${VAR_NAME}-${VAR_DVER}
|
||||
}
|
@ -1,12 +1,8 @@
|
||||
DIST freetype-1.4_pre20080316.tar.bz2 1199805 SHA256 b88e8827dfeebcd0c663cac19c798acbd2f1129eaf89172eb26c3594700316a2 SHA512 196d9f4f11e4a613e0e59de131cd143ec9bc6d07cef870b6652e204c94d31986b31286819cd0a34b7d01afc9269f3447b346e2f7c6cf4a60d993e1f2d240e5f7 WHIRLPOOL 8eab54dc5d41362c379e0b2bdbeed026bab387de00b779e9b50c97717be429bae18896d6d4a5b58e2cb1462cbf0150ab77429c05a290bb3eef1ee14d65e7b540
|
||||
DIST freetype-2.4.10-infinality-patches.tar.xz 43264 SHA256 b8bedfba61fcf8f20a700d76e1ad0b0322efefb901bad47b6dcf90c4d158658e SHA512 e4c00f4290aeb5d70d07edd2993dee180d7413765cca7e41cfb585fbdca27be3e94624fe088a03f19c6ce4390cafb2e6f922541e64dac49d39ffc0199ea340ce WHIRLPOOL e69de0560d8829a3ca50d5c929e312baf85c5306178952fdcfd94d1f22a5795172ad7afa2ad82b8a75d25b5bd5320bed2c8c20a9a6ef9e707a43c46934006b73
|
||||
DIST freetype-2.4.10.tar.bz2 1508927 SHA256 0c8e242c33c45928de560d7d595db06feb41d1b22167e37260ceabe72f9e992f SHA512 41547dba00a949792b44f42a8b5a69fb6dd4c6f3d454221a0b20ac6eaedd938465922197ccdd49bdff4c03e85ab4d38a77d3c48a597e3c69790ebeba359a0107 WHIRLPOOL 455efafdc97677bec9ee234d3aedde0945123587a788e483bfeb9c1a1d00a121e2921632145678d439fbd497c96191b053143247fb31ed039ad5984d0be47eef
|
||||
DIST freetype-2.4.11-infinality-patches.tar.xz 27968 SHA256 e61c205646ea29776f28bf4e79591fdd0c7e5294508fc88b7fbbe68b70dabfd0 SHA512 38b2bd4465887d2c233ade8034542058a1c2a6d398668189d4d7420cf710482967bec535c525e044e9452796151f18ae96d5b37f37e5965060150eaed395c825 WHIRLPOOL 79fc5ee2149546bfdc079963ad704e3ab8c5c642f3e2950ad3e8cb0ce1cf7671beaa2a62c8a554b7fc038b9723aa011edd11be205fbb6adb98f3f529404b2cf5
|
||||
DIST freetype-2.4.11.tar.bz2 1546087 SHA256 ef9d0bcb64647d9e5125dc7534d7ca371c98310fec87677c410f397f71ffbe3f SHA512 a858395f48b435ff7469592c397634806debf1250a6f7344871acbfcd6e0f2d658fc7fb80c302cde7f3fd29d9f14c6c0e1248a65660e3a96c0dfad3cef697979 WHIRLPOOL 499b010555730c3558362ec306716f3b7dabcdba85e9dfdb2fc98fdfb8062c11002507ce44c8ad0e1967b4f27dfa2b6e8d65c3b5824c29036c4473a5b7ac0f49
|
||||
DIST freetype-2.4.9.tar.bz2 1504819 SHA256 c4204ac1d48e99d4375a2f32bf4f3f92780a9d9f015e64e57e852f6c004859b9 SHA512 30f388c7c0cf00deacffcb402ac97682f7957365d9eb94ba1c20d1c6f1ff1163b6a1d88a833edc9cd274bb21c9b87f5403f2c465c042bbaf599971074ac040f7 WHIRLPOOL e9fd9217cec39243409818b104918ca578c3b4bc750d1795ac6bcd78b98bd68f1f6a09549ee697fee785e4b731f77203886ae30234b7ca1909d13bfae6ea4706
|
||||
DIST freetype-doc-2.4.10.tar.bz2 106697 SHA256 b83b46fd02d00c256eea12bddf598454f95858dbeaa853b76dac5974f0321fd8
|
||||
DIST freetype-doc-2.4.11.tar.bz2 106643 SHA256 e80082d8594300d2cc1f1c315179006012fa4ded7acb4b6a1f7b43b5b19dcb51 SHA512 f3db6826c179409db92ac2e7bdded9244a7bb18fec45062bdbc712352b29a1b2de33ea20c8ac3f54cd0b59caf9a5b9df6537e3dc83e32999921df00747a69813 WHIRLPOOL d61d88b52f8244e4053b4f0f86efd35d89561d6831535219902fbf58deac656935455d18775c7ad3be6b6c558ea52db7ddc4425964f8259da2bb51731e69ff5d
|
||||
DIST freetype-doc-2.4.9.tar.bz2 106690 SHA256 138ec5c5081c2c0d1d4624e83bf3797a27271fdb5218deff6599f2d23b66438a SHA512 a009b1c3c0129c4bb9911fa3634eeca65796d519f9ef8d452a46684bcc8d29576e4b3747ead29151bd52203b1320f486e61784ff620937ccb1051898a1e23cf3 WHIRLPOOL 913510d3c177b13fe89e82f4f8b302e357ddec3d61e50ec523327a15a810809761da5edc7189cae16a9b47758b42a26859b397e7878bf1b2803bd46937756114
|
||||
DIST ft2demos-2.4.10.tar.bz2 163949 SHA256 3fb7e97f35c0f59ecd967577a3e77fbcca10d84c00129a74e5da45bf3625cc45
|
||||
DIST ft2demos-2.4.11.tar.bz2 164608 SHA256 49cc6c45542cc39cca0d9135b865fab428b1f9805b46c22fd848528f51c76075 SHA512 35c907ce5cd8a5e7381a259d734d2c56641c8fd08ef3ba4fe6a87ae9daf2ce4dd68cfeb3e6459cbed043832157db7918e3a66ac5102b4d48be0bbf39942f57ed WHIRLPOOL 9e85b6b9db845aeb3ead65975fc81e058f25cfdb637a3958b727449ed738f738022729c30be6ea0da72129f5f298b66c28d806ee56eb2b25e0d1abb130d35476
|
||||
DIST ft2demos-2.4.9.tar.bz2 163748 SHA256 7a67ac6dff11078464c5b9dc68fa2f62c8f05067e0fd15645f5cb7efb05413f9 SHA512 2633a5a847137fb32ed9ab3d61a201d3492896c0e945552382f1b23f169b51dbcb31e06c092a12160ec15db5bd7ec7a9239bf831875c1d9b9ad58a77dfa027c0 WHIRLPOOL b4b51981f91676bd939a471b9ebc2a9591416c78ed1cd894b0df03c1d5325bb80eeb0ab3d82ed3ecead15d85e80dc3b9f763842355b32ce2cc3a4556ba905b05
|
||||
|
@ -1,137 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-2.4.10-r1.ebuild,v 1.2 2012/07/30 05:35:32 yngwin Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic libtool multilib
|
||||
|
||||
DESCRIPTION="A high-quality and portable font engine"
|
||||
HOMEPAGE="http://www.freetype.org/"
|
||||
SRC_URI="mirror://sourceforge/freetype/${P/_/}.tar.bz2
|
||||
utils? ( mirror://sourceforge/freetype/ft2demos-${PV}.tar.bz2 )
|
||||
doc? ( mirror://sourceforge/freetype/${PN}-doc-${PV}.tar.bz2 )
|
||||
infinality? ( http://dev.gentoo.org/~yngwin/distfiles/${P}-infinality-patches.tar.xz )"
|
||||
|
||||
LICENSE="FTL GPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE="X auto-hinter bindist bzip2 debug doc fontforge infinality static-libs utils"
|
||||
|
||||
DEPEND="sys-libs/zlib
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
X? ( x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp )"
|
||||
RDEPEND="${DEPEND}
|
||||
infinality? ( media-libs/fontconfig-infinality )"
|
||||
|
||||
src_prepare() {
|
||||
enable_option() {
|
||||
sed -i -e "/#define $1/a #define $1" \
|
||||
include/freetype/config/ftoption.h \
|
||||
|| die "unable to enable option $1"
|
||||
}
|
||||
|
||||
disable_option() {
|
||||
sed -i -e "/#define $1/ { s:^:/*:; s:$:*/: }" \
|
||||
include/freetype/config/ftoption.h \
|
||||
|| die "unable to disable option $1"
|
||||
}
|
||||
|
||||
if ! use bindist; then
|
||||
# See http://freetype.org/patents.html
|
||||
# ClearType is covered by several Microsoft patents in the US
|
||||
enable_option FT_CONFIG_OPTION_SUBPIXEL_RENDERING
|
||||
fi
|
||||
|
||||
if use auto-hinter; then
|
||||
disable_option TT_CONFIG_OPTION_BYTECODE_INTERPRETER
|
||||
enable_option TT_CONFIG_OPTION_UNPATENTED_HINTING
|
||||
fi
|
||||
|
||||
if use debug; then
|
||||
enable_option FT_DEBUG_LEVEL_TRACE
|
||||
enable_option FT_DEBUG_MEMORY
|
||||
fi
|
||||
|
||||
disable_option FT_CONFIG_OPTION_OLD_INTERNALS
|
||||
|
||||
if use infinality; then
|
||||
epatch "${WORKDIR}"/patches/freetype-add-subpixel-hinting-infinality.patch
|
||||
epatch "${WORKDIR}"/patches/freetype-entire-infinality-patchset.patch
|
||||
|
||||
enable_option FT_CONFIG_OPTION_SUBPIXEL_RENDERING
|
||||
enable_option TT_CONFIG_OPTION_SUBPIXEL_HINTING
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-2.3.2-enable-valid.patch
|
||||
|
||||
if use utils; then
|
||||
cd "${WORKDIR}/ft2demos-${PV}"
|
||||
sed -i -e "s:\.\.\/freetype2$:../freetype-${PV}:" Makefile || die
|
||||
# Disable tests needing X11 when USE="-X". (bug #177597)
|
||||
if ! use X; then
|
||||
sed -i -e "/EXES\ +=\ ftdiff/ s:^:#:" Makefile || die
|
||||
fi
|
||||
fi
|
||||
|
||||
elibtoolize
|
||||
epunt_cxx
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
type -P gmake &> /dev/null && export GNUMAKE=gmake
|
||||
|
||||
# we need non-/bin/sh to run configure
|
||||
[[ -n ${CONFIG_SHELL} ]] && \
|
||||
sed -i -e "1s:^#![[:space:]]*/bin/sh:#!$CONFIG_SHELL:" \
|
||||
"${S}"/builds/unix/configure
|
||||
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with bzip2)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use utils; then
|
||||
einfo "Building utils"
|
||||
cd "${WORKDIR}/ft2demos-${PV}"
|
||||
# fix for Prefix, bug #339334
|
||||
emake X11_PATH="${EPREFIX}/usr/$(get_libdir)"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if use utils; then
|
||||
einfo "Installing utils"
|
||||
rm "${WORKDIR}"/ft2demos-${PV}/bin/README
|
||||
for ft2demo in ../ft2demos-${PV}/bin/*; do
|
||||
./builds/unix/libtool --mode=install $(type -P install) -m 755 "$ft2demo" \
|
||||
"${ED}"/usr/bin
|
||||
done
|
||||
fi
|
||||
|
||||
if use fontforge; then
|
||||
# Probably fontforge needs less but this way makes things simplier...
|
||||
einfo "Installing internal headers required for fontforge"
|
||||
find src/truetype include/freetype/internal -name '*.h' | \
|
||||
while read header; do
|
||||
mkdir -p "${ED}/usr/include/freetype2/internal4fontforge/$(dirname ${header})"
|
||||
cp ${header} "${ED}/usr/include/freetype2/internal4fontforge/$(dirname ${header})"
|
||||
done
|
||||
fi
|
||||
|
||||
prune_libtool_files
|
||||
|
||||
dodoc ChangeLog README
|
||||
dodoc docs/{CHANGES,CUSTOMIZE,DEBUG,*.txt,PROBLEMS,TODO}
|
||||
|
||||
use doc && dohtml -r docs/*
|
||||
|
||||
}
|
@ -1,128 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-2.4.10.ebuild,v 1.2 2012/07/18 06:59:18 grobian Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic libtool multilib
|
||||
|
||||
DESCRIPTION="A high-quality and portable font engine"
|
||||
HOMEPAGE="http://www.freetype.org/"
|
||||
SRC_URI="mirror://sourceforge/freetype/${P/_/}.tar.bz2
|
||||
utils? ( mirror://sourceforge/freetype/ft2demos-${PV}.tar.bz2 )
|
||||
doc? ( mirror://sourceforge/freetype/${PN}-doc-${PV}.tar.bz2 )"
|
||||
|
||||
LICENSE="FTL GPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE="X auto-hinter bindist bzip2 debug doc fontforge static-libs utils"
|
||||
|
||||
DEPEND="sys-libs/zlib
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
X? ( x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
enable_option() {
|
||||
sed -i -e "/#define $1/a #define $1" \
|
||||
include/freetype/config/ftoption.h \
|
||||
|| die "unable to enable option $1"
|
||||
}
|
||||
|
||||
disable_option() {
|
||||
sed -i -e "/#define $1/ { s:^:/*:; s:$:*/: }" \
|
||||
include/freetype/config/ftoption.h \
|
||||
|| die "unable to disable option $1"
|
||||
}
|
||||
|
||||
if ! use bindist; then
|
||||
# See http://freetype.org/patents.html
|
||||
# ClearType is covered by several Microsoft patents in the US
|
||||
enable_option FT_CONFIG_OPTION_SUBPIXEL_RENDERING
|
||||
fi
|
||||
|
||||
if use auto-hinter; then
|
||||
disable_option TT_CONFIG_OPTION_BYTECODE_INTERPRETER
|
||||
enable_option TT_CONFIG_OPTION_UNPATENTED_HINTING
|
||||
fi
|
||||
|
||||
if use debug; then
|
||||
enable_option FT_DEBUG_LEVEL_TRACE
|
||||
enable_option FT_DEBUG_MEMORY
|
||||
fi
|
||||
|
||||
disable_option FT_CONFIG_OPTION_OLD_INTERNALS
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-2.3.2-enable-valid.patch
|
||||
|
||||
if use utils; then
|
||||
cd "${WORKDIR}/ft2demos-${PV}"
|
||||
sed -i -e "s:\.\.\/freetype2$:../freetype-${PV}:" Makefile || die
|
||||
# Disable tests needing X11 when USE="-X". (bug #177597)
|
||||
if ! use X; then
|
||||
sed -i -e "/EXES\ +=\ ftdiff/ s:^:#:" Makefile || die
|
||||
fi
|
||||
fi
|
||||
|
||||
elibtoolize
|
||||
epunt_cxx
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
type -P gmake &> /dev/null && export GNUMAKE=gmake
|
||||
|
||||
# we need non-/bin/sh to run configure
|
||||
[[ -n ${CONFIG_SHELL} ]] && \
|
||||
sed -i -e "1s:^#![[:space:]]*/bin/sh:#!$CONFIG_SHELL:" \
|
||||
"${S}"/builds/unix/configure
|
||||
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with bzip2)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use utils; then
|
||||
einfo "Building utils"
|
||||
cd "${WORKDIR}/ft2demos-${PV}"
|
||||
# fix for Prefix, bug #339334
|
||||
emake X11_PATH="${EPREFIX}/usr/$(get_libdir)"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if use utils; then
|
||||
einfo "Installing utils"
|
||||
rm "${WORKDIR}"/ft2demos-${PV}/bin/README
|
||||
for ft2demo in ../ft2demos-${PV}/bin/*; do
|
||||
./builds/unix/libtool --mode=install $(type -P install) -m 755 "$ft2demo" \
|
||||
"${ED}"/usr/bin
|
||||
done
|
||||
fi
|
||||
|
||||
if use fontforge; then
|
||||
# Probably fontforge needs less but this way makes things simplier...
|
||||
einfo "Installing internal headers required for fontforge"
|
||||
find src/truetype include/freetype/internal -name '*.h' | \
|
||||
while read header; do
|
||||
mkdir -p "${ED}/usr/include/freetype2/internal4fontforge/$(dirname ${header})"
|
||||
cp ${header} "${ED}/usr/include/freetype2/internal4fontforge/$(dirname ${header})"
|
||||
done
|
||||
fi
|
||||
|
||||
prune_libtool_files
|
||||
|
||||
dodoc ChangeLog README
|
||||
dodoc docs/{CHANGES,CUSTOMIZE,DEBUG,*.txt,PROBLEMS,TODO}
|
||||
|
||||
use doc && dohtml -r docs/*
|
||||
|
||||
}
|
@ -1,13 +1,13 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-oss/gst-plugins-oss-0.10.31.ebuild,v 1.2 2012/12/02 17:43:44 eva Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-oss/gst-plugins-oss-0.10.31.ebuild,v 1.4 2013/02/01 12:35:56 ago Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit gst-plugins-good
|
||||
|
||||
DESCRIPTION="GStreamer plugin for OSS (Open Sound System) support"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="virtual/os-headers"
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue