parent
bb25a37a8d
commit
b0a390b9f2
@ -1,241 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.8.2.ebuild,v 1.1 2012/08/11 17:29:15 xarthisius Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils fdo-mime flag-o-matic python qt4-r2 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Documentation system for most programming languages"
|
||||
HOMEPAGE="http://www.doxygen.org/"
|
||||
SRC_URI="http://ftp.stack.nl/pub/users/dimitri/${P}.src.tar.gz
|
||||
http://dev.gentoo.org/~xarthisius/distfiles/doxywizard.png"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="debug doc dot qt4 latex elibc_FreeBSD userland_GNU"
|
||||
|
||||
#missing SerbianCyrilic, JapaneseEn, KoreanEn, Chinesetraditional
|
||||
|
||||
LANGS=(hy ar pt_BR ca zh cs de da eo es fa fi fr el hr hu id it ja ko lt mk
|
||||
nl nb pl pt ro ru sl sk sr sv tr uk vi af)
|
||||
for X in "${LANGS[@]}" ; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
RDEPEND="qt4? ( x11-libs/qt-gui:4 )
|
||||
latex? ( app-text/texlive[extra] )
|
||||
dev-lang/perl
|
||||
virtual/libiconv
|
||||
media-libs/libpng
|
||||
app-text/ghostscript-gpl
|
||||
dot? (
|
||||
media-gfx/graphviz
|
||||
media-libs/freetype
|
||||
)"
|
||||
|
||||
DEPEND="sys-apps/sed
|
||||
sys-devel/flex
|
||||
sys-devel/bison
|
||||
doc? ( =dev-lang/python-2* )
|
||||
${RDEPEND}"
|
||||
|
||||
RESTRICT="mirror"
|
||||
EPATCH_SUFFIX="patch"
|
||||
|
||||
get_langs() {
|
||||
# using only user set linguas also fixes #263641
|
||||
my_linguas=()
|
||||
for lingua in ${LINGUAS}; do
|
||||
if has ${lingua} "${LANGS[@]}"; then
|
||||
case ${lingua} in
|
||||
hy) lingua=am ;;
|
||||
pt_BR) lingua=br ;;
|
||||
zh*) lingua=cn ;;
|
||||
cs) lingua=cz ;;
|
||||
da) lingua=dk ;;
|
||||
el*) lingua=gr ;;
|
||||
ja*) lingua=jp ;;
|
||||
ko) lingua=kr ;;
|
||||
nb) lingua=no ;;
|
||||
sl) lingua=si ;;
|
||||
tr*) lingua=tr ;;
|
||||
uk) lingua=ua ;;
|
||||
af) lingua=za ;;
|
||||
esac
|
||||
has ${lingua} "${my_linguas[@]}" ||
|
||||
my_linguas+=(${lingua})
|
||||
fi
|
||||
done
|
||||
f_langs="${my_linguas[@]}"
|
||||
echo ${f_langs// /,}
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
tc-export CC CXX
|
||||
if use doc; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# use CFLAGS, CXXFLAGS, LDFLAGS
|
||||
export ECFLAGS="${CFLAGS}" ECXXFLAGS="${CXXFLAGS}" ELDFLAGS="${LDFLAGS}"
|
||||
|
||||
sed -i.orig -e 's:^\(TMAKE_CFLAGS_RELEASE\t*\)= .*$:\1= $(ECFLAGS):' \
|
||||
-e 's:^\(TMAKE_CXXFLAGS_RELEASE\t*\)= .*$:\1= $(ECXXFLAGS):' \
|
||||
-e 's:^\(TMAKE_LFLAGS_RELEASE\s*\)=.*$:\1= $(ELDFLAGS):' \
|
||||
-e "s:^\(TMAKE_CXX\s*\)=.*$:\1= $(tc-getCXX):" \
|
||||
-e "s:^\(TMAKE_LINK\s*\)=.*$:\1= $(tc-getCXX):" \
|
||||
-e "s:^\(TMAKE_LINK_SHLIB\s*\)=.*$:\1= $(tc-getCXX):" \
|
||||
-e "s:^\(TMAKE_CXX\s*\)=.*$:\1= $(tc-getCC):" \
|
||||
tmake/lib/{{linux,gnu,freebsd,netbsd,openbsd,solaris}-g++,macosx-c++,linux-64}/tmake.conf \
|
||||
|| die
|
||||
|
||||
# Ensure we link to -liconv
|
||||
if use elibc_FreeBSD; then
|
||||
for pro in */*.pro.in */*/*.pro.in; do
|
||||
echo "unix:LIBS += -liconv" >> "${pro}"
|
||||
done
|
||||
fi
|
||||
|
||||
# Call dot with -Teps instead of -Tps for EPS generation - bug #282150
|
||||
sed -i -e '/addJob("ps"/ s/"ps"/"eps"/g' src/dot.cpp || die
|
||||
|
||||
# prefix search tools patch, plus OSX fixes
|
||||
epatch "${FILESDIR}"/${PN}-1.8.1-prefix-misc-alt.patch
|
||||
|
||||
# fix final DESTDIR issue
|
||||
sed -i.orig -e "s:\$(INSTALL):\$(DESTDIR)/\$(INSTALL):g" \
|
||||
-e "s/all: Makefile.doxywizard/all:/g" \
|
||||
addon/doxywizard/Makefile.in || die
|
||||
|
||||
# fix pdf doc
|
||||
sed -i.orig -e "s:g_kowal:g kowal:" \
|
||||
doc/maintainers.txt || die
|
||||
|
||||
# old value is not enough for codes written in modern Fortran
|
||||
sed -i -e '/define MAX_INCLUDE_DEPTH/ s/10/20/g' \
|
||||
src/fortranscanner.* || die
|
||||
|
||||
sed -e "s/\$(DATE)/$(LC_ALL="C" LANG="C" date)/g" \
|
||||
-i Makefile.in || die #428280
|
||||
|
||||
if is-flagq "-O3" ; then
|
||||
echo
|
||||
ewarn "Compiling with -O3 is known to produce incorrectly"
|
||||
ewarn "optimized code which breaks doxygen."
|
||||
echo
|
||||
elog "Continuing with -O2 instead ..."
|
||||
echo
|
||||
replace-flags "-O3" "-O2"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# set ./configure options (prefix, Qt based wizard, docdir)
|
||||
|
||||
local my_conf="--shared --enable-langs $(get_langs)"
|
||||
|
||||
if use debug ; then
|
||||
my_conf="${my_conf} --debug"
|
||||
else
|
||||
my_conf="${my_conf} --release "
|
||||
fi
|
||||
|
||||
use ppc64 && my_conf="${my_conf} --english-only" #263641
|
||||
|
||||
use qt4 && my_conf="${my_conf} --with-doxywizard"
|
||||
|
||||
# On non GNU userland (e.g. BSD), configure script picks up make and bails
|
||||
# out because it is not GNU make, so we force the right value.
|
||||
use userland_GNU || my_conf="${my_conf} --make ${MAKE} --install install"
|
||||
|
||||
export LINK="${QMAKE_LINK}"
|
||||
export LINK_SHLIB="${QMAKE_CXX}"
|
||||
|
||||
if use qt4 ; then
|
||||
pushd addon/doxywizard &> /dev/null
|
||||
eqmake4 doxywizard.pro -o Makefile.doxywizard
|
||||
popd &> /dev/null
|
||||
fi
|
||||
|
||||
./configure --prefix "${EPREFIX}/usr" ${my_conf} \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
emake CFLAGS+="${ECFLAGS}" CXXFLAGS+="${ECXXFLAGS}" \
|
||||
LFLAGS+="${ELDFLAGS}" all
|
||||
|
||||
# generate html and pdf (if tetex in use) documents.
|
||||
# errors here are not considered fatal, hence the ewarn message
|
||||
# TeX's font caching in /var/cache/fonts causes sandbox warnings,
|
||||
# so we allow it.
|
||||
if use doc; then
|
||||
if ! use dot; then
|
||||
sed -i -e "s/HAVE_DOT = YES/HAVE_DOT = NO/" \
|
||||
{Doxyfile,doc/Doxyfile} \
|
||||
|| ewarn "disabling dot failed"
|
||||
fi
|
||||
if use latex; then
|
||||
addwrite /var/cache/fonts
|
||||
addwrite /var/cache/fontconfig
|
||||
addwrite /usr/share/texmf/fonts/pk
|
||||
addwrite /usr/share/texmf/ls-R
|
||||
make pdf || ewarn '"make pdf docs" failed.'
|
||||
else
|
||||
cp doc/Doxyfile doc/Doxyfile.orig
|
||||
cp doc/Makefile doc/Makefile.orig
|
||||
sed -i.orig -e "s/GENERATE_LATEX = YES/GENERATE_LATEX = NO/" \
|
||||
doc/Doxyfile
|
||||
sed -i.orig -e "s/@epstopdf/# @epstopdf/" \
|
||||
-e "s/@cp Makefile.latex/# @cp Makefile.latex/" \
|
||||
-e "s/@sed/# @sed/" doc/Makefile
|
||||
make docs || ewarn '"make docs" failed.'
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" MAN1DIR=share/man/man1 install
|
||||
|
||||
if use qt4; then
|
||||
doicon "${DISTDIR}/doxywizard.png"
|
||||
make_desktop_entry doxywizard "DoxyWizard ${PV}" \
|
||||
"/usr/share/pixmaps/doxywizard.png" \
|
||||
"Application;Development"
|
||||
fi
|
||||
|
||||
dodoc INSTALL LANGUAGE.HOWTO README
|
||||
|
||||
# pdf and html manuals
|
||||
if use doc; then
|
||||
dohtml -r html/*
|
||||
use latex && dodoc latex/doxygen_manual.pdf
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
elog
|
||||
elog "The USE flags qt4, doc, and latex will enable doxywizard, or"
|
||||
elog "the html and pdf documentation, respectively. For examples"
|
||||
elog "and other goodies, see the source tarball. For some example"
|
||||
elog "output, run doxygen on the doxygen source using the Doxyfile"
|
||||
elog "provided in the top-level source dir."
|
||||
elog
|
||||
elog "Disabling the dot USE flag will remove the GraphViz dependency,"
|
||||
elog "along with Doxygen's ability to generate diagrams in the docs."
|
||||
elog "See the Doxygen homepage for additional helper tools to parse"
|
||||
elog "more languages."
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
removeEmptyLines() segfaults on empty string
|
||||
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=454348
|
||||
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676423
|
||||
|
||||
Patch written by Thibaut Paumard <paumard@users.sourceforge.net>
|
||||
--- a/src/htmlgen.cpp
|
||||
+++ b/src/htmlgen.cpp
|
||||
@@ -1022,6 +1022,11 @@
|
||||
static QCString removeEmptyLines(const QCString &s)
|
||||
{
|
||||
BufStr out(s.length()+1);
|
||||
+ if (s.length()==0)
|
||||
+ {
|
||||
+ out.addChar('\0');
|
||||
+ return out.data();
|
||||
+ }
|
||||
char *p=s.data();
|
||||
if (p)
|
||||
{
|
@ -1,2 +1 @@
|
||||
DIST fcitx-sunpinyin-0.2.0.tar.gz 19677 SHA256 223fc310a3b9a40a883cabe764b9742024e73d263b546fef48b8f8b02258fb6d SHA512 084b7504bfe81a96dbf8878cef249e7f82d360a5027ece997a29ed12ebc29322a532a8c059efa0e25c73c9038eb07f9d354cc0b1064866139511bedaa153c485 WHIRLPOOL 25994145be4fca26923e217178a540653809af2ec6e16da81bc1d7c2fb7da272991895ea121626244fc1a8ee29b1427cfa0cbf279d07e7ee5e1595e14c2c9fee
|
||||
DIST fcitx-sunpinyin-0.2.1.tar.gz 22515 SHA256 a12492729cdcde4e52116752fa3e011c6280e581bcf40b8e24f209094dd8f95d SHA512 22e763d409d67a3d29352f4dabc7a4241b82b9037e4da6352b67f9cd03789ce30da39d3e691a1255a903ecb8124aca2b827c7fd6241e8686150c248313d424e0 WHIRLPOOL 0626cf075c4fab46cc4fbbe8b0319b0f376124305167f9e0c017ccc7855f9f0d8db90ee331b4781f37e7ab7c58425100bacfad3ad2000b3222090089432a045d
|
||||
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-sunpinyin/fcitx-sunpinyin-0.2.0.ebuild,v 1.2 2010/12/18 09:01:54 qiaomuf Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="sunpinyin IM for fcitx"
|
||||
HOMEPAGE="http://fcitx.googlecode.com"
|
||||
SRC_URI="${HOMEPAGE}/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
DEPEND=" >=app-i18n/sunpinyin-2.0.2
|
||||
=app-i18n/fcitx-4.0.0 "
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,85 @@
|
||||
Fixes building documents.
|
||||
https://bugs.gentoo.org/442904
|
||||
|
||||
--- ibus-1.4.2.orig/docs/reference/ibus/ibus-docs.sgml.in
|
||||
+++ ibus-1.4.2/docs/reference/ibus/ibus-docs.sgml.in
|
||||
@@ -74,8 +74,10 @@
|
||||
<xi:include href="xml/ibusenginedesc.xml"/>
|
||||
<xi:include href="xml/ibusfactory.xml"/>
|
||||
<xi:include href="xml/ibusinputcontext.xml"/>
|
||||
+ <xi:include href="xml/ibuskeys.xml"/>
|
||||
<xi:include href="xml/ibuskeymap.xml"/>
|
||||
<xi:include href="xml/ibuskeysyms.xml"/>
|
||||
+ <xi:include href="xml/ibusutil.xml"/>
|
||||
</chapter>
|
||||
<chapter>
|
||||
<title>Configuration</title>
|
||||
@@ -92,9 +94,6 @@
|
||||
<title>Communication</title>
|
||||
<para>Here lists the service communication functions.</para>
|
||||
<xi:include href="xml/ibusbus.xml"/>
|
||||
- <xi:include href="xml/ibusconnection.xml"/>
|
||||
- <xi:include href="xml/ibusmessage.xml"/>
|
||||
- <xi:include href="xml/ibuspendingcall.xml"/>
|
||||
<xi:include href="xml/ibusproxy.xml"/>
|
||||
<xi:include href="xml/ibusserializable.xml"/>
|
||||
<xi:include href="xml/ibusservice.xml"/>
|
||||
@@ -104,11 +103,18 @@
|
||||
<para>Definition and functions for IBus internal use.</para>
|
||||
<xi:include href="xml/ibusdebug.xml"/>
|
||||
<xi:include href="xml/ibuserror.xml"/>
|
||||
- <xi:include href="xml/ibusmainloop.xml"/>
|
||||
<xi:include href="xml/ibusobject.xml"/>
|
||||
- <xi:include href="xml/ibusserver.xml"/>
|
||||
<xi:include href="xml/ibusshare.xml"/>
|
||||
<xi:include href="xml/ibustypes.xml"/>
|
||||
</chapter>
|
||||
+ <index id="api-index-full">
|
||||
+ <title>Index</title>
|
||||
+ <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
|
||||
+ </index>
|
||||
+ <index id="api-index-deprecated" role="deprecated">
|
||||
+ <title>Index of deprecated symbols</title>
|
||||
+ <xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
|
||||
+ </index>
|
||||
+ <xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
|
||||
</book>
|
||||
|
||||
--- ibus-1.4.2.orig/src/ibusobservedpath.h
|
||||
+++ ibus-1.4.2/src/ibusobservedpath.h
|
||||
@@ -75,6 +75,7 @@ struct _IBusObservedPath {
|
||||
IBusSerializable parent;
|
||||
/* instance members */
|
||||
|
||||
+ /*< public >*/
|
||||
gchar *path;
|
||||
glong mtime;
|
||||
gboolean is_dir;
|
||||
--- ibus-1.4.2.orig/src/ibusproperty.h
|
||||
+++ ibus-1.4.2/src/ibusproperty.h
|
||||
@@ -124,15 +124,15 @@ typedef struct _IBusPropListClass IBusPr
|
||||
|
||||
/**
|
||||
* IBusProperty:
|
||||
- * @key: Unique Identity for the IBusProperty.
|
||||
- * @icon: Icon file for the IBusProperty.
|
||||
- * @label: Text shown in UI.
|
||||
- * @tooltip: Message shown if mouse hovered the IBusProperty.
|
||||
- * @sensitive: Whether the IBusProperty is sensitive to keyboard and mouse event.
|
||||
- * @visible: Whether the IBusProperty is visible.
|
||||
- * @type: IBusPropType of IBusProperty.
|
||||
- * @state: IBusPropState of IBusProperty.
|
||||
- * @sub_props: IBusPropList that contains sub IBusProperties. These IBusProperties are usually
|
||||
+ * key: Unique Identity for the IBusProperty.
|
||||
+ * icon: Icon file for the IBusProperty.
|
||||
+ * label: Text shown in UI.
|
||||
+ * tooltip: Message shown if mouse hovered the IBusProperty.
|
||||
+ * sensitive: Whether the IBusProperty is sensitive to keyboard and mouse event.
|
||||
+ * visible: Whether the IBusProperty is visible.
|
||||
+ * type: IBusPropType of IBusProperty.
|
||||
+ * state: IBusPropState of IBusProperty.
|
||||
+ * sub_props: IBusPropList that contains sub IBusProperties. These IBusProperties are usually
|
||||
* shown as sub menu item.
|
||||
*
|
||||
* UI component for input method engine property.
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST pelican-2.8.1.tar.gz 3214448 SHA256 ea5c6d085b8395a6bacc3b1b0300713cdfc6252f74928db52fa124e407768c6b SHA512 a00d1e4c3d1e5dd984278acfc03b0c13872d607da7e74c9e1405ff0e90e5636959369960442ae46dddb70c100b990501474bc6fda101e4348374ede96499d9b2 WHIRLPOOL 942d0b766607f015e04628c51a978c560e1a4fa44a13801732b2dcaabf6c414f62f9ef77f07833c95074a42df8165c5e4edc2f603bf959d95b353a2b74c50202
|
||||
DIST pelican-3.0.1.tar.gz 1563862 SHA256 40177e3255871e362b721d91b3a706ab258664a78cab2531bceb4b68c1c1602c SHA512 135b54b96f828a0b601f7dc83f93710fbd7c7a977c791f27c4b603b65e6ad6071e6790b931c570f0d7da0c732c95907e50e7df2747b74212ea0f5a64ab065db1 WHIRLPOOL fd3cbc953d81d8d2954c5aa7f67ea7d37fa590bd2b2bdcc7ccfedac653ad95e227265e2244807f6ed361e403f91b2e81788d144873d951ff496c802fc75c896a
|
||||
DIST pelican-3.0.tar.gz 4317998 SHA256 f5adfa24834cd0af844bbe2616161cf50d319b400c8b7e5f95b116df56fd8776 SHA512 092a185532b310998a7bc7b1993f77838d88153735170283bf5c59958b75c8a57fa5f64fe325db8541dc74cdf606089a7e096ca3e2fd8e3d90b4f5d1611da6fd WHIRLPOOL b7e1b6ba2e3ccbe2bb00a72debea66ae2fd0460f973e34888754d4b15697858489ed584d45d9a113a46da5d5b7a203a8f3f5f33b0acbf976ad63b7eff074dda6
|
||||
DIST pelican-3.1.1.tar.gz 272667 SHA256 dddca733e2a5de44c70b83d77fa88e092ef6ba2a4d55fd96b06ce5cccd948521 SHA512 df1605c92507cc4240229710efec9a7856578df4ec3ea1985ca9e3a773df6c51d40d06bb3735ea5336e207b5546cd3833edab8cc19b01da6a33bf576b47311f0 WHIRLPOOL bd1376ced4066c0d75845ed81124ff992594cd2eaea9db80787bd278c4674c70cd32c46a668b35ea8098fc423c477c2849a6fea408634ff10e21256110e74fd5
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/pelican/pelican-3.1.1.ebuild,v 1.1 2013/01/28 10:06:11 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="A tool to generate a static blog, with restructured text (or markdown) input files."
|
||||
HOMEPAGE="http://pelican.notmyidea.org/ http://pypi.python.org/pypi/pelican"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples markdown"
|
||||
|
||||
DEPEND="dev-python/feedgenerator
|
||||
dev-python/jinja
|
||||
dev-python/docutils
|
||||
dev-python/pygments
|
||||
dev-python/pytz
|
||||
dev-python/unidecode
|
||||
dev-python/blinker
|
||||
markdown? ( dev-python/markdown )
|
||||
virtual/python-argparse"
|
||||
RDEPEND=""
|
||||
|
||||
DOCS="README.rst"
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r samples/* || die "failed to install examples"
|
||||
fi
|
||||
}
|
||||
|
||||
# no tests: tests/content not in tarball for 2.8.1
|
||||
# for 3.0, should be based on tox (refer to virtualenvwrapper)
|
@ -1 +1,2 @@
|
||||
DIST tiled-qt-0.8.1.tar.gz 822180 SHA256 e5be7c38ceb24fbe0043648e8bc639804f3df5a60beb313eb039b2bcd56ad76c SHA512 7d5f39239b290db5abe2fda353c17b02bf58e8cdebb7a86b6cabeb93a8730fe8085e08fb41f2f34b1e8b4de43cbacfe3f7f3deee4e233ca48e6bf51dfd339a3f WHIRLPOOL 4901adf026cbadadf2b0bbab57e932d869355209d4d5dc50ef4a2386e3c7e58a94577c3c13a2bb58752edbae82ef6ff8b7fccc3feb90f249ddfd492a8f204f81
|
||||
DIST tiled-qt-0.9.0.tar.gz 1432489 SHA256 ffc8831be72eede7a2fca64909560124452370457214d811d6c7030e057a1a33 SHA512 0969eae5b59a986080e89e3c4e5eb964fec587d647b1eab8d59a7ea6ba0a06d76c8c2dfa2e479e8965a709d1ef9e19850b69d48c6a759f4fb223289f58d37ff7 WHIRLPOOL 46326a617bd9f2be27bac261785e6790e7512ef95267587c6e31b77327e52c08412bec082187d4e56ede996e3b162be2b865e8e1633f051a1f05658de1f885fe
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-games/tiled/tiled-0.9.0.ebuild,v 1.1 2013/01/28 10:42:53 kensington Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PLOCALES="cs de en es fr he it ja lv nl pt pt_BR ru zh"
|
||||
MY_P="${PN}-qt-${PV}"
|
||||
|
||||
inherit multilib l10n qt4-r2
|
||||
|
||||
DESCRIPTION="A general purpose tile map editor."
|
||||
HOMEPAGE="http://www.mapeditor.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="examples"
|
||||
|
||||
DEPEND="sys-libs/zlib
|
||||
>=x11-libs/qt-core-4.6:4
|
||||
>=x11-libs/qt-gui-4.6:4
|
||||
>=x11-libs/qt-opengl-4.6:4"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DOCS=( AUTHORS COPYING NEWS README.md )
|
||||
|
||||
src_prepare() {
|
||||
rm -r src/zlib || die
|
||||
sed -e "s/^LANGUAGES =.*/LANGUAGES = $(l10n_get_locales)/" \
|
||||
-i translations/translations.pro || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake4 LIBDIR="/usr/$(get_libdir)" PREFIX="/usr"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qt4-r2_src_install
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/${PN}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
@ -0,0 +1,912 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.3.21-r1.ebuild,v 1.1 2013/01/28 11:50:13 olemarkus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool
|
||||
|
||||
SUHOSIN_VERSION=""
|
||||
FPM_VERSION="builtin"
|
||||
EXPECTED_TEST_FAILURES=""
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd"
|
||||
|
||||
function php_get_uri ()
|
||||
{
|
||||
case "${1}" in
|
||||
"php-pre")
|
||||
echo "http://downloads.php.net/johannes/${2}"
|
||||
;;
|
||||
"php")
|
||||
echo "http://www.php.net/distributions/${2}"
|
||||
;;
|
||||
"suhosin")
|
||||
echo "http://download.suhosin.org/${2}"
|
||||
;;
|
||||
"olemarkus")
|
||||
echo "http://dev.gentoo.org/~olemarkus/php/${2}"
|
||||
;;
|
||||
"gentoo")
|
||||
echo "mirror://gentoo/${2}"
|
||||
;;
|
||||
*)
|
||||
die "unhandled case in php_get_uri"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
# alias, so we can handle different types of releases (finals, rcs, alphas,
|
||||
# betas, ...) w/o changing the whole ebuild
|
||||
PHP_PV="${PV/_rc/RC}"
|
||||
PHP_PV="${PHP_PV/_alpha/alpha}"
|
||||
PHP_PV="${PHP_PV/_beta/beta}"
|
||||
PHP_RELEASE="php"
|
||||
[[ ${PV} == ${PV/_rc/} ]] || PHP_RELEASE="php-pre"
|
||||
PHP_P="${PN}-${PHP_PV}"
|
||||
|
||||
PHP_PATCHSET_LOC="olemarkus"
|
||||
|
||||
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
|
||||
|
||||
PHP_PATCHSET="0"
|
||||
PHP_PATCHSET_URI="
|
||||
$(php_get_uri "${PHP_PATCHSET_LOC}" "php-patchset-${SLOT}-r${PHP_PATCHSET}.tar.bz2")"
|
||||
|
||||
PHP_FPM_INIT_VER="4"
|
||||
PHP_FPM_CONF_VER="1"
|
||||
|
||||
if [[ ${SUHOSIN_VERSION} == *-gentoo ]]; then
|
||||
# in some cases we use our own suhosin patch (very recent version,
|
||||
# patch conflicts, etc.)
|
||||
SUHOSIN_TYPE="olemarkus"
|
||||
else
|
||||
SUHOSIN_TYPE="suhosin"
|
||||
fi
|
||||
|
||||
if [[ -n ${SUHOSIN_VERSION} ]]; then
|
||||
SUHOSIN_PATCH="suhosin-patch-${SUHOSIN_VERSION}.patch";
|
||||
SUHOSIN_URI="$(php_get_uri ${SUHOSIN_TYPE} ${SUHOSIN_PATCH}.gz )"
|
||||
fi
|
||||
|
||||
SRC_URI="
|
||||
${PHP_SRC_URI}
|
||||
${PHP_PATCHSET_URI}"
|
||||
|
||||
if [[ -n ${SUHOSIN_VERSION} ]]; then
|
||||
SRC_URI="${SRC_URI}
|
||||
suhosin? ( ${SUHOSIN_URI} )"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs."
|
||||
HOMEPAGE="http://php.net/"
|
||||
LICENSE="PHP-3"
|
||||
|
||||
S="${WORKDIR}/${PHP_P}"
|
||||
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2"
|
||||
|
||||
# Gentoo-specific, common features
|
||||
IUSE="kolab"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk
|
||||
crypt +ctype curl curlwrappers debug doc
|
||||
enchant exif frontbase +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash
|
||||
mssql mysql mysqlnd mysqli nls
|
||||
oci8-instant-client odbc pcntl pdo +phar pic +posix postgres qdbm
|
||||
readline recode selinux +session sharedmem
|
||||
+simplexml snmp soap sockets spell sqlite2 sqlite ssl
|
||||
sybase-ct sysvipc tidy +tokenizer truetype unicode wddx
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xsl zip zlib"
|
||||
|
||||
# Enable suhosin if available
|
||||
[[ -n $SUHOSIN_VERSION ]] && IUSE="${IUSE} suhosin"
|
||||
|
||||
DEPEND="!dev-lang/php:5
|
||||
>=app-admin/eselect-php-0.6.2
|
||||
>=dev-libs/libpcre-8.12[unicode]
|
||||
apache2? ( www-servers/apache[threads=] )
|
||||
berkdb? ( =sys-libs/db-4* )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
cjk? ( !gd? (
|
||||
virtual/jpeg
|
||||
media-libs/libpng
|
||||
sys-libs/zlib
|
||||
) )
|
||||
crypt? ( >=dev-libs/libmcrypt-2.4 )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( app-text/enchant )
|
||||
exif? ( !gd? (
|
||||
virtual/jpeg
|
||||
media-libs/libpng
|
||||
sys-libs/zlib
|
||||
) )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( virtual/jpeg media-libs/libpng sys-libs/zlib )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0 )
|
||||
gmp? ( >=dev-libs/gmp-4.1.2 )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( virtual/imap-c-client[ssl=] )
|
||||
intl? ( dev-libs/icu )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
kerberos? ( virtual/krb5 )
|
||||
kolab? ( >=net-libs/c-client-2004g-r1 )
|
||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
|
||||
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
|
||||
mssql? ( dev-db/freetds[mssql] )
|
||||
!mysqlnd? (
|
||||
mysql? ( virtual/mysql )
|
||||
mysqli? ( >=virtual/mysql-4.1 )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline )
|
||||
recode? ( app-text/recode )
|
||||
sharedmem? ( dev-libs/mm )
|
||||
simplexml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2 )
|
||||
soap? ( >=dev-libs/libxml2-2.6.8 )
|
||||
spell? ( >=app-text/aspell-0.50 )
|
||||
sqlite2? ( =dev-db/sqlite-2* )
|
||||
sqlite? ( >=dev-db/sqlite-3.7.7.1 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.7 )
|
||||
sybase-ct? ( dev-db/freetds )
|
||||
tidy? ( app-text/htmltidy )
|
||||
truetype? (
|
||||
=media-libs/freetype-2*
|
||||
>=media-libs/t1lib-5.0.0
|
||||
!gd? (
|
||||
virtual/jpeg media-libs/libpng sys-libs/zlib )
|
||||
)
|
||||
unicode? ( dev-libs/oniguruma )
|
||||
wddx? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
|
||||
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xpm? (
|
||||
x11-libs/libXpm
|
||||
virtual/jpeg
|
||||
media-libs/libpng sys-libs/zlib
|
||||
)
|
||||
xsl? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||
zip? ( sys-libs/zlib )
|
||||
zlib? ( sys-libs/zlib )
|
||||
virtual/mta
|
||||
"
|
||||
|
||||
php="=${CATEGORY}/${PF}"
|
||||
|
||||
REQUIRED_USE="
|
||||
truetype? ( gd )
|
||||
cjk? ( gd )
|
||||
exif? ( gd )
|
||||
|
||||
xpm? ( gd )
|
||||
gd? ( zlib )
|
||||
simplexml? ( xml )
|
||||
soap? ( xml )
|
||||
wddx? ( xml )
|
||||
xmlrpc? ( || ( xml iconv ) )
|
||||
xmlreader? ( xml )
|
||||
xsl? ( xml )
|
||||
ldap-sasl? ( ldap )
|
||||
kolab? ( imap )
|
||||
mhash? ( hash )
|
||||
phar? ( hash )
|
||||
mysqlnd? ( || (
|
||||
mysql
|
||||
mysqli
|
||||
pdo
|
||||
) )
|
||||
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
recode? ( !imap !mysql !mysqli )
|
||||
sharedmem? ( !threads )
|
||||
|
||||
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
[[ -n $SUHOSIN_VERSION ]] && RDEPEND="${RDEPEND} suhosin? ( =${CATEGORY}/${PN}-${SLOT}*[unicode] )"
|
||||
|
||||
RDEPEND="${RDEPEND} fpm? ( selinux? ( sec-policy/selinux-phpfpm ) )"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/flex
|
||||
>=sys-devel/m4-1.4.3
|
||||
>=sys-devel/libtool-1.5.18"
|
||||
|
||||
# They are in PDEPEND because we need PHP installed first!
|
||||
PDEPEND="doc? ( app-doc/php-docs )"
|
||||
|
||||
# No longer depend on the extension. The suhosin USE flag only installs the
|
||||
# patch
|
||||
#[[ -n $SUHOSIN_VERSION ]] && PDEPEND="${PDEPEND} suhosin? ( dev-php${PHP_MV}/suhosin )"
|
||||
|
||||
# Allow users to install production version if they want to
|
||||
|
||||
case "${PHP_INI_VERSION}" in
|
||||
production|development)
|
||||
;;
|
||||
*)
|
||||
PHP_INI_VERSION="development"
|
||||
;;
|
||||
esac
|
||||
|
||||
PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}"
|
||||
PHP_INI_FILE="php.ini"
|
||||
|
||||
want_apache
|
||||
|
||||
pkg_setup() {
|
||||
depend.apache_pkg_setup
|
||||
}
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
local phpinisrc="${PHP_INI_UPSTREAM}-${phpsapi}"
|
||||
cp "${PHP_INI_UPSTREAM}" "${phpinisrc}"
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}"
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" -i "${phpinisrc}"
|
||||
|
||||
# Set the include path to point to where we want to find PEAR packages
|
||||
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}"
|
||||
|
||||
dodir "${PHP_INI_DIR#${EPREFIX}}"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" "${PHP_INI_FILE}"
|
||||
|
||||
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
|
||||
elog
|
||||
|
||||
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
|
||||
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
|
||||
|
||||
# SAPI-specific handling
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
insinto "${APACHE_MODULES_CONFDIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/70_mod_php${PHP_MV}.conf-apache2" \
|
||||
"70_mod_php${PHP_MV}.conf"
|
||||
fi
|
||||
|
||||
if [[ "${sapi}" == "fpm" ]] ; then
|
||||
[[ -z ${PHP_FPM_INIT_VER} ]] && PHP_FPM_INIT_VER=3
|
||||
[[ -z ${PHP_FPM_CONF_VER} ]] && PHP_FPM_CONF_VER=0
|
||||
einfo "Installing FPM CGI config file php-fpm.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/php-fpm-r${PHP_FPM_CONF_VER}.conf" php-fpm.conf
|
||||
dodir "/etc/init.d"
|
||||
insinto "/etc/init.d"
|
||||
newinitd "${FILESDIR}/php-fpm-r${PHP_FPM_INIT_VER}.init" "php-fpm"
|
||||
# dosym "${PHP_DESTDIR#${EPREFIX}}/bin/php-fpm" "/usr/bin/php-fpm"
|
||||
|
||||
# Remove bogus /etc/php-fpm.conf.default (bug 359906)
|
||||
[[ -f "${ED}/etc/php-fpm.conf.default" ]] && rm "${ED}/etc/php-fpm.conf.default"
|
||||
fi
|
||||
|
||||
# Install PHP ini files into /usr/share/php
|
||||
|
||||
dodoc php.ini-development
|
||||
dodoc php.ini-production
|
||||
|
||||
}
|
||||
|
||||
php_set_ini_dir() {
|
||||
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
|
||||
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
|
||||
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path
|
||||
# ([empty session.save_path]/session_mm_[sapi][gid].sem)
|
||||
# there is no easy way to circumvent that, all php calls during
|
||||
# install use -n, so no php.ini file will be used.
|
||||
# As such, this is the easiest way to get around
|
||||
addpredict /session_mm_cli250.sem
|
||||
addpredict /session_mm_cli0.sem
|
||||
|
||||
# kolab support (support for imap annotations)
|
||||
use kolab && epatch "${WORKDIR}/patches/opt/imap-kolab-annotations.patch"
|
||||
|
||||
# Change PHP branding
|
||||
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1${PHP_EXTRA_BRANDING}-pl${PR/r/}-gentoo\2|g" \
|
||||
-i configure.in || die "Unable to change PHP branding"
|
||||
|
||||
# Apply generic PHP patches
|
||||
EPATCH_SOURCE="${WORKDIR}/patches/generic" EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_MULTI_MSG="Applying generic patches and fixes from upstream..." epatch
|
||||
|
||||
# Patch PHP to show Gentoo as the server platform
|
||||
sed -e 's/PHP_UNAME=`uname -a | xargs`/PHP_UNAME=`uname -s -n -r -v | xargs`/g' \
|
||||
-i configure.in || die "Failed to fix server platform name"
|
||||
|
||||
# Prevent PHP from activating the Apache config,
|
||||
# as we will do that ourselves
|
||||
sed -i \
|
||||
-e "s,-i -a -n php${PHP_MV},-i -n php${PHP_MV},g" \
|
||||
-e "s,-i -A -n php${PHP_MV},-i -n php${PHP_MV},g" \
|
||||
configure sapi/apache2filter/config.m4 sapi/apache2handler/config.m4
|
||||
|
||||
# Patch PHP to support heimdal instead of mit-krb5
|
||||
if has_version "app-crypt/heimdal" ; then
|
||||
sed -e 's|gssapi_krb5|gssapi|g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal libname"
|
||||
sed -e 's|PHP_ADD_LIBRARY(k5crypto, 1, $1)||g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal crypt library reference"
|
||||
fi
|
||||
|
||||
# Suhosin support
|
||||
if [[ -n $SUHOSIN_VERSION ]] ; then
|
||||
if use suhosin ; then
|
||||
epatch "${WORKDIR}/${SUHOSIN_PATCH}"
|
||||
fi
|
||||
else
|
||||
ewarn "Please note that this version of PHP does not yet come with a suhosin patch"
|
||||
fi
|
||||
|
||||
#Add user patches #357637
|
||||
epatch_user
|
||||
|
||||
# rebuild the whole autotools stuff as we are heavily patching it
|
||||
# (suhosin, fastbuild, ...)
|
||||
|
||||
# eaclocal doesn't accept --force, so we try to force re-generation
|
||||
# this way
|
||||
rm aclocal.m4
|
||||
|
||||
# work around divert() issues with newer autoconf, bug #281697
|
||||
if has_version '>=sys-devel/autoconf-2.64' ; then
|
||||
sed -i -r \
|
||||
-e 's:^((m4_)?divert)[(]([0-9]*)[)]:\1(600\3):' \
|
||||
$(grep -l divert $(find . -name '*.m4') configure.in) || die
|
||||
fi
|
||||
eautoreconf --force -W no-cross
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
PHP_DESTDIR="/usr/$(get_libdir)/php${SLOT}"
|
||||
|
||||
# This is a global variable and should be in caps. It isn't because the
|
||||
# phpconfutils eclass relies on exactly this name...
|
||||
# for --with-libdir see bug #327025
|
||||
my_conf="--prefix=${PHP_DESTDIR}
|
||||
--mandir=${PHP_DESTDIR}/man
|
||||
--infodir=${PHP_DESTDIR}/info
|
||||
--libdir=${PHP_DESTDIR}/lib
|
||||
--with-libdir=$(get_libdir)
|
||||
--without-pear
|
||||
$(use_enable threads maintainer-zts)"
|
||||
|
||||
# extension USE flag shared
|
||||
my_conf+="
|
||||
$(use_enable bcmath bcmath )
|
||||
$(use_with bzip2 bz2 )
|
||||
$(use_enable calendar calendar )
|
||||
$(use_enable ctype ctype )
|
||||
$(use_with curl curl )
|
||||
$(use_with curlwrappers curlwrappers )
|
||||
$(use_enable xml dom )
|
||||
$(use_with enchant enchant /usr)
|
||||
$(use_enable exif exif )
|
||||
$(use_enable fileinfo fileinfo )
|
||||
$(use_enable filter filter )
|
||||
$(use_enable ftp ftp )
|
||||
$(use_with nls gettext )
|
||||
$(use_with gmp gmp )
|
||||
$(use_enable hash hash )
|
||||
$(use_with mhash mhash )
|
||||
$(use_with iconv iconv )
|
||||
$(use_enable intl intl )
|
||||
$(use_enable ipv6 ipv6 )
|
||||
$(use_enable json json )
|
||||
$(use_with kerberos kerberos /usr)
|
||||
$(use_enable xml libxml )
|
||||
$(use_enable unicode mbstring )
|
||||
$(use_with crypt mcrypt )
|
||||
$(use_with mssql mssql )
|
||||
$(use_with unicode onig /usr)
|
||||
$(use_with ssl openssl )
|
||||
$(use_with ssl openssl-dir /usr)
|
||||
$(use_enable pcntl pcntl )
|
||||
$(use_enable phar phar )
|
||||
$(use_enable pdo pdo )
|
||||
$(use_with postgres pgsql )
|
||||
$(use_enable posix posix )
|
||||
$(use_with spell pspell )
|
||||
$(use_with recode recode )
|
||||
$(use_enable simplexml simplexml )
|
||||
$(use_enable sharedmem shmop )
|
||||
$(use_with snmp snmp )
|
||||
$(use_enable soap soap )
|
||||
$(use_enable sockets sockets )"
|
||||
if version_is_at_least 5.3.16-r2; then
|
||||
my_conf+=" $(use_with sqlite2 sqlite /usr) "
|
||||
use sqlite2 && my_conf+=" $(use_enable unicode sqlite-utf8)"
|
||||
else
|
||||
my_conf+=" $(use_with sqlite sqlite /usr) "
|
||||
use sqlite && my_conf+=" $(use_enable unicode sqlite-utf8)"
|
||||
fi
|
||||
my_conf+="
|
||||
$(use_with sqlite sqlite3 /usr)
|
||||
$(use_with sybase-ct sybase-ct /usr)
|
||||
$(use_enable sysvipc sysvmsg )
|
||||
$(use_enable sysvipc sysvsem )
|
||||
$(use_enable sysvipc sysvshm )
|
||||
$(use_with tidy tidy )
|
||||
$(use_enable tokenizer tokenizer )
|
||||
$(use_enable wddx wddx )
|
||||
$(use_enable xml xml )
|
||||
$(use_enable xmlreader xmlreader )
|
||||
$(use_enable xmlwriter xmlwriter )
|
||||
$(use_with xmlrpc xmlrpc )
|
||||
$(use_with xsl xsl )
|
||||
$(use_enable zip zip )
|
||||
$(use_with zlib zlib )
|
||||
$(use_enable debug debug )"
|
||||
|
||||
# DBA support
|
||||
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|
||||
|| use qdbm ; then
|
||||
my_conf="${my_conf} --enable-dba${shared}"
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
my_conf+="
|
||||
$(use_with cdb cdb )
|
||||
$(use_with berkdb db4 )
|
||||
$(use_enable flatfile flatfile )
|
||||
$(use_with gdbm gdbm )
|
||||
$(use_enable inifile inifile )
|
||||
$(use_with qdbm qdbm )"
|
||||
|
||||
# Support for the GD graphics library
|
||||
my_conf+="
|
||||
$(use_with truetype freetype-dir /usr)
|
||||
$(use_with truetype t1lib /usr)
|
||||
$(use_enable cjk gd-jis-conv )
|
||||
$(use_with gd jpeg-dir /usr)
|
||||
$(use_with gd png-dir /usr)
|
||||
$(use_with xpm xpm-dir /usr)"
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
my_conf+="
|
||||
$(use_with gd gd )"
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
my_conf+="
|
||||
$(use_with imap imap )
|
||||
$(use_with ssl imap-ssl )"
|
||||
fi
|
||||
|
||||
# Interbase/firebird support
|
||||
|
||||
if use firebird ; then
|
||||
my_conf+="
|
||||
$(use_with firebird interbase /usr)"
|
||||
fi
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
my_conf+="
|
||||
$(use_with ldap ldap )
|
||||
$(use_with ldap-sasl ldap-sasl )"
|
||||
fi
|
||||
|
||||
# MySQL support
|
||||
if use mysql ; then
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysqlnd mysql mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysql mysql /usr)"
|
||||
fi
|
||||
my_conf+="
|
||||
$(use_with mysql mysql-sock /var/run/mysqld/mysqld.sock)"
|
||||
fi
|
||||
|
||||
# MySQLi support
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysqli mysqli mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysqli mysqli /usr/bin/mysql_config)"
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
if use odbc ; then
|
||||
my_conf+="
|
||||
$(use_with odbc unixODBC /usr)"
|
||||
fi
|
||||
|
||||
if use iodbc ; then
|
||||
my_conf+="
|
||||
$(use_with iodbc iodbc /usr)"
|
||||
fi
|
||||
|
||||
# Oracle support
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client oci8)"
|
||||
fi
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
my_conf+="
|
||||
$(use_with mssql pdo-dblib )"
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysql pdo-mysql mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysql pdo-mysql /usr)"
|
||||
fi
|
||||
my_conf+="
|
||||
$(use_with postgres pdo-pgsql )
|
||||
$(use_with sqlite pdo-sqlite /usr)
|
||||
$(use_with odbc pdo-odbc unixODBC,/usr)"
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client pdo-oci)"
|
||||
fi
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
my_conf+="
|
||||
$(use_with readline readline )
|
||||
$(use_with libedit libedit )"
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
my_conf+="
|
||||
$(use_with sharedmem mm )"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_enable session session )"
|
||||
fi
|
||||
|
||||
if use pic ; then
|
||||
my_conf="${my_conf} --with-pic"
|
||||
fi
|
||||
|
||||
# we use the system copy of pcre
|
||||
# --with-pcre-regex affects ext/pcre
|
||||
# --with-pcre-dir affects ext/filter and ext/zip
|
||||
my_conf="${my_conf} --with-pcre-regex=/usr --with-pcre-dir=/usr"
|
||||
|
||||
# Catch CFLAGS problems
|
||||
# Fixes bug #14067.
|
||||
# Changed order to run it in reverse for bug #32022 and #12021.
|
||||
replace-cpu-flags "k6*" "i586"
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
my_conf="${my_conf} ${EXTRA_ECONF:-}"
|
||||
|
||||
# Support the Apache2 extras, they must be set globally for all
|
||||
# SAPIs to work correctly, especially for external PHP extensions
|
||||
|
||||
mkdir -p "${WORKDIR}/sapis-build"
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
cp -r "${S}" "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
|
||||
sapi_conf="${my_conf} --with-config-file-path=${PHP_INI_DIR}
|
||||
--with-config-file-scan-dir=${PHP_EXT_INI_DIR_ACTIVE}"
|
||||
|
||||
for sapi in $SAPIS ; do
|
||||
case "$sapi" in
|
||||
cli|cgi|embed|fpm)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --enable-${sapi}"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --disable-${sapi}"
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --with-apxs2=/usr/sbin/apxs"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --without-apxs2"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
econf ${sapi_conf}
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# snmp seems to run during src_compile, too (bug #324739)
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mibs/.index
|
||||
|
||||
SAPI_DIR="${WORKDIR}/sapis"
|
||||
|
||||
for sapi in ${SAPIS} ; do
|
||||
use "${sapi}" || continue
|
||||
|
||||
php_sapi_build "${sapi}"
|
||||
php_sapi_copy "${sapi}"
|
||||
done
|
||||
}
|
||||
|
||||
php_sapi_build() {
|
||||
mkdir -p "${SAPI_DIR}/$1"
|
||||
|
||||
cd "${WORKDIR}/sapis-build/$1"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
php_sapi_copy() {
|
||||
local sapi="$1"
|
||||
local source=""
|
||||
|
||||
case "$sapi" in
|
||||
cli)
|
||||
source="sapi/cli/php"
|
||||
;;
|
||||
cgi)
|
||||
source="sapi/cgi/php-cgi"
|
||||
;;
|
||||
fpm)
|
||||
source="sapi/fpm/php-fpm"
|
||||
;;
|
||||
embed)
|
||||
source="libs/libphp${PHP_MV}.so"
|
||||
;;
|
||||
|
||||
apache2)
|
||||
# apache2 is a special case; the necessary files
|
||||
# (yes, multiple) are copied by make install, not
|
||||
# by the ebuild; that's the reason, why apache2 has
|
||||
# to be the last sapi
|
||||
emake INSTALL_ROOT="${SAPI_DIR}/${sapi}/" install-sapi
|
||||
;;
|
||||
|
||||
*)
|
||||
die "unhandled sapi in php_sapi_copy"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${source}" ]] ; then
|
||||
cp "$source" "${SAPI_DIR}/$sapi" || die "Unable to copy ${sapi} SAPI"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# see bug #324739 for what happens when we don't have that
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
|
||||
# grab the first SAPI that got built and install common files from there
|
||||
local first_sapi=""
|
||||
for sapi in $SAPIS ; do
|
||||
if use $sapi ; then
|
||||
first_sapi=$sapi
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Makefile forgets to create this before trying to write to it...
|
||||
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
|
||||
|
||||
# Install php environment (without any sapis)
|
||||
cd "${WORKDIR}/sapis-build/$first_sapi"
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs \
|
||||
|| die "emake install failed"
|
||||
|
||||
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
|
||||
|
||||
# Create the directory where we'll put version-specific php scripts
|
||||
keepdir /usr/share/php${PHP_MV}
|
||||
|
||||
local sapi="", file=""
|
||||
local sapi_list=""
|
||||
|
||||
for sapi in ${SAPIS}; do
|
||||
if use "${sapi}" ; then
|
||||
einfo "Installing SAPI: ${sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${sapi}"
|
||||
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
# We're specifically not using emake install-sapi as libtool
|
||||
# may cause unnecessary relink failures (see bug #351266)
|
||||
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
|
||||
newins ".libs/libphp5$(get_libname)" "libphp${PHP_MV}$(get_libname)"
|
||||
keepdir "/usr/$(get_libdir)/apache2/modules"
|
||||
else
|
||||
# needed each time, php_install_ini would reset it
|
||||
into "${PHP_DESTDIR#${EPREFIX}}"
|
||||
case "$sapi" in
|
||||
cli)
|
||||
source="sapi/cli/php"
|
||||
;;
|
||||
cgi)
|
||||
source="sapi/cgi/php-cgi"
|
||||
;;
|
||||
fpm)
|
||||
source="sapi/fpm/php-fpm"
|
||||
;;
|
||||
embed)
|
||||
source="libs/libphp${PHP_MV}$(get_libname)"
|
||||
;;
|
||||
*)
|
||||
die "unhandled sapi in src_install"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${source}" == *"$(get_libname)" ]]; then
|
||||
dolib.so "${source}" || die "Unable to install ${sapi} sapi"
|
||||
else
|
||||
dobin "${source}" || die "Unable to install ${sapi} sapi"
|
||||
fi
|
||||
fi
|
||||
|
||||
php_install_ini "${sapi}"
|
||||
|
||||
# construct correct SAPI string for php-config
|
||||
# thanks to ferringb for the bash voodoo
|
||||
if [[ "${sapi}" == "apache2" ]]; then
|
||||
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
|
||||
else
|
||||
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Install env.d files
|
||||
newenvd "${FILESDIR}/20php5-envd" \
|
||||
"20php${SLOT}"
|
||||
sed -e "s|/lib/|/$(get_libdir)/|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
sed -e "s|php5|php${SLOT}|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
|
||||
# set php-config variable correctly (bug #278439)
|
||||
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
|
||||
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
|
||||
if [[ ! -x "${PHP_BIN}" ]] ; then
|
||||
ewarn "Test phase requires USE=cli, skipping"
|
||||
return
|
||||
else
|
||||
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis/cgi/php-cgi" ]] ; then
|
||||
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis/cgi/php-cgi"
|
||||
fi
|
||||
|
||||
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d "session.save_path=${T}" \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d "session.save_path=${T}"
|
||||
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
mv "${name}.out" "${name}.out.orig" 2>/dev/null
|
||||
done
|
||||
|
||||
local failed="$(find -name '*.out')"
|
||||
if [[ ${failed} != "" ]] ; then
|
||||
ewarn "The following test cases failed unexpectedly:"
|
||||
for name in ${failed}; do
|
||||
ewarn " ${name/.out/}"
|
||||
done
|
||||
else
|
||||
einfo "No unexpected test failures, all fine"
|
||||
fi
|
||||
|
||||
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
|
||||
local passed=""
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
[[ -f "${name}.diff" ]] && continue
|
||||
passed="${passed} ${name}"
|
||||
done
|
||||
if [[ ${passed} != "" ]] ; then
|
||||
einfo "The following test cases passed unexpectedly:"
|
||||
for name in ${passed}; do
|
||||
ewarn " ${passed}"
|
||||
done
|
||||
else
|
||||
einfo "None of the known-to-fail tests passed, all fine"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
#Do not use eblit for this because it will not get sourced when installing from
|
||||
#binary package (bug #380845)
|
||||
pkg_postinst() {
|
||||
# Output some general info to the user
|
||||
if use apache2 ; then
|
||||
APACHE2_MOD_DEFINE="PHP5"
|
||||
APACHE2_MOD_CONF="70_mod_php5"
|
||||
apache-module_pkg_postinst
|
||||
fi
|
||||
|
||||
# Create the symlinks for php
|
||||
for m in ${SAPIS}; do
|
||||
[[ ${m} == 'embed' ]] && continue;
|
||||
if use $m ; then
|
||||
local ci=$(eselect php show $m)
|
||||
if [[ -z $ci ]]; then
|
||||
eselect php set $m php${SLOT}
|
||||
einfo "Switched ${m} to use php:${SLOT}"
|
||||
einfo
|
||||
elif [[ $ci != "php${SLOT}" ]] ; then
|
||||
elog "To switch $m to use php:${SLOT}, run"
|
||||
elog " eselect php set $m php${SLOT}"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
elog "Make sure that PHP_TARGETS in /etc/make.conf includes php${SLOT/./-} in order"
|
||||
elog "to compile extensions for the ${SLOT} ABI"
|
||||
elog
|
||||
if ! use readline && use cli ; then
|
||||
ewarn "Note that in order to use php interactivly, you need to enable"
|
||||
ewarn "the readline USE flag or php -a will hang"
|
||||
fi
|
||||
elog
|
||||
elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version."
|
||||
elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either"
|
||||
elog "'production' or 'development' in /etc/make.conf"
|
||||
ewarn "Both versions of php.ini can be found in /usr/share/doc/${PF}"
|
||||
|
||||
# check for not yet migrated old style config dirs
|
||||
ls "${ROOT}"/etc/php/*-php5 &>/dev/null
|
||||
if [[ $? -eq 0 ]]; then
|
||||
ewarn "Make sure to migrate your config files, starting with php-5.3.4 and php-5.2.16 config"
|
||||
ewarn "files are now kept at ${ROOT}etc/php/{apache2,cli,cgi,fpm}-php5.x"
|
||||
fi
|
||||
elog
|
||||
elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:"
|
||||
elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml"
|
||||
elog
|
||||
|
||||
if ( [[ -z SUHOSIN_VERSION ]] && use suhosin && version_is_at_least 5.3.6_rc1 ) ; then
|
||||
ewarn "The suhosin USE flag now only installs the suhosin patch!"
|
||||
ewarn "If you want the suhosin extension, make sure you install"
|
||||
ewarn " dev-php5/suhosin"
|
||||
ewarn
|
||||
fi
|
||||
}
|
@ -0,0 +1,863 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.4.11-r1.ebuild,v 1.1 2013/01/28 11:50:13 olemarkus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool
|
||||
|
||||
SUHOSIN_VERSION=""
|
||||
FPM_VERSION="builtin"
|
||||
EXPECTED_TEST_FAILURES=""
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
function php_get_uri ()
|
||||
{
|
||||
case "${1}" in
|
||||
"php-pre")
|
||||
echo "http://downloads.php.net/stas/${2}"
|
||||
;;
|
||||
"php")
|
||||
echo "http://www.php.net/distributions/${2}"
|
||||
;;
|
||||
"suhosin")
|
||||
echo "http://download.suhosin.org/${2}"
|
||||
;;
|
||||
"olemarkus")
|
||||
echo "http://dev.gentoo.org/~olemarkus/php/${2}"
|
||||
;;
|
||||
"gentoo")
|
||||
echo "mirror://gentoo/${2}"
|
||||
;;
|
||||
*)
|
||||
die "unhandled case in php_get_uri"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
# alias, so we can handle different types of releases (finals, rcs, alphas,
|
||||
# betas, ...) w/o changing the whole ebuild
|
||||
PHP_PV="${PV/_rc/RC}"
|
||||
PHP_PV="${PHP_PV/_alpha/alpha}"
|
||||
PHP_PV="${PHP_PV/_beta/beta}"
|
||||
PHP_RELEASE="php"
|
||||
[[ ${PV} == ${PV/_rc/} ]] || PHP_RELEASE="php-pre"
|
||||
PHP_P="${PN}-${PHP_PV}"
|
||||
|
||||
PHP_PATCHSET_LOC="olemarkus"
|
||||
|
||||
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
|
||||
|
||||
PHP_PATCHSET="2"
|
||||
PHP_PATCHSET_URI="
|
||||
$(php_get_uri "${PHP_PATCHSET_LOC}" "php-patchset-${SLOT}-r${PHP_PATCHSET}.tar.bz2")"
|
||||
|
||||
PHP_FPM_INIT_VER="4"
|
||||
PHP_FPM_CONF_VER="1"
|
||||
|
||||
if [[ ${SUHOSIN_VERSION} == *-gentoo ]]; then
|
||||
# in some cases we use our own suhosin patch (very recent version,
|
||||
# patch conflicts, etc.)
|
||||
SUHOSIN_TYPE="olemarkus"
|
||||
else
|
||||
SUHOSIN_TYPE="suhosin"
|
||||
fi
|
||||
|
||||
if [[ -n ${SUHOSIN_VERSION} ]]; then
|
||||
SUHOSIN_PATCH="suhosin-patch-${SUHOSIN_VERSION}.patch";
|
||||
SUHOSIN_URI="$(php_get_uri ${SUHOSIN_TYPE} ${SUHOSIN_PATCH}.gz )"
|
||||
fi
|
||||
|
||||
SRC_URI="
|
||||
${PHP_SRC_URI}
|
||||
${PHP_PATCHSET_URI}"
|
||||
|
||||
if [[ -n ${SUHOSIN_VERSION} ]]; then
|
||||
SRC_URI="${SRC_URI}
|
||||
suhosin? ( ${SUHOSIN_URI} )"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs."
|
||||
HOMEPAGE="http://php.net/"
|
||||
LICENSE="PHP-3"
|
||||
|
||||
S="${WORKDIR}/${PHP_P}"
|
||||
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2"
|
||||
|
||||
# Gentoo-specific, common features
|
||||
IUSE="kolab"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk
|
||||
crypt +ctype curl curlwrappers debug doc
|
||||
enchant exif frontbase +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash
|
||||
mssql mysql mysqlnd mysqli nls
|
||||
oci8-instant-client odbc pcntl pdo +phar pic +posix postgres qdbm
|
||||
readline recode selinux +session sharedmem
|
||||
+simplexml snmp soap sockets spell sqlite ssl
|
||||
sybase-ct sysvipc tidy +tokenizer truetype unicode wddx
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xsl zip zlib"
|
||||
|
||||
# Enable suhosin if available
|
||||
[[ -n $SUHOSIN_VERSION ]] && IUSE="${IUSE} suhosin"
|
||||
|
||||
DEPEND="
|
||||
>=app-admin/eselect-php-0.6.2
|
||||
>=dev-libs/libpcre-8.12[unicode]
|
||||
apache2? ( www-servers/apache[threads=] )
|
||||
berkdb? ( =sys-libs/db-4* )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
cjk? ( !gd? (
|
||||
virtual/jpeg
|
||||
media-libs/libpng
|
||||
sys-libs/zlib
|
||||
) )
|
||||
crypt? ( >=dev-libs/libmcrypt-2.4 )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( app-text/enchant )
|
||||
exif? ( !gd? (
|
||||
virtual/jpeg
|
||||
media-libs/libpng
|
||||
sys-libs/zlib
|
||||
) )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( virtual/jpeg media-libs/libpng sys-libs/zlib )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0 )
|
||||
gmp? ( >=dev-libs/gmp-4.1.2 )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( virtual/imap-c-client[ssl=] )
|
||||
intl? ( dev-libs/icu )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
kerberos? ( virtual/krb5 )
|
||||
kolab? ( >=net-libs/c-client-2004g-r1 )
|
||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
|
||||
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
|
||||
mssql? ( dev-db/freetds[mssql] )
|
||||
!mysqlnd? (
|
||||
mysql? ( virtual/mysql )
|
||||
mysqli? ( >=virtual/mysql-4.1 )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline )
|
||||
recode? ( app-text/recode )
|
||||
sharedmem? ( dev-libs/mm )
|
||||
simplexml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2 )
|
||||
soap? ( >=dev-libs/libxml2-2.6.8 )
|
||||
spell? ( >=app-text/aspell-0.50 )
|
||||
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.7 )
|
||||
sybase-ct? ( dev-db/freetds )
|
||||
tidy? ( app-text/htmltidy )
|
||||
truetype? (
|
||||
=media-libs/freetype-2*
|
||||
>=media-libs/t1lib-5.0.0
|
||||
!gd? (
|
||||
virtual/jpeg media-libs/libpng sys-libs/zlib )
|
||||
)
|
||||
unicode? ( dev-libs/oniguruma )
|
||||
wddx? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
|
||||
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xpm? (
|
||||
x11-libs/libXpm
|
||||
virtual/jpeg
|
||||
media-libs/libpng sys-libs/zlib
|
||||
)
|
||||
xsl? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||
zip? ( sys-libs/zlib )
|
||||
zlib? ( sys-libs/zlib )
|
||||
virtual/mta
|
||||
"
|
||||
|
||||
php="=${CATEGORY}/${PF}"
|
||||
|
||||
REQUIRED_USE="
|
||||
truetype? ( gd )
|
||||
cjk? ( gd )
|
||||
exif? ( gd )
|
||||
|
||||
xpm? ( gd )
|
||||
gd? ( zlib )
|
||||
simplexml? ( xml )
|
||||
soap? ( xml )
|
||||
wddx? ( xml )
|
||||
xmlrpc? ( || ( xml iconv ) )
|
||||
xmlreader? ( xml )
|
||||
xsl? ( xml )
|
||||
ldap-sasl? ( ldap )
|
||||
kolab? ( imap )
|
||||
mhash? ( hash )
|
||||
phar? ( hash )
|
||||
mysqlnd? ( || (
|
||||
mysql
|
||||
mysqli
|
||||
pdo
|
||||
) )
|
||||
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
recode? ( !imap !mysql !mysqli )
|
||||
sharedmem? ( !threads )
|
||||
|
||||
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
[[ -n $SUHOSIN_VERSION ]] && RDEPEND="${RDEPEND} suhosin? (
|
||||
=${CATEGORY}/${PN}-${SLOT}*[unicode] )"
|
||||
|
||||
RDEPEND="${RDEPEND} fpm? ( selinux? ( sec-policy/selinux-phpfpm ) )"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/flex
|
||||
>=sys-devel/m4-1.4.3
|
||||
>=sys-devel/libtool-1.5.18"
|
||||
|
||||
# They are in PDEPEND because we need PHP installed first!
|
||||
PDEPEND="doc? ( app-doc/php-docs )"
|
||||
|
||||
# No longer depend on the extension. The suhosin USE flag only installs the
|
||||
# patch
|
||||
#[[ -n $SUHOSIN_VERSION ]] && PDEPEND="${PDEPEND} suhosin? ( dev-php${PHP_MV}/suhosin )"
|
||||
|
||||
# Allow users to install production version if they want to
|
||||
|
||||
case "${PHP_INI_VERSION}" in
|
||||
production|development)
|
||||
;;
|
||||
*)
|
||||
PHP_INI_VERSION="development"
|
||||
;;
|
||||
esac
|
||||
|
||||
PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}"
|
||||
PHP_INI_FILE="php.ini"
|
||||
|
||||
want_apache
|
||||
|
||||
pkg_setup() {
|
||||
depend.apache_pkg_setup
|
||||
}
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
local phpinisrc="${PHP_INI_UPSTREAM}-${phpsapi}"
|
||||
cp "${PHP_INI_UPSTREAM}" "${phpinisrc}"
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}"
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" -i "${phpinisrc}"
|
||||
|
||||
# Set the include path to point to where we want to find PEAR packages
|
||||
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}"
|
||||
|
||||
dodir "${PHP_INI_DIR#${EPREFIX}}"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" "${PHP_INI_FILE}"
|
||||
|
||||
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
|
||||
elog
|
||||
|
||||
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
|
||||
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
|
||||
|
||||
# SAPI-specific handling
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
insinto "${APACHE_MODULES_CONFDIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/70_mod_php${PHP_MV}.conf-apache2" \
|
||||
"70_mod_php${PHP_MV}.conf"
|
||||
fi
|
||||
|
||||
if [[ "${sapi}" == "fpm" ]] ; then
|
||||
[[ -z ${PHP_FPM_INIT_VER} ]] && PHP_FPM_INIT_VER=3
|
||||
[[ -z ${PHP_FPM_CONF_VER} ]] && PHP_FPM_CONF_VER=0
|
||||
einfo "Installing FPM CGI config file php-fpm.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/php-fpm-r${PHP_FPM_CONF_VER}.conf" php-fpm.conf
|
||||
dodir "/etc/init.d"
|
||||
insinto "/etc/init.d"
|
||||
newinitd "${FILESDIR}/php-fpm-r${PHP_FPM_INIT_VER}.init" "php-fpm"
|
||||
# dosym "${PHP_DESTDIR#${EPREFIX}}/bin/php-fpm" "/usr/bin/php-fpm"
|
||||
|
||||
# Remove bogus /etc/php-fpm.conf.default (bug 359906)
|
||||
[[ -f "${ED}/etc/php-fpm.conf.default" ]] && rm "${ED}/etc/php-fpm.conf.default"
|
||||
fi
|
||||
|
||||
# Install PHP ini files into /usr/share/php
|
||||
|
||||
dodoc php.ini-development
|
||||
dodoc php.ini-production
|
||||
|
||||
}
|
||||
|
||||
php_set_ini_dir() {
|
||||
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
|
||||
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
|
||||
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path
|
||||
# ([empty session.save_path]/session_mm_[sapi][gid].sem)
|
||||
# there is no easy way to circumvent that, all php calls during
|
||||
# install use -n, so no php.ini file will be used.
|
||||
# As such, this is the easiest way to get around
|
||||
addpredict /session_mm_cli250.sem
|
||||
addpredict /session_mm_cli0.sem
|
||||
|
||||
# kolab support (support for imap annotations)
|
||||
use kolab && epatch "${WORKDIR}/patches/opt/imap-kolab-annotations.patch"
|
||||
|
||||
# Change PHP branding
|
||||
# Get the alpha/beta/rc version
|
||||
local ver=$(get_version_component_range 4)
|
||||
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1${PHP_EXTRA_BRANDING}-${ver}-pl${PR/r/}-gentoo\2|g" \
|
||||
-i configure.in || die "Unable to change PHP branding"
|
||||
|
||||
# Apply generic PHP patches
|
||||
EPATCH_SOURCE="${WORKDIR}/patches/generic" EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_MULTI_MSG="Applying generic patches and fixes from upstream..." epatch
|
||||
|
||||
# Patch PHP to show Gentoo as the server platform
|
||||
sed -e 's/PHP_UNAME=`uname -a | xargs`/PHP_UNAME=`uname -s -n -r -v | xargs`/g' \
|
||||
-i configure.in || die "Failed to fix server platform name"
|
||||
|
||||
# Prevent PHP from activating the Apache config,
|
||||
# as we will do that ourselves
|
||||
sed -i \
|
||||
-e "s,-i -a -n php${PHP_MV},-i -n php${PHP_MV},g" \
|
||||
-e "s,-i -A -n php${PHP_MV},-i -n php${PHP_MV},g" \
|
||||
configure sapi/apache2filter/config.m4 sapi/apache2handler/config.m4
|
||||
|
||||
# Patch PHP to support heimdal instead of mit-krb5
|
||||
if has_version "app-crypt/heimdal" ; then
|
||||
sed -e 's|gssapi_krb5|gssapi|g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal libname"
|
||||
sed -e 's|PHP_ADD_LIBRARY(k5crypto, 1, $1)||g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal crypt library reference"
|
||||
fi
|
||||
|
||||
# Suhosin support
|
||||
if [[ -n $SUHOSIN_VERSION ]] ; then
|
||||
if use suhosin ; then
|
||||
epatch "${WORKDIR}/${SUHOSIN_PATCH}"
|
||||
fi
|
||||
else
|
||||
ewarn "Please note that this version of PHP does not yet come with a suhosin patch"
|
||||
fi
|
||||
|
||||
#Add user patches #357637
|
||||
epatch_user
|
||||
|
||||
#force rebuilding aclocal.m4
|
||||
rm aclocal.m4
|
||||
eautoreconf
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# http://bugs.php.net/bug.php?id=48795, bug #343481
|
||||
sed -i -e '/BUILD_CGI="\\$(CC)/s/CC/CXX/' configure || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
|
||||
|
||||
# This is a global variable and should be in caps. It isn't because the
|
||||
# phpconfutils eclass relies on exactly this name...
|
||||
# for --with-libdir see bug #327025
|
||||
my_conf="
|
||||
--prefix="${PHP_DESTDIR}"
|
||||
--mandir="${PHP_DESTDIR}"/man
|
||||
--infodir="${PHP_DESTDIR}"/info
|
||||
--libdir="${PHP_DESTDIR}"/lib
|
||||
--with-libdir=$(get_libdir)
|
||||
--without-pear
|
||||
$(use_enable threads maintainer-zts)"
|
||||
|
||||
# extension USE flag shared
|
||||
my_conf+="
|
||||
$(use_enable bcmath bcmath )
|
||||
$(use_with bzip2 bz2 "${EPREFIX}"/usr)
|
||||
$(use_enable calendar calendar )
|
||||
$(use_enable ctype ctype )
|
||||
$(use_with curl curl "${EPREFIX}"/usr)
|
||||
$(use_with curlwrappers curlwrappers "${EPREFIX}"/usr)
|
||||
$(use_enable xml dom )
|
||||
$(use_with enchant enchant "${EPREFIX}"/usr)
|
||||
$(use_enable exif exif )
|
||||
$(use_enable fileinfo fileinfo )
|
||||
$(use_enable filter filter )
|
||||
$(use_enable ftp ftp )
|
||||
$(use_with nls gettext "${EPREFIX}"/usr)
|
||||
$(use_with gmp gmp "${EPREFIX}"/usr)
|
||||
$(use_enable hash hash )
|
||||
$(use_with mhash mhash "${EPREFIX}"/usr)
|
||||
$(use_with iconv iconv )
|
||||
$(use_enable intl intl )
|
||||
$(use_enable ipv6 ipv6 )
|
||||
$(use_enable json json )
|
||||
$(use_with kerberos kerberos "${EPREFIX}"/usr)
|
||||
$(use_enable xml libxml )
|
||||
$(use_with xml libxml-dir "${EPREFIX}"/usr)
|
||||
$(use_enable unicode mbstring )
|
||||
$(use_with crypt mcrypt "${EPREFIX}"/usr)
|
||||
$(use_with mssql mssql "${EPREFIX}"/usr)
|
||||
$(use_with unicode onig "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl-dir "${EPREFIX}"/usr)
|
||||
$(use_enable pcntl pcntl )
|
||||
$(use_enable phar phar )
|
||||
$(use_enable pdo pdo )
|
||||
$(use_with postgres pgsql "${EPREFIX}"/usr)
|
||||
$(use_enable posix posix )
|
||||
$(use_with spell pspell "${EPREFIX}"/usr)
|
||||
$(use_with recode recode "${EPREFIX}"/usr)
|
||||
$(use_enable simplexml simplexml )
|
||||
$(use_enable sharedmem shmop )
|
||||
$(use_with snmp snmp "${EPREFIX}"/usr)
|
||||
$(use_enable soap soap )
|
||||
$(use_enable sockets sockets )
|
||||
$(use_with sqlite sqlite3 "${EPREFIX}"/usr)
|
||||
$(use_with sybase-ct sybase-ct "${EPREFIX}"/usr)
|
||||
$(use_enable sysvipc sysvmsg )
|
||||
$(use_enable sysvipc sysvsem )
|
||||
$(use_enable sysvipc sysvshm )
|
||||
$(use_with tidy tidy "${EPREFIX}"/usr)
|
||||
$(use_enable tokenizer tokenizer )
|
||||
$(use_enable wddx wddx )
|
||||
$(use_enable xml xml )
|
||||
$(use_enable xmlreader xmlreader )
|
||||
$(use_enable xmlwriter xmlwriter )
|
||||
$(use_with xmlrpc xmlrpc)
|
||||
$(use_with xsl xsl "${EPREFIX}"/usr)
|
||||
$(use_enable zip zip )
|
||||
$(use_with zlib zlib "${EPREFIX}"/usr)
|
||||
$(use_enable debug debug )"
|
||||
|
||||
# DBA support
|
||||
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|
||||
|| use qdbm ; then
|
||||
my_conf="${my_conf} --enable-dba${shared}"
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
my_conf+="
|
||||
$(use_with cdb cdb)
|
||||
$(use_with berkdb db4 ${EPREFIX}/usr)
|
||||
$(use_enable flatfile flatfile )
|
||||
$(use_with gdbm gdbm ${EPREFIX}/usr)
|
||||
$(use_enable inifile inifile )
|
||||
$(use_with qdbm qdbm ${EPREFIX}/usr)"
|
||||
|
||||
# Support for the GD graphics library
|
||||
my_conf+="
|
||||
$(use_with truetype freetype-dir ${EPREFIX}/usr)
|
||||
$(use_with truetype t1lib ${EPREFIX}/usr)
|
||||
$(use_enable cjk gd-jis-conv )
|
||||
$(use_with gd jpeg-dir ${EPREFIX}/usr)
|
||||
$(use_with gd png-dir ${EPREFIX}/usr)
|
||||
$(use_with xpm xpm-dir ${EPREFIX}/usr)"
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
my_conf+="
|
||||
$(use_with gd gd)"
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
my_conf+="
|
||||
$(use_with imap imap ${EPREFIX}/usr)
|
||||
$(use_with ssl imap-ssl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Interbase/firebird support
|
||||
|
||||
if use firebird ; then
|
||||
my_conf+="
|
||||
$(use_with firebird interbase ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
my_conf+="
|
||||
$(use_with ldap ldap ${EPREFIX}/usr)
|
||||
$(use_with ldap-sasl ldap-sasl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# MySQL support
|
||||
if use mysql ; then
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysql mysql mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysql mysql ${EPREFIX}/usr)"
|
||||
fi
|
||||
my_conf+="
|
||||
$(use_with mysql mysql-sock ${EPREFIX}/var/run/mysqld/mysqld.sock)"
|
||||
fi
|
||||
|
||||
# MySQLi support
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysqli mysqli mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysqli mysqli ${EPREFIX}/usr/bin/mysql_config)"
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
if use odbc ; then
|
||||
my_conf+="
|
||||
$(use_with odbc unixODBC ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
if use iodbc ; then
|
||||
my_conf+="
|
||||
$(use_with iodbc iodbc ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Oracle support
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client oci8)"
|
||||
fi
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
my_conf+="
|
||||
$(use_with mssql pdo-dblib )"
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysqlnd pdo-mysql mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysql pdo-mysql ${EPREFIX}/usr)"
|
||||
fi
|
||||
my_conf+="
|
||||
$(use_with postgres pdo-pgsql )
|
||||
$(use_with sqlite pdo-sqlite ${EPREFIX}/usr)
|
||||
$(use_with odbc pdo-odbc unixODBC,${EPREFIX}/usr)"
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client pdo-oci)"
|
||||
fi
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
my_conf+="
|
||||
$(use_with readline readline ${EPREFIX}/usr)
|
||||
$(use_with libedit libedit ${EPREFIX}/usr)"
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
my_conf+="
|
||||
$(use_with sharedmem mm ${EPREFIX}/usr)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_enable session session )"
|
||||
fi
|
||||
|
||||
if use pic ; then
|
||||
my_conf="${my_conf} --with-pic"
|
||||
fi
|
||||
|
||||
# we use the system copy of pcre
|
||||
# --with-pcre-regex affects ext/pcre
|
||||
# --with-pcre-dir affects ext/filter and ext/zip
|
||||
my_conf="${my_conf} --with-pcre-regex=${EPREFIX}/usr --with-pcre-dir=${EPREFIX}/usr"
|
||||
|
||||
# Catch CFLAGS problems
|
||||
# Fixes bug #14067.
|
||||
# Changed order to run it in reverse for bug #32022 and #12021.
|
||||
replace-cpu-flags "k6*" "i586"
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
my_conf="${my_conf} ${EXTRA_ECONF:-}"
|
||||
|
||||
# Support the Apache2 extras, they must be set globally for all
|
||||
# SAPIs to work correctly, especially for external PHP extensions
|
||||
|
||||
mkdir -p "${WORKDIR}/sapis-build"
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
cp -r "${S}" "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
|
||||
sapi_conf="${my_conf} --with-config-file-path=${PHP_INI_DIR}
|
||||
--with-config-file-scan-dir=${PHP_EXT_INI_DIR_ACTIVE}"
|
||||
|
||||
for sapi in $SAPIS ; do
|
||||
case "$sapi" in
|
||||
cli|cgi|embed|fpm)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --enable-${sapi}"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --disable-${sapi}"
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --with-apxs2=${EPREFIX}/usr/sbin/apxs"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --without-apxs2"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
econf ${sapi_conf}
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# snmp seems to run during src_compile, too (bug #324739)
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
for sapi in ${SAPIS} ; do
|
||||
if use "${sapi}"; then
|
||||
cd "${WORKDIR}/sapis-build/$sapi" || "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||
emake || die "emake failed"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# see bug #324739 for what happens when we don't have that
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
|
||||
# grab the first SAPI that got built and install common files from there
|
||||
local first_sapi=""
|
||||
for sapi in $SAPIS ; do
|
||||
if use $sapi ; then
|
||||
first_sapi=$sapi
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Makefile forgets to create this before trying to write to it...
|
||||
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
|
||||
|
||||
# Install php environment (without any sapis)
|
||||
cd "${WORKDIR}/sapis-build/$first_sapi"
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs \
|
||||
|| die "emake install failed"
|
||||
|
||||
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
|
||||
|
||||
# Create the directory where we'll put version-specific php scripts
|
||||
keepdir /usr/share/php${PHP_MV}
|
||||
|
||||
local sapi="", file=""
|
||||
local sapi_list=""
|
||||
|
||||
for sapi in ${SAPIS}; do
|
||||
if use "${sapi}" ; then
|
||||
einfo "Installing SAPI: ${sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${sapi}"
|
||||
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
# We're specifically not using emake install-sapi as libtool
|
||||
# may cause unnecessary relink failures (see bug #351266)
|
||||
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
|
||||
newins ".libs/libphp5$(get_libname)" "libphp${PHP_MV}$(get_libname)"
|
||||
keepdir "/usr/$(get_libdir)/apache2/modules"
|
||||
else
|
||||
# needed each time, php_install_ini would reset it
|
||||
into "${PHP_DESTDIR#${EPREFIX}}"
|
||||
case "$sapi" in
|
||||
cli)
|
||||
source="sapi/cli/php"
|
||||
;;
|
||||
cgi)
|
||||
source="sapi/cgi/php-cgi"
|
||||
;;
|
||||
fpm)
|
||||
source="sapi/fpm/php-fpm"
|
||||
;;
|
||||
embed)
|
||||
source="libs/libphp${PHP_MV}$(get_libname)"
|
||||
;;
|
||||
*)
|
||||
die "unhandled sapi in src_install"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${source}" == *"$(get_libname)" ]]; then
|
||||
dolib.so "${source}" || die "Unable to install ${sapi} sapi"
|
||||
else
|
||||
dobin "${source}" || die "Unable to install ${sapi} sapi"
|
||||
fi
|
||||
fi
|
||||
|
||||
php_install_ini "${sapi}"
|
||||
|
||||
# construct correct SAPI string for php-config
|
||||
# thanks to ferringb for the bash voodoo
|
||||
if [[ "${sapi}" == "apache2" ]]; then
|
||||
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
|
||||
else
|
||||
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Install env.d files
|
||||
newenvd "${FILESDIR}/20php5-envd" \
|
||||
"20php${SLOT}"
|
||||
sed -e "s|/lib/|/$(get_libdir)/|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
sed -e "s|php5|php${SLOT}|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
|
||||
# set php-config variable correctly (bug #278439)
|
||||
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
|
||||
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
|
||||
if [[ ! -x "${PHP_BIN}" ]] ; then
|
||||
ewarn "Test phase requires USE=cli, skipping"
|
||||
return
|
||||
else
|
||||
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis/cgi/php-cgi" ]] ; then
|
||||
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis/cgi/php-cgi"
|
||||
fi
|
||||
|
||||
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d "session.save_path=${T}" \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d "session.save_path=${T}"
|
||||
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
mv "${name}.out" "${name}.out.orig" 2>/dev/null
|
||||
done
|
||||
|
||||
local failed="$(find -name '*.out')"
|
||||
if [[ ${failed} != "" ]] ; then
|
||||
ewarn "The following test cases failed unexpectedly:"
|
||||
for name in ${failed}; do
|
||||
ewarn " ${name/.out/}"
|
||||
done
|
||||
else
|
||||
einfo "No unexpected test failures, all fine"
|
||||
fi
|
||||
|
||||
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
|
||||
local passed=""
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
[[ -f "${name}.diff" ]] && continue
|
||||
passed="${passed} ${name}"
|
||||
done
|
||||
if [[ ${passed} != "" ]] ; then
|
||||
einfo "The following test cases passed unexpectedly:"
|
||||
for name in ${passed}; do
|
||||
ewarn " ${passed}"
|
||||
done
|
||||
else
|
||||
einfo "None of the known-to-fail tests passed, all fine"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Output some general info to the user
|
||||
if use apache2 ; then
|
||||
APACHE2_MOD_DEFINE="PHP5"
|
||||
APACHE2_MOD_CONF="70_mod_php5"
|
||||
apache-module_pkg_postinst
|
||||
fi
|
||||
|
||||
# Create the symlinks for php
|
||||
for m in ${SAPIS}; do
|
||||
[[ ${m} == 'embed' ]] && continue;
|
||||
if use $m ; then
|
||||
local ci=$(eselect php show $m)
|
||||
if [[ -z $ci ]]; then
|
||||
eselect php set $m php${SLOT}
|
||||
einfo "Switched ${m} to use php:${SLOT}"
|
||||
einfo
|
||||
elif [[ $ci != "php${SLOT}" ]] ; then
|
||||
elog "To switch $m to use php:${SLOT}, run"
|
||||
elog " eselect php set $m php${SLOT}"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order"
|
||||
elog "to compile extensions for the ${SLOT} ABI"
|
||||
elog
|
||||
if ! use readline && use cli ; then
|
||||
ewarn "Note that in order to use php interactivly, you need to enable"
|
||||
ewarn "the readline USE flag or php -a will hang"
|
||||
fi
|
||||
elog
|
||||
elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version."
|
||||
elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either"
|
||||
elog "'production' or 'development' in ${EPREFIX}/etc/make.conf"
|
||||
elog "Both versions of php.ini can be found in ${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
elog
|
||||
elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:"
|
||||
elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml"
|
||||
elog
|
||||
|
||||
if ( [[ -z SUHOSIN_VERSION ]] && use suhosin && version_is_at_least 5.3.6_rc1 ) ; then
|
||||
ewarn
|
||||
ewarn "The suhosin USE flag now only installs the suhosin patch!"
|
||||
ewarn "If you want the suhosin extension, make sure you install"
|
||||
ewarn " dev-php/suhosin"
|
||||
ewarn
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
local sapi
|
||||
local slot
|
||||
for sapi in ${SAPIS}; do
|
||||
slot=$(eselect php show $sapi 2> /dev/null)
|
||||
slot=${slot/php/}
|
||||
if [[ $slot == $SLOT ]]; then
|
||||
ewarn "You have removed the active version of the $sapi SAPI"
|
||||
ewarn "Fix the issue using \`eselect php\`"
|
||||
fi
|
||||
done
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST json-c-0.10.tar.gz 385812 SHA256 274fc9d47c1911fad9caab4db117e4be5d6b68c4547eab0c508d79c4768e170c SHA512 d254eb223ebfb05e828bf039efb280f5e83b9f59116fba3af2892cf1f7732d152f7d0e2d8b77ec32e175b168022c2342f954e97f867c438b349f36b4dfdbd746 WHIRLPOOL 0eab71b6af2bc1ecb54474b69f86eff56fc2c2a756e542f758070dfe52839223b0a90da7af837567d448d1c7c660b003590ec68bff1ffb802cfa44165914b08c
|
||||
DIST json-c-0.9.tar.gz 340953 SHA256 702a486c9bf8e19137d484ab5c49b4ad314eb5e1fe37062a72c0a0fa39439475 SHA512 40e4f7efd82fac732ff6da439a1ca95944d4ecfa8a673c7466e93134f29f8863f4d86f4e6e859a7be0096a25837047bd167a625cc0c61d6b919b55c5a47a76e8 WHIRLPOOL 7a666bae6c12ce910815d0d0253a88a024c5fe11a7a5e97b571d426f9de00d1a676f98bc8ccc41d948b5c64b1e768c5e5cdfbad98d63b03152b0e7a6ed1c181e
|
||||
|
@ -0,0 +1,6 @@
|
||||
--- json-c-0.10/Makefile.am.inc
|
||||
+++ json-c-0.10/Makefile.am.inc
|
||||
@@ -1,2 +1,2 @@
|
||||
-AM_CFLAGS = -Wall -Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
|
||||
+AM_CFLAGS = -Wall -Wwrite-strings -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
|
||||
|
@ -0,0 +1,27 @@
|
||||
--- json-c-0.10/json.pc.in
|
||||
+++ json-c-0.10/json.pc.in
|
||||
@@ -8,4 +8,4 @@
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -ljson
|
||||
-Cflags: -I${includedir}/json
|
||||
+Cflags: -I${includedir}/json-c
|
||||
--- json-c-0.10/Makefile.am
|
||||
+++ json-c-0.10/Makefile.am
|
||||
@@ -8,7 +8,7 @@
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = json.pc
|
||||
|
||||
-libjsonincludedir = $(includedir)/json
|
||||
+libjsonincludedir = $(includedir)/json-c
|
||||
libjsoninclude_HEADERS = \
|
||||
arraylist.h \
|
||||
bits.h \
|
||||
@@ -17,6 +17,7 @@
|
||||
json_config.h \
|
||||
json_inttypes.h \
|
||||
json_object.h \
|
||||
+ json_object_iterator.h \
|
||||
json_object_private.h \
|
||||
json_tokener.h \
|
||||
json_util.h \
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/json-c/json-c-0.10.ebuild,v 1.1 2013/01/28 07:58:55 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=true
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="A JSON implementation in C"
|
||||
HOMEPAGE="https://github.com/json-c/json-c/wiki"
|
||||
SRC_URI="mirror://github/${PN}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-flags.patch
|
||||
|
||||
# bug 452234
|
||||
"${FILESDIR}"/${P}-headers.patch
|
||||
)
|
||||
|
||||
# tests break otherwise
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
src_test() {
|
||||
export USE_VALGRIND=0 VERBOSE=1
|
||||
autotools-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && HTML_DOCS=( "${S}"/doc/html )
|
||||
autotools-utils_src_install
|
||||
}
|
@ -1,15 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>hwoarang@gentoo.org</email>
|
||||
<name>Markos Chandras</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
<maintainer>
|
||||
<email>hwoarang@gentoo.org</email>
|
||||
<name>Markos Chandras</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
"A JSON implementation in C" is probably the better description, and then
|
||||
"JSON-C implements a reference counting object model that allows you to
|
||||
easily construct JSON objects in C, output them as JSON formatted
|
||||
strings and parse JSON formatted strings back into the C
|
||||
representation of JSON objects.
|
||||
</longdescription> </pkgmetadata>
|
||||
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>phajdan.jr@gentoo.org</email>
|
||||
<name>Pawel Hajdan jr</name>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>phajdan.jr@gentoo.org</email>
|
||||
<name>Pawel Hajdan jr</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST autopep8-0.5.2.tar.gz 10049 SHA256 a9a808bac49605036bdeaa4bf5b50a9bbf87088a54b9a2e54e18c85abcecb70f SHA512 9d27a9b2c7cf90a7ea420732ac13675c6bc93435d9d9dc4e437e3e2e121d4b2931b995da77d751e2dbcf4c2c5379fda6c4c3c0f6cc222b461d4daa95e9ec2564 WHIRLPOOL 5b4f6ca08695da516f6579399de1decb3a1be6b2520a636812f1b68cb6ee7e05cb546fe7537513deb3f9a3f914808ffeaa956d1daa2c4e0bcf14f22071e9e7c8
|
||||
DIST autopep8-0.8.4.tar.gz 46327 SHA256 8c452d99b4c3eb19122789152fd0bafccf4d310a6160589109e0edad937ba9f3 SHA512 6930cf92d52f405b760a00b48a5144b2fa6953828454b0e1f75a5403054c67bb3aec38b0416d5e415ad8b906b8ef3b2e6f6a201818200cbd9d63ec7361256f01 WHIRLPOOL 5d5c5ec8b369e3c4bfebb06fc503ff72cc4a903db8adbea1e985bb74817ddcf0ef64f67fbc51d8d9f6591de6f9c7c9b9ccd380c29f045fc3f5527f9824e9d96c
|
||||
DIST autopep8-0.8.5.tar.gz 46510 SHA256 e0538489d58bfc4fc66332fbc337d1571f73f211d6a3e45b84097ec2731c952e SHA512 5bbc81fbf138f7307f8ddf58d83d9dbf795ae7bf29082da03be28a65014b1c9a817dffb7b66bed7f40af39701eca3c4fafb1103b2bc7615548c974f0bb9ac103 WHIRLPOOL c289702ed3a4c11957f5fea2575fad0cc9c6793ae8b08f9e19896f727fa81c9d4baa08158129c9a946afcf9a375034bb557ac3ca95ff7f8df78f0f5b8f107fd6
|
||||
DIST autopep8-0.8.6.tar.gz 48048 SHA256 ee3ffd6b6f4484a06aeb8b47c148b74eb7b51d3ca4003c163b4e522bd555c2d6 SHA512 0430bc2c0427816945c0e433736fd4d5515b7842391c7e1dc5680cf3a4752c60d4d37d4331a60c8808f09ed02c3753e851894f86040968af9506ed0d0cef74e4 WHIRLPOOL 2c3d976fb32fe6e0129a2416ff51563e9d007314dfa0ee3d9819df8df4e934ca9a02bbc48d114b1d6374e53851e4fdf54e10f22cc6e4336d1e249dc22e812878
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/autopep8-0.8.4.ebuild,v 1.1 2012/12/07 15:33:04 xarthisius Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="*:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.5"
|
||||
|
||||
inherit distutils vcs-snapshot
|
||||
|
||||
DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide"
|
||||
HOMEPAGE="https://github.com/hhatto/autopep8 http://pypi.python.org/pypi/autopep8"
|
||||
SRC_URI="https://github.com/hhatto/${PN}/tarball/ver${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-python/pep8-1.3.2
|
||||
dev-python/setuptools"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PYTHON_MODNAME=${PN}.py
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test/test_${PN}.py
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
ewarn "Since this version of autopep depends on >=dev-python/pep8-1.3"
|
||||
ewarn "it is affected by https://github.com/jcrocholl/pep8/issues/45"
|
||||
ewarn "(indentation checks inside triple-quotes)."
|
||||
ewarn "If you do not want to be affected by this, then add the"
|
||||
ewarn "following lines to your local package.mask:"
|
||||
ewarn " >=dev-python/pep8-1.3"
|
||||
ewarn " >=dev-python/autopep8-0.6"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/autopep8-0.8.5.ebuild,v 1.1 2013/01/04 21:46:27 xarthisius Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/autopep8-0.8.6.ebuild,v 1.1 2013/01/28 10:02:59 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
@ -1 +1,2 @@
|
||||
DIST twitter-1.9.0.tar.gz 31441 SHA256 4cd59c7206a21a099430ea1f5c46b934dfedbca493f657f6af3872498302b900 SHA512 2f4ee43f5204dc0a53dd38a677348e7c55b4ed5e4457213ca510a8605a691225512cb292459f6419aeaedec29a5335accdd9b9867723c959c146253c68f551a5 WHIRLPOOL 33a42c2a216c6de587546a1d7764c06493f3ba294a814be4e2aba8d10393b835fcd533db2233659df5f190dd7e3950938effd9e4fb5eff502a813951c2b10142
|
||||
DIST twitter-1.9.1.tar.gz 32909 SHA256 4a2f2e90542dc2449e863df4298ebb1075d479393decfcb6c42292847bff828a SHA512 9eea70409833ea0d47afe01d933a29a2ef42357d8aa035789fc56330d3ce2eda40b419410a698b86ddef28a6cb6af788a89a45730e3f130d551f1cc9c9dd21e4 WHIRLPOOL 3b187a210d9ff9fb8efea84ba6dc5d5568fe72565810872a904701ec513bf4fa5b770ba4292f84d7de5de916c8a2c786fb01f2a4bdb524df10518f30477f037a
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/twitter/twitter-1.9.1.ebuild,v 1.1 2013/01/28 09:51:31 patrick Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.5 3.*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="An API and command-line toolset for Twitter (twitter.com)"
|
||||
HOMEPAGE="http://mike.verdone.ca/twitter/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
RDEPEND=""
|
@ -1,3 +1,4 @@
|
||||
DIST WTForms-0.6.3.zip 245802 SHA256 6945cd2545f755ada54e4e4358f1ce11fafa7dc6e39c2bf4326d8c710f2a64e9 SHA512 5a18d455ede95b02848becc5743ba77909db265ec88ddb1d904bfc51eb793c5fec82fa7af0e1c58cf013c00b9cdd54a890953811377c52ddb0fbd1293b7f347a WHIRLPOOL b25e941fb67bcbb5bc2a6be66e73f1f32f0fbded698f262605c0d29f4d0931f4468778bddff9c0333a96c43cdb9a9960deea07a3b702f109af9a58bba9684113
|
||||
DIST WTForms-1.0.1.zip 467388 SHA256 447b7652f617fa3535edf0b5030f5f32228685ea823c30e66bf2421544c07dc0 SHA512 cfa8da9b2c620ec4bd2052c10c73dc9da597a0d70aec85be51243b20ab53bd6be9c5bedfa3800f5ad8039f0bd69fa02e573a8b746fd3f6a8467277ea75ea2772 WHIRLPOOL 4996484dc3160b6e8bb5dc2de8270c7bf6bb88f566635e854e74e2920a27fe9ef5d3c8865a9d319aa380d3311e576c272b3ad6412e843160990fd58f01f8147c
|
||||
DIST WTForms-1.0.2.zip 489353 SHA256 688b6a1c7c3db30dba4afa7f04fa976a075f422b9b443e61a2028713494ddaa7 SHA512 df865ddee2d790a3b2f7bc9cb54017764df8a76ca0bb7a188e1fd0943add3ec6ad105b2fae15d65aa1a1db8ff94872e8fb4f9b1fa1c6a0ea95e5549996a1d3bc WHIRLPOOL da10aa379be529fcf6cf34d960f1345af8a4034ddca6f8f6008caa5e88230bd0c825350680f2b5018c50fa708f590fde046f7ef9db51eae28eb391cab7f1b7f6
|
||||
DIST WTForms-1.0.3.zip 326398 SHA256 36420eb1ff3005f147cd081a7914d4d6cdbd5ea1d58cd32addf07fd2e659a727 SHA512 bbf8babeb4bdf521d1f9baeea63c4c14f2e810d2d96918809d246dc52d95443af4a93d0a3c0482884ad29431edf6adee48e5ba4e7e0bc9131fa2398c73b1b6b0 WHIRLPOOL a561db63de2bc691009e1c0e0cc550cc9d315db8284f7fa3940ea6676d08bf38367d3b7c88b1a4f9c8c87fd72f458b8409cd88adbd3a3be68d2bea2ef8be43f1
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/wtforms/wtforms-1.0.3.ebuild,v 1.1 2013/01/28 09:49:30 patrick Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.5 3.*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
MY_PN="WTForms"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Flexible forms validation and rendering library for python web development"
|
||||
HOMEPAGE="http://wtforms.simplecodes.com/ http://pypi.python.org/pypi/WTForms"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
doc? ( >=dev-python/sphinx-0.6 )"
|
||||
RDEPEND=""
|
||||
|
||||
DOCS="AUTHORS.txt CHANGES.txt README.txt"
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
|
||||
if use doc; then
|
||||
einfo "Generation of documentation"
|
||||
cd docs
|
||||
PYTHONPATH=".." emake html || die "Building of documentation failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
dohtml -r docs/_build/html/* || die "Installation of documentation failed"
|
||||
fi
|
||||
}
|
@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/crossfire-client/crossfire-client-1.70.0-r1.ebuild,v 1.1 2013/01/28 08:24:58 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils toolchain-funcs gnome2-utils games
|
||||
|
||||
DESCRIPTION="Client for the nethack-style but more in the line of UO"
|
||||
HOMEPAGE="http://crossfire.real-time.com/"
|
||||
SRC_URI="mirror://sourceforge/crossfire/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="alsa lua oss sdl"
|
||||
|
||||
RDEPEND="alsa? ( media-libs/alsa-lib )
|
||||
virtual/opengl
|
||||
x11-libs/gtk+:2
|
||||
gnome-base/libglade
|
||||
sdl? ( media-libs/libsdl[video]
|
||||
media-libs/sdl-image )
|
||||
lua? ( dev-lang/lua )
|
||||
net-misc/curl
|
||||
media-libs/freeglut
|
||||
media-libs/libpng:0
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
sed -ri -e '/^.TH/s:$: 6:' $(find . -name "*man") || die
|
||||
epatch "${FILESDIR}"/${P}-gold.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# bugs in configure script so we cant use $(use_enable ...)
|
||||
local myconf
|
||||
|
||||
use sdl || myconf="${myconf} --disable-sdl"
|
||||
use alsa || myconf="${myconf} --disable-alsa9 --disable-alsa"
|
||||
if ! use alsa && ! use oss ; then
|
||||
myconf="${myconf} --disable-sound"
|
||||
fi
|
||||
egamesconf ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# bug 139785
|
||||
if use alsa || use oss ; then
|
||||
emake -j1 -C sound-src AR="$(tc-getAR)"
|
||||
fi
|
||||
emake AR="$(tc-getAR)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local s
|
||||
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS ChangeLog README TODO
|
||||
domenu gtk-v2/crossfire-client.desktop
|
||||
for s in 16 32 48
|
||||
do
|
||||
newicon -s ${s} pixmaps/${s}x${s}.png ${PN}.png
|
||||
done
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Mon Jan 28 08:14:23 UTC 2013
|
||||
Subject: fix underlinking
|
||||
|
||||
--- crossfire-client-1.70.0/configure.ac
|
||||
+++ crossfire-client-1.70.0/configure.ac
|
||||
@@ -242,6 +242,9 @@
|
||||
AC_PROG_CPP
|
||||
AC_PROG_RANLIB
|
||||
|
||||
+# Check for X11
|
||||
+PKG_CHECK_MODULES([X], [x11])
|
||||
+
|
||||
AC_SUBST(X_LIBS)
|
||||
AC_SUBST(X_CFLAGS)
|
||||
|
@ -1,3 +1 @@
|
||||
DIST kdepim-4.9.3.tar.xz 14415092 SHA256 de1f7b796a96d2a7f7f5a621e26ccd79110a171c71b0224a4d4b63453e6680d8 SHA512 8196c917d55d2b5e0dac4d8f75494233a2afc462c6de96b47cf1e9ea3741f07e016d97fa36a9986f2dfbc40c6357772a5c68c8ad1f3230786da3f6c6a0d02682 WHIRLPOOL d5f8680f104824abf63e7b1c6d79060d5c9acbdb581aff276b44abbf5d18da52c836d16e0d3554850e41d9b51a00b714dfe42f0f6bc6e9d143657ab60502a84a
|
||||
DIST kdepim-4.9.4.tar.xz 14568168 SHA256 b1d865a66020f95d3bec4fafaa5de8796eb08cc0c897968a56aada8fd828ff0a SHA512 a8c7b0910a7cabae39374caeefade5bb075f18281504c87fa4cda291a9bcce2d85974f97eb2f59699039900fa34490f58e1bf72d4ef300d41cd68598f23181bd WHIRLPOOL 7edfdf010de6e3ff790988bb60d0c4abdd361bd1d19e76eb889ca9eab587ebf58308b905b61ae22670509517a9c763eeafde49cd202d9f1fb85a82bcd4bb4700
|
||||
DIST kdepim-4.9.5.tar.xz 13942832 SHA256 e873b9cef574db851cd0341073215412a08a6832c1a32a2ef1b3f94fa45bcd6e SHA512 77ebd100cd9587eeaacc4b361765ddf6b41cc65f7432e887b82bb8a4675462526b517b8069c245d25d549002f395d268830adebf034df810247b990e31170ab1 WHIRLPOOL 8dd9614339e71dc8c9d7061c6d52f171667a06c0b012dba2ec9e889e4147e70ebff592491d26b19e73d6642b09c7670a1f7ea13f6516948ca114a0ab710c78b4
|
||||
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/akonadiconsole/akonadiconsole-4.9.3.ebuild,v 1.4 2012/11/30 15:13:24 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KMNAME="kdepim"
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="Akonadi developer console"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep kdepimlibs 'semantic-desktop')
|
||||
$(add_kdebase_dep kdepim-common-libs)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
KMEXTRACTONLY="
|
||||
akonadi_next/
|
||||
calendarsupport/
|
||||
messageviewer/
|
||||
"
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/akonadiconsole/akonadiconsole-4.9.4.ebuild,v 1.2 2012/12/22 16:11:39 maekke Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KMNAME="kdepim"
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="Akonadi developer console"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep kdepimlibs 'semantic-desktop')
|
||||
$(add_kdebase_dep kdepim-common-libs)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
KMEXTRACTONLY="
|
||||
akonadi_next/
|
||||
calendarsupport/
|
||||
messageviewer/
|
||||
"
|
@ -1,4 +1,2 @@
|
||||
DIST kdepim-4.4.11.1.tar.bz2 8964708 SHA256 a2fa237a3d880cc55a6c94450b93a7918bb0d5e3943eb7a759c8789de1ed41bf SHA512 7450ba9985c5583847d1fc3d214940cef130150a3591c3cbb73bc15624ee0298805d5dc25f3cd3a135091c1d0491b865961d52aa8feef623219eed9364dd86bf WHIRLPOOL 349a72c5c6859c7cafb1aefdf80b80482102c8b1d6e0123c6c410d262c3908b9572daa1950e2fb41e6bc727430fc91bb57b7276e345553ed15d792fa63aba5ec
|
||||
DIST kdepim-4.9.3.tar.xz 14415092 SHA256 de1f7b796a96d2a7f7f5a621e26ccd79110a171c71b0224a4d4b63453e6680d8 SHA512 8196c917d55d2b5e0dac4d8f75494233a2afc462c6de96b47cf1e9ea3741f07e016d97fa36a9986f2dfbc40c6357772a5c68c8ad1f3230786da3f6c6a0d02682 WHIRLPOOL d5f8680f104824abf63e7b1c6d79060d5c9acbdb581aff276b44abbf5d18da52c836d16e0d3554850e41d9b51a00b714dfe42f0f6bc6e9d143657ab60502a84a
|
||||
DIST kdepim-4.9.4.tar.xz 14568168 SHA256 b1d865a66020f95d3bec4fafaa5de8796eb08cc0c897968a56aada8fd828ff0a SHA512 a8c7b0910a7cabae39374caeefade5bb075f18281504c87fa4cda291a9bcce2d85974f97eb2f59699039900fa34490f58e1bf72d4ef300d41cd68598f23181bd WHIRLPOOL 7edfdf010de6e3ff790988bb60d0c4abdd361bd1d19e76eb889ca9eab587ebf58308b905b61ae22670509517a9c763eeafde49cd202d9f1fb85a82bcd4bb4700
|
||||
DIST kdepim-4.9.5.tar.xz 13942832 SHA256 e873b9cef574db851cd0341073215412a08a6832c1a32a2ef1b3f94fa45bcd6e SHA512 77ebd100cd9587eeaacc4b361765ddf6b41cc65f7432e887b82bb8a4675462526b517b8069c245d25d549002f395d268830adebf034df810247b990e31170ab1 WHIRLPOOL 8dd9614339e71dc8c9d7061c6d52f171667a06c0b012dba2ec9e889e4147e70ebff592491d26b19e73d6642b09c7670a1f7ea13f6516948ca114a0ab710c78b4
|
||||
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/akregator/akregator-4.9.3.ebuild,v 1.4 2012/11/30 15:13:46 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
KMNAME="kdepim"
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="KDE news feed aggregator."
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep kdepimlibs)
|
||||
$(add_kdebase_dep kdepim-common-libs)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
KMLOADLIBS="kdepim-common-libs"
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/akregator/akregator-4.9.4.ebuild,v 1.2 2012/12/23 11:11:40 maekke Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
KMNAME="kdepim"
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="KDE news feed aggregator."
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep kdepimlibs)
|
||||
$(add_kdebase_dep kdepim-common-libs)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
KMLOADLIBS="kdepim-common-libs"
|
@ -1,3 +1 @@
|
||||
DIST kdetoys-4.9.3.tar.xz 376212 SHA256 940ce72455d9bf4dd005c6f70c527e54abd487b2851d77231cc5861e0b5e6d7c SHA512 cecb7fed11b4a7b8e2f39f3588ce5ef606778f8f97697adfcc032e7243809f6071e4673286741a7ac8cb44d3f4f9ec8ad635ec7751f568dcf886d0dcbf41bb31 WHIRLPOOL 1d2bf48eca7b2069aadc99e16e8e6d9a85ee06c8f74ae9e046fae96f6db3c29a6c90d4be6a5e73ec8b33ba031abccab82173051b851b8df97ad68199a87ac3fb
|
||||
DIST kdetoys-4.9.4.tar.xz 386252 SHA256 51e958cdd9f2ec1235b048a29f759a467b5897ed2d2d9d21de3694ae9fa80b55 SHA512 115fa5f59b0c473de358ed670f1a8909d5154a646feb08291bf92f4f3552784b69ad03b208128d3d00b78ce401637c8defd27a61b81375b7250acd657b475557 WHIRLPOOL 642860273dfaf03448686b0065f8193c6bcf103a5edec3d054af79fd82b0ce758071923d29ceba3db44d4996fbe1a025a1c7dca8af401e4fd346a8c8aa6638cb
|
||||
DIST kdetoys-4.9.5.tar.xz 386420 SHA256 65aaf9931ca0b59b33c7a1bbbd3328df89bd2a6b357a64357857ae65d7cb1048 SHA512 8f948fae1b72772389725b757fab803342e87b64b7c524964226fe71dbf90cf9f6469e905c2fec5a7bdcd1fbf37bf55902bad110ccb362982a194105305cdcbe WHIRLPOOL e449e1f9cf84fc48f2410662b294dcdfa83229948b95beae4e511b1eee51a54c8fb8694c2a6761d43f3a66c07bf619f66b7cbfccdf40edc35a1030b86adf25f3
|
||||
|
@ -1,14 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/amor/amor-4.9.3.ebuild,v 1.4 2012/11/30 15:14:06 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
KMNAME="kdetoys"
|
||||
KDE_SCM="svn"
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="KDE: Amusing Misuse Of Resources - desktop-dwelling creature"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
@ -1,14 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/amor/amor-4.9.4.ebuild,v 1.2 2012/12/23 12:25:34 maekke Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
KMNAME="kdetoys"
|
||||
KDE_SCM="svn"
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="KDE: Amusing Misuse Of Resources - desktop-dwelling creature"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
@ -1,3 +1 @@
|
||||
DIST analitza-4.9.3.tar.xz 142972 SHA256 c609c94c911b5c6c32a8578901e5e0416bc9acb3cc9a35a39724470a90f426d1 SHA512 b5f1bec4ee83e34e784a10b3178883153ca52c005ed878898df7229e3da24ea923c1238fd8d0bd3d297abe71278843514116cf240ed16dadf17c0daa2f2226f0 WHIRLPOOL 306cc89a356801d5cc5a8f38c0bc31a17676dbe70fd24337e7d8e2333344a1b0e87a9d626eb69453ed1dfdafda3723bb7e3b266660da1e4081013da073b44f9e
|
||||
DIST analitza-4.9.4.tar.xz 146200 SHA256 07ca81d37121d1684b161b284c4fc9368690303c2caedc8c717197e5d032298a SHA512 5a0e1c79cb6545450c312fce30f9adda1ea3674bd39185e93a8df24903a353d130831c2f62f42512d0c1ca5d823069370a5a6d8cdeeb2520aaa4aa8c295aa91e WHIRLPOOL 7e664dee63d93a65ed513d8fe4220a702ff78dc446f3b96a0ea9c6e0bc46f18ecf31904a349569ac3f27fcf6bb3cdf4aca9077164493783a74ff6a59387aff68
|
||||
DIST analitza-4.9.5.tar.xz 146196 SHA256 57d156362c62f7a109e2b31704d0265a668b5064901161670c1f0d7d2abcdc4e SHA512 4c4bb16da94f64a135ee60d4f0af56cad8bff1b086770847f2f70c0dd911fac8dd97c2b64804f003ef07aff4f1a476f7b00a3df5647eab598afcc9ef9e712edc WHIRLPOOL 520394a34f3481262913031c2b7146e0ab8a98e43fa493997614a305b6cd18a599ec198260121bb57c8b225ce892a63e890152fdbcf7b78608a69bcf50ec69e5
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/analitza/analitza-4.9.3.ebuild,v 1.4 2012/11/30 15:14:26 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_HANDBOOK="never"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE library for mathematical features"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug readline"
|
||||
|
||||
DEPEND="
|
||||
readline? ( sys-libs/readline )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
add_blocker kalgebra 4.7.50
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use_with readline)
|
||||
)
|
||||
|
||||
kde4-base_src_configure
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/analitza/analitza-4.9.4.ebuild,v 1.2 2012/12/23 12:15:17 maekke Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_HANDBOOK="never"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE library for mathematical features"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug readline"
|
||||
|
||||
DEPEND="
|
||||
readline? ( sys-libs/readline )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
add_blocker kalgebra 4.7.50
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use_with readline)
|
||||
)
|
||||
|
||||
kde4-base_src_configure
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST ark-4.9.3.tar.xz 234180 SHA256 944d787c15763ed057db343adb917b5f0bf9841c34c39198594521c3dec45732 SHA512 e52b63a3c8fcb1faf9a93dcf54c09f3e53428ae6320dc7304206342f439bdfe37ec350a1e1fe63583c3b6cb58264609435f9fbffe7fa6ec8e99180d04a1427cd WHIRLPOOL 75fb551a3114fe6ed35fb11602fe087c168a4f895e62d4021832973d994a31bd20433771fc131464c447c12944a2eaf3167bc37960bd1abdf2c1f8678d876e57
|
||||
DIST ark-4.9.4.tar.xz 237564 SHA256 ad91be725b81cacae2d94902cfd4242eb264c0ba0a0ba94941ade7590cd13db4 SHA512 6096f4371ad41e9de353fa28eb5aaf4345face5a32c01dda5516ef7076000e4a0efa41bf1e9643bfcdb1707e6cccd6d11082deb40fb58f5fbf44f300a69d97f1 WHIRLPOOL 10252170dc5c44ece63fc7eee2290fb5d78eff803a2747dc5b4eee6a17539e2f8b10cbfaf267cdbf4435f3c114c848acb5bddfdd5e2039bd2e6c3a798e6ec853
|
||||
DIST ark-4.9.5.tar.xz 237816 SHA256 4f48f7e7cedab64243c3c9ed4ff069c1b37c9c2c4f04743b61a84214b930edcd SHA512 a7b85568bd91e8cc73c8cc1429f7d4df38ff0a5358e1e13890aa5cbe60e4865184c0227d7535ebf3bb07ae38bfb70625bd5d3de417738a89c6c20f8e85fc0d8d WHIRLPOOL 26d99363e057aca5fef13e8a30a44f55891df294eb626f38006c8fb0d7a85e02428bc65fff6dd1afc56543d6623de365594487fb61971f747b319fa4be4e7ed7
|
||||
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/ark/ark-4.9.3.ebuild,v 1.4 2012/11/30 15:14:45 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE Archiving tool"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+archive +bzip2 debug lzma"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep libkonq)
|
||||
sys-libs/zlib
|
||||
archive? ( >=app-arch/libarchive-2.6.1[bzip2?,lzma?,zlib] )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RESTRICT="test"
|
||||
# dbus problem
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use_with archive LibArchive)
|
||||
$(cmake-utils_use_with bzip2 BZip2)
|
||||
$(cmake-utils_use_with lzma LibLZMA)
|
||||
)
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
elog "For creating rar archives, install app-arch/rar"
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/ark/ark-4.9.4.ebuild,v 1.2 2012/12/22 16:56:20 maekke Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE Archiving tool"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+archive +bzip2 debug lzma"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep libkonq)
|
||||
sys-libs/zlib
|
||||
archive? ( >=app-arch/libarchive-2.6.1[bzip2?,lzma?,zlib] )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RESTRICT="test"
|
||||
# dbus problem
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use_with archive LibArchive)
|
||||
$(cmake-utils_use_with bzip2 BZip2)
|
||||
$(cmake-utils_use_with lzma LibLZMA)
|
||||
)
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
elog "For creating rar archives, install app-arch/rar"
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST kde-runtime-4.9.3.tar.xz 6341612 SHA256 f02138705a7e448b02e8e77a1f90d422c280a993df3dee98887b6ff73806ef64 SHA512 d0f42810b49c934a63bdb7ff87592ef7f89be2119f4c7ce2c9a437f3f2d2fdcba77c981962350efb533babeed4d71af7e54f2a67395767ccd318f893252da5e4 WHIRLPOOL 36c2e0393bda9f59465d39d329b0a7f03b0e5bc4f4ca267a201f670f65d3627b511a8e33e1280172c6f041ae9c143053c0f7872f6721f1baafd6af4b27c0637e
|
||||
DIST kde-runtime-4.9.4.tar.xz 6413316 SHA256 9605289dec80e49ac892d88362d692ab1fd8d00921961e05a673517da2203501 SHA512 23ad6b96b321a8723e05deced554c83ba616bcc11b22536dde5c5f780f18a2a0e2c0d226644f8a45763a7f7f530406a5ed01e7e66e681c98db26dd14512cf7c7 WHIRLPOOL 10b50806f05e7d227b680653284a746c54cd4ff7abe60b04794338e0e95e29cafae1ce1daef1114d5074d4768eac4ed152b4bf47186efa7695a1653bed462d36
|
||||
DIST kde-runtime-4.9.5.tar.xz 6432752 SHA256 1a840e1bb59ba1905d738188647e48556990142193885f4586473213b1a77ece SHA512 e9d3361f8488457956eecb93334e97883396821702aff6fc2bce1488a98673c880910e3a1a40bccaec074e326f645ee645b24e38a525bf93407572db30465d0d WHIRLPOOL f366a8791f4adba53496675d8a03f2a5ed5a5c9035fd8cd571b0b4ea9dee917bc8a90d556c4447352d6c4263ffe7435ef5ee9b84dff59c83c97e730d6d64c752
|
||||
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/attica/attica-4.9.3.ebuild,v 1.4 2012/11/30 15:15:05 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KMNAME="kde-runtime"
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="Open Collaboration Services provider management"
|
||||
KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/libattica-0.1.4
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/attica/attica-4.9.4.ebuild,v 1.1 2012/12/05 16:58:06 alexxy Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KMNAME="kde-runtime"
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="Open Collaboration Services provider management"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/libattica-0.1.4
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,3 +1 @@
|
||||
DIST audiocd-kio-4.9.3.tar.xz 55452 SHA256 4ec688d779d785ea9510cb0582c8973bb49ebc58f5ad942e067e25aeb1d95fe4 SHA512 a85c6403c3e996c2e4c41c81d82f36401f46c475d0ca2e82df9774fb630dfbba38a01c7fb7de98f29316a08e8747aa4929fa556903833624f53b551a853b7087 WHIRLPOOL a3f9e043073099d9a67077066450e29462a6602539fdc7f93e15ffc91c3bc02b64768d37e83a3e798bb4a7e5fccc0dec24c12d962fc478626b0672fee8d5a717
|
||||
DIST audiocd-kio-4.9.4.tar.xz 56748 SHA256 32c40f067fb9905be1174421b1af654db0a0d820cfdfbb63eaf254cfb83a7d10 SHA512 de4b49372a677724152c1ce74b754ba3bd11c007fd422b543fab56741baa3d67c31f3cf66de586fb11e2d34bdb9eb7670c7f8c0151ea66f612a7421ae4425b21 WHIRLPOOL 5afa6a07fb5389250498980931899573ace5dfb27ff24de6f2fe37c9953c03b6792b5bfe6ad8c3905bfad04f94a78e7594fe2609f9e8b27a2d990a250a71e4be
|
||||
DIST audiocd-kio-4.9.5.tar.xz 56640 SHA256 8b0f93267573de83917c80d8e6a30860c7c3331ecd45f6f181a123ce5ae02637 SHA512 a8abb8d67f75880985b847a1be39ff034f178cca4eee19d51d30a291957bff79cc94d729842dc062cb256941264fe7a4942e85607accef948f2e58ae15bde5cc WHIRLPOOL 997efd50340d486a56cbde650b589dfb1030a32282360787c998bdbb5567b9628b8457abf652cb7cc1f824cc08f132604396191eb123cf7a3d304797d12d583a
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/audiocd-kio/audiocd-kio-4.9.3.ebuild,v 1.4 2012/11/30 15:15:23 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE kioslaves from the kdemultimedia package"
|
||||
KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug encode flac vorbis"
|
||||
|
||||
# 4 of 9 tests fail. Last checked for 4.2.88
|
||||
RESTRICT=test
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep libkcddb)
|
||||
$(add_kdebase_dep libkcompactdisc)
|
||||
media-sound/cdparanoia
|
||||
encode? (
|
||||
flac? ( >=media-libs/flac-1.1.2 )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
add_blocker kdemultimedia-kioslaves
|
||||
|
||||
KMLOADLIBS="libkcddb"
|
||||
|
||||
src_configure() {
|
||||
if use encode; then
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use_with flac)
|
||||
$(cmake-utils_use_with vorbis OggVorbis)
|
||||
)
|
||||
else
|
||||
mycmakeargs=(-DWITH_OggVorbis=OFF -DWITH_Flac=OFF)
|
||||
fi
|
||||
|
||||
kde4-base_src_configure
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/audiocd-kio/audiocd-kio-4.9.4.ebuild,v 1.1 2012/12/05 16:57:41 alexxy Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE kioslaves from the kdemultimedia package"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug encode flac vorbis"
|
||||
|
||||
# 4 of 9 tests fail. Last checked for 4.2.88
|
||||
RESTRICT=test
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep libkcddb)
|
||||
$(add_kdebase_dep libkcompactdisc)
|
||||
media-sound/cdparanoia
|
||||
encode? (
|
||||
flac? ( >=media-libs/flac-1.1.2 )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
add_blocker kdemultimedia-kioslaves
|
||||
|
||||
KMLOADLIBS="libkcddb"
|
||||
|
||||
src_configure() {
|
||||
if use encode; then
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use_with flac)
|
||||
$(cmake-utils_use_with vorbis OggVorbis)
|
||||
)
|
||||
else
|
||||
mycmakeargs=(-DWITH_OggVorbis=OFF -DWITH_Flac=OFF)
|
||||
fi
|
||||
|
||||
kde4-base_src_configure
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST blinken-4.9.3.tar.xz 565112 SHA256 9266b702c376dd59c4aac95e53e6065031bdc1e0c125c6cf7483b1a22d05768d SHA512 90cf478b63a0599d957f3698b6c362627624706813331f70e6db416613566869290ab4e3ebdf0c3698b4416bd1c72734081e7850ce52849aba1e00fc02af7a09 WHIRLPOOL 23f0f96f2d43074adcd97e09d4b9bdf4b256db5467a06bbb0e1e7a216d934fc49a9d4eec488ee7b4fa6aa9313dc2826bca919f7afed1da8c6e30f16f2d7dd030
|
||||
DIST blinken-4.9.4.tar.xz 565892 SHA256 9ad930e370c16ea51b22a240ddb192774bce67cfe2bca8be31979eef40e70c13 SHA512 7d6425a0ff4577b4a2eac2b5693b17d8deb1c1caff02b116d31a1c095ee75ef741cd9c2d582e9b5187d1acca8bc5b3a7c18382c8ad0a98a2be75ec2e3a9c4740 WHIRLPOOL 483a2f2b8180cea457f5bd87853615a2922bae081cf6f4f82be7cc0526827493edc043e426daae9970e2e759c31fb89ee21af5ed027009bfec1611913fd1a138
|
||||
DIST blinken-4.9.5.tar.xz 566516 SHA256 d48f1e1ab85eeb474849c8e9294cbf305a85dbbc8cdc5672a5f635504d84db95 SHA512 ab3cd6a0501520dc39ba51c82d0f369b980da2d5f88df94ca22384ede620e418785d5ed867c70ebded405ffffc1ce3e43c3e1420da9e5c14b5907ca7be1bedd8 WHIRLPOOL 4baaebd52b79e3183c123c5406fdb0ac10c3a61b2b2565247e2ae6725d1b4c80718d03b9dd3ea1cbb362138614dcbc202e94e7b894f8b6a391518fdcbb84fd10
|
||||
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/blinken/blinken-4.9.3.ebuild,v 1.4 2012/11/30 15:15:43 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE version of the Simon Says game."
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep libkdeedu)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
$(add_kdebase_dep knotify)
|
||||
"
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/blinken/blinken-4.9.4.ebuild,v 1.2 2012/12/23 10:42:32 maekke Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE version of the Simon Says game."
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep libkdeedu)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
$(add_kdebase_dep knotify)
|
||||
"
|
@ -1,4 +1,2 @@
|
||||
DIST kdepim-4.4.11.1.tar.bz2 8964708 SHA256 a2fa237a3d880cc55a6c94450b93a7918bb0d5e3943eb7a759c8789de1ed41bf SHA512 7450ba9985c5583847d1fc3d214940cef130150a3591c3cbb73bc15624ee0298805d5dc25f3cd3a135091c1d0491b865961d52aa8feef623219eed9364dd86bf WHIRLPOOL 349a72c5c6859c7cafb1aefdf80b80482102c8b1d6e0123c6c410d262c3908b9572daa1950e2fb41e6bc727430fc91bb57b7276e345553ed15d792fa63aba5ec
|
||||
DIST kdepim-4.9.3.tar.xz 14415092 SHA256 de1f7b796a96d2a7f7f5a621e26ccd79110a171c71b0224a4d4b63453e6680d8 SHA512 8196c917d55d2b5e0dac4d8f75494233a2afc462c6de96b47cf1e9ea3741f07e016d97fa36a9986f2dfbc40c6357772a5c68c8ad1f3230786da3f6c6a0d02682 WHIRLPOOL d5f8680f104824abf63e7b1c6d79060d5c9acbdb581aff276b44abbf5d18da52c836d16e0d3554850e41d9b51a00b714dfe42f0f6bc6e9d143657ab60502a84a
|
||||
DIST kdepim-4.9.4.tar.xz 14568168 SHA256 b1d865a66020f95d3bec4fafaa5de8796eb08cc0c897968a56aada8fd828ff0a SHA512 a8c7b0910a7cabae39374caeefade5bb075f18281504c87fa4cda291a9bcce2d85974f97eb2f59699039900fa34490f58e1bf72d4ef300d41cd68598f23181bd WHIRLPOOL 7edfdf010de6e3ff790988bb60d0c4abdd361bd1d19e76eb889ca9eab587ebf58308b905b61ae22670509517a9c763eeafde49cd202d9f1fb85a82bcd4bb4700
|
||||
DIST kdepim-4.9.5.tar.xz 13942832 SHA256 e873b9cef574db851cd0341073215412a08a6832c1a32a2ef1b3f94fa45bcd6e SHA512 77ebd100cd9587eeaacc4b361765ddf6b41cc65f7432e887b82bb8a4675462526b517b8069c245d25d549002f395d268830adebf034df810247b990e31170ab1 WHIRLPOOL 8dd9614339e71dc8c9d7061c6d52f171667a06c0b012dba2ec9e889e4147e70ebff592491d26b19e73d6642b09c7670a1f7ea13f6516948ca114a0ab710c78b4
|
||||
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/blogilo/blogilo-4.9.3.ebuild,v 1.4 2012/11/30 15:16:03 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
KMNAME="kdepim"
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="KDE Blogging Client"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep kdepimlibs)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
"
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/blogilo/blogilo-4.9.4.ebuild,v 1.2 2012/12/23 12:23:01 maekke Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
KMNAME="kdepim"
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="KDE Blogging Client"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep kdepimlibs)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
"
|
@ -1,3 +1 @@
|
||||
DIST kdegames-4.9.3.tar.xz 52026948 SHA256 479a45cb6b5e9278c7a09bfcb6b025891fbadd0891e1431d4d77ea7aa5f6912b SHA512 e0f315b66f50df45e4d4598bdae70036651a381414b6ef2117003aecd2a2396b41cf3ecd161b8b3a7a4980465a2b9c07b4bef12ca60826287f4ed883a000f74d WHIRLPOOL 41e2a7772ac0ab2db44bcd37a9ec2e16cc517da32c34cad34d7ed82d6dc44cd76aad1dd134e18da49ddd37da59d429f7772783a5ebb71545be5d0ef7178e2cfd
|
||||
DIST kdegames-4.9.4.tar.xz 52190396 SHA256 718dc106908b5f72ff7e952bd95f0d0949e60d6f947e27de0dec737c05814909 SHA512 c5ee6cd6900f0ea0964a63a44e04045d4b75f3fc05bed851d91a59444cbe3712ae1866a0f7f2287f03a10bd490641a57f86f8e827dd86a44cbf7a53f66ac3905 WHIRLPOOL 29ef634f60931183b320239cfb1c9c8d8402abbd1b99d9529aec28eebd2a6dcd5c777a7b21cb0ba334028d3dcfb116080ab27ba966f551b9e0fed52410312e23
|
||||
DIST kdegames-4.9.5.tar.xz 52240420 SHA256 6ebfd51995902f6777bb62f7505fa042be4df1d3150a0e1073e73a4b6ec2ccf9 SHA512 3106d3dbcf425ee8082a47daad3d3df483dec74c6737246b381d3e96a652e6686d64a1d0d1316c74ef1ca4f9e0f6461cf78f976dfcffae848cd239a94ee50207 WHIRLPOOL dbcf510cfc281aa460749fc7f2c9e26501735c59481ac26c8a03dd6103337b678567d41d0bda1c96ff2a3203720b5ef678244943cce0f005b8bf632c635abae2
|
||||
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/bomber/bomber-4.9.3.ebuild,v 1.4 2012/11/30 15:16:23 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
eclass="kde4-base"
|
||||
else
|
||||
eclass="kde4-meta"
|
||||
KMNAME="kdegames"
|
||||
fi
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit ${eclass}
|
||||
|
||||
DESCRIPTION="KDE arcade bombing game"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="$(add_kdebase_dep libkdegames)"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/bomber/bomber-4.9.4.ebuild,v 1.2 2012/12/22 16:48:16 maekke Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
eclass="kde4-base"
|
||||
else
|
||||
eclass="kde4-meta"
|
||||
KMNAME="kdegames"
|
||||
fi
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit ${eclass}
|
||||
|
||||
DESCRIPTION="KDE arcade bombing game"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="$(add_kdebase_dep libkdegames)"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,3 +1 @@
|
||||
DIST kdegames-4.9.3.tar.xz 52026948 SHA256 479a45cb6b5e9278c7a09bfcb6b025891fbadd0891e1431d4d77ea7aa5f6912b SHA512 e0f315b66f50df45e4d4598bdae70036651a381414b6ef2117003aecd2a2396b41cf3ecd161b8b3a7a4980465a2b9c07b4bef12ca60826287f4ed883a000f74d WHIRLPOOL 41e2a7772ac0ab2db44bcd37a9ec2e16cc517da32c34cad34d7ed82d6dc44cd76aad1dd134e18da49ddd37da59d429f7772783a5ebb71545be5d0ef7178e2cfd
|
||||
DIST kdegames-4.9.4.tar.xz 52190396 SHA256 718dc106908b5f72ff7e952bd95f0d0949e60d6f947e27de0dec737c05814909 SHA512 c5ee6cd6900f0ea0964a63a44e04045d4b75f3fc05bed851d91a59444cbe3712ae1866a0f7f2287f03a10bd490641a57f86f8e827dd86a44cbf7a53f66ac3905 WHIRLPOOL 29ef634f60931183b320239cfb1c9c8d8402abbd1b99d9529aec28eebd2a6dcd5c777a7b21cb0ba334028d3dcfb116080ab27ba966f551b9e0fed52410312e23
|
||||
DIST kdegames-4.9.5.tar.xz 52240420 SHA256 6ebfd51995902f6777bb62f7505fa042be4df1d3150a0e1073e73a4b6ec2ccf9 SHA512 3106d3dbcf425ee8082a47daad3d3df483dec74c6737246b381d3e96a652e6686d64a1d0d1316c74ef1ca4f9e0f6461cf78f976dfcffae848cd239a94ee50207 WHIRLPOOL dbcf510cfc281aa460749fc7f2c9e26501735c59481ac26c8a03dd6103337b678567d41d0bda1c96ff2a3203720b5ef678244943cce0f005b8bf632c635abae2
|
||||
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/bovo/bovo-4.9.3.ebuild,v 1.4 2012/11/30 15:16:43 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
eclass="kde4-base"
|
||||
else
|
||||
eclass="kde4-meta"
|
||||
KMNAME="kdegames"
|
||||
fi
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit ${eclass}
|
||||
|
||||
DESCRIPTION="Five-in-a-row Board Game"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="$(add_kdebase_dep libkdegames)"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/bovo/bovo-4.9.4.ebuild,v 1.2 2012/12/22 16:29:21 maekke Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
eclass="kde4-base"
|
||||
else
|
||||
eclass="kde4-meta"
|
||||
KMNAME="kdegames"
|
||||
fi
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit ${eclass}
|
||||
|
||||
DESCRIPTION="Five-in-a-row Board Game"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="$(add_kdebase_dep libkdegames)"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,3 +1 @@
|
||||
DIST cantor-4.9.3.tar.xz 264888 SHA256 c7530d9dcd26ae2d78ed4be248688f6970c029a37d6e67982cf3860665eec950 SHA512 4afe8dd8c10fbe1ecb0cba3da5ae84ecd619224b85d6ecaed03b97c3fea5f7129d8f98179b48a482d2818ac52ff13cc9ad7b123bb2ddd05525bf203a4ba64030 WHIRLPOOL 5da5b06ee17818a8ea6ead42e4182999b7ff6b6ef844b03ec6463c32328f6096f29138d6c81ea88310e7f56a4a76bfca94f88f260d633aace678d2861893c3a9
|
||||
DIST cantor-4.9.4.tar.xz 273120 SHA256 52fc84702dd4c58aaae4e49aae2355e7fa1c24fe3d3456f20491b7beedfeb7c9 SHA512 a9fba10c1a7aead2ebbbace67a77689d600f17a63444ac2565f35255ee9a99557a43955d21bfd8eba7287bcef813da273ed146d82075b18b204638c7313aeb8a WHIRLPOOL 15766f492101bc41ec27028ce9868252da557791970e95b786cb8cde7f9dcc60946dd822d2abf74a15a7cfd66b8cdd28cc5846b52bcec8e84dc4d6c7d662f358
|
||||
DIST cantor-4.9.5.tar.xz 273644 SHA256 90789772107c92db47f4754d1deea7fd97f5ef1e184a14223795f945227ee504 SHA512 57e6b2a7482625f00990578f97cfbc5f880e4d6abb597c874de8064e3cb74f16d6eeea85a654d5da860f07e0b2a46cba943e2b07019ffc56a0b074c9d906ffcf WHIRLPOOL a0da1d9faf6652d3a5b0964c64139fb096ecd5595942a57a003c86aa17123a01d620e92c81f027408631a3341f0096b152c1ece92fd8fc40a0921a37c576bf34
|
||||
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/cantor/cantor-4.9.3.ebuild,v 1.4 2012/11/30 15:17:03 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE4 interface for doing mathematics and scientific computing"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="analitza debug postscript qalculate +R"
|
||||
|
||||
# TODO Add Sage Mathematics Software backend (http://www.sagemath.org)
|
||||
RDEPEND="
|
||||
analitza? ( $(add_kdebase_dep analitza) )
|
||||
qalculate? (
|
||||
sci-libs/cln
|
||||
sci-libs/libqalculate
|
||||
)
|
||||
postscript? ( app-text/libspectre )
|
||||
R? ( dev-lang/R )
|
||||
x11-libs/qt-xmlpatterns:4
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-cpp/eigen-2.0.3:2
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use_with analitza)
|
||||
$(cmake-utils_use_with postscript LibSpectre)
|
||||
$(cmake-utils_use_with qalculate)
|
||||
$(cmake-utils_use_with R)
|
||||
)
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
|
||||
if ! use analitza && ! use qalculate && ! use R; then
|
||||
echo
|
||||
ewarn "You have decided to build ${PN} with no backend."
|
||||
ewarn "To have this application functional, please do one of below:"
|
||||
ewarn " # emerge -va1 '='${CATEGORY}/${P} with 'analitza', 'qalculate' or 'R' USE flag enabled"
|
||||
ewarn " # emerge -vaDu sci-mathematics/maxima"
|
||||
echo
|
||||
fi
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/cantor/cantor-4.9.4.ebuild,v 1.2 2012/12/23 19:12:57 maekke Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE4 interface for doing mathematics and scientific computing"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="analitza debug postscript qalculate +R"
|
||||
|
||||
# TODO Add Sage Mathematics Software backend (http://www.sagemath.org)
|
||||
RDEPEND="
|
||||
analitza? ( $(add_kdebase_dep analitza) )
|
||||
qalculate? (
|
||||
sci-libs/cln
|
||||
sci-libs/libqalculate
|
||||
)
|
||||
postscript? ( app-text/libspectre )
|
||||
R? ( dev-lang/R )
|
||||
x11-libs/qt-xmlpatterns:4
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-cpp/eigen-2.0.3:2
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use_with analitza)
|
||||
$(cmake-utils_use_with postscript LibSpectre)
|
||||
$(cmake-utils_use_with qalculate)
|
||||
$(cmake-utils_use_with R)
|
||||
)
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
|
||||
if ! use analitza && ! use qalculate && ! use R; then
|
||||
echo
|
||||
ewarn "You have decided to build ${PN} with no backend."
|
||||
ewarn "To have this application functional, please do one of below:"
|
||||
ewarn " # emerge -va1 '='${CATEGORY}/${P} with 'analitza', 'qalculate' or 'R' USE flag enabled"
|
||||
ewarn " # emerge -vaDu sci-mathematics/maxima"
|
||||
echo
|
||||
fi
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST kdesdk-4.9.3.tar.xz 5087376 SHA256 54a2043b62315f8fff4f7b2d7b1fdcad4d80b75462830df106f44d06b4152a67 SHA512 41d296ab2e300b80d16ce75221a5bf9024e1a2289d1e80d0cce1d074efd968f4ad8952710f248ab3a993fbce70017a9432a0fd009ab76c1065e2c564b0f43646 WHIRLPOOL e6e3e592af37ce0b7458a7e45b6532db4ad00e92d9cb34a1671bd3d4449c71a957baa9853abbfc3154ff642fc261dc31ff09192c75d3bf1cc405a251ee85bcca
|
||||
DIST kdesdk-4.9.4.tar.xz 5174960 SHA256 92089662baf79cebec206bd170164a577d285b48f74924a5b2f80d674b083ae2 SHA512 0253762fa35fe830662216f94d29c2a98cbf51cc087100c505860c4fb4663b057fcc7876fbd4cadeac898e88d38c69de8497636f706bc454a92a43e346895167 WHIRLPOOL 322a6fe6a9bd634612670e9be00865ebfea2d45ce1a94c1dd435dab1681d0b3aa1afea35b800addd4257549bfc7a20d0ef1e600457113adeab72910863ffaab4
|
||||
DIST kdesdk-4.9.5.tar.xz 5165436 SHA256 8b62c3ec7d3dd9ac5489df3e77f02b17e92a64c0b6e409b9f9e1665aa57e62f0 SHA512 ebd3b984c43a5a52665fe8c5caff252bf28e5a9d0333c1607d5c29b63f41007939730db73f29cc035f464e2898f73551153b0ddf37b1918135f2f1fc336bd388 WHIRLPOOL 456f94785c64fd071473813401e4bb44caaa26872eb770ce6bda331367053c7823f63fb039cb640841e48e646aee5030f75089bb676d763c5c4065ddca58c3fe
|
||||
|
@ -1,18 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/cervisia/cervisia-4.9.3.ebuild,v 1.4 2012/11/30 15:17:23 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
KMNAME="kdesdk"
|
||||
KDE_SCM="svn"
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="Cervisia - A KDE CVS frontend"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="
|
||||
dev-vcs/cvs
|
||||
"
|
@ -1,18 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/cervisia/cervisia-4.9.4.ebuild,v 1.2 2012/12/25 15:00:19 maekke Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
KMNAME="kdesdk"
|
||||
KDE_SCM="svn"
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="Cervisia - A KDE CVS frontend"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="
|
||||
dev-vcs/cvs
|
||||
"
|
@ -1,3 +1 @@
|
||||
DIST kdesdk-4.9.3.tar.xz 5087376 SHA256 54a2043b62315f8fff4f7b2d7b1fdcad4d80b75462830df106f44d06b4152a67 SHA512 41d296ab2e300b80d16ce75221a5bf9024e1a2289d1e80d0cce1d074efd968f4ad8952710f248ab3a993fbce70017a9432a0fd009ab76c1065e2c564b0f43646 WHIRLPOOL e6e3e592af37ce0b7458a7e45b6532db4ad00e92d9cb34a1671bd3d4449c71a957baa9853abbfc3154ff642fc261dc31ff09192c75d3bf1cc405a251ee85bcca
|
||||
DIST kdesdk-4.9.4.tar.xz 5174960 SHA256 92089662baf79cebec206bd170164a577d285b48f74924a5b2f80d674b083ae2 SHA512 0253762fa35fe830662216f94d29c2a98cbf51cc087100c505860c4fb4663b057fcc7876fbd4cadeac898e88d38c69de8497636f706bc454a92a43e346895167 WHIRLPOOL 322a6fe6a9bd634612670e9be00865ebfea2d45ce1a94c1dd435dab1681d0b3aa1afea35b800addd4257549bfc7a20d0ef1e600457113adeab72910863ffaab4
|
||||
DIST kdesdk-4.9.5.tar.xz 5165436 SHA256 8b62c3ec7d3dd9ac5489df3e77f02b17e92a64c0b6e409b9f9e1665aa57e62f0 SHA512 ebd3b984c43a5a52665fe8c5caff252bf28e5a9d0333c1607d5c29b63f41007939730db73f29cc035f464e2898f73551153b0ddf37b1918135f2f1fc336bd388 WHIRLPOOL 456f94785c64fd071473813401e4bb44caaa26872eb770ce6bda331367053c7823f63fb039cb640841e48e646aee5030f75089bb676d763c5c4065ddca58c3fe
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/dolphin-plugins/dolphin-plugins-4.9.3.ebuild,v 1.4 2012/11/30 15:18:04 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KMNAME="kdesdk"
|
||||
KDE_SCM="svn"
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="Extra Dolphin plugins"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug bazaar git mercurial subversion"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep libkonq)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
$(add_kdebase_dep kompare)
|
||||
bazaar? ( dev-vcs/bzr )
|
||||
git? ( dev-vcs/git )
|
||||
mercurial? ( dev-vcs/mercurial )
|
||||
subversion? ( dev-vcs/subversion )
|
||||
"
|
||||
|
||||
KMLOADLIBS="libkonq"
|
||||
|
||||
src_install() {
|
||||
{ use bazaar || use git || use mercurial || use subversion; } && kde4-meta_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use bazaar && ! use git && ! use mercurial && ! use subversion ; then
|
||||
einfo
|
||||
einfo "You have disabled all plugin use flags. If you want to have vcs"
|
||||
einfo "integration in dolphin, enable those of your needs."
|
||||
einfo
|
||||
fi
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/dolphin-plugins/dolphin-plugins-4.9.4.ebuild,v 1.2 2012/12/25 11:17:05 maekke Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KMNAME="kdesdk"
|
||||
KDE_SCM="svn"
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="Extra Dolphin plugins"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug bazaar git mercurial subversion"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep libkonq)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
$(add_kdebase_dep kompare)
|
||||
bazaar? ( dev-vcs/bzr )
|
||||
git? ( dev-vcs/git )
|
||||
mercurial? ( dev-vcs/mercurial )
|
||||
subversion? ( dev-vcs/subversion )
|
||||
"
|
||||
|
||||
KMLOADLIBS="libkonq"
|
||||
|
||||
src_install() {
|
||||
{ use bazaar || use git || use mercurial || use subversion; } && kde4-meta_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use bazaar && ! use git && ! use mercurial && ! use subversion ; then
|
||||
einfo
|
||||
einfo "You have disabled all plugin use flags. If you want to have vcs"
|
||||
einfo "integration in dolphin, enable those of your needs."
|
||||
einfo
|
||||
fi
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST kde-baseapps-4.9.3.tar.xz 2487976 SHA256 26314e40abc5c138c1772aa1cdb61696550284ed5a170f19728b2deb12514bb7 SHA512 86ed31113374ad31aed6b345b9b371d6e282c88fe5e07564a80035229a7aef05d9bf615369e6278406ae72d38b53f84d41ce059ff3bad20f11959500cf493489 WHIRLPOOL 6068bb6b0fae080d1340d047eda9639bb83821baf79a4b0384e7844bca21215b30a480e12dcdfcc181837b77b11da053fa5ae727d2a50c5283b0f34cd5d1d709
|
||||
DIST kde-baseapps-4.9.4.tar.xz 2523460 SHA256 c04208681afcbee108c51fadaca6ca8ba98090c56d66a454c6acc57288f6c238 SHA512 f709d000ddfbb0d73ceb977d83115b876b954123a0e839aeb99dd4c5bb2458f19f6961e46953c70070e27694941465032c50e050cf6ab2e9990e4b6f1c961a53 WHIRLPOOL 81743b8b7823ed44595de2dfec9356009b04f60e5768b211a88c29fef5afa7d48800610a14e8749fb13f3e2e4e80c53c80d8a00792abe6121b0782fd67c78b5f
|
||||
DIST kde-baseapps-4.9.5.tar.xz 2527344 SHA256 8ebd4f005874a7818d7258575f22f35cbb57a667a36bf34301fa55d695c9b74d SHA512 a71d1953cba0996b07d630a950c8ebf4c7d0b8243bc2f9b331debc6162c0ee31f43811c8f8f90659c64ebb6c3228d750c6754f8db244884457a9cef6aa3dd804 WHIRLPOOL 1c1d6289ef8202089d7519701c3046867466d5406698e7af8d44fef8126e1689361190475dccf2cb155504c2fb0a232a7e68abc0f58a313bb3f08264ef10766f
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue