parent
0a4379d04c
commit
9a2ccb2071
@ -1,6 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>xfce</herd>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>Archive manager for 7zip, arj, bzip2, gzip, iso, rar, lha, deb, rpm, tar and zip formats.</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST autopep8-0.5.2.tar.gz 10049 SHA256 a9a808bac49605036bdeaa4bf5b50a9bbf87088a54b9a2e54e18c85abcecb70f SHA512 9d27a9b2c7cf90a7ea420732ac13675c6bc93435d9d9dc4e437e3e2e121d4b2931b995da77d751e2dbcf4c2c5379fda6c4c3c0f6cc222b461d4daa95e9ec2564 WHIRLPOOL 5b4f6ca08695da516f6579399de1decb3a1be6b2520a636812f1b68cb6ee7e05cb546fe7537513deb3f9a3f914808ffeaa956d1daa2c4e0bcf14f22071e9e7c8
|
||||
DIST autopep8-0.9.2.tar.gz 53987 SHA256 eedab94b1d358ce6127429ef35ac46ce62e76fb38821fc4ee32fef3238d7c740 SHA512 40f33ea72ebe16b68a3019d14b1ffa7ab11aba32449dbec917af31dca6bd6374bf1551fd29528c666298399f0cfe699524bede680ef02a60da7d925e5c09d6f8 WHIRLPOOL 631068b17b2ae449ffcb169b16705292b61fa5dd3ca915897e0dac1e85c49027928ae89efe524e967468815a86d01c8a38056918904568f61e37c9f7f51cccaa
|
||||
DIST autopep8-0.9.3.tar.gz 54727 SHA256 3d4ead82fb5954ceb4f548bddbdacb7bf04043062cd9153807bfe2b0fa393fb6 SHA512 6739ca5bf0ba716af3be1ecfc35b11a96483962367642b6751cde153c500ea36cc901be76da6b033bf6141c28a87ec75a4f6f568bb77a3278d8e7f1fe92b0941 WHIRLPOOL 31f9e38da6be88f1385b4d42aa50b646cd1f52aff6e32ec3615a731899caf823f3abf37004fcfc95c6fbfa4997aea009722646221799e1b2903d1fe51357a9d1
|
||||
DIST autopep8-0.9.4.tar.gz 70382 SHA256 4f1204c319eebdcc761131f832fcf38131f955a7db456a094942086c0d6ede10 SHA512 2704ec20927b77e18c273513d4a74a46196d9e5df809da833b814def3efab5afe105f9519c76d6c1fff2f7de8d9c533fde67192f2a56d29480aa5a32ff0f3da2 WHIRLPOOL 4f117c759a26e4c78395a456dbaeed057efa0a353dc9f16935c9391c36ea4a47085002341f63db056ab0d558ae9e3c37c15d14a6c0aef925f07657979d633352
|
||||
|
@ -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.9.2.ebuild,v 1.2 2013/09/05 18:46:12 mgorny Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/autopep8-0.9.4.ebuild,v 1.1 2013/09/09 10:22:07 xarthisius Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
@ -1,59 +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/m2crypto/m2crypto-0.21.1.ebuild,v 1.12 2012/05/13 20:46:48 aballier Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
|
||||
DISTUTILS_SRC_TEST="setup.py"
|
||||
|
||||
inherit distutils
|
||||
|
||||
MY_PN="M2Crypto"
|
||||
|
||||
DESCRIPTION="M2Crypto: A Python crypto and SSL toolkit"
|
||||
HOMEPAGE="http://chandlerproject.org/bin/view/Projects/MeTooCrypto http://pypi.python.org/pypi/M2Crypto"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND=">=dev-libs/openssl-0.9.8"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-lang/swig-1.3.28
|
||||
dev-python/setuptools
|
||||
doc? ( dev-python/epydoc )"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
DOCS="CHANGES"
|
||||
PYTHON_MODNAME="${MY_PN}"
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
|
||||
if use doc; then
|
||||
einfo "Generation of documentation"
|
||||
pushd doc > /dev/null
|
||||
PYTHONPATH="$(ls -d ../build-$(PYTHON -f --ABI)/lib.*)" epydoc --html --output=api --name=M2Crypto M2Crypto || die "Generation of documentation failed"
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/* || die "Installation of documentation failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
pushd demo > /dev/null
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r * || die "Installation of examples failed"
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST mockldap-0.1.1.tar.gz 19898 SHA256 491becfe6b8c67ad47884afce610cf08f96c49f61e89e2c899b48e4d82183953 SHA512 28804e21dcc3c23e9057a2bbf6cc1867367589b0e21194a633168b67f6b7a32d7629a83c4ad2d7542c5ee30da69aa670a3c319e29eff5643da032b0e9cc17709 WHIRLPOOL 9e8b0c1568b814dd18604ffa9f250a4c465c0ac0526b18c12e235d93aa7553b2c5db1555436dd481d2b2476ad9fb98ac3a4d966d39b241c3994d02d2047c456d
|
||||
DIST mockldap-0.1.tar.gz 11530 SHA256 666d0fec93d94187a0fdea2d48f691c28d2841d631402039c373b32a53a35cf0 SHA512 295ff3c0c298b03978276c54315b1ae755bb82d79f96379df9521bca7f96c216fc2885c8c351887b61803d5022370f946af4a4c1dce9876fb52a1b8aae0ec980 WHIRLPOOL 78050fa67c612b4899fa351d9e95b6402160a28cb9c0d60f7a82cffb36780edcbca28d529f0334cfcb2aa5aaeefa7adcee8b336afb4f97a474df1c4e6f95d219
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/mockldap/mockldap-0.1.1.ebuild,v 1.1 2013/09/09 09:29:57 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A simple mock implementation of python-ldap"
|
||||
HOMEPAGE="https://bitbucket.org/psagers/mockldap/ https://pypi.python.org/pypi/mockldap"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="dev-python/funcparserlib[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/python-ldap[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/passlib[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
pkg_postinst() {
|
||||
if ! has_version dev-python/passlib; then
|
||||
elog "Please install dev-python/passlib for hashed password support."
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pymongo-2.5.2.tar.gz 303234 SHA256 84ac1da67d0dabc711fa8259324d4e94b26a85411bcf0c12dc80a427d9f93ecc SHA512 6137bfcd60776b819a4ca4eb09ba3058a62696ab3533646c5f735ec4d336aa888cf0b8b1975acf1522bbd04416ff4337bf8481a0506421730dfdf712232c75c7 WHIRLPOOL 65c9ef69dd75af13ec7e05e77d2f9afc19c32723901bdf28488121770f53dec340721cb6e891d8cd9009547d95957f61dbf9bef72e725f79bcab38a41d94fba7
|
||||
DIST pymongo-2.6.1.tar.gz 322608 SHA256 1ed87e7b297f4dfbf9a40176ffeb7faf1ac0b0952d290380f7e632a8fb93694c SHA512 f2163d1d871ad0f982263ff04277a89c25d3efa4bc9d723844b85c18ca643615057eee3e5c215f8e6f0c636cd17a76eb708ee68e94ac4f1a63febe04aabafb2b WHIRLPOOL 7f1813388edc8b56fd9d5a1de7bfdb96540f7f9509c8dd2bcd0dc1c5093b510b4718cefd1ca5d202147ced6440273614f6e4204129e73305b91c95d540370565
|
||||
DIST pymongo-2.6.2.tar.gz 322913 SHA256 091d584f7b5d8de60bf6152d9269ec9a29ae7fa34415862b2f092af393233c4e SHA512 786119c788d716bb78a2e40f4a98f1d9be2e5945162ea7b24b5b39535872ba509f75aaeff535ba9cdc483147a4498ffbdf0d483a78464c6075b76bc0816a0cf1 WHIRLPOOL afac43b7d567ab3a629aad3a26ffb5583a1d1a12e4477f6826992ee71431e1947591918895f0dcf0ec48c261c583823534f1e0d1c31746d1651bb273b0f75617
|
||||
|
@ -0,0 +1,130 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/pymongo-2.6.2.ebuild,v 1.1 2013/09/09 12:02:42 ultrabug Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
|
||||
|
||||
inherit check-reqs distutils-r1
|
||||
|
||||
DESCRIPTION="Python driver for MongoDB"
|
||||
HOMEPAGE="http://github.com/mongodb/mongo-python-driver http://pypi.python.org/pypi/pymongo"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc kerberos mod_wsgi test"
|
||||
|
||||
RDEPEND="dev-db/mongodb"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )
|
||||
kerberos? ( dev-python/pykerberos )"
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
reqcheck() {
|
||||
if use test; then
|
||||
# During the tests, database size reaches 1.5G.
|
||||
local CHECKREQS_DISK_BUILD=1536M
|
||||
|
||||
check-reqs_${1}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
reqcheck pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
reqcheck pkg_setup
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
mkdir html || die
|
||||
sphinx-build doc html || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Yes, we need TCP/IP for that...
|
||||
local DB_IP=127.0.0.1
|
||||
local DB_PORT=27000
|
||||
|
||||
export DB_IP DB_PORT
|
||||
|
||||
# 1.5G of disk space per run.
|
||||
local DISTUTILS_NO_PARALLEL_BUILD=1
|
||||
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local dbpath=${TMPDIR}/mongo.db
|
||||
local logpath=${TMPDIR}/mongod.log
|
||||
|
||||
# Now, the hard part: we need to find a free port for mongod.
|
||||
# We're just trying to run it random port numbers and check the log
|
||||
# for bind errors. It shall be noted that 'mongod --fork' does not
|
||||
# return failure when it fails to bind.
|
||||
|
||||
mkdir -p "${dbpath}" || die
|
||||
while true; do
|
||||
ebegin "Trying to start mongod on port ${DB_PORT}"
|
||||
|
||||
LC_ALL=C \
|
||||
mongod --dbpath "${dbpath}" --smallfiles --nojournal \
|
||||
--bind_ip ${DB_IP} --port ${DB_PORT} \
|
||||
--unixSocketPrefix "${TMPDIR}" \
|
||||
--logpath "${logpath}" --fork \
|
||||
&& sleep 2
|
||||
|
||||
# Now we need to check if the server actually started...
|
||||
if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then
|
||||
# yay!
|
||||
eend 0
|
||||
break
|
||||
elif grep -q 'Address already in use' "${logpath}"; then
|
||||
# ay, someone took our port!
|
||||
eend 1
|
||||
: $(( DB_PORT += 1 ))
|
||||
continue
|
||||
else
|
||||
eend 1
|
||||
eerror "Unable to start mongod for tests. See the server log:"
|
||||
eerror " ${logpath}"
|
||||
die "Unable to start mongod for tests."
|
||||
fi
|
||||
done
|
||||
|
||||
local failed
|
||||
#https://jira.mongodb.org/browse/PYTHON-521, py2.[6-7] has intermittent failure with gevent
|
||||
pushd "${BUILD_DIR}"/../ > /dev/null
|
||||
if [[ "${EPYTHON}" == python3* ]]; then
|
||||
2to3 --no-diffs -w test
|
||||
fi
|
||||
DB_PORT2=$(( DB_PORT + 1 )) DB_PORT3=$(( DB_PORT + 2 )) esetup.py test || failed=1
|
||||
|
||||
mongod --dbpath "${dbpath}" --shutdown
|
||||
|
||||
[[ ${failed} ]] && die "Tests fail with ${EPYTHON}"
|
||||
|
||||
rm -rf "${dbpath}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
# Maintainer note:
|
||||
# In order to work with mod_wsgi, we need to disable the C extension.
|
||||
# See [1] for more information.
|
||||
# [1] http://api.mongodb.org/python/current/faq.html#does-pymongo-work-with-mod-wsgi
|
||||
distutils-r1_python_install $(use mod_wsgi && echo --no_ext)
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,625 @@
|
||||
Fixes build issue with texinfo-5.1
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=483122
|
||||
|
||||
============================================================
|
||||
--- doc/monotone.texi fcc02ef992214968bfbdd4a1f968846535de22f7
|
||||
+++ doc/monotone.texi 4feaab5a3c304a6a465402d6069d214137d63198
|
||||
@@ -4845,7 +4845,7 @@ @subsection Global Options
|
||||
Cancel all previous @option{--rcfile} options (standard rcfiles are
|
||||
still loaded). See @ref{rcfiles}.
|
||||
|
||||
-@itemx --root <arg>
|
||||
+@item --root <arg>
|
||||
Limit the search for a workspace to the specified root directory
|
||||
|
||||
@item --ssh-sign <arg>
|
||||
@@ -6247,7 +6247,7 @@ @section Informative
|
||||
the root directory of the specified path (or the workspace, if no path
|
||||
is given).
|
||||
|
||||
-@itemx mtn list vars [@var{domain}]
|
||||
+@item mtn list vars [@var{domain}]
|
||||
@itemx mtn ls vars
|
||||
@command{ls vars} is an alias for @command{list vars}.
|
||||
|
||||
============================================================
|
||||
--- doc/pcrepattern.texi 43ef52850c1fd113b8a21d63634bafe61b3aec45
|
||||
+++ doc/pcrepattern.texi 7ae6fb9367a2410c588230742d63ff4f83daa909
|
||||
@@ -74,32 +74,32 @@ @subsubheading Characters and Metacharac
|
||||
brackets, the metacharacters are as follows:
|
||||
|
||||
@table @code
|
||||
-@itemx \
|
||||
+@item \
|
||||
general escape character with several uses
|
||||
-@itemx ^
|
||||
+@item ^
|
||||
assert start of string (or line, in multiline mode)
|
||||
-@itemx $
|
||||
+@item $
|
||||
assert end of string (or line, in multiline mode)
|
||||
-@itemx .
|
||||
+@item .
|
||||
match any character except newline (by default)
|
||||
-@itemx [
|
||||
+@item [
|
||||
start character class definition
|
||||
-@itemx |
|
||||
+@item |
|
||||
start of alternative branch
|
||||
-@itemx (
|
||||
+@item (
|
||||
start subpattern
|
||||
-@itemx )
|
||||
+@item )
|
||||
end subpattern
|
||||
-@itemx ?
|
||||
+@item ?
|
||||
extends the meaning of @samp{(}
|
||||
also 0 or 1 quantifier
|
||||
also quantifier minimizer
|
||||
-@itemx *
|
||||
+@item *
|
||||
0 or more quantifier
|
||||
-@itemx +
|
||||
+@item +
|
||||
1 or more quantifier
|
||||
also ``possessive quantifier''
|
||||
-@itemx @{
|
||||
+@item @{
|
||||
start min/max quantifier
|
||||
@end table
|
||||
|
||||
@@ -108,16 +108,16 @@ @subsubheading Characters and Metacharac
|
||||
class". In a character class the only metacharacters are:
|
||||
|
||||
@table @code
|
||||
-@itemx \
|
||||
+@item \
|
||||
general escape character
|
||||
-@itemx ^
|
||||
+@item ^
|
||||
negate the class, but only if the first character
|
||||
-@itemx -
|
||||
+@item -
|
||||
indicates character range
|
||||
-@itemx [
|
||||
+@item [
|
||||
POSIX character class (only if followed by POSIX
|
||||
syntax)
|
||||
-@itemx ]
|
||||
+@item ]
|
||||
terminates the character class
|
||||
@end table
|
||||
|
||||
@@ -159,25 +159,25 @@ @subsubheading Non-printing Characters
|
||||
represents:
|
||||
|
||||
@table @code
|
||||
-@itemx \a
|
||||
+@item \a
|
||||
alarm, that is, the BEL character (hex 07)
|
||||
-@itemx \c@var{x}
|
||||
+@item \c@var{x}
|
||||
"control-@var{x}", where @var{x} is any character
|
||||
-@itemx \e
|
||||
+@item \e
|
||||
escape (hex 1B)
|
||||
-@itemx \f
|
||||
+@item \f
|
||||
formfeed (hex 0C)
|
||||
-@itemx \n
|
||||
+@item \n
|
||||
linefeed (hex 0A)
|
||||
-@itemx \r
|
||||
+@item \r
|
||||
carriage return (hex 0D)
|
||||
-@itemx \t
|
||||
+@item \t
|
||||
tab (hex 09)
|
||||
-@itemx \@var{ddd}
|
||||
+@item \@var{ddd}
|
||||
character with octal code @var{ddd}, or backreference
|
||||
-@itemx \x@var{hh}
|
||||
+@item \x@var{hh}
|
||||
character with hex code @var{hh}
|
||||
-@itemx \x@{@var{hhh...}@}
|
||||
+@item \x@{@var{hhh...}@}
|
||||
character with hex code @var{hhh...}
|
||||
@end table
|
||||
|
||||
@@ -244,27 +244,27 @@ @subsubheading Non-printing Characters
|
||||
@samp{\777} are permitted. For example:
|
||||
|
||||
@table @code
|
||||
-@itemx \040
|
||||
+@item \040
|
||||
is another way of writing a space
|
||||
-@itemx \40
|
||||
+@item \40
|
||||
is the same, provided there are fewer than 40
|
||||
previous capturing subpatterns
|
||||
-@itemx \7
|
||||
+@item \7
|
||||
is always a back reference
|
||||
-@itemx \11
|
||||
+@item \11
|
||||
might be a back reference, or another way of
|
||||
writing a tab
|
||||
-@itemx \011
|
||||
+@item \011
|
||||
is always a tab
|
||||
-@itemx \0113
|
||||
+@item \0113
|
||||
is a tab followed by the character @samp{3}
|
||||
-@itemx \113
|
||||
+@item \113
|
||||
might be a back reference, otherwise the
|
||||
character with octal code 113
|
||||
-@itemx \377
|
||||
+@item \377
|
||||
might be a back reference, otherwise
|
||||
the byte consisting entirely of 1 bits
|
||||
-@itemx \81
|
||||
+@item \81
|
||||
is either a back reference, or a binary zero
|
||||
followed by the two characters @samp{8} and @samp{1}
|
||||
@end table
|
||||
@@ -294,25 +294,25 @@ @subsubheading Generic character types
|
||||
following are always recognized:
|
||||
|
||||
@table @code
|
||||
-@itemx \d
|
||||
+@item \d
|
||||
any decimal digit
|
||||
-@itemx \D
|
||||
+@item \D
|
||||
any character that is not a decimal digit
|
||||
-@itemx \h
|
||||
+@item \h
|
||||
any horizontal whitespace character
|
||||
-@itemx \H
|
||||
+@item \H
|
||||
any character that is not a horizontal whitespace character
|
||||
-@itemx \s
|
||||
+@item \s
|
||||
any whitespace character
|
||||
-@itemx \S
|
||||
+@item \S
|
||||
any character that is not a whitespace character
|
||||
-@itemx \v
|
||||
+@item \v
|
||||
any vertical whitespace character
|
||||
-@itemx \V
|
||||
+@item \V
|
||||
any character that is not a vertical whitespace character
|
||||
-@itemx \w
|
||||
+@item \w
|
||||
any ``word'' character
|
||||
-@itemx \W
|
||||
+@item \W
|
||||
any ``non-word'' character
|
||||
@end table
|
||||
|
||||
@@ -342,43 +342,43 @@ @subsubheading Generic character types
|
||||
characters are:
|
||||
|
||||
@table @code
|
||||
-@itemx U+0009
|
||||
+@item U+0009
|
||||
Horizontal tab
|
||||
-@itemx U+0020
|
||||
+@item U+0020
|
||||
Space
|
||||
-@itemx U+00A0
|
||||
+@item U+00A0
|
||||
Non-break space
|
||||
-@itemx U+1680
|
||||
+@item U+1680
|
||||
Ogham space mark
|
||||
-@itemx U+180E
|
||||
+@item U+180E
|
||||
Mongolian vowel separator
|
||||
@item U+2000
|
||||
En quad
|
||||
-@itemx U+2001
|
||||
+@item U+2001
|
||||
Em quad
|
||||
-@itemx U+2002
|
||||
+@item U+2002
|
||||
En space
|
||||
-@itemx U+2003
|
||||
+@item U+2003
|
||||
Em space
|
||||
-@itemx U+2004
|
||||
+@item U+2004
|
||||
Three-per-em space
|
||||
-@itemx U+2005
|
||||
+@item U+2005
|
||||
Four-per-em space
|
||||
-@itemx U+2006
|
||||
+@item U+2006
|
||||
Six-per-em space
|
||||
@item U+2007
|
||||
Figure space
|
||||
-@itemx U+2008
|
||||
+@item U+2008
|
||||
Punctuation space
|
||||
-@itemx U+2009
|
||||
+@item U+2009
|
||||
Thin space
|
||||
-@itemx U+200A
|
||||
+@item U+200A
|
||||
Hair space
|
||||
-@itemx U+202F
|
||||
+@item U+202F
|
||||
Narrow no-break space
|
||||
-@itemx U+205F
|
||||
+@item U+205F
|
||||
Medium mathematical space
|
||||
-@itemx U+3000
|
||||
+@item U+3000
|
||||
Ideographic space
|
||||
@end table
|
||||
|
||||
@@ -386,19 +386,19 @@ @subsubheading Generic character types
|
||||
The vertical space characters are:
|
||||
|
||||
@table @code
|
||||
-@itemx U+000A
|
||||
+@item U+000A
|
||||
Linefeed
|
||||
-@itemx U+000B
|
||||
+@item U+000B
|
||||
Vertical tab
|
||||
-@itemx U+000C
|
||||
+@item U+000C
|
||||
Formfeed
|
||||
-@itemx U+000D
|
||||
+@item U+000D
|
||||
Carriage return
|
||||
-@itemx U+0085
|
||||
+@item U+0085
|
||||
Next line
|
||||
-@itemx U+2028
|
||||
+@item U+2028
|
||||
Line separator
|
||||
-@itemx U+2029
|
||||
+@item U+2029
|
||||
Paragraph separator
|
||||
@end table
|
||||
|
||||
@@ -418,15 +418,15 @@ @subsubheading Newline Conventions
|
||||
the following five sequences:
|
||||
|
||||
@table @code
|
||||
-@itemx (*CR)
|
||||
+@item (*CR)
|
||||
carriage return
|
||||
-@itemx (*LF)
|
||||
+@item (*LF)
|
||||
linefeed
|
||||
-@itemx (*CRLF)
|
||||
+@item (*CRLF)
|
||||
carriage return, followed by linefeed
|
||||
-@itemx (*ANYCRLF)
|
||||
+@item (*ANYCRLF)
|
||||
any of the three above
|
||||
-@itemx (*ANY)
|
||||
+@item (*ANY)
|
||||
all Unicode newline sequences
|
||||
@end table
|
||||
|
||||
@@ -474,9 +474,9 @@ @subsubheading Newline Sequences
|
||||
pattern string with one of the following sequences:
|
||||
|
||||
@table @code
|
||||
-@itemx (*BSR_ANYCRLF)
|
||||
+@item (*BSR_ANYCRLF)
|
||||
@key{CR}, @key{LF}, or @key{CR}@key{LF} only
|
||||
-@itemx (*BSR_UNICODE)
|
||||
+@item (*BSR_UNICODE)
|
||||
any Unicode newline sequence (the default)
|
||||
@end table
|
||||
|
||||
@@ -501,11 +501,11 @@ @subsubheading Unicode Character Propert
|
||||
256, but they do work in this mode. The extra escape sequences are:
|
||||
|
||||
@table @code
|
||||
-@itemx \p@{@var{xx}@}
|
||||
+@item \p@{@var{xx}@}
|
||||
a character with the @var{xx} property
|
||||
-@itemx \P@{@var{xx}@}
|
||||
+@item \P@{@var{xx}@}
|
||||
a character without the @var{xx} property
|
||||
-@itemx \X
|
||||
+@item \X
|
||||
an extended Unicode sequence
|
||||
@end table
|
||||
|
||||
@@ -618,83 +618,83 @@ @subsubheading Unicode Character Propert
|
||||
@table @code
|
||||
@item C
|
||||
Other
|
||||
-@itemx Cc
|
||||
+@item Cc
|
||||
Control
|
||||
-@itemx Cf
|
||||
+@item Cf
|
||||
Format
|
||||
-@itemx Cn
|
||||
+@item Cn
|
||||
Unassigned
|
||||
-@itemx Co
|
||||
+@item Co
|
||||
Private use
|
||||
-@itemx Cs
|
||||
+@item Cs
|
||||
Surrogate
|
||||
|
||||
@item L
|
||||
Letter
|
||||
-@itemx Ll
|
||||
+@item Ll
|
||||
Lower case letter
|
||||
-@itemx Lm
|
||||
+@item Lm
|
||||
Modifier letter
|
||||
-@itemx Lo
|
||||
+@item Lo
|
||||
Other letter
|
||||
-@itemx Lt
|
||||
+@item Lt
|
||||
Title case letter
|
||||
-@itemx Lu
|
||||
+@item Lu
|
||||
Upper case letter
|
||||
|
||||
@item M
|
||||
Mark
|
||||
-@itemx Mc
|
||||
+@item Mc
|
||||
Spacing mark
|
||||
-@itemx Me
|
||||
+@item Me
|
||||
Enclosing mark
|
||||
-@itemx Mn
|
||||
+@item Mn
|
||||
Non-spacing mark
|
||||
|
||||
@item N
|
||||
Number
|
||||
-@itemx Nd
|
||||
+@item Nd
|
||||
Decimal number
|
||||
-@itemx Nl
|
||||
+@item Nl
|
||||
Letter number
|
||||
-@itemx No
|
||||
+@item No
|
||||
Other number
|
||||
|
||||
@item P
|
||||
Punctuation
|
||||
-@itemx Pc
|
||||
+@item Pc
|
||||
Connector punctuation
|
||||
-@itemx Pd
|
||||
+@item Pd
|
||||
Dash punctuation
|
||||
-@itemx Pe
|
||||
+@item Pe
|
||||
Close punctuation
|
||||
-@itemx Pf
|
||||
+@item Pf
|
||||
Final punctuation
|
||||
-@itemx Pi
|
||||
+@item Pi
|
||||
Initial punctuation
|
||||
-@itemx Po
|
||||
+@item Po
|
||||
Other punctuation
|
||||
-@itemx Ps
|
||||
+@item Ps
|
||||
Open punctuation
|
||||
|
||||
@item S
|
||||
Symbol
|
||||
-@itemx Sc
|
||||
+@item Sc
|
||||
Currency symbol
|
||||
-@itemx Sk
|
||||
+@item Sk
|
||||
Modifier symbol
|
||||
-@itemx Sm
|
||||
+@item Sm
|
||||
Mathematical symbol
|
||||
-@itemx So
|
||||
+@item So
|
||||
Other symbol
|
||||
|
||||
@item Z
|
||||
Separator
|
||||
-@itemx Zl
|
||||
+@item Zl
|
||||
Line separator
|
||||
-@itemx Zp
|
||||
+@item Zp
|
||||
Paragraph separator
|
||||
-@itemx Zs
|
||||
+@item Zs
|
||||
Space separator
|
||||
@end table
|
||||
|
||||
@@ -771,18 +771,18 @@ @subsubheading Simple assertions
|
||||
described below. The backslashed assertions are:
|
||||
|
||||
@table @code
|
||||
-@itemx \b
|
||||
+@item \b
|
||||
matches at a word boundary
|
||||
-@itemx \B
|
||||
+@item \B
|
||||
matches when not at a word boundary
|
||||
-@itemx \A
|
||||
+@item \A
|
||||
matches at the start of the subject
|
||||
-@itemx \Z
|
||||
+@item \Z
|
||||
matches at the end of the subject
|
||||
also matches before a newline at the end of the subject
|
||||
-@itemx \z
|
||||
+@item \z
|
||||
matches only at the end of the subject
|
||||
-@itemx \G
|
||||
+@item \G
|
||||
matches at the first matching position in the subject
|
||||
@end table
|
||||
|
||||
@@ -993,33 +993,33 @@ @subsubheading POSIX Character Classes
|
||||
supported class names are
|
||||
|
||||
@table @code
|
||||
-@itemx alnum
|
||||
+@item alnum
|
||||
letters and digits
|
||||
-@itemx alpha
|
||||
+@item alpha
|
||||
letters
|
||||
-@itemx ascii
|
||||
+@item ascii
|
||||
character codes 0 -- 127
|
||||
-@itemx blank
|
||||
+@item blank
|
||||
space or tab only
|
||||
-@itemx cntrl
|
||||
+@item cntrl
|
||||
control characters
|
||||
-@itemx digit
|
||||
+@item digit
|
||||
decimal digits (same as @samp{\d})
|
||||
-@itemx graph
|
||||
+@item graph
|
||||
printing characters, excluding space
|
||||
-@itemx lower
|
||||
+@item lower
|
||||
lower case letters
|
||||
-@itemx print
|
||||
+@item print
|
||||
printing characters, including space
|
||||
-@itemx punct
|
||||
+@item punct
|
||||
printing characters, excluding letters and digits
|
||||
-@itemx space
|
||||
+@item space
|
||||
white space (not quite the same as @samp{\s})
|
||||
-@itemx upper
|
||||
+@item upper
|
||||
upper case letters
|
||||
-@itemx word
|
||||
+@item word
|
||||
``word'' characters (same as @samp{\w})
|
||||
-@itemx xdigit
|
||||
+@item xdigit
|
||||
hexadecimal digits
|
||||
@end table
|
||||
|
||||
@@ -1071,22 +1071,22 @@ @subsubheading Internal Option Setting
|
||||
@samp{)}. The option letters are
|
||||
|
||||
@table @code
|
||||
-@itemx i
|
||||
+@item i
|
||||
Caseless: characters in one case match the corresponding
|
||||
characters in other cases as well.
|
||||
-@itemx m
|
||||
+@item m
|
||||
Multiline: @samp{^} and @samp{$} match at newlines
|
||||
as well as at beginning and end of string.
|
||||
-@itemx s
|
||||
+@item s
|
||||
Dotall: dot matches any character, including newline characters.
|
||||
-@itemx x
|
||||
+@item x
|
||||
Extended syntax: unescaped white space is ignored and embedded
|
||||
comments are possible.
|
||||
-@itemx J
|
||||
+@item J
|
||||
Dupnames: names for capturing subpattern need not be unique.
|
||||
-@itemx U
|
||||
+@item U
|
||||
Ungreedy: quantifiers match as few times as possible by default.
|
||||
-@itemx X
|
||||
+@item X
|
||||
Extra: for forward compatibility, give an error if any escape sequence
|
||||
with no defined meaning appears.
|
||||
@end table
|
||||
@@ -1358,11 +1358,11 @@ @subsubheading Repetition
|
||||
single-character abbreviations:
|
||||
|
||||
@table @code
|
||||
-@itemx *
|
||||
+@item *
|
||||
is equivalent to @{0,@}
|
||||
-@itemx +
|
||||
+@item +
|
||||
is equivalent to @{1,@}
|
||||
-@itemx ?
|
||||
+@item ?
|
||||
is equivalent to @{0,1@}
|
||||
@end table
|
||||
|
||||
@@ -2302,7 +2302,7 @@ @subsubheading Verbs that act immediatel
|
||||
The following verbs act as soon as they are encountered:
|
||||
|
||||
@table @code
|
||||
-@itemx (*ACCEPT)
|
||||
+@item (*ACCEPT)
|
||||
|
||||
This verb causes the match to end successfully, skipping the remainder
|
||||
of the pattern. When inside a recursion, only the innermost pattern is
|
||||
@@ -2317,7 +2317,7 @@ @subsubheading Verbs that act immediatel
|
||||
This matches @samp{AB}, @samp{AAD}, or @samp{ACD}, but when it matches
|
||||
@samp{AB}, no data is captured.
|
||||
|
||||
-@itemx (*FAIL) @r{or} (*F)
|
||||
+@item (*FAIL) @r{or} (*F)
|
||||
|
||||
This verb causes the match to fail, forcing backtracking to occur. It
|
||||
is equivalent to @samp{(?!)} but easier to read. It is not clear
|
||||
@@ -2334,7 +2334,7 @@ @subsubheading Verbs that act after back
|
||||
occurs.
|
||||
|
||||
@table @code
|
||||
-@itemx (*COMMIT)
|
||||
+@item (*COMMIT)
|
||||
|
||||
This verb causes the whole match to fail outright if the rest of the
|
||||
pattern does not match. Even if the pattern is unanchored, no further
|
||||
@@ -2350,7 +2350,7 @@ @subsubheading Verbs that act after back
|
||||
This matches @samp{xxaab} but not @samp{aacaab}. It can be thought of
|
||||
as a kind of dynamic anchor, or ``I've started, so I must finish.''
|
||||
|
||||
-@itemx (*PRUNE)
|
||||
+@item (*PRUNE)
|
||||
|
||||
This verb causes the match to fail at the current position if the rest
|
||||
of the pattern does not match. If the pattern is unanchored, the
|
||||
@@ -2363,7 +2363,7 @@ @subsubheading Verbs that act after back
|
||||
are some uses of @code{(*PRUNE)} that cannot be expressed in any other
|
||||
way.
|
||||
|
||||
-@itemx (*SKIP)
|
||||
+@item (*SKIP)
|
||||
|
||||
This verb is like @code{(*PRUNE)}, except that if the pattern is
|
||||
unanchored, the "bumpalong" advance is not to the next character, but
|
||||
@@ -2383,7 +2383,7 @@ @subsubheading Verbs that act after back
|
||||
attempt would start at the second character instead of skipping on to
|
||||
@samp{c}.
|
||||
|
||||
-@itemx (*THEN)
|
||||
+@item (*THEN)
|
||||
|
||||
This verb causes a skip to the next alternation if the rest of the
|
||||
pattern does not match. That is, it cancels pending backtracking, but
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/postgrey-1.34-r2.ebuild,v 1.1 2013/09/09 14:25:57 qnikst Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Postgrey is a Postfix policy server implementing greylisting"
|
||||
HOMEPAGE="http://postgrey.schweikert.ch/"
|
||||
SRC_URI="http://postgrey.schweikert.ch/pub/${P}.tar.gz
|
||||
http://postgrey.schweikert.ch/pub/old/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE="targrey"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=dev-lang/perl-5.6.0
|
||||
dev-perl/net-server
|
||||
dev-perl/IO-Multiplex
|
||||
dev-perl/BerkeleyDB
|
||||
dev-perl/Net-DNS
|
||||
dev-perl/Parse-Syslog
|
||||
dev-perl/Net-RBLClient
|
||||
>=sys-libs/db-4.1"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 /dev/null ${PN}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use targrey ; then
|
||||
epatch "${FILESDIR}"/targrey-0.31-postgrey-1.34.patch
|
||||
fi
|
||||
sed -i 's@#!/usr/bin/perl -T -w@#!/usr/bin/perl -w@' postgrey || die "sed failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# postgrey data/DB in /var
|
||||
diropts -m0770 -o ${PN} -g ${PN}
|
||||
dodir /var/spool/postfix/${PN}
|
||||
keepdir /var/spool/postfix/${PN}
|
||||
fowners postgrey:postgrey /var/spool/postfix/${PN}
|
||||
fperms 0770 /var/spool/postfix/${PN}
|
||||
|
||||
# postgrey binary
|
||||
dosbin ${PN}
|
||||
dosbin contrib/postgreyreport
|
||||
|
||||
# policy-test script
|
||||
dosbin policy-test
|
||||
|
||||
# postgrey data in /etc/postfix
|
||||
insinto /etc/postfix
|
||||
insopts -o root -g ${PN} -m 0640
|
||||
doins postgrey_whitelist_clients postgrey_whitelist_recipients
|
||||
|
||||
# documentation
|
||||
dodoc Changes README
|
||||
|
||||
# init.d + conf.d files
|
||||
insopts -o root -g root -m 755
|
||||
newinitd "${FILESDIR}"/${PN}.rc.new ${PN}
|
||||
insopts -o root -g root -m 640
|
||||
newconfd "${FILESDIR}"/${PN}.conf.new ${PN}
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST mpv-0.1.3.tar.gz 1650206 SHA256 5f06cf484f0826fe3829563d98fff5ebfd2385beed617dcf7be4d1f38373083c SHA512 0867efd92f32fabd6410e88bf1f441ed2b33d5b705550cf3fc2d6d4ecc72d79f97ed0dfcec1a4bae4f9a1701d740c0e08b3453c2816b68c9d72e8b1037b6002f WHIRLPOOL a9cb967b9cbd03e31f2c1fffdf05968e5c876ea68c411887e5dfcab26755cd1312fa689b9a4f84d3db5c42b4f6c0475b2157584e846d34da602c87beaf7143ad
|
||||
DIST mpv-0.1.4.tar.gz 1650525 SHA256 ec4a6093b33ed00d3f64a97e2eabbbf45b8e511929c98f3b8043f5effbe8cae7 SHA512 a462bba4f0f1f0394f040877e99d9dd1d5b26f031b5ee6db0cf3f00fb124527d65f2a6d9ef64e8e144c68a5cab92aeaaee75a6321f9024c505ae150f24def991 WHIRLPOOL 332e1449d2ebfdcc87313022df73606ed692e994719e49e5c0540a64ac4d5261ef1cfcef14cb432305d66b42bb695beba2b1e27110461e6259c6ae5f6af203bc
|
||||
DIST mpv-0.1.5.tar.gz 1651102 SHA256 64c49559231ef4eb5d6868089f9d42c2aacb46f744a7eb7d453982c528a0679c SHA512 3fcdd38b4f9238251d1db330b9ad33a46e8bb8e25853230c975d15b3f93575793205f597d6deb14fbe51d2c18f213c56961b82838d8e0be852905f2a368c1036 WHIRLPOOL 4bd2da6d4cfb77263676f6d194b0dd83cfc9164e4aa2c8556fbb8f15eb63648f6b24db4c4fdb3f3e0ee9b5474d5a04321bf17b38a8e251e078d253cd9bb0f949
|
||||
|
@ -0,0 +1,299 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/mpv-0.1.5.ebuild,v 1.1 2013/09/09 09:05:33 pinkbyte Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
EGIT_REPO_URI="git://github.com/mpv-player/mpv.git"
|
||||
|
||||
inherit toolchain-funcs flag-o-matic multilib base
|
||||
[[ ${PV} == *9999* ]] && inherit git-2
|
||||
|
||||
DESCRIPTION="Video player based on MPlayer/mplayer2"
|
||||
HOMEPAGE="http://mpv.io/"
|
||||
[[ ${PV} == *9999* ]] || \
|
||||
SRC_URI="https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
[[ ${PV} == *9999* ]] || \
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux"
|
||||
IUSE="+alsa aqua bluray bs2b +cdio dvb +dvd +enca encode +iconv jack joystick
|
||||
jpeg ladspa lcms +libass libcaca libguess lirc mng +mp3 -openal +opengl oss
|
||||
portaudio +postproc pulseaudio pvr +quvi radio samba +shm +threads v4l vcd
|
||||
vdpau vf-dlopen wayland +X xinerama +xscreensaver +xv"
|
||||
|
||||
REQUIRED_USE="
|
||||
enca? ( iconv )
|
||||
lcms? ( opengl )
|
||||
libguess? ( iconv )
|
||||
opengl? ( || ( aqua wayland X ) )
|
||||
portaudio? ( threads )
|
||||
pvr? ( v4l )
|
||||
radio? ( v4l || ( alsa oss ) )
|
||||
v4l? ( threads )
|
||||
vdpau? ( X )
|
||||
wayland? ( opengl )
|
||||
xinerama? ( X )
|
||||
xscreensaver? ( X )
|
||||
xv? ( X )
|
||||
"
|
||||
|
||||
RDEPEND+="
|
||||
|| (
|
||||
>=media-video/libav-9:=[encode?,threads?,vdpau?]
|
||||
>=media-video/ffmpeg-1.2:0=[encode?,threads?,vdpau?]
|
||||
)
|
||||
sys-libs/ncurses
|
||||
sys-libs/zlib
|
||||
X? (
|
||||
x11-libs/libXext
|
||||
x11-libs/libXxf86vm
|
||||
opengl? ( virtual/opengl )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
vdpau? ( x11-libs/libvdpau )
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
xscreensaver? ( x11-libs/libXScrnSaver )
|
||||
xv? ( x11-libs/libXv )
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
bluray? ( media-libs/libbluray )
|
||||
bs2b? ( media-libs/libbs2b )
|
||||
cdio? (
|
||||
|| (
|
||||
dev-libs/libcdio-paranoia
|
||||
<dev-libs/libcdio-0.90[-minimal]
|
||||
)
|
||||
)
|
||||
dvb? ( virtual/linuxtv-dvb-headers )
|
||||
dvd? ( >=media-libs/libdvdread-4.1.3 )
|
||||
enca? ( app-i18n/enca )
|
||||
iconv? ( virtual/libiconv )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
jpeg? ( virtual/jpeg )
|
||||
ladspa? ( media-libs/ladspa-sdk )
|
||||
libass? (
|
||||
>=media-libs/libass-0.9.10[enca?,fontconfig]
|
||||
virtual/ttf-fonts
|
||||
)
|
||||
libcaca? ( media-libs/libcaca )
|
||||
libguess? ( >=app-i18n/libguess-1.0 )
|
||||
lirc? ( app-misc/lirc )
|
||||
mng? ( media-libs/libmng )
|
||||
mp3? ( media-sound/mpg123 )
|
||||
openal? ( >=media-libs/openal-1.13 )
|
||||
portaudio? ( >=media-libs/portaudio-19_pre20111121 )
|
||||
postproc? (
|
||||
|| (
|
||||
media-libs/libpostproc
|
||||
>=media-video/ffmpeg-1.2:0[encode?,threads?,vdpau?]
|
||||
)
|
||||
)
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
quvi? ( >=media-libs/libquvi-0.4.1:= )
|
||||
samba? ( net-fs/samba )
|
||||
wayland? (
|
||||
>=dev-libs/wayland-1.0.0
|
||||
media-libs/mesa[egl,wayland]
|
||||
>=x11-libs/libxkbcommon-0.3.0
|
||||
)
|
||||
"
|
||||
ASM_DEP="dev-lang/yasm"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=dev-lang/perl-5.8
|
||||
dev-python/docutils
|
||||
X? (
|
||||
x11-proto/videoproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
xinerama? ( x11-proto/xineramaproto )
|
||||
xscreensaver? ( x11-proto/scrnsaverproto )
|
||||
)
|
||||
amd64? ( ${ASM_DEP} )
|
||||
x86? ( ${ASM_DEP} )
|
||||
x86-fbsd? ( ${ASM_DEP} )
|
||||
"
|
||||
DOCS=( AUTHORS Copyright README.md etc/example.conf etc/input.conf etc/encoding-example-profiles.conf )
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
elog
|
||||
elog "This is a live ebuild which installs the latest from upstream's"
|
||||
elog "git repository, and is unsupported by Gentoo."
|
||||
elog "Everything but bugs in the ebuild itself will be ignored."
|
||||
elog
|
||||
fi
|
||||
|
||||
if use !libass; then
|
||||
ewarn
|
||||
ewarn "You've disabled the libass flag. No OSD or subtitles will be displayed."
|
||||
fi
|
||||
|
||||
if use openal; then
|
||||
ewarn
|
||||
ewarn "You've enabled the openal flag. OpenAL is disabled by default,"
|
||||
ewarn "because it supposedly inteferes with some other configure tests"
|
||||
ewarn "and makes them fail silently."
|
||||
fi
|
||||
|
||||
einfo "For additional format support you need to enable the support on your"
|
||||
einfo "libavcodec/libavformat provider:"
|
||||
einfo " media-video/libav or media-video/ffmpeg"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# fix path to bash executable in configure scripts
|
||||
sed -i -e "1c\#!${EPREFIX}/bin/bash" \
|
||||
configure version.sh || die
|
||||
|
||||
base_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
local uses i
|
||||
|
||||
# ebuild uses "use foo || --disable-foo" to forcibly disable
|
||||
# compilation in almost every situation. The reason for this is
|
||||
# because if --enable is used, it will force the build of that option,
|
||||
# regardless of whether the dependency is available or not.
|
||||
|
||||
#####################
|
||||
# Optional features #
|
||||
#####################
|
||||
# SDL output is fallback for platforms where nothing better is available
|
||||
myconf+=" --disable-sdl --disable-sdl2"
|
||||
use encode || myconf+=" --disable-encoding"
|
||||
myconf+=" $(use_enable joystick)"
|
||||
uses="bluray vcd"
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=" --disable-${i}"
|
||||
done
|
||||
use quvi || myconf+=" --disable-libquvi4 --disable-libquvi9"
|
||||
use samba || myconf+=" --disable-smb"
|
||||
use lirc || myconf+=" --disable-lirc --disable-lircc"
|
||||
|
||||
########
|
||||
# CDDA #
|
||||
########
|
||||
use cdio || myconf+=" --disable-libcdio"
|
||||
|
||||
############
|
||||
# DVD read #
|
||||
############
|
||||
use dvd || myconf+=" --disable-dvdread"
|
||||
|
||||
#############
|
||||
# Subtitles #
|
||||
#############
|
||||
uses="enca iconv libass libguess"
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=" --disable-${i}"
|
||||
done
|
||||
|
||||
#####################################
|
||||
# DVB / Video4Linux / Radio support #
|
||||
#####################################
|
||||
use dvb || myconf+=" --disable-dvb"
|
||||
use pvr || myconf+=" --disable-pvr"
|
||||
use v4l || myconf+=" --disable-tv --disable-tv-v4l2"
|
||||
if use radio; then
|
||||
myconf+=" --enable-radio --enable-radio-capture"
|
||||
else
|
||||
myconf+=" --disable-radio-v4l2"
|
||||
fi
|
||||
|
||||
##########
|
||||
# Codecs #
|
||||
##########
|
||||
use mp3 || myconf+=" --disable-mpg123"
|
||||
uses="jpeg mng"
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=" --disable-${i}"
|
||||
done
|
||||
|
||||
################
|
||||
# Video Output #
|
||||
################
|
||||
use libcaca || myconf+=" --disable-caca"
|
||||
use postproc || myconf+=" --disable-libpostproc"
|
||||
|
||||
################
|
||||
# Audio Output #
|
||||
################
|
||||
myconf+=" --disable-rsound" # media-sound/rsound is in pro-audio overlay only
|
||||
uses="alsa jack ladspa portaudio"
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=" --disable-${i}"
|
||||
done
|
||||
use bs2b || myconf+=" --disable-libbs2b"
|
||||
use openal && myconf+=" --enable-openal"
|
||||
use oss || myconf+=" --disable-ossaudio"
|
||||
use pulseaudio || myconf+=" --disable-pulse"
|
||||
|
||||
####################
|
||||
# Advanced Options #
|
||||
####################
|
||||
# keep build reproducible
|
||||
myconf+=" --disable-build-date"
|
||||
# do not add -g to CFLAGS
|
||||
myconf+=" --disable-debug"
|
||||
use threads || myconf+=" --disable-pthreads"
|
||||
|
||||
# Platform specific flags, hardcoded on amd64 (see below)
|
||||
use shm || myconf+=" --disable-shm"
|
||||
|
||||
if use x86 && gcc-specs-pie; then
|
||||
filter-flags -fPIC -fPIE
|
||||
append-ldflags -nopie
|
||||
fi
|
||||
|
||||
###########################
|
||||
# X enabled configuration #
|
||||
###########################
|
||||
use X || myconf+=" --disable-x11"
|
||||
uses="vdpau wayland xinerama xv"
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=" --disable-${i}"
|
||||
done
|
||||
use opengl || myconf+=" --disable-gl"
|
||||
use lcms || myconf+=" --disable-lcms2"
|
||||
use xscreensaver || myconf+=" --disable-xss"
|
||||
|
||||
############################
|
||||
# OSX (aqua) configuration #
|
||||
############################
|
||||
use aqua && myconf+=" --enable-macosx-bundle"
|
||||
|
||||
CFLAGS= LDFLAGS= ./configure \
|
||||
--cc="$(tc-getCC)" \
|
||||
--extra-cflags="${CFLAGS}" \
|
||||
--extra-ldflags="${LDFLAGS}" \
|
||||
--pkg-config="$(tc-getPKG_CONFIG)" \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--bindir="${EPREFIX}"/usr/bin \
|
||||
--confdir="${EPREFIX}"/etc/${PN} \
|
||||
--mandir="${EPREFIX}"/usr/share/man \
|
||||
--localedir="${EPREFIX}"/usr/share/locale \
|
||||
${myconf} || die
|
||||
|
||||
MAKEOPTS+=" V=1"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
base_src_compile
|
||||
|
||||
if use vf-dlopen; then
|
||||
tc-export CC
|
||||
emake -C TOOLS/vf_dlopen
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
base_src_install
|
||||
|
||||
if use vf-dlopen; then
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe TOOLS/vf_dlopen/*.so
|
||||
fi
|
||||
}
|
@ -1 +1 @@
|
||||
Mon, 09 Sep 2013 08:36:55 +0000
|
||||
Mon, 09 Sep 2013 17:36:57 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon, 09 Sep 2013 08:36:56 +0000
|
||||
Mon, 09 Sep 2013 17:36:58 +0000
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue