parent
d994074ef5
commit
df4f65ba76
@ -0,0 +1 @@
|
||||
DIST keepassxc-2.1.1.tar.gz 3274143 SHA256 b0a737640070d80483b2ac436d87c2872a248f60f86b741e5413b0b8cda92eef SHA512 7ec2aab5b5e87036b3c778fd9b24612a35ac80243c009da9151f0a8aca9b7065c6652bc595be2958cd4fd96c5c8937cc7ce668c47d34267b7e014c3117a32e72 WHIRLPOOL 5cb6a85c58e28eeff8f11bb70a8b949e15e0f97769c73844474abab321c40f81c6a23b3efe1c05ce5e8e8623c7feb3e38d64cda88b13fedc651a722a3607806f
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
SCM=""
|
||||
[[ "${PV}" == 9999 ]] && SCM="git-r3"
|
||||
inherit cmake-utils ${SCM}
|
||||
unset SCM
|
||||
|
||||
DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition"
|
||||
HOMEPAGE="https://github.com/keepassxreboot/keepassxc"
|
||||
|
||||
if [[ "${PV}" != 9999 ]] ; then
|
||||
SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
else
|
||||
EGIT_REPO_URI="https://github.com/keepassxreboot/${PN}"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1 GPL-2 GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="autotype debug http test"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libgcrypt:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
net-libs/libmicrohttpd
|
||||
sys-libs/zlib
|
||||
autotype? (
|
||||
dev-qt/qtx11extras:5
|
||||
x11-libs/libXi
|
||||
x11-libs/libXtst
|
||||
)
|
||||
"
|
||||
#yubikey? ( sys-auth/libyubikey )
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-qt/linguist-tools:5
|
||||
dev-qt/qtconcurrent:5
|
||||
test? ( dev-qt/qttest:5 )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
use test || \
|
||||
sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITH_GUI_TESTS=OFF
|
||||
-DWITH_TESTS="$(usex test)"
|
||||
-DWITH_XC_AUTOTYPE="$(usex autotype)"
|
||||
-DWITH_XC_HTTP="$(usex http)"
|
||||
#-DWITH_XC_YUBIKEY="$(usex yubikey)"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
SCM=""
|
||||
[[ "${PV}" == 9999 ]] && SCM="git-r3"
|
||||
inherit cmake-utils ${SCM}
|
||||
unset SCM
|
||||
|
||||
DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition"
|
||||
HOMEPAGE="https://github.com/keepassxreboot/keepassxc"
|
||||
|
||||
if [[ "${PV}" != 9999 ]] ; then
|
||||
SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
else
|
||||
EGIT_REPO_URI="https://github.com/keepassxreboot/${PN}"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1 GPL-2 GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="autotype debug http test"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libgcrypt:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
net-libs/libmicrohttpd
|
||||
sys-libs/zlib
|
||||
autotype? (
|
||||
dev-qt/qtx11extras:5
|
||||
x11-libs/libXi
|
||||
x11-libs/libXtst
|
||||
)
|
||||
"
|
||||
# yubikey? ( sys-auth/libyubikey )
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-qt/linguist-tools:5
|
||||
dev-qt/qtconcurrent:5
|
||||
test? ( dev-qt/qttest:5 )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
use test || \
|
||||
sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITH_GUI_TESTS=OFF
|
||||
-DWITH_TESTS="$(usex test)"
|
||||
-DWITH_XC_AUTOTYPE="$(usex autotype)"
|
||||
-DWITH_XC_HTTP="$(usex http)"
|
||||
#-DWITH_XC_YUBIKEY="$(usex yubikey)"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>polynomial-c@gentoo.org</email>
|
||||
<name>Lars Wendler</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="autotype">Add support to autotype the passwords into other applications</flag>
|
||||
<flag name="http">Add http support</flag>
|
||||
</use>
|
||||
<longdescription>
|
||||
KeePassXC provides a safe location for your passwords and similar
|
||||
data. It encrypts its databasee with AES either by passphrase or a key
|
||||
file, compatible with a PDA and Windows version.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">keepassxreboot/keepassxc</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,6 +1,3 @@
|
||||
DIST eix-0.31.10.tar.xz 586324 SHA256 ba2c4a9349879755b4e10c4b06f26d8afed24c412bed0471c37f4e8e12d07d10 SHA512 cdb7fbf2adc0c363b814236e7ea0a5696490df10f72b64524a47328fe8d9e7500987afbcf1cacbf1354b1012471901f3fd6f8c657b32002150a2d9fec8857fa3 WHIRLPOOL 8bbe55f4d89ae5b43adc6f928bd348f24d12403d773e26fa89d0d668029f47e89240d1ac3a1cac7ed17324cf3bf346dc7d85847086746a35d05d410a6ceb751e
|
||||
DIST eix-0.31.7.tar.xz 583100 SHA256 f092c1463a4f49e4b0da97a76b13fd66036a203a590c9ee7cc80e68171d43335 SHA512 cbbdcaa4927e8a6b0b3ea346bc68403eb93d0e386dffec8d9bbd18e48e9c72176b7de00e82132ce12d678d9f775593d42f67a7d9b46230edcb2032d4fbc56832 WHIRLPOOL ee1652c8573f7d6d2fb4565f2f002a8bdfe9abc60c7777b5a6d42a923caaa01fe539cd4d8a505a2db06101c51c295af2dc092bf0bdcb8db7269d61ed49d8531e
|
||||
DIST eix-0.31.9.tar.xz 585724 SHA256 2fa324d2ee242bdc686aaf9e33f591379682e115075eb2212c3b885e2c154267 SHA512 9e58f2fdaac05563e2213bef405ee418507794cf30d9390be341e79e525eee35025458456624b33fe241f2dc8c07ab75fc7a04980a9df9f585cc6bb3d1497ad7 WHIRLPOOL a5bebb53b9a77edb281e5b06b8a6813febde7abdaf69c08ca183d579a56b87eee507ccc406c5717ffcffd0af20f7b3a01f58f7248faf258e451d10fa8cbbcffc
|
||||
DIST eix-0.32.1.tar.xz 587800 SHA256 706261e2ee99fa4be493691067deb547ce5181e92d5ed6a49d02dc2b1d85ce4f SHA512 deb94d0a9eed7cd895b0cff50db536c2ac1cc6f7031a5b2a98293c02d4e487e63886cc8e9216ad0bea6d66e66d7adf7d875a6537826d479878e2e05d11c50d76 WHIRLPOOL 8dfe92916cb717d8f7d07511e318dfbf1dc266326d162e3d69b091083d58833541804695399d3144935a6af547409efe6000ab14e39b01e0ec6815bcce53e2d1
|
||||
DIST eix-0.32.4.tar.xz 592284 SHA256 8132be9c496b5b19699c50d9aacd49560ca1f0466e3de4f47b896337f3527fc6 SHA512 382181d082648e9b236c3bf54fdf5d75a8575a7994e6a1d3380e80bcc36ff5779c660c5b5fc5f233cef79e48099fc53bb1c8b87e2ca919dcdb43d5fde276f553 WHIRLPOOL 0c8258d36a30a76fec2e7315e07776c277b2f098f6c0fb0a9a182f28827a659c334b190e10c52ea7ec8facd7a6e1f6124b3ffefd3ed2aade6da747e815276737
|
||||
DIST eix-0.32.5.tar.xz 595124 SHA256 1ebe07f46800f3f254d1385cd88eba328da9f07cc17731ad1b231a8b13450f6e SHA512 355c0daf81c349ceaa53a7253816a072578923f2044e53c9a8e98ceb9726b238f86f8b1d8ad96bb62851f887e50c1e5e443115dc12fcae7c8bca851caf9b9650 WHIRLPOOL 3b707ebeadc1653917269c81a594469ff2c603e5ad3772d1b19efb9fbd81dcf76b527c9d03975748e9cf0e1f011d1704ecd39f108ea166d78c9bb3be7370ada7
|
||||
|
@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PLOCALES="de ru"
|
||||
inherit bash-completion-r1 l10n systemd
|
||||
|
||||
DESCRIPTION="Search and query ebuilds, portage incl. local settings, ext. overlays and more"
|
||||
HOMEPAGE="https://github.com/vaeth/eix/"
|
||||
SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug +dep doc nls optimization +required-use security strong-optimization strong-security sqlite swap-remote tools"
|
||||
|
||||
BOTHDEPEND="sqlite? ( >=dev-db/sqlite-3 )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${BOTHDEPEND}
|
||||
app-shells/push"
|
||||
DEPEND="${BOTHDEPEND}
|
||||
app-arch/xz-utils
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
case " ${REPLACING_VERSIONS}" in
|
||||
*\ 0.[0-9].*|*\ 0.1[0-9].*|*\ 0.2[0-4].*|*\ 0.25.0*)
|
||||
local eixcache="${EROOT}/var/cache/${PN}"
|
||||
test -f "${eixcache}" && rm -f -- "${eixcache}";;
|
||||
esac
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s'/'${EPREFIX}/'" -- "${S}"/tmpfiles.d/eix.conf || die
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with sqlite) $(use_with doc extra-doc) \
|
||||
$(use_enable nls) $(use_enable tools separate-tools) \
|
||||
$(use_enable security) $(use_enable optimization) \
|
||||
$(use_enable strong-security) \
|
||||
$(use_enable strong-optimization) $(use_enable debug debugging) \
|
||||
$(use_enable swap-remote) \
|
||||
$(use_with prefix always-accept-keywords) \
|
||||
$(use_with dep dep-default) \
|
||||
$(use_with required-use required-use-default) \
|
||||
--with-zsh-completion \
|
||||
--with-portage-rootpath="${ROOTPATH}" \
|
||||
--with-eprefix-default="${EPREFIX}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dobashcomp bash/eix
|
||||
systemd_dotmpfilesd tmpfiles.d/eix.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
test -d "${EROOT}var/cache/${PN}" || {
|
||||
mkdir "${EROOT}var/cache/${PN}"
|
||||
use prefix || chown portage:portage "${EROOT}var/cache/${PN}"
|
||||
}
|
||||
local obs="${EROOT}var/cache/eix.previous"
|
||||
! test -f "${obs}" || ewarn "Found obsolete ${obs}, please remove it"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
[ -n "${REPLACED_BY_VERSION}" ] || rm -rf -- "${EROOT}var/cache/${PN}"
|
||||
}
|
@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PLOCALES="de ru"
|
||||
inherit bash-completion-r1 l10n systemd
|
||||
|
||||
DESCRIPTION="Search and query ebuilds, portage incl. local settings, ext. overlays and more"
|
||||
HOMEPAGE="https://github.com/vaeth/eix/"
|
||||
SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug +dep doc nls optimization +required-use security strong-optimization strong-security sqlite swap-remote tools"
|
||||
|
||||
BOTHDEPEND="sqlite? ( >=dev-db/sqlite-3 )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${BOTHDEPEND}
|
||||
app-shells/push"
|
||||
DEPEND="${BOTHDEPEND}
|
||||
app-arch/xz-utils
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
case " ${REPLACING_VERSIONS}" in
|
||||
*\ 0.[0-9].*|*\ 0.1[0-9].*|*\ 0.2[0-4].*|*\ 0.25.0*)
|
||||
local eixcache="${EROOT}/var/cache/${PN}"
|
||||
test -f "${eixcache}" && rm -f -- "${eixcache}";;
|
||||
esac
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s'/'${EPREFIX}/'" -- "${S}"/tmpfiles.d/eix.conf || die
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with sqlite) $(use_with doc extra-doc) \
|
||||
$(use_enable nls) $(use_enable tools separate-tools) \
|
||||
$(use_enable security) $(use_enable optimization) \
|
||||
$(use_enable strong-security) \
|
||||
$(use_enable strong-optimization) $(use_enable debug debugging) \
|
||||
$(use_enable swap-remote) \
|
||||
$(use_with prefix always-accept-keywords) \
|
||||
$(use_with dep dep-default) \
|
||||
$(use_with required-use required-use-default) \
|
||||
--with-zsh-completion \
|
||||
--with-portage-rootpath="${ROOTPATH}" \
|
||||
--with-eprefix-default="${EPREFIX}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dobashcomp bash/eix
|
||||
systemd_dotmpfilesd tmpfiles.d/eix.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
test -d "${EROOT}var/cache/${PN}" || {
|
||||
mkdir "${EROOT}var/cache/${PN}"
|
||||
use prefix || chown portage:portage "${EROOT}var/cache/${PN}"
|
||||
}
|
||||
local obs="${EROOT}var/cache/eix.previous"
|
||||
! test -f "${obs}" || ewarn "Found obsolete ${obs}, please remove it"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
[ -n "${REPLACED_BY_VERSION}" ] || rm -rf -- "${EROOT}var/cache/${PN}"
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST push-1.11.tar.gz 2037 SHA256 04a141b4de60f20a328b0e410f12b277b017369fbf3143822bf59788cbd904d5 SHA512 f94ad1f8ebbebb0235617a7f3305f68872ad1a2f03edba6848dafe6b19161b93677417fd8bd5681f329b28a3f0edecbae783e7c162da900c9215313495f49490 WHIRLPOOL 4f625324fb73137a645e8534187de3f35e2b3d2f242dc5417f9d161eeb04f81124156d88e582211505be596ac902ebe36e3598e393275cbee78464cf9d35d12e
|
||||
DIST push-1.6.tar.gz 1955 SHA256 713dea172ede55971ff82da932782503c2aa6703eba73c1ac317ec4c8eb22e80 SHA512 4623f51249138bacb7251fb5d5d1ae8dd070de7ce628e42b6eed90a4b6ffd36d28eb58b116f5b1833bc1affa8db539da9b94d104ffe03c6bd1e294b56c393c86 WHIRLPOOL 787f65542e92fd10c411969d03ec17b45a90b35e9c8e17b9fb3e732fb1d97813f04c3a03cc329a469a5bea2a194f879f4c600e2e534dd8c778f7f712d4c171b1
|
||||
DIST push-1.8.tar.gz 1942 SHA256 99ae56c932b59b8b74c6a6d0972dfe5b65458d6871581168918264c5aa50bdbd SHA512 518568fc72d161d3abaea0a0c529d94fc9ad6dc46d18d300990de1367617e095befb8436e69267ebc11bd4dcbbbd9bca6375fc184666e442af6e2eaa68a992e5 WHIRLPOOL 5a763560b8afd4593aa1d0afc8f3ed5b053041c63d5aa742e485c25046191e8c733cdaf265117e23726c2c7cc8aeb87d3858a6228932192c2ee87ff4682e626d
|
||||
DIST push-2.0.tar.gz 2211 SHA256 2d5e1c5b580f77ac9fb65b7b75c6220ee88687b6e7340ccc746e42e5632604b0 SHA512 03c40bd8b3b09473952ecf13edd622533616de47638741214b40856b33993f9310d62be34fac6f68b950f58167c3111082554961a800a43a3ecf8a7d138ffdff WHIRLPOOL 6abbad060edbb3d9873c24b73bc61f38f6a4fd38633021e66f8d3a5a04b61dfcdec4c68afed5e8fe06f817cf924adfafb439ddb415c71fc4e1b52ce561ec6fa1
|
||||
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit vcs-snapshot
|
||||
|
||||
DESCRIPTION="A POSIX shell function to treat a variable like an array, quoting args"
|
||||
HOMEPAGE="https://github.com/vaeth/push/"
|
||||
SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
insinto /usr/bin
|
||||
doins push.sh
|
||||
dodoc README
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST quoter-2.0_p2.tar.gz 10108 SHA256 e1bd542b8f0bd5afaa2a7c0e21987addf7afe383ffc9e53e84a369d0e95d122b SHA512 18543b3061bbdca01c87aa3bcebd1cf69ec79e44a1f285f9ddfca4afa293e137a40e2c626dcdee15828d5777b337e6d9afbd03b7d8637bf65cc406ed5bec82a2 WHIRLPOOL 41b7440bc3b1fd174e6cfc2c3b0d43988ec07c0dd6a6ba39710c83bff379136c0dd129953de4054cabd76dab5780ba7c9b4b19ba3317c67fc8972cebdc8bb484
|
||||
DIST quoter-3.0_p2.tar.gz 10691 SHA256 19a335095991c8fa0f637c81b7e8b9a262af67e230507af87f3c113228965732 SHA512 23d77105fa05d79a7d0bcaa3f6aead25b7cb3b6f459d2740314616da587e03cd3e6b0b1e8af8f79904309bbe76603db848d42996ed7ae5ef779e27184a434fb5 WHIRLPOOL 1c083d7dc9bc8e1e4719b6e4c03087f39d4324df3aa70011e84087c7de3145f932ca3ae9fc1057b17dbe9471592c5d32ac99dff63b7962fb3c7548b31aa2a225
|
||||
|
@ -1,6 +1,3 @@
|
||||
DIST redis-2.8.17.tar.gz 1234543 SHA256 53c7cc639571729fa57d7baa7f81aec1d5886f86bac9c66f6ad06dbdaee236a7 SHA512 29515abd4437e03da20063a1831f0eb11ac65ba9d51cbfbb1987726102e3a55c76a3286b8c9a3bfbaf5290998fb5b662ef4aadbe0d131cd60824c8533e088441 WHIRLPOOL 22eb01f8100a07178352e397f4342d44f478aadda7a0a7bdfa9a08d8cfa1578ac6e98ba0cce0a9828cc226364d9a7995d86bc78adfc73476c04868639307be30
|
||||
DIST redis-2.8.23.tar.gz 1265194 SHA256 f3c79778f478a01237035b67edaaa19332e5624dfa849d66815a4328d3e95ace SHA512 ab27d5f4da3a1a03f513dd6e731517b59c8857961599651f51ced29138c907e3968390d2a473e26690d8ada6808cff1b948999ed171e9826cad8449031fc39ce WHIRLPOOL e18e5caf086c41743642d817b69ce7d923505ebb90373c7b8ccac5990bfa1972e264292e3d78310e84378b958c0ab818d208349763ab43eb9cfc05030755a6f5
|
||||
DIST redis-3.0.4.tar.gz 1364993 SHA256 a35e90ad581925134aa0fc92e969cc825f5cdee8e13c36a87d4d6995316112cf SHA512 7d8d681222892c759e7c3809203522a96a547457e0ff123cca296bac911395c7d8c1ded06331ae5cb487b87d0adcbaa02aa12c2dd724196a7b86111e236b023a WHIRLPOOL e12f7751e3e25068a25c02990d0e8416cedc152f66b5e9e1e47ae91f10a0d543b96ad456a4eb7fe16cb92ed46a0cc2fee65954207b354b9c211f425191a6c388
|
||||
DIST redis-3.0.7.tar.gz 1375200 SHA256 b2a791c4ea3bb7268795c45c6321ea5abcc24457178373e6a6e3be6372737f23 SHA512 6c8f4c88d911e1433fd28efff2f6d62763e08be89814ebf4aa4e68e2c8bd605eba24ca3410548b2f480ae094437ce96c0bafa7a5762b3b405d5d850886297ba3 WHIRLPOOL 53c2c967b999bbcb5b45117bbad74b46457158ad94e8c43566311dd3d58c63c2d0cc2dac5dc9e8806821c2532ee4beded17e039da4ddeae958e5a0092429ee3a
|
||||
DIST redis-3.2.5.tar.gz 1544040 SHA256 8509ceb1efd849d6b2346a72a8e926b5a4f6ed3cc7c3cd8d9f36b2e9ba085315 SHA512 4ecf6277c8fdf4411223b9f5a5c8308829da9bd756b45de5217d469e9def8faad8c05b6348c06aef99eca9245d45abfd52df056c3c819723da66a2ca20c381dd WHIRLPOOL db1eecac5e407734002d39cc16f708fcb1f506829df4dabda53bffc7012746a23ea2342cded4d90f39db72ba61eda349b80b4a3e4f1eba06dbaa6cad8c50264e
|
||||
DIST redis-3.2.6.tar.gz 1544806 SHA256 2e1831c5a315e400d72bda4beaa98c0cfbe3f4eb8b20c269371634390cf729fa SHA512 15f2e55a7cc56e7e652a3a8d344fceb6d0d33cf53caa81854e6b1977ec68f7e92ac06d0d66999bfc577f185eba19e0927a81014bdb5cd484eecb080b6a6e16bc WHIRLPOOL a3dd92e565cdfbc65bfccd452efde8fc4124ede1133ca74a30c69f68eb5021b5fb1bbc7dc30d3ea9993c42bc9c4ce2716564329bd5be142a5764a9ab807a9d14
|
||||
|
@ -1,44 +0,0 @@
|
||||
commit de0d4973ddb629dcc80f0724769a0e997fe644ba
|
||||
Author: Johan Bergström <bugs@bergstroem.nu>
|
||||
Date: Wed Jul 16 09:47:44 2014 +1000
|
||||
|
||||
Use a shared lua
|
||||
|
||||
diff --git src/Makefile src/Makefile
|
||||
index 134694c..a09832e 100644
|
||||
--- src/Makefile
|
||||
+++ src/Makefile
|
||||
@@ -15,7 +15,7 @@
|
||||
release_hdr := $(shell sh -c './mkreleasehdr.sh')
|
||||
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
|
||||
OPTIMIZATION?=-O2
|
||||
-DEPENDENCY_TARGETS=hiredis linenoise lua
|
||||
+DEPENDENCY_TARGETS=hiredis linenoise
|
||||
|
||||
# Default settings
|
||||
STD=-std=c99 -pedantic
|
||||
@@ -52,6 +52,7 @@ endif
|
||||
FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS)
|
||||
FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG)
|
||||
FINAL_LIBS=-lm
|
||||
+FINAL_LIBS+=$(shell pkg-config --libs lua)
|
||||
DEBUG=-g -ggdb
|
||||
|
||||
ifeq ($(uname_S),SunOS)
|
||||
@@ -108,6 +109,7 @@ endif
|
||||
REDIS_SERVER_NAME=redis-server
|
||||
REDIS_SENTINEL_NAME=redis-sentinel
|
||||
REDIS_SERVER_OBJ=adlist.o ae.o anet.o dict.o redis.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o ziplist.o release.o networking.o util.o object.o db.o replication.o rdb.o t_string.o t_list.o t_set.o t_zset.o t_hash.o config.o aof.o pubsub.o multi.o debug.o sort.o intset.o syncio.o migrate.o endianconv.o slowlog.o scripting.o bio.o rio.o rand.o memtest.o crc64.o bitops.o sentinel.o notify.o setproctitle.o hyperloglog.o latency.o sparkline.o
|
||||
+REDIS_SERVER_OBJ+=lua_cjson.o lua_cmsgpack.o lua_struct.o strbuf.o
|
||||
REDIS_CLI_NAME=redis-cli
|
||||
REDIS_CLI_OBJ=anet.o sds.o adlist.o redis-cli.o zmalloc.o release.o anet.o ae.o crc64.o
|
||||
REDIS_BENCHMARK_NAME=redis-benchmark
|
||||
@@ -162,7 +164,7 @@ endif
|
||||
|
||||
# redis-server
|
||||
$(REDIS_SERVER_NAME): $(REDIS_SERVER_OBJ)
|
||||
- $(REDIS_LD) -o $@ $^ ../deps/hiredis/libhiredis.a ../deps/lua/src/liblua.a $(FINAL_LIBS)
|
||||
+ $(REDIS_LD) -o $@ $^ ../deps/hiredis/libhiredis.a $(FINAL_LIBS)
|
||||
|
||||
# redis-sentinel
|
||||
$(REDIS_SENTINEL_NAME): $(REDIS_SERVER_NAME)
|
@ -1,44 +0,0 @@
|
||||
commit de0d4973ddb629dcc80f0724769a0e997fe644ba
|
||||
Author: Johan Bergström <bugs@bergstroem.nu>
|
||||
Date: Wed Jul 16 09:47:44 2014 +1000
|
||||
|
||||
Use a shared lua
|
||||
|
||||
diff --git src/Makefile src/Makefile
|
||||
index 134694c..a09832e 100644
|
||||
--- src/Makefile
|
||||
+++ src/Makefile
|
||||
@@ -15,7 +15,7 @@
|
||||
release_hdr := $(shell sh -c './mkreleasehdr.sh')
|
||||
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
|
||||
OPTIMIZATION?=-O2
|
||||
-DEPENDENCY_TARGETS=hiredis linenoise lua
|
||||
+DEPENDENCY_TARGETS=hiredis linenoise
|
||||
|
||||
# Default settings
|
||||
STD=-std=c99 -pedantic
|
||||
@@ -52,6 +52,7 @@ endif
|
||||
FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS)
|
||||
FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG)
|
||||
FINAL_LIBS=-lm
|
||||
+FINAL_LIBS+=$(shell pkg-config --libs lua)
|
||||
DEBUG=-g -ggdb
|
||||
|
||||
ifeq ($(uname_S),SunOS)
|
||||
@@ -108,6 +109,7 @@ endif
|
||||
REDIS_SERVER_NAME=redis-server
|
||||
REDIS_SENTINEL_NAME=redis-sentinel
|
||||
REDIS_SERVER_OBJ=adlist.o ae.o anet.o dict.o redis.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o ziplist.o release.o networking.o util.o object.o db.o replication.o rdb.o t_string.o t_list.o t_set.o t_zset.o t_hash.o config.o aof.o pubsub.o multi.o debug.o sort.o intset.o syncio.o migrate.o endianconv.o slowlog.o scripting.o bio.o rio.o rand.o memtest.o crc64.o bitops.o sentinel.o notify.o setproctitle.o hyperloglog.o latency.o sparkline.o
|
||||
+REDIS_SERVER_OBJ+=fpconv.o strbuf.o lua_bit.o lua_cjson.o lua_cmsgpack.o lua_struct.o
|
||||
REDIS_CLI_NAME=redis-cli
|
||||
REDIS_CLI_OBJ=anet.o sds.o adlist.o redis-cli.o zmalloc.o release.o anet.o ae.o crc64.o
|
||||
REDIS_BENCHMARK_NAME=redis-benchmark
|
||||
@@ -162,7 +164,7 @@ endif
|
||||
|
||||
# redis-server
|
||||
$(REDIS_SERVER_NAME): $(REDIS_SERVER_OBJ)
|
||||
- $(REDIS_LD) -o $@ $^ ../deps/hiredis/libhiredis.a ../deps/lua/src/liblua.a $(FINAL_LIBS)
|
||||
+ $(REDIS_LD) -o $@ $^ ../deps/hiredis/libhiredis.a $(FINAL_LIBS)
|
||||
|
||||
# redis-sentinel
|
||||
$(REDIS_SENTINEL_NAME): $(REDIS_SERVER_NAME)
|
@ -1,112 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils flag-o-matic systemd toolchain-funcs user
|
||||
|
||||
DESCRIPTION="A persistent caching system, key-value and data structures database"
|
||||
HOMEPAGE="http://redis.io/"
|
||||
SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="amd64 ~hppa x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
|
||||
IUSE="+jemalloc tcmalloc test"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=">=dev-lang/lua-5.1:0
|
||||
tcmalloc? ( dev-util/google-perftools )
|
||||
jemalloc? ( >=dev-libs/jemalloc-3.2 )"
|
||||
DEPEND="virtual/pkgconfig
|
||||
>=sys-devel/autoconf-2.63
|
||||
test? ( dev-lang/tcl:0= )
|
||||
${RDEPEND}"
|
||||
REQUIRED_USE="?? ( tcmalloc jemalloc )"
|
||||
|
||||
S="${WORKDIR}/${PN}-${PV/_/-}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup redis 75
|
||||
enewuser redis 75 -1 /var/lib/redis redis
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.8.3-shared.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.8.17-config.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.8.13-sharedlua.patch
|
||||
|
||||
# Copy lua modules into build dir
|
||||
cp "${S}"/deps/lua/src/{lua_cjson,lua_cmsgpack,lua_struct,strbuf}.c "${S}"/src || die
|
||||
|
||||
# now we will rewrite present Makefiles
|
||||
local makefiles=""
|
||||
for MKF in $(find -name 'Makefile' | cut -b 3-); do
|
||||
mv "${MKF}" "${MKF}.in"
|
||||
sed -i -e 's:$(CC):@CC@:g' \
|
||||
-e 's:$(CFLAGS):@AM_CFLAGS@:g' \
|
||||
-e 's: $(DEBUG)::g' \
|
||||
-e 's:$(OBJARCH)::g' \
|
||||
-e 's:ARCH:TARCH:g' \
|
||||
-e '/^CCOPT=/s:$: $(LDFLAGS):g' \
|
||||
"${MKF}.in" \
|
||||
|| die "Sed failed for ${MKF}"
|
||||
makefiles+=" ${MKF}"
|
||||
done
|
||||
# autodetection of compiler and settings; generates the modified Makefiles
|
||||
cp "${FILESDIR}"/configure.ac-2.2 configure.ac
|
||||
sed -i -e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
|
||||
configure.ac || die "Sed failed for configure.ac"
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf
|
||||
|
||||
# Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
|
||||
# also, don't define ANSI/c99 for lua twice
|
||||
sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC AR RANLIB
|
||||
|
||||
local myconf=""
|
||||
|
||||
if use tcmalloc ; then
|
||||
myconf="${myconf} USE_TCMALLOC=yes"
|
||||
elif use jemalloc ; then
|
||||
myconf="${myconf} JEMALLOC_SHARED=yes"
|
||||
else
|
||||
myconf="${myconf} MALLOC=yes"
|
||||
fi
|
||||
|
||||
emake ${myconf} V=1 CC="${CC}" AR="${AR} rcu" RANLIB="${RANLIB}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/
|
||||
doins redis.conf sentinel.conf
|
||||
use prefix || fowners redis:redis /etc/{redis,sentinel}.conf
|
||||
fperms 0644 /etc/{redis,sentinel}.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis.confd" redis
|
||||
newinitd "${FILESDIR}/redis.initd-4" redis
|
||||
|
||||
systemd_dounit "${FILESDIR}/redis.service"
|
||||
systemd_newtmpfilesd "${FILESDIR}/redis.tmpfiles" redis.conf
|
||||
|
||||
dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README
|
||||
|
||||
dobin src/redis-cli
|
||||
dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-dump
|
||||
fperms 0750 /usr/sbin/redis-benchmark
|
||||
dosym /usr/sbin/redis-server /usr/sbin/redis-sentinel
|
||||
|
||||
if use prefix; then
|
||||
diropts -m0750
|
||||
else
|
||||
diropts -m0750 -o redis -g redis
|
||||
fi
|
||||
keepdir /var/{log,lib}/redis
|
||||
}
|
@ -1,120 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils flag-o-matic systemd toolchain-funcs user
|
||||
|
||||
DESCRIPTION="A persistent caching system, key-value and data structures database"
|
||||
HOMEPAGE="http://redis.io/"
|
||||
SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~amd64-linux ~hppa ~x86 ~x86-linux ~x86-macos ~x86-solaris"
|
||||
IUSE="+jemalloc tcmalloc test"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=">=dev-lang/lua-5.1:*
|
||||
tcmalloc? ( dev-util/google-perftools )
|
||||
jemalloc? ( >=dev-libs/jemalloc-3.2 )"
|
||||
DEPEND="virtual/pkgconfig
|
||||
>=sys-devel/autoconf-2.63
|
||||
test? ( dev-lang/tcl:0= )
|
||||
${RDEPEND}"
|
||||
REQUIRED_USE="?? ( tcmalloc jemalloc )"
|
||||
|
||||
S="${WORKDIR}/${PN}-${PV/_/-}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup redis 75
|
||||
enewuser redis 75 -1 /var/lib/redis redis
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.8.3-shared.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.8.17-config.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.8.19-sharedlua.patch
|
||||
|
||||
# Copy lua modules into build dir
|
||||
cp "${S}"/deps/lua/src/{fpconv,lua_bit,lua_cjson,lua_cmsgpack,lua_struct,strbuf}.c "${S}"/src || die
|
||||
cp "${S}"/deps/lua/src/{fpconv,strbuf}.h "${S}"/src || die
|
||||
# Append cflag for lua_cjson
|
||||
# https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61
|
||||
append-cflags "-DENABLE_CJSON_GLOBAL"
|
||||
|
||||
# Avoid glibc noise
|
||||
# https://github.com/antirez/redis/pull/2189
|
||||
[[ ${CHOST} == *linux* ]] && append-cflags "-D_DEFAULT_SOURCE"
|
||||
|
||||
# now we will rewrite present Makefiles
|
||||
local makefiles=""
|
||||
for MKF in $(find -name 'Makefile' | cut -b 3-); do
|
||||
mv "${MKF}" "${MKF}.in"
|
||||
sed -i -e 's:$(CC):@CC@:g' \
|
||||
-e 's:$(CFLAGS):@AM_CFLAGS@:g' \
|
||||
-e 's: $(DEBUG)::g' \
|
||||
-e 's:$(OBJARCH)::g' \
|
||||
-e 's:ARCH:TARCH:g' \
|
||||
-e '/^CCOPT=/s:$: $(LDFLAGS):g' \
|
||||
"${MKF}.in" \
|
||||
|| die "Sed failed for ${MKF}"
|
||||
makefiles+=" ${MKF}"
|
||||
done
|
||||
# autodetection of compiler and settings; generates the modified Makefiles
|
||||
cp "${FILESDIR}"/configure.ac-2.2 configure.ac
|
||||
sed -i -e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
|
||||
configure.ac || die "Sed failed for configure.ac"
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf
|
||||
|
||||
# Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
|
||||
# also, don't define ANSI/c99 for lua twice
|
||||
sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC AR RANLIB
|
||||
|
||||
local myconf=""
|
||||
|
||||
if use tcmalloc ; then
|
||||
myconf="${myconf} USE_TCMALLOC=yes"
|
||||
elif use jemalloc ; then
|
||||
myconf="${myconf} JEMALLOC_SHARED=yes"
|
||||
else
|
||||
myconf="${myconf} MALLOC=yes"
|
||||
fi
|
||||
|
||||
emake ${myconf} V=1 CC="${CC}" AR="${AR} rcu" RANLIB="${RANLIB}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/
|
||||
doins redis.conf sentinel.conf
|
||||
use prefix || fowners redis:redis /etc/{redis,sentinel}.conf
|
||||
fperms 0644 /etc/{redis,sentinel}.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis.confd" redis
|
||||
newinitd "${FILESDIR}/redis.initd-4" redis
|
||||
|
||||
systemd_newunit "${FILESDIR}/redis.service-2" redis.service
|
||||
systemd_newtmpfilesd "${FILESDIR}/redis.tmpfiles" redis.conf
|
||||
|
||||
dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README
|
||||
|
||||
dobin src/redis-cli
|
||||
dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-dump
|
||||
fperms 0750 /usr/sbin/redis-benchmark
|
||||
dosym /usr/sbin/redis-server /usr/sbin/redis-sentinel
|
||||
|
||||
if use prefix; then
|
||||
diropts -m0750
|
||||
else
|
||||
diropts -m0750 -o redis -g redis
|
||||
fi
|
||||
keepdir /var/{log,lib}/redis
|
||||
}
|
@ -1,116 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils flag-o-matic systemd toolchain-funcs user
|
||||
|
||||
DESCRIPTION="A persistent caching system, key-value and data structures database"
|
||||
HOMEPAGE="http://redis.io/"
|
||||
SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="amd64 ~arm hppa ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
|
||||
IUSE="+jemalloc tcmalloc test"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=">=dev-lang/lua-5.1:*
|
||||
tcmalloc? ( dev-util/google-perftools )
|
||||
jemalloc? ( >=dev-libs/jemalloc-3.2 )"
|
||||
DEPEND="virtual/pkgconfig
|
||||
>=sys-devel/autoconf-2.63
|
||||
test? ( dev-lang/tcl:0= )
|
||||
${RDEPEND}"
|
||||
REQUIRED_USE="?? ( tcmalloc jemalloc )"
|
||||
|
||||
S="${WORKDIR}/${PN}-${PV/_/-}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup redis 75
|
||||
enewuser redis 75 -1 /var/lib/redis redis
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.8.3-shared.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.8.17-config.patch
|
||||
epatch "${FILESDIR}"/${PN}-3.0.0-sharedlua.patch
|
||||
|
||||
# Copy lua modules into build dir
|
||||
cp "${S}"/deps/lua/src/{fpconv,lua_bit,lua_cjson,lua_cmsgpack,lua_struct,strbuf}.c "${S}"/src || die
|
||||
cp "${S}"/deps/lua/src/{fpconv,strbuf}.h "${S}"/src || die
|
||||
# Append cflag for lua_cjson
|
||||
# https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61
|
||||
append-cflags "-DENABLE_CJSON_GLOBAL"
|
||||
|
||||
# now we will rewrite present Makefiles
|
||||
local makefiles=""
|
||||
for MKF in $(find -name 'Makefile' | cut -b 3-); do
|
||||
mv "${MKF}" "${MKF}.in"
|
||||
sed -i -e 's:$(CC):@CC@:g' \
|
||||
-e 's:$(CFLAGS):@AM_CFLAGS@:g' \
|
||||
-e 's: $(DEBUG)::g' \
|
||||
-e 's:$(OBJARCH)::g' \
|
||||
-e 's:ARCH:TARCH:g' \
|
||||
-e '/^CCOPT=/s:$: $(LDFLAGS):g' \
|
||||
"${MKF}.in" \
|
||||
|| die "Sed failed for ${MKF}"
|
||||
makefiles+=" ${MKF}"
|
||||
done
|
||||
# autodetection of compiler and settings; generates the modified Makefiles
|
||||
cp "${FILESDIR}"/configure.ac-2.2 configure.ac
|
||||
sed -i -e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
|
||||
configure.ac || die "Sed failed for configure.ac"
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf
|
||||
|
||||
# Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
|
||||
# also, don't define ANSI/c99 for lua twice
|
||||
sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC AR RANLIB
|
||||
|
||||
local myconf=""
|
||||
|
||||
if use tcmalloc ; then
|
||||
myconf="${myconf} USE_TCMALLOC=yes"
|
||||
elif use jemalloc ; then
|
||||
myconf="${myconf} JEMALLOC_SHARED=yes"
|
||||
else
|
||||
myconf="${myconf} MALLOC=yes"
|
||||
fi
|
||||
|
||||
emake ${myconf} V=1 CC="${CC}" AR="${AR} rcu" RANLIB="${RANLIB}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/
|
||||
doins redis.conf sentinel.conf
|
||||
use prefix || fowners redis:redis /etc/{redis,sentinel}.conf
|
||||
fperms 0644 /etc/{redis,sentinel}.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis.confd" redis
|
||||
newinitd "${FILESDIR}/redis.initd-4" redis
|
||||
|
||||
systemd_newunit "${FILESDIR}/redis.service-2" redis.service
|
||||
systemd_newtmpfilesd "${FILESDIR}/redis.tmpfiles" redis.conf
|
||||
|
||||
dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README
|
||||
|
||||
dobin src/redis-cli
|
||||
dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-dump
|
||||
fperms 0750 /usr/sbin/redis-benchmark
|
||||
dosym /usr/sbin/redis-server /usr/sbin/redis-sentinel
|
||||
|
||||
if use prefix; then
|
||||
diropts -m0750
|
||||
else
|
||||
diropts -m0750 -o redis -g redis
|
||||
fi
|
||||
keepdir /var/{log,lib}/redis
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
MY_A="apache-${P}-src"
|
||||
MY_P="${MY_A/-servlet-api/}"
|
||||
DESCRIPTION="Tomcat's Servlet API 3.1/JSP API 2.3/EL API 3.0 implementation"
|
||||
HOMEPAGE="http://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-8/v${PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.7"
|
||||
RDEPEND=">=virtual/jre-1.7"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml"
|
||||
rm -fR */*/build.xml
|
||||
einfo "Removing bundled jars and classes"
|
||||
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} +
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}"/output/build/lib/*.jar
|
||||
use source && java-pkg_dosrc java/javax/servlet/
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST httplib2-0.10.3.tar.gz 204500 SHA256 e404d3b7bd86c1bc931906098e7c1305d6a3a6dcef141b8bb1059903abb3ceeb SHA512 d024986ffd577858017d7a8cfcae98a6cd04b8c89634ea302df4c1443eb2381cecca6ffbb631c9d4260335a3462df6d5604ec485aa591a05cb0231a3f6745aaa WHIRLPOOL da205bc1bb5ed6d253c857381300eb0eefe9e409abf87799f5706809eb2d06ac76322f03cf6480f1105c5d0c5820c8842268c0bd2af3496828c201c6d01a4689
|
||||
DIST httplib2-0.9.2.tar.gz 205165 SHA256 c3aba1c9539711551f4d83e857b316b5134a1c4ddce98a875b7027be7dd6d988 SHA512 cf1684f2d072588bc676c02491667480bdd2be0b3494703129d9cfa339d1233e14c0b4895b174d4c2ec5e2f5ae265d165b4e001b180f39f81db2178f91a032f8 WHIRLPOOL d795a016202821870e890531011e7c1c51dbc52f78f79ccf078e85fb3c1155dcf996b2e629b450ba79e34ccdda41e3df3d80293e102c39a76a57d174e51a884e
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A comprehensive HTTP client library"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/httplib2 https://github.com/jcgregorio/httplib2"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
# tests connect to random remote sites
|
||||
RESTRICT="test"
|
||||
|
||||
python_prepare_all() {
|
||||
chmod o+r */*egg*/* || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
if [[ ${EPYTHON} == python2.7 ]] ; then
|
||||
cd python2 || die
|
||||
else
|
||||
cd python3 || die
|
||||
fi
|
||||
|
||||
"${PYTHON}" httplib2test.py || die
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-perception/image_common"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
ROS_SUBDIR=${PN}
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Routines for reading and writing camera calibration parameters"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
|
||||
dev-libs/boost:=[python]
|
||||
dev-ros/rosconsole
|
||||
>=dev-cpp/yaml-cpp-0.5
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-python/nose )
|
||||
"
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-perception/image_common"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
ROS_SUBDIR=${PN}
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Routines for reading and writing camera calibration parameters"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
|
||||
dev-libs/boost:=[python]
|
||||
dev-ros/rosconsole
|
||||
>=dev-cpp/yaml-cpp-0.5
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-python/nose )
|
||||
"
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-perception/image_common"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
ROS_SUBDIR=${PN}
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Routines for reading and writing camera calibration parameters"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
|
||||
dev-libs/boost:=
|
||||
dev-ros/rosconsole
|
||||
>=dev-cpp/yaml-cpp-0.5
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-python/nose )
|
||||
"
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-perception/image_common"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
ROS_SUBDIR=${PN}
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Routines for reading and writing camera calibration parameters"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
|
||||
dev-libs/boost:=
|
||||
dev-ros/rosconsole
|
||||
>=dev-cpp/yaml-cpp-0.5
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-python/nose )
|
||||
"
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-perception/image_common"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
ROS_SUBDIR=${PN}
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Routines for reading and writing camera calibration parameters"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
|
||||
dev-libs/boost:=[python]
|
||||
dev-ros/rosconsole
|
||||
>=dev-cpp/yaml-cpp-0.5
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-python/nose )
|
||||
"
|
@ -0,0 +1,20 @@
|
||||
Revert special handling not needed on Gentoo.
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=608330
|
||||
|
||||
Index: camera_calibration_parsers/CMakeLists.txt
|
||||
===================================================================
|
||||
--- camera_calibration_parsers.orig/CMakeLists.txt
|
||||
+++ camera_calibration_parsers/CMakeLists.txt
|
||||
@@ -4,11 +4,7 @@ project(camera_calibration_parsers)
|
||||
find_package(catkin REQUIRED sensor_msgs rosconsole roscpp roscpp_serialization)
|
||||
|
||||
find_package(PythonLibs REQUIRED)
|
||||
-if(PYTHONLIBS_VERSION_STRING VERSION_LESS 3)
|
||||
- find_package(Boost REQUIRED COMPONENTS filesystem python)
|
||||
-else()
|
||||
- find_package(Boost REQUIRED COMPONENTS filesystem python3)
|
||||
-endif()
|
||||
+find_package(Boost REQUIRED COMPONENTS filesystem python)
|
||||
include_directories(include ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${PYTHON_INCLUDE_DIRS})
|
||||
|
||||
catkin_python_setup()
|
@ -1,5 +1,3 @@
|
||||
DIST acts_as_list-0.7.7.gem 25600 SHA256 dca206b32860e6c846f747bc3fd4a820875830f7926260d0b093200b4b33e982 SHA512 e343c839ce4399851c33746c68aaec95b3b5e526943c9bd5209a5d2793ba18c53620b6084589271ea88d504ee6f9fed6e8a332e2da52ce3cac89a1f2abed5954 WHIRLPOOL 2a8f17b451033b96b3eb82dfe5d234ca07fbdff3028b373ea95359ba2a6e60a6e951cdb01af508bb8a44c832fd2cfda33b0f7bb0cf98a4345f96929a1e76d23d
|
||||
DIST acts_as_list-0.8.1.gem 26624 SHA256 2df2d08e8be17dc51169b730649abec5c4d342d511769e5e40f5e826069f84b5 SHA512 1d2e3b934a8846097662cfe4af81392eb0d176ff08a4c4ef6e422cf5404e9daacc0c5478642f4ef15d9874aca9aee7788b54077b958b96ca9cecf2b50343c8b8 WHIRLPOOL a65793c8b5821613d0585615945eab08caefb94cb89d5427d6f1c347833a741d0bef16461ea05a95c479755d0a7f90ab8b3546e45df5ef0093acc64ea05d87ee
|
||||
DIST acts_as_list-0.8.2.gem 26624 SHA256 999df2ddddecbc5b0a502b34f518ab6fe0e54bad62ef68f5d7acf019e5d9978a SHA512 145ee906252253fb436036d0a2bada7693039b87d9209dc31b5714b51579afe53201252ab1772aea0cdcb3450822e6ca8c47e89085aa2587c1c608f4d437d03e WHIRLPOOL 25e9d7ddc05facbea4dc5aa8f37227363198ec40b133e3ef6fbc067c2b730b704aab2c15066ef9d30cfac0131e329f5e019b1a397655546209fdb8204dc0baf4
|
||||
DIST acts_as_list-0.9.0.gem 30208 SHA256 501ba3d906ecff7a5d0078d1e3e831af716611f3ac1117d9e5252a1274ff7c66 SHA512 0e83cfd2dc07dcf71d54520df97787cf6ce5b4e21070c4e1372118f07f84d07ad7658d688920aad73b4b7f0e5bbde4399c0b51ae3e17944b7a51ea30d8a1d150 WHIRLPOOL bad8b00a8fd16b980ac7c4b0aef61ad7cf641ecb375a297e0b6b23cb0a2bf929f5d1e0ad8e21f819e80b92aef03bf2dfb1cf6586643b0b17521d305b99ef0ce9
|
||||
DIST acts_as_list-0.9.1.gem 31232 SHA256 b1c9b1ee656ab64f592c972f2778efe142bd116311964341abf373c5420e46a8 SHA512 e9116181603dbf1c661a3f6c6ad67a403cd213acfe6d6d270cc34318c60c48e259309242cd6c0ba80cbcd04778ba41d0a8eff96ded7397c8b642f5e66a9b1881 WHIRLPOOL 62213eabc1ca599ffa1d5b6b6ca5dc1b298b81dbb6f8198999a7adc4e0dcb5d7b29a22d58b804c7a2185bf2bdf20358e2c0b73a8d7eb5bc95537940a0aa55d93
|
||||
DIST acts_as_list-0.9.2.gem 31232 SHA256 dbabd5135abd57e684bc0298397c71acbde2a5fdaf04b61c2322867540b7ab32 SHA512 7d83e0c624179627c52a227924296dbb8f749218f09b4b72155587b6dc07eb359dc57d9b7ac4d08f0bc470ab40aa1f67a42c9b7b3b3def709d68096061cd04ad WHIRLPOOL fb18d581de3988f54eff0beb1cc477883c0f813a4e94d93e5b978ceb3d36f1dd38e1699459261cf992385c2037d1a6dffa2b3ca85f4017ac68e7ec6af9beee28
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="init.rb"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
DESCRIPTION="Capabilities for sorting and reordering a number of objects in a list"
|
||||
HOMEPAGE="https://github.com/swanandp/acts_as_list"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3"
|
||||
KEYWORDS="~amd64 ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/activerecord-3:*"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/test-unit:2
|
||||
dev-ruby/activerecord[sqlite]
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm Gemfile || die
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
sed -i -e '1,9 s:^:#:' test/helper.rb || die
|
||||
sed -i -e '/git ls/d' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
sed -i -e '/github_changelog/,$ s:^:#:' Rakefile || die
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="init.rb"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
DESCRIPTION="Capabilities for sorting and reordering a number of objects in a list"
|
||||
HOMEPAGE="https://github.com/swanandp/acts_as_list"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3"
|
||||
KEYWORDS="~amd64 ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/activerecord-3:*"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/test-unit:2
|
||||
dev-ruby/activerecord[sqlite]
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm Gemfile || die
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
sed -i -e '1,9 s:^:#:' test/helper.rb || die
|
||||
sed -i -e '/git ls/d' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
sed -i -e '/github_changelog/,$ s:^:#:' Rakefile || die
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="An easy-to-use client library for making requests from Ruby"
|
||||
HOMEPAGE="https://github.com/tarcieri/http"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2.0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/addressable-2.3
|
||||
>=dev-ruby/http-cookie-1.0
|
||||
>=dev-ruby/http-form_data-1.0.1:1.0
|
||||
>=dev-ruby/http_parser_rb-0.6.0 =dev-ruby/http_parser_rb-0.6*"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? ( dev-ruby/certificate_authority dev-ruby/rspec-its )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/simplecov/,/end/ s:^:#:' \
|
||||
-e '1irequire "cgi"' spec/spec_helper.rb || die
|
||||
|
||||
# Avoid specs that require network access
|
||||
sed -i -e '/.persistent/,/^ end/ s:^:#:' \
|
||||
spec/lib/http_spec.rb || die
|
||||
sed -i -e '/with non-ASCII URLs/,/^ end/ s:^:#:' \
|
||||
spec/lib/http/client_spec.rb || die
|
||||
|
||||
# Avoid spec that may fail with a running web server
|
||||
sed -i -e '/unifies socket errors into HTTP::ConnectionError/,/^ end/ s:^:#:' spec/lib/http_spec.rb || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST net-http-digest_auth-1.4.1.gem 13824 SHA256 4b8ad50ed8d180a58db5d6c49449b987dd0466fe01e24037945bc007562a08db SHA512 db62d49815a96cabde5836b00a1df58d6277f9efafae78e27296b1e2f4410ea613aed2181f8e39f08af5bbf6f5f758d682e1250d0afd4fe8243fb0d5c7fe78b7 WHIRLPOOL 1d7dadc940831bf572020415066e2a1e7f4f58c8c9e386c03b32ef86542216675ecc125dd79f591216074cfc60434bbf0c9f4af8f0a222a3434a56541792fd6d
|
||||
DIST net-http-digest_auth-1.4.gem 13312 SHA256 11f7a8c13e801455dedd8864339d5fcd6536949b99ec9b3eae193c32f20b0091 SHA512 a743b278bba44541835f28ed86f94a907f7b48e8f314f0cbe6e14888a1d723c0d60cd4bbde5ac02cd263d91a5803021d9fa073d55077ac2b4c2767ebb65624cd WHIRLPOOL 4561e9a11a0601fefa74caaebbd7bef0733f26c7c2e96b4f59bf3b9c2c95d1ecd14d86e9fc4e2f80f086e4b5ce3a17ccf8446c715b8f641ca07874b5f44ad494
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby21 ruby22 ruby23 ruby24"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="History.txt README.txt"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="An implementation of RFC 2617 - Digest Access Authentication"
|
||||
HOMEPAGE="https://github.com/drbrain/net-http-digest_auth"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/hoe dev-ruby/minitest )"
|
@ -1,2 +1,3 @@
|
||||
DIST cmake-3.6.3.tar.gz 6919949 SHA256 7d73ee4fae572eb2d7cd3feb48971aea903bb30a20ea5ae8b4da826d8ccad5fe SHA512 bfcb51bc01f64a6ae5fb9401c037a529e4b2c0216eef68cf862a7495560dfc80589b34af94450baf4561d217dfb8075b14fbf63e3a668943a65e36ea61c5df48 WHIRLPOOL ecf79bb1a4b18df07d15ed5cdeb513420a0b8d46f90154dbdf9a78d3294e202ade040e832f3479fca0889c4af3b3b50e0d9391120191bae390927888e6487b4a
|
||||
DIST cmake-3.7.2.tar.gz 7361593 SHA256 dc1246c4e6d168ea4d6e042cfba577c1acd65feea27e56f5ff37df920c30cae0 SHA512 b2ed0192e12267de19eb178c2dedc69d06fc33dfadd47efbe0ccf6969ad72d290fa4bff02861c379a8752337d67d2485d7e1ba947cb219f2e4041a53a195e88d WHIRLPOOL 1861fe2887f4483856e1964ff1492e196624d3072ad1e21910fba29d0c0d654e7d5035571648386a77cd6cbe895f8cdfbb1f4cc1ad60d14015a01a22494456f7
|
||||
DIST cmake-3.8.0-rc1.tar.gz 7496355 SHA256 320a4820d34e1733f14f9ddf0fdd0de90354516260a056246afb0f670afa4d94 SHA512 538e8f7b9d03a75603d81217e01fcb82abb49abf0f9e3b9e331eaa53bec698bd32e255a486a0287c826f7a7b623648867fbd877af22fdae02eb75b2a4ce804f6 WHIRLPOOL 17d43066715a193cf145e56c4a76f54c3cb81bd27e3c6dd7c2f340507606d294f1a7ae2ca655bf605764f16d7f404c726fe6fd50998786b9f2523f1596f94e72
|
||||
|
@ -0,0 +1,200 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
CMAKE_REMOVE_MODULES="no"
|
||||
inherit bash-completion-r1 elisp-common toolchain-funcs eutils versionator cmake-utils virtualx flag-o-matic
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
|
||||
DESCRIPTION="Cross platform Make"
|
||||
HOMEPAGE="http://www.cmake.org/"
|
||||
SRC_URI="http://www.cmake.org/files/v$(get_version_component_range 1-2)/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="CMake"
|
||||
SLOT="0"
|
||||
[[ "${PV}" = *_rc* ]] || \
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc emacs system-jsoncpp ncurses qt5"
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/rhash
|
||||
>=app-arch/libarchive-3.0.0:=
|
||||
>=dev-libs/expat-2.0.1
|
||||
>=dev-libs/libuv-1.0.0:=
|
||||
>=net-misc/curl-7.21.5[ssl]
|
||||
sys-libs/zlib
|
||||
virtual/pkgconfig
|
||||
emacs? ( virtual/emacs )
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
)
|
||||
system-jsoncpp? ( >=dev-libs/jsoncpp-0.6.0_rc2:0= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
PATCHES=(
|
||||
# prefix
|
||||
"${FILESDIR}"/${PN}-3.4.0_rc1-darwin-bundle.patch
|
||||
"${FILESDIR}"/${PN}-3.0.0-prefix-dirs.patch
|
||||
"${FILESDIR}"/${PN}-3.1.0-darwin-isysroot.patch
|
||||
|
||||
# handle gentoo packaging in find modules
|
||||
"${FILESDIR}"/${PN}-2.8.12.1-FindImageMagick.patch
|
||||
"${FILESDIR}"/${PN}-3.0.0-FindBLAS.patch
|
||||
"${FILESDIR}"/${PN}-3.0.0-FindBoost-python.patch
|
||||
"${FILESDIR}"/${PN}-3.0.2-FindLAPACK.patch
|
||||
"${FILESDIR}"/${PN}-3.5.2-FindQt4.patch
|
||||
|
||||
# respect python eclasses
|
||||
"${FILESDIR}"/${PN}-2.8.10.2-FindPythonLibs.patch
|
||||
"${FILESDIR}"/${PN}-3.1.0-FindPythonInterp.patch
|
||||
|
||||
# upstream fixes (can usually be removed with a version bump)
|
||||
)
|
||||
|
||||
cmake_src_bootstrap() {
|
||||
# Cleanup args to extract only JOBS.
|
||||
# Because bootstrap does not know anything else.
|
||||
echo ${MAKEOPTS} | egrep -o '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' > /dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
par_arg=$(echo ${MAKEOPTS} | egrep -o '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' | tail -n1 | egrep -o '[[:digit:]]+')
|
||||
par_arg="--parallel=${par_arg}"
|
||||
else
|
||||
par_arg="--parallel=1"
|
||||
fi
|
||||
|
||||
# disable running of cmake in boostrap command
|
||||
sed -i \
|
||||
-e '/"${cmake_bootstrap_dir}\/cmake"/s/^/#DONOTRUN /' \
|
||||
bootstrap || die "sed failed"
|
||||
|
||||
# execinfo.h on Solaris isn't quite what it is on Darwin
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
sed -i -e 's/execinfo\.h/blablabla.h/' Source/kwsys/CMakeLists.txt || die
|
||||
fi
|
||||
|
||||
tc-export CC CXX LD
|
||||
|
||||
# bootstrap script isn't exactly /bin/sh compatible
|
||||
${CONFIG_SHELL:-sh} ./bootstrap \
|
||||
--prefix="${T}/cmakestrap/" \
|
||||
${par_arg} \
|
||||
|| die "Bootstrap failed"
|
||||
}
|
||||
|
||||
cmake_src_test() {
|
||||
# fix OutDir and SelectLibraryConfigurations tests
|
||||
# these are altered thanks to our eclass
|
||||
sed -i -e 's:#IGNORE ::g' \
|
||||
"${S}"/Tests/{OutDir,CMakeOnly/SelectLibraryConfigurations}/CMakeLists.txt \
|
||||
|| die
|
||||
|
||||
pushd "${BUILD_DIR}" > /dev/null
|
||||
|
||||
local ctestargs
|
||||
[[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure"
|
||||
|
||||
# Excluded tests:
|
||||
# BootstrapTest: we actualy bootstrap it every time so why test it.
|
||||
# BundleUtilities: bundle creation broken
|
||||
# CTest.updatecvs: which fails to commit as root
|
||||
# Fortran: requires fortran
|
||||
# Qt4Deploy, which tries to break sandbox and ignores prefix
|
||||
# TestUpload, which requires network access
|
||||
"${BUILD_DIR}"/bin/ctest ${ctestargs} \
|
||||
-E "(BootstrapTest|BundleUtilities|CTest.UpdateCVS|Fortran|Qt4Deploy|TestUpload)" \
|
||||
|| die "Tests failed"
|
||||
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
# Add gcc libs to the default link paths
|
||||
sed -i \
|
||||
-e "s|@GENTOO_PORTAGE_GCCLIBDIR@|${EPREFIX}/usr/${CHOST}/lib/|g" \
|
||||
-e "s|@GENTOO_PORTAGE_EPREFIX@|${EPREFIX}/|g" \
|
||||
Modules/Platform/{UnixPaths,Darwin}.cmake || die "sed failed"
|
||||
if ! has_version \>=${CATEGORY}/${PN}-3.4.0_rc1 ; then
|
||||
CMAKE_BINARY="${S}/Bootstrap.cmk/cmake"
|
||||
cmake_src_bootstrap
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Fix linking on Solaris
|
||||
[[ ${CHOST} == *-solaris* ]] && append-ldflags -lsocket -lnsl
|
||||
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_USE_SYSTEM_LIBRARIES=ON
|
||||
-DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=$(usex system-jsoncpp)
|
||||
-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
|
||||
-DCMAKE_DOC_DIR=/share/doc/${PF}
|
||||
-DCMAKE_MAN_DIR=/share/man
|
||||
-DCMAKE_DATA_DIR=/share/${PN}
|
||||
-DSPHINX_MAN=$(usex doc)
|
||||
-DSPHINX_HTML=$(usex doc)
|
||||
-DBUILD_CursesDialog="$(usex ncurses)"
|
||||
)
|
||||
|
||||
if use qt5 ; then
|
||||
mycmakeargs+=(
|
||||
-DBUILD_QtDialog=ON
|
||||
$(cmake-utils_use_find_package qt5 Qt5Widgets)
|
||||
)
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
use emacs && elisp-compile Auxiliary/cmake-mode.el
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx cmake_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use emacs; then
|
||||
elisp-install ${PN} Auxiliary/cmake-mode.el Auxiliary/cmake-mode.elc
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins Auxiliary/vim/syntax/cmake.vim
|
||||
|
||||
insinto /usr/share/vim/vimfiles/indent
|
||||
doins Auxiliary/vim/indent/cmake.vim
|
||||
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
doins "${FILESDIR}/${PN}.vim"
|
||||
|
||||
dobashcomp Auxiliary/bash-completion/{${PN},ctest,cpack}
|
||||
|
||||
rm -r "${ED}"/usr/share/cmake/{completions,editors} || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST ballerburg-1.2.0.tar.gz 99910 SHA256 0625f4b213c1180f2cb2179ef2bc6ce35c7e99db2b27306a8690c389ceac6300 SHA512 d9a911e811871604650df0224633c5338570ed5eee9a2f3eecb35bc012388b9296878b62b2459965c0766dd7e7cded9a23168f39346a2300aac9e9fe4f478760 WHIRLPOOL f51b4df72f985cc0d7e52b9ea7c0666f3857a57743a41034b4d5a99e34abe4160daf2a9a16381b4e0453131e5fa900bff0e923ad3768c47a977bb9b7243f3ee4
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Linux port of the classical Atari ST game Ballerburg"
|
||||
HOMEPAGE="http://baller.tuxfamily.org/"
|
||||
SRC_URI="http://download.tuxfamily.org/baller/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="media-libs/libsdl"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>dilfridge@gentoo.org</email>
|
||||
<name>Andreas K. Huettel</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,5 +1,5 @@
|
||||
DIST exim-4.88.tar.bz2 1824610 SHA256 119d5fd7e31fc224e84dfa458fe182f200856bae7adf852a8287c242161f8a2d SHA512 ea094bf703628c201de119fc5f09539475e52158e935f8f2a9e4138c4a1bfe885017145c3cc5e22aa9087b195091955c69385ebf1ea0baec64ed5c1b8e3b1caf WHIRLPOOL d2d8c404217fcc5bbc7bc18500456f2709a099b0a31d4930343b836c35c62e3914fa1c686ea7d9ba5eea95f0caab13c3b76c1508eda74cb75dabb0d61472428e
|
||||
DIST exim-4.89_RC2.tar.bz2 1840130 SHA256 1c73a672986d7f77ea1257e166b0c44553dc17c64f4f7386cd5b5cdeb572dd01 SHA512 f417e6f8d6e0fa13d226fd6351ebb0a7a2fef9f184258faac832835f2996f7aaea2562d1c7e6a20ff9fac2f96bc5bbdfcb031eed05c5223f352ca08bca3ba70f WHIRLPOOL a403e4296fa557b6c0ca89c45cc493f4e884d52e4755f5e94219819dd1beb0b3181c038ce4804560299e4080e19bd18a27d7bc33960cdfe0cbe51c18bc61d4b4
|
||||
DIST exim-4.89_RC3.tar.bz2 1840554 SHA256 f9db70feb2dfd074c407cc2960b21e63d57575fdc262f618322e247803f260fc SHA512 442baad509c72a51c06573516de490a425a1edfd69906ee3c33b07511f5a0d70314cd6d7cf2041f5578e71258689ac97d695b9040203c3a7a562b636d399b5b7 WHIRLPOOL 34302284f9fd0d48457719c4e75f608c95fb7daf679cbe15fd02c543effc0f577b991774cd59b9e0e8b7b25d9f4b91befbea099bf16ae9865d95363dfefdaa28
|
||||
DIST exim-pdf-4.88.tar.bz2 1922494 SHA256 33736fafb45c5922fcbc0def7626f46cb74927987b78943aa26949ef30789574 SHA512 8c4f580fa319c0285bcb49056ecd72b056cbbfa287a15a4d856965b4218469c85607ec7321ae0f2ba3be868f05a70a7fb8a77d5836a574417e6bffc64720bee5 WHIRLPOOL 7e3e65c58cc9a313d3440de6b79ed4f113ea265e39201aa2d36c091037c2b20718bd49f04e99f2aa029a20d238cd21178762e2ba6b470596309e83fb3ffc542b
|
||||
DIST exim-pdf-4.89_RC2.tar.bz2 1925600 SHA256 b1e5c91e4244971d8dea1af8163bc9b630f398abdc469de993505e35e695ee53 SHA512 8f547bb4ce46c72a0b6dffa6a7a351576a073d4c9db3902a0493f0095bd1150989a5c25a56e3a5346585cef8dc956c38f2999a6399200c899dce6305c71b1289 WHIRLPOOL b6a76582409ca75af0156fc158de02f68bd7450af7926deed3df813382f5136ef919eb58fb8276db41edf6b017d8301a3a6ae6a9210ca1a63d67dfb68636820c
|
||||
DIST exim-pdf-4.89_RC3.tar.bz2 1924260 SHA256 93a34399096e1272ee8e4dcb6e3ec5bd09a7b084b14876e97e7685d97fa2c4bf SHA512 2504d7b482348ab67f6d9572ed4118c88e90ed44729267c05b769e6ae65ae42f28cb8095822a1e0588d1bcaf8b070e3e641b8fd8098c37656aa01ea2637ed343 WHIRLPOOL cb87c9d56a9b2a9a869484fe537daf9ee3dadc3469e22da1bc8523f838a22e263187d9b3493485301f13f44fca046fd3dd71079726077767802bc7eabcf4b821
|
||||
DIST system_filter.exim.gz 3075 SHA256 3a3471b486a09e0a0153f7b520e1eaf26d21b97d73ea8348bdc593c00eb1e437 SHA512 cb358d3ce2499a0bb5920d962a06f2af8486e55ec90c8c928bd8e3aefb279aa57f5f960d5adfcef68bd94110b405eaa144e9629cfe6014a529c79c544600bbf3 WHIRLPOOL ce68d9c18b24eca3ef97ea810964cc1ada5f85b795a7c432ad39b5788188a16419101c92fb52b418738d760e1d658f7a41485e5561079a667d84d276c71be5a4
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST tlf-1.2.2.tar.gz 594524 SHA256 dc4bd660cfd145ed193993bf7dfb1544b05b2f615a8fe5d2cc6da1403a9744ed SHA512 0d1fb92f03c56356eaa8750ca5d35b446a3621717a75fdb1b2c40bafd442546f42c95341f5d645ab75cc8cf128bfd537fbdee29d18179ac7a96f5ac33b7329b4 WHIRLPOOL 934e9c045ce9c5bf5115f63339ff635b9bd9218963d0948e4eca9df7389757f3ed4699412c9465aca9301cba3632b169666cbce602a96cf131dde2e55f49e1f2
|
||||
DIST tlf-1.2.4.1.tar.gz 630258 SHA256 59cb8d78dbe1fa5e8ddc3f1973c5e8e41ffa1d8bef3723ced2c69ddca6692333 SHA512 567308c51f60179c21543b1046c0d2b7ecc8e63396f80a85ee386e1faa7e6ea2087907ac845dff97154b6badfaf1f7b0e69fbd21ec1d18ece48c42fa38a019c0 WHIRLPOOL c402bb9d30f8376c02e4ecf1fe198a81e92e6f6c729de144ed92792ce7ae60518a345884b55def90b5cd280b49f6b730526c61e1992708a5a0ca8227a94a4e8b
|
||||
DIST tlf-1.2.4.5.tar.gz 634533 SHA256 57f10a1dcbb6b54759790c22824b3c4d5d30fe6b93413f0c8359c4e03ab092bd SHA512 e432f383a138e5c43785bd6fadd35044cf8652d32293a5339ae72830489948bd6bb72669706b26464638f2325a0e1e8165e652c8a9cc6d9ee6b60c9c172be2cb WHIRLPOOL f6e53a5a3737aa13cc210986e89b35b6c4383289908b397370ee9131da3c8a99dab36ec76681099cd6e1a3091b74b671095c076eb12840648d85e2fae985c4a8
|
||||
DIST tlf-1.3.0.tar.gz 643783 SHA256 b440e0181cf6d2e5349244afe96b34a4905eb32b09e4b407f4d94b9df4c6057a SHA512 c2c1f7ce8ff74b94fe0538fb6cd39d2e1b70d392c0e050ce60a107a085406edc83ee54fd18d42a1dcb688859c53072f9918cba4d8001889189b337eded0374c7 WHIRLPOOL 62e9e9a7a9a40d78584cac2c2dc1467b657ce10a2613de70194d76e5a58a0284a42d3b0972e4f9b99f1494707e0110f248a84ef1be895ba496f5c9165f8223c9
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils flag-o-matic multilib
|
||||
|
||||
DESCRIPTION="Console-mode amateur radio contest logger"
|
||||
HOMEPAGE="http://home.iae.nl/users/reinc/TLF-0.2.html"
|
||||
SRC_URI="http://www.hs-mittweida.de/tb/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="sys-libs/ncurses:=
|
||||
dev-libs/glib:2
|
||||
media-libs/hamlib
|
||||
media-sound/sox
|
||||
dev-libs/xmlrpc-c[curl]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
append-ldflags -L/usr/$(get_libdir)/hamlib
|
||||
econf --docdir=/usr/share/doc/${PF} --enable-hamlib --enable-fldigi-xmlrpc
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST ffmpeg-2.8.10.tar.bz2 8585304 SHA256 d1ce1a73503dce6e2b1e208cb93a2a8a7e89f9c64357ddc3e4da3cab33dea9c9 SHA512 1ca8b0060361c49de201afc463bcd7c9340f09bbd116dff2539653bc36411d60cdf667874d2ec51664e141ee7a7be8bebc94e158687cb97db6bdfa40f00ec193 WHIRLPOOL 4ff9271290c138ad5caa50835da9fd6685fabf5a589cb6c068cfff6698ded948d93e9d40656dca3b516f9e591119d204e6283d57f7d2f0747a4f7ef9b322ebce
|
||||
DIST ffmpeg-3.2.3.tar.bz2 9614810 SHA256 e9a41be04e8a7f62f83d0ff5ecaa9c82a857f9200f61b02ef5f304a16fb9b072 SHA512 97f44497b2b9beccbefe8c28e1f82629e74537a585720323adc60620af2782d376498fd3558ddf0d39b9010cbddc3fb62907e3c214ccac72ec1fcbd64baf4b0f WHIRLPOOL 1b45cdc6e0eac48d65105fe04b3eea1ae6ae719abbfa5700d4e103e061e69a47caab544f71de8fce3d8c3aa83bba2e452b1b4a06c8e2c0aad3ec5f6bf34ff249
|
||||
DIST ffmpeg-2.8.11.tar.bz2 8582471 SHA256 9987e0f6b1f66311390f807a0c18ad9c90652b5097cff17b3dcbeabdd89f8d32 SHA512 60749897dccde1ff2840be9679f6e10118c7313bbeb1b07bb36acf7f311010f484259df9a4a43e60373726de9d6b54675e1961cc7b40646107142f8f42ea1601 WHIRLPOOL 4b71d63a1bbd63ebaa90b3c581f5d2c38e1a74c37044ad80fbf44b857d3d76722d3833da53575aa744779d9dd9a3dc0e41e9706611ba0899ab23c91ad17caa5f
|
||||
DIST ffmpeg-3.2.4.tar.bz2 9612274 SHA256 c0fa3593a2e9e96ace3c1757900094437ad96d1d6ca19f057c378b5f394496a4 SHA512 ba5004d0f2659faa139c7dbf2f0fc6bab1d4e017d919f4ac271a5d2e8e4a3478909176e3a4d1ad33ddf2f62ab28dd9e00ce9be1399efb7cb3276dde79134cdaa WHIRLPOOL e97a19541f990f86b8adbdc3fd20115258e5644b98a5c7f4e075f8f1320881da33fb9be969d8a5e20d79eea4c63b1c9510841b5cf0d5b479408ff231d3ba69cc
|
||||
|
@ -0,0 +1,458 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
# Subslot: libavutil major.libavcodec major.libavformat major
|
||||
# Since FFmpeg ships several libraries, subslot is kind of limited here.
|
||||
# Most consumers will use those three libraries, if a "less used" library
|
||||
# changes its soname, consumers will have to be rebuilt the old way
|
||||
# (preserve-libs).
|
||||
# If, for example, a package does not link to libavformat and only libavformat
|
||||
# changes its ABI then this package will be rebuilt needlessly. Hence, such a
|
||||
# package is free _not_ to := depend on FFmpeg but I would strongly encourage
|
||||
# doing so since such a case is unlikely.
|
||||
FFMPEG_SUBSLOT=54.56.56
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-2"
|
||||
EGIT_REPO_URI="git://source.ffmpeg.org/ffmpeg.git"
|
||||
fi
|
||||
|
||||
inherit eutils flag-o-matic multilib multilib-minimal toolchain-funcs ${SCM}
|
||||
|
||||
DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec"
|
||||
HOMEPAGE="http://ffmpeg.org/"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
else # Release
|
||||
SRC_URI="http://ffmpeg.org/releases/${P/_/-}.tar.bz2"
|
||||
fi
|
||||
FFMPEG_REVISION="${PV#*_p}"
|
||||
|
||||
SLOT="0/${FFMPEG_SUBSLOT}"
|
||||
LICENSE="
|
||||
!gpl? ( LGPL-2.1 )
|
||||
gpl? ( GPL-2 )
|
||||
amr? (
|
||||
gpl? ( GPL-3 )
|
||||
!gpl? ( LGPL-3 )
|
||||
)
|
||||
encode? (
|
||||
aac? (
|
||||
gpl? ( GPL-3 )
|
||||
!gpl? ( LGPL-3 )
|
||||
)
|
||||
amrenc? (
|
||||
gpl? ( GPL-3 )
|
||||
!gpl? ( LGPL-3 )
|
||||
)
|
||||
)
|
||||
samba? ( GPL-3 )
|
||||
"
|
||||
if [ "${PV#9999}" = "${PV}" ] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
# Options to use as use_enable in the foo[:bar] form.
|
||||
# This will feed configure with $(use_enable foo bar)
|
||||
# or $(use_enable foo foo) if no :bar is set.
|
||||
# foo is added to IUSE.
|
||||
FFMPEG_FLAG_MAP=(
|
||||
+bzip2:bzlib cpudetection:runtime-cpudetect debug doc gnutls +gpl
|
||||
+hardcoded-tables +iconv lzma +network openssl +postproc
|
||||
samba:libsmbclient sdl:ffplay sdl vaapi vdpau X:xlib xcb:libxcb
|
||||
xcb:libxcb-shm xcb:libxcb-xfixes +zlib
|
||||
# libavdevice options
|
||||
cdio:libcdio iec61883:libiec61883 ieee1394:libdc1394 libcaca openal
|
||||
opengl
|
||||
# indevs
|
||||
libv4l:libv4l2 pulseaudio:libpulse
|
||||
# decoders
|
||||
amr:libopencore-amrwb amr:libopencore-amrnb fdk:libfdk-aac
|
||||
jpeg2k:libopenjpeg bluray:libbluray celt:libcelt gme:libgme gsm:libgsm
|
||||
modplug:libmodplug opus:libopus quvi:libquvi librtmp ssh:libssh
|
||||
schroedinger:libschroedinger speex:libspeex vorbis:libvorbis vpx:libvpx
|
||||
zvbi:libzvbi
|
||||
# libavfilter options
|
||||
bs2b:libbs2b flite:libflite frei0r fribidi:libfribidi fontconfig ladspa
|
||||
libass truetype:libfreetype
|
||||
# libswresample options
|
||||
libsoxr
|
||||
# Threads; we only support pthread for now but ffmpeg supports more
|
||||
+threads:pthreads
|
||||
)
|
||||
|
||||
# Same as above but for encoders, i.e. they do something only with USE=encode.
|
||||
FFMPEG_ENCODER_FLAG_MAP=(
|
||||
aac:libvo-aacenc amrenc:libvo-amrwbenc mp3:libmp3lame
|
||||
aacplus:libaacplus faac:libfaac snappy:libsnappy theora:libtheora
|
||||
twolame:libtwolame wavpack:libwavpack webp:libwebp x264:libx264 x265:libx265
|
||||
xvid:libxvid
|
||||
)
|
||||
|
||||
IUSE="
|
||||
alsa +encode examples jack libressl oss pic static-libs test v4l
|
||||
${FFMPEG_FLAG_MAP[@]%:*}
|
||||
${FFMPEG_ENCODER_FLAG_MAP[@]%:*}
|
||||
"
|
||||
|
||||
# Strings for CPU features in the useflag[:configure_option] form
|
||||
# if :configure_option isn't set, it will use 'useflag' as configure option
|
||||
ARM_CPU_FEATURES=( armv5te armv6 armv6t2 neon armvfp:vfp )
|
||||
MIPS_CPU_FEATURES=( mipsdspr1 mipsdspr2 mipsfpu )
|
||||
PPC_CPU_FEATURES=( altivec )
|
||||
X86_CPU_FEATURES_RAW=( 3dnow:amd3dnow 3dnowext:amd3dnowext avx:avx avx2:avx2 fma3:fma3 fma4:fma4 mmx:mmx mmxext:mmxext sse:sse sse2:sse2 sse3:sse3 ssse3:ssse3 sse4_1:sse4 sse4_2:sse42 xop:xop )
|
||||
X86_CPU_FEATURES=( ${X86_CPU_FEATURES_RAW[@]/#/cpu_flags_x86_} )
|
||||
X86_CPU_REQUIRED_USE="
|
||||
cpu_flags_x86_avx2? ( cpu_flags_x86_avx )
|
||||
cpu_flags_x86_fma4? ( cpu_flags_x86_avx )
|
||||
cpu_flags_x86_fma3? ( cpu_flags_x86_avx )
|
||||
cpu_flags_x86_xop? ( cpu_flags_x86_avx )
|
||||
cpu_flags_x86_avx? ( cpu_flags_x86_sse4_2 )
|
||||
cpu_flags_x86_sse4_2? ( cpu_flags_x86_sse4_1 )
|
||||
cpu_flags_x86_sse4_1? ( cpu_flags_x86_ssse3 )
|
||||
cpu_flags_x86_ssse3? ( cpu_flags_x86_sse3 )
|
||||
cpu_flags_x86_sse3? ( cpu_flags_x86_sse2 )
|
||||
cpu_flags_x86_sse2? ( cpu_flags_x86_sse )
|
||||
cpu_flags_x86_sse? ( cpu_flags_x86_mmxext )
|
||||
cpu_flags_x86_mmxext? ( cpu_flags_x86_mmx )
|
||||
cpu_flags_x86_3dnowext? ( cpu_flags_x86_3dnow )
|
||||
cpu_flags_x86_3dnow? ( cpu_flags_x86_mmx )
|
||||
"
|
||||
|
||||
IUSE="${IUSE}
|
||||
${ARM_CPU_FEATURES[@]%:*}
|
||||
${MIPS_CPU_FEATURES[@]%:*}
|
||||
${PPC_CPU_FEATURES[@]%:*}
|
||||
${X86_CPU_FEATURES[@]%:*}
|
||||
"
|
||||
|
||||
CPU_REQUIRED_USE="
|
||||
${X86_CPU_REQUIRED_USE}
|
||||
"
|
||||
|
||||
# "$(tc-arch):XXX" form where XXX_CPU_FEATURES are the cpu features that apply to
|
||||
# $(tc-arch).
|
||||
CPU_FEATURES_MAP="
|
||||
arm:ARM
|
||||
arm64:ARM
|
||||
mips:MIPS
|
||||
ppc:PPC
|
||||
ppc64:PPC
|
||||
x86:X86
|
||||
amd64:X86
|
||||
"
|
||||
|
||||
FFTOOLS=( aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher )
|
||||
IUSE="${IUSE} ${FFTOOLS[@]/#/+fftools_}"
|
||||
|
||||
RDEPEND="
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
|
||||
amr? ( >=media-libs/opencore-amr-0.1.3-r1[${MULTILIB_USEDEP}] )
|
||||
bluray? ( >=media-libs/libbluray-0.3.0-r1[${MULTILIB_USEDEP}] )
|
||||
bs2b? ( >=media-libs/libbs2b-3.1.0-r1[${MULTILIB_USEDEP}] )
|
||||
bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
|
||||
cdio? ( >=dev-libs/libcdio-paranoia-0.90_p1-r1[${MULTILIB_USEDEP}] )
|
||||
celt? ( >=media-libs/celt-0.11.1-r1[${MULTILIB_USEDEP}] )
|
||||
encode? (
|
||||
aac? ( >=media-libs/vo-aacenc-0.1.3[${MULTILIB_USEDEP}] )
|
||||
aacplus? ( >=media-libs/libaacplus-2.0.2-r1[${MULTILIB_USEDEP}] )
|
||||
amrenc? ( >=media-libs/vo-amrwbenc-0.1.2-r1[${MULTILIB_USEDEP}] )
|
||||
faac? ( >=media-libs/faac-1.28-r3[${MULTILIB_USEDEP}] )
|
||||
mp3? ( >=media-sound/lame-3.99.5-r1[${MULTILIB_USEDEP}] )
|
||||
snappy? ( >=app-arch/snappy-1.1.2-r1[${MULTILIB_USEDEP}] )
|
||||
theora? (
|
||||
>=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}]
|
||||
>=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
twolame? ( >=media-sound/twolame-0.3.13-r1[${MULTILIB_USEDEP}] )
|
||||
wavpack? ( >=media-sound/wavpack-4.60.1-r1[${MULTILIB_USEDEP}] )
|
||||
webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )
|
||||
x264? ( >=media-libs/x264-0.0.20130506:=[${MULTILIB_USEDEP}] )
|
||||
x265? ( >=media-libs/x265-1.6:=[${MULTILIB_USEDEP}] )
|
||||
xvid? ( >=media-libs/xvid-1.3.2-r1[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
fdk? ( >=media-libs/fdk-aac-0.1.3:=[${MULTILIB_USEDEP}] )
|
||||
flite? ( >=app-accessibility/flite-1.4-r4[${MULTILIB_USEDEP}] )
|
||||
fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] )
|
||||
frei0r? ( media-plugins/frei0r-plugins )
|
||||
fribidi? ( >=dev-libs/fribidi-0.19.6[${MULTILIB_USEDEP}] )
|
||||
gme? ( >=media-libs/game-music-emu-0.6.0[${MULTILIB_USEDEP}] )
|
||||
gnutls? ( >=net-libs/gnutls-2.12.23-r6:=[${MULTILIB_USEDEP}] )
|
||||
gsm? ( >=media-sound/gsm-1.0.13-r1[${MULTILIB_USEDEP}] )
|
||||
iconv? ( >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] )
|
||||
iec61883? (
|
||||
>=media-libs/libiec61883-1.2.0-r1[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/libavc1394-0.5.4-r1[${MULTILIB_USEDEP}]
|
||||
)
|
||||
ieee1394? (
|
||||
>=media-libs/libdc1394-2.2.1[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}]
|
||||
)
|
||||
jack? ( virtual/jack[${MULTILIB_USEDEP}] )
|
||||
jpeg2k? ( >=media-libs/openjpeg-1.5.0:0[${MULTILIB_USEDEP}] )
|
||||
libass? ( >=media-libs/libass-0.10.2[${MULTILIB_USEDEP}] )
|
||||
libcaca? ( >=media-libs/libcaca-0.99_beta18-r1[${MULTILIB_USEDEP}] )
|
||||
libsoxr? ( >=media-libs/soxr-0.1.0[${MULTILIB_USEDEP}] )
|
||||
libv4l? ( >=media-libs/libv4l-0.9.5[${MULTILIB_USEDEP}] )
|
||||
lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] )
|
||||
modplug? ( >=media-libs/libmodplug-0.8.8.4-r1[${MULTILIB_USEDEP}] )
|
||||
openal? ( >=media-libs/openal-1.15.1[${MULTILIB_USEDEP}] )
|
||||
opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] )
|
||||
openssl? (
|
||||
!libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
|
||||
libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
opus? ( >=media-libs/opus-1.0.2-r2[${MULTILIB_USEDEP}] )
|
||||
pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
|
||||
quvi? ( media-libs/libquvi:0.4[${MULTILIB_USEDEP}] )
|
||||
librtmp? ( >=media-video/rtmpdump-2.4_p20131018[${MULTILIB_USEDEP}] )
|
||||
samba? ( >=net-fs/samba-3.6.23-r1[${MULTILIB_USEDEP}] )
|
||||
schroedinger? ( >=media-libs/schroedinger-1.0.11-r1[${MULTILIB_USEDEP}] )
|
||||
sdl? ( >=media-libs/libsdl-1.2.15-r4[sound,video,${MULTILIB_USEDEP}] )
|
||||
speex? ( >=media-libs/speex-1.2_rc1-r1[${MULTILIB_USEDEP}] )
|
||||
ssh? ( >=net-libs/libssh-0.5.5[${MULTILIB_USEDEP}] )
|
||||
truetype? ( >=media-libs/freetype-2.5.0.1:2[${MULTILIB_USEDEP}] )
|
||||
vaapi? ( >=x11-libs/libva-1.2.1-r1[${MULTILIB_USEDEP}] )
|
||||
vdpau? ( >=x11-libs/libvdpau-0.7[${MULTILIB_USEDEP}] )
|
||||
vorbis? (
|
||||
>=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}]
|
||||
>=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
vpx? ( >=media-libs/libvpx-1.4.0:=[${MULTILIB_USEDEP}] )
|
||||
X? (
|
||||
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
|
||||
!xcb? ( >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}] )
|
||||
>=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}]
|
||||
)
|
||||
xcb? ( >=x11-libs/libxcb-1.4[${MULTILIB_USEDEP}] )
|
||||
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
|
||||
zvbi? ( >=media-libs/zvbi-0.2.35[${MULTILIB_USEDEP}] )
|
||||
!media-video/qt-faststart
|
||||
postproc? ( !media-libs/libpostproc )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/make-3.81
|
||||
doc? ( app-text/texi2html )
|
||||
fontconfig? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
gnutls? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
ieee1394? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
ladspa? ( >=media-libs/ladspa-sdk-1.13-r2[${MULTILIB_USEDEP}] )
|
||||
libv4l? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
cpu_flags_x86_mmx? ( >=dev-lang/yasm-1.2 )
|
||||
librtmp? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
schroedinger? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
test? ( net-misc/wget sys-devel/bc )
|
||||
truetype? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
v4l? ( sys-kernel/linux-headers )
|
||||
"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20140508-r3
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
|
||||
|
||||
# Code requiring FFmpeg to be built under gpl license
|
||||
GPL_REQUIRED_USE="
|
||||
postproc? ( gpl )
|
||||
frei0r? ( gpl )
|
||||
cdio? ( gpl )
|
||||
samba? ( gpl )
|
||||
zvbi? ( gpl )
|
||||
encode? (
|
||||
x264? ( gpl )
|
||||
x265? ( gpl )
|
||||
xvid? ( gpl )
|
||||
X? ( !xcb? ( gpl ) )
|
||||
)
|
||||
"
|
||||
REQUIRED_USE="
|
||||
libv4l? ( v4l )
|
||||
fftools_cws2fws? ( zlib )
|
||||
test? ( encode )
|
||||
${GPL_REQUIRED_USE}
|
||||
${CPU_REQUIRED_USE}"
|
||||
RESTRICT="
|
||||
encode? ( faac? ( bindist ) aacplus? ( bindist ) )
|
||||
gpl? ( openssl? ( bindist ) fdk? ( bindist ) )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${P/_/-}
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/libavutil/avconfig.h
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
if [[ "${PV%_p*}" != "${PV}" ]] ; then # Snapshot
|
||||
export revision=git-N-${FFMPEG_REVISION}
|
||||
fi
|
||||
epatch_user
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=( ${EXTRA_FFMPEG_CONF} )
|
||||
|
||||
local ffuse=( "${FFMPEG_FLAG_MAP[@]}" )
|
||||
use openssl && use gpl && myconf+=( --enable-nonfree )
|
||||
use samba && myconf+=( --enable-version3 )
|
||||
|
||||
# Encoders
|
||||
if use encode ; then
|
||||
ffuse+=( "${FFMPEG_ENCODER_FLAG_MAP[@]}" )
|
||||
|
||||
# Licensing.
|
||||
if use aac || use amrenc ; then
|
||||
myconf+=( --enable-version3 )
|
||||
fi
|
||||
if use aacplus || use faac ; then
|
||||
myconf+=( --enable-nonfree )
|
||||
fi
|
||||
else
|
||||
myconf+=( --disable-encoders )
|
||||
fi
|
||||
|
||||
# Indevs
|
||||
use v4l || myconf+=( --disable-indev=v4l2 --disable-outdev=v4l2 )
|
||||
for i in alsa oss jack ; do
|
||||
use ${i} || myconf+=( --disable-indev=${i} )
|
||||
done
|
||||
use xcb || ffuse+=( X:x11grab )
|
||||
|
||||
# Outdevs
|
||||
for i in alsa oss sdl ; do
|
||||
use ${i} || myconf+=( --disable-outdev=${i} )
|
||||
done
|
||||
|
||||
# Decoders
|
||||
use amr && myconf+=( --enable-version3 )
|
||||
use fdk && use gpl && myconf+=( --enable-nonfree )
|
||||
|
||||
for i in "${ffuse[@]#+}" ; do
|
||||
myconf+=( $(use_enable ${i%:*} ${i#*:}) )
|
||||
done
|
||||
|
||||
# (temporarily) disable non-multilib deps
|
||||
if ! multilib_is_native_abi; then
|
||||
for i in frei0r ; do
|
||||
myconf+=( --disable-${i} )
|
||||
done
|
||||
fi
|
||||
|
||||
# CPU features
|
||||
for i in ${CPU_FEATURES_MAP} ; do
|
||||
if [ "$(tc-arch)" = "${i%:*}" ] ; then
|
||||
local var="${i#*:}_CPU_FEATURES[@]"
|
||||
for j in ${!var} ; do
|
||||
use ${j%:*} || myconf+=( --disable-${j#*:} )
|
||||
done
|
||||
fi
|
||||
done
|
||||
|
||||
if use pic ; then
|
||||
myconf+=( --enable-pic )
|
||||
# disable asm code if PIC is required
|
||||
# as the provided asm decidedly is not PIC for x86.
|
||||
[[ ${ABI} == x86 ]] && myconf+=( --disable-asm )
|
||||
fi
|
||||
[[ ${ABI} == x32 ]] && myconf+=( --disable-asm ) #427004
|
||||
|
||||
# Try to get cpu type based on CFLAGS.
|
||||
# Bug #172723
|
||||
# We need to do this so that features of that CPU will be better used
|
||||
# If they contain an unknown CPU it will not hurt since ffmpeg's configure
|
||||
# will just ignore it.
|
||||
for i in $(get-flag mcpu) $(get-flag march) ; do
|
||||
[[ ${i} = native ]] && i="host" # bug #273421
|
||||
myconf+=( --cpu=${i} )
|
||||
break
|
||||
done
|
||||
|
||||
# LTO support, bug #566282
|
||||
is-flagq "-flto*" && myconf+=( "--enable-lto" )
|
||||
|
||||
# Mandatory configuration
|
||||
myconf=(
|
||||
--enable-avfilter
|
||||
--enable-avresample
|
||||
--disable-stripping
|
||||
"${myconf[@]}"
|
||||
)
|
||||
|
||||
# cross compile support
|
||||
if tc-is-cross-compiler ; then
|
||||
myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
|
||||
case ${CHOST} in
|
||||
*freebsd*)
|
||||
myconf+=( --target-os=freebsd )
|
||||
;;
|
||||
*mingw32*)
|
||||
myconf+=( --target-os=mingw32 )
|
||||
;;
|
||||
*linux*)
|
||||
myconf+=( --target-os=linux )
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
set -- "${S}/configure" \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||
--shlibdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||
--mandir="${EPREFIX}/usr/share/man" \
|
||||
--enable-shared \
|
||||
--cc="$(tc-getCC)" \
|
||||
--cxx="$(tc-getCXX)" \
|
||||
--ar="$(tc-getAR)" \
|
||||
--optflags="${CFLAGS}" \
|
||||
$(use_enable static-libs static) \
|
||||
"${myconf[@]}"
|
||||
echo "${@}"
|
||||
"${@}" || die
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake V=1
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
for i in "${FFTOOLS[@]}" ; do
|
||||
if use fftools_${i} ; then
|
||||
emake V=1 tools/${i}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake V=1 DESTDIR="${D}" install install-man
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
for i in "${FFTOOLS[@]}" ; do
|
||||
if use fftools_${i} ; then
|
||||
dobin tools/${i}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dodoc Changelog README.md CREDITS doc/*.txt doc/APIchanges
|
||||
[ -f "RELEASE_NOTES" ] && dodoc "RELEASE_NOTES"
|
||||
use doc && dohtml -r doc/*
|
||||
if use examples ; then
|
||||
dodoc -r doc/examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
LD_LIBRARY_PATH="${BUILD_DIR}/libpostproc:${BUILD_DIR}/libswscale:${BUILD_DIR}/libswresample:${BUILD_DIR}/libavcodec:${BUILD_DIR}/libavdevice:${BUILD_DIR}/libavfilter:${BUILD_DIR}/libavformat:${BUILD_DIR}/libavutil:${BUILD_DIR}/libavresample" \
|
||||
emake V=1 fate
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST motion-3.2.12.tar.gz 425729 SHA256 a597f8d7ec0bf3c5fb62722c4eead59717fe01c2ae0d256c642027cea74b2f0a SHA512 d44620f8865420da71ff1dc1e1d8ba8e5465b395f2cf3b2cc9a91d3d415694b26376a9f8e3a1b78ffd0efde22d9e0338daa77237aed38c060dc3577af4c0864c WHIRLPOOL 0b7618d48161e8ffefacc5331d1078004d87839b532100c37bfaf06e99772921228feea6eea063301dfdc9e5f5a1dc07fd0847858440c6f876c1e03deaa078c8
|
||||
DIST release-4.0.1.tar.gz 444779 SHA256 2f67669a09ce0481ecd987028dae1c5cb135dfdc3c254c06ab7c9ca0c6c183f0 SHA512 6ccde3890e6af56f28208321987dd1b9d62a55bbe7cbc3ab5600263602e6e8f47589392c2f3a3a6cb54f927ee76aea94d0e83f26ce8e4047890c891b6c2f8976 WHIRLPOOL 425587a1ff52edadddbdc7fd65cdb015324b99514128d3810a6d1bb6d2cd2f1c5daea03c1db0c4a89679358793f9201156dd821ce795d704ede12bdb151fafdd
|
||||
|
@ -1,95 +0,0 @@
|
||||
Description: Fix FFmpeg guess_format() deprecation warning
|
||||
Author: Angel Carpintero <motiondevelop@gmail.com>
|
||||
Origin: Upstream, https://github.com/sackmotion/motion/commit/527377#svn517
|
||||
Last-Update: 2012-02-12
|
||||
|
||||
--- a/ffmpeg.c
|
||||
+++ b/ffmpeg.c
|
||||
@@ -36,6 +36,11 @@
|
||||
# endif /* __GNUC__ */
|
||||
#endif /* LIBAVCODEC_BUILD > 4680 */
|
||||
|
||||
+#if defined LIBAVFORMAT_VERSION_MAJOR && defined LIBAVFORMAT_VERSION_MINOR
|
||||
+#if LIBAVFORMAT_VERSION_MAJOR < 53 && LIBAVFORMAT_VERSION_MINOR < 45
|
||||
+ #define GUESS_NO_DEPRECATED
|
||||
+#endif
|
||||
+#endif
|
||||
|
||||
#if LIBAVFORMAT_BUILD >= 4616
|
||||
/* The API for av_write_frame changed with FFmpeg version 0.4.9pre1.
|
||||
@@ -258,7 +263,11 @@
|
||||
/* We use "mpeg1video" for raw mpeg1 format. Using "mpeg" would
|
||||
* result in a muxed output file, which isn't appropriate here.
|
||||
*/
|
||||
- of = guess_format("mpeg1video", NULL, NULL);
|
||||
+#ifdef GUESS_NO_DEPRECATED
|
||||
+ of = guess_format("mpeg1video", NULL, NULL);
|
||||
+#else
|
||||
+ of = av_guess_format("mpeg1video", NULL, NULL);
|
||||
+#endif
|
||||
if (of) {
|
||||
/* But we want the trailer to be correctly written. */
|
||||
of->write_trailer = mpeg1_write_trailer;
|
||||
@@ -270,24 +279,44 @@
|
||||
#endif
|
||||
} else if (strcmp(codec, "mpeg4") == 0) {
|
||||
ext = ".avi";
|
||||
- of = guess_format("avi", NULL, NULL);
|
||||
+#ifdef GUESS_NO_DEPRECATED
|
||||
+ of = guess_format("mpeg1video", NULL, NULL);
|
||||
+#else
|
||||
+ of = av_guess_format("avi", NULL, NULL);
|
||||
+#endif
|
||||
} else if (strcmp(codec, "msmpeg4") == 0) {
|
||||
ext = ".avi";
|
||||
- of = guess_format("avi", NULL, NULL);
|
||||
+#ifdef GUESS_NO_DEPRECATED
|
||||
+ of = guess_format("mpeg1video", NULL, NULL);
|
||||
+#else
|
||||
+ of = av_guess_format("avi", NULL, NULL);
|
||||
+#endif
|
||||
if (of) {
|
||||
/* Manually override the codec id. */
|
||||
of->video_codec = CODEC_ID_MSMPEG4V2;
|
||||
}
|
||||
} else if (strcmp(codec, "swf") == 0) {
|
||||
ext = ".swf";
|
||||
- of = guess_format("swf", NULL, NULL);
|
||||
+#ifdef GUESS_NO_DEPRECATED
|
||||
+ of = guess_format("mpeg1video", NULL, NULL);
|
||||
+#else
|
||||
+ of = av_guess_format("swf", NULL, NULL);
|
||||
+#endif
|
||||
} else if (strcmp(codec, "flv") == 0) {
|
||||
ext = ".flv";
|
||||
- of = guess_format("flv", NULL, NULL);
|
||||
+#ifdef GUESS_NO_DEPRECATED
|
||||
+ of = guess_format("mpeg1video", NULL, NULL);
|
||||
+#else
|
||||
+ of = av_guess_format("flv", NULL, NULL);
|
||||
+#endif
|
||||
of->video_codec = CODEC_ID_FLV1;
|
||||
} else if (strcmp(codec, "ffv1") == 0) {
|
||||
ext = ".avi";
|
||||
- of = guess_format("avi", NULL, NULL);
|
||||
+#ifdef GUESS_NO_DEPRECATED
|
||||
+ of = guess_format("mpeg1video", NULL, NULL);
|
||||
+#else
|
||||
+ of = av_guess_format("avi", NULL, NULL);
|
||||
+#endif
|
||||
if (of) {
|
||||
/* Use the FFMPEG Lossless Video codec (experimental!).
|
||||
Requires strict_std_compliance to be <= -2 */
|
||||
@@ -295,7 +324,11 @@
|
||||
}
|
||||
} else if (strcmp(codec, "mov") == 0) {
|
||||
ext = ".mov";
|
||||
- of = guess_format("mov", NULL, NULL);
|
||||
+#ifdef GUESS_NO_DEPRECATED
|
||||
+ of = guess_format("mpeg1video", NULL, NULL);
|
||||
+#else
|
||||
+ of = av_guess_format("mov", NULL, NULL);
|
||||
+#endif
|
||||
} else {
|
||||
motion_log(LOG_ERR, 0, "ffmpeg_video_codec option value %s is not supported", codec);
|
||||
return NULL;
|
@ -1,141 +0,0 @@
|
||||
Description: Improve detection of av_register_protocol() for ffmpeg.
|
||||
Author: Angel Carpintero <motiondevelop@gmail.com>
|
||||
Origin: Upstream, https://github.com/sackmotion/motion/commit/7aec4b#svn538
|
||||
Last-Update: 2012-02-12
|
||||
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -316,7 +316,7 @@
|
||||
#
|
||||
else if test "${FFMPEG_DIR}" = "yes"; then
|
||||
# AUTODETECT STATIC/SHARED LIB
|
||||
- AC_MSG_CHECKING(for ffmpeg autodetecting)
|
||||
+ AC_MSG_CHECKING(for ffmpeg autodetecting libraries)
|
||||
|
||||
if test -f /usr/lib64/libavcodec.a -o -f /usr/lib64/libavcodec.so && test -f /usr/lib64/libavformat.a -o -f /usr/lib64/libavformat.so ; then
|
||||
AC_MSG_RESULT(found in /usr/lib64)
|
||||
@@ -347,7 +347,7 @@
|
||||
echo ""
|
||||
fi
|
||||
else
|
||||
- AC_MSG_CHECKING(for ffmpeg in -> [${FFMPEG_DIR}] <-)
|
||||
+ AC_MSG_CHECKING(for ffmpeg libraries in -> [${FFMPEG_DIR}] <-)
|
||||
if test -f ${FFMPEG_DIR}/lib/libavcodec.a -o -f ${FFMPEG_DIR}/lib/libavcodec.so && test -f ${FFMPEG_DIR}/lib/libavformat.a -o -f ${FFMPEG_DIR}/lib/libavformat.so ; then
|
||||
AC_MSG_RESULT(found)
|
||||
FFMPEG_OK="found"
|
||||
@@ -392,9 +392,11 @@
|
||||
elif test -f ${FFMPEG_DIR}/include/libavformat/avformat.h; then
|
||||
AC_MSG_RESULT(found ${FFMPEG_DIR}/include/libavformat/avformat.h)
|
||||
FFMPEG_CFLAGS="-I${FFMPEG_DIR}/include -DFFMPEG_NEW_INCLUDES"
|
||||
+ AVFORMAT="-I${FFMPEG_DIR}/include/libavformat"
|
||||
elif test -f ${FFMPEG_DIR}/include/ffmpeg/libavformat/avformat.h; then
|
||||
AC_MSG_RESULT(found ${FFMPEG_DIR}/include/ffmpeg/libavformat/avformat.h)
|
||||
FFMPEG_CFLAGS="-I${FFMPEG_DIR}/include/ffmpeg -DFFMPEG_NEW_INCLUDES"
|
||||
+ AVFORMAT="-I${FFMPEG_DIR}/include/ffmpeg/libavformat"
|
||||
else
|
||||
AC_MSG_RESULT(not found)
|
||||
FFMPEG_OK="no_found"
|
||||
@@ -423,9 +425,11 @@
|
||||
AC_MSG_CHECKING([file_protocol is defined in ffmpeg ?])
|
||||
saved_CFLAGS=$CFLAGS
|
||||
saved_LIBS=$LIBS
|
||||
- CFLAGS="${FFMPEG_CFLAGS}"
|
||||
+
|
||||
+
|
||||
+ CFLAGS="${FFMPEG_CFLAGS} ${AVFORMAT}"
|
||||
LIBS="$TEMP_LIBS"
|
||||
-
|
||||
+
|
||||
AC_COMPILE_IFELSE(
|
||||
[
|
||||
#include <avformat.h>
|
||||
@@ -442,7 +446,35 @@
|
||||
]
|
||||
)
|
||||
CFLAGS=$saved_CFLAGS
|
||||
- LIBS=$saved_LIBS
|
||||
+ LIBS=$saved_LIBS
|
||||
+
|
||||
+ AC_MSG_CHECKING([av_register_protocol is defined in ffmpeg ?])
|
||||
+ saved_CFLAGS=$CFLAGS
|
||||
+ saved_LIBS=$LIBS
|
||||
+ CFLAGS="${FFMPEG_CFLAGS} ${AVFORMAT}"
|
||||
+ LIBS="$TEMP_LIBS"
|
||||
+
|
||||
+ AC_COMPILE_IFELSE(
|
||||
+ [
|
||||
+ #include <avformat.h>
|
||||
+ URLProtocol test_file_protocol;
|
||||
+ int main(void){
|
||||
+ av_register_protocol(&test_file_protocol);
|
||||
+ return 0;
|
||||
+ }
|
||||
+ ],
|
||||
+ [
|
||||
+ AC_MSG_RESULT(yes)
|
||||
+ TEMP_CFLAGS="${TEMP_CFLAGS} -DHAVE_FFMPEG_AV_REGISTER_PROTOCOL"
|
||||
+ ],
|
||||
+ [
|
||||
+ AC_MSG_RESULT(no)
|
||||
+ ]
|
||||
+ )
|
||||
+
|
||||
+ CFLAGS=$saved_CFLAGS
|
||||
+ LIBS=$saved_LIBS
|
||||
+
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
--- a/ffmpeg.c
|
||||
+++ b/ffmpeg.c
|
||||
@@ -232,11 +232,11 @@
|
||||
mpeg1_file_protocol.url_seek = file_protocol.url_seek;
|
||||
mpeg1_file_protocol.url_close = file_protocol.url_close;
|
||||
|
||||
- /* Register the append file protocol. */
|
||||
-#if LIBAVFORMAT_BUILD >= (52<<16 | 31<<8)
|
||||
+/* Register the append file protocol. */
|
||||
+#ifdef HAVE_FFMPEG_AV_REGISTER_PROTOCOL
|
||||
av_register_protocol(&mpeg1_file_protocol);
|
||||
#else
|
||||
- register_protocol(&mpeg1_file_protocol);
|
||||
+ av_register_protocol2(&mpeg1_file_protocol, sizeof(mpeg1_file_protocol));
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -410,7 +410,11 @@
|
||||
|
||||
ffmpeg->c = c = AVSTREAM_CODEC_PTR(ffmpeg->video_st);
|
||||
c->codec_id = ffmpeg->oc->oformat->video_codec;
|
||||
+#if LIBAVCODEC_VERSION_MAJOR < 53
|
||||
c->codec_type = CODEC_TYPE_VIDEO;
|
||||
+#else
|
||||
+ c->codec_type = AVMEDIA_TYPE_VIDEO;
|
||||
+#endif
|
||||
is_mpeg1 = c->codec_id == CODEC_ID_MPEG1VIDEO;
|
||||
|
||||
if (strcmp(ffmpeg_video_codec, "ffv1") == 0)
|
||||
@@ -679,7 +683,11 @@
|
||||
if (ffmpeg->oc->oformat->flags & AVFMT_RAWPICTURE) {
|
||||
/* raw video case. The API will change slightly in the near future for that */
|
||||
#ifdef FFMPEG_AVWRITEFRAME_NEWAPI
|
||||
+#if LIBAVCODEC_VERSION_MAJOR < 53
|
||||
pkt.flags |= PKT_FLAG_KEY;
|
||||
+#else
|
||||
+ pkt.flags |= AV_PKT_FLAG_KEY;
|
||||
+#endif
|
||||
pkt.data = (uint8_t *)pic;
|
||||
pkt.size = sizeof(AVPicture);
|
||||
ret = av_write_frame(ffmpeg->oc, &pkt);
|
||||
@@ -700,7 +708,11 @@
|
||||
#ifdef FFMPEG_AVWRITEFRAME_NEWAPI
|
||||
pkt.pts = AVSTREAM_CODEC_PTR(ffmpeg->video_st)->coded_frame->pts;
|
||||
if (AVSTREAM_CODEC_PTR(ffmpeg->video_st)->coded_frame->key_frame) {
|
||||
+#if LIBAVCODEC_VERSION_MAJOR < 53
|
||||
pkt.flags |= PKT_FLAG_KEY;
|
||||
+#else
|
||||
+ pkt.flags |= AV_PKT_FLAG_KEY;
|
||||
+#endif
|
||||
}
|
||||
pkt.data = ffmpeg->video_outbuf;
|
||||
pkt.size = out_size;
|
@ -1,35 +0,0 @@
|
||||
Description: Fix avoid crash producing MPEG4 with newer FFmpeg.
|
||||
Author: Angel Carpintero <motiondevelop@gmail.com>
|
||||
Origin: Upstream, https://github.com/sackmotion/motion/commit/734155#svn539
|
||||
Bug: http://www.lavrsen.dk/foswiki/bin/view/Motion/BugReport2011x10x05x071936
|
||||
Last-Update: 2012-02-12
|
||||
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -1099,6 +1099,10 @@
|
||||
LIBS="${TEMP_LIBS}"
|
||||
LDFLAGS="${TEMP_LDFLAGS}"
|
||||
|
||||
+
|
||||
+AC_CHECK_FUNC(avformat_alloc_context, AC_DEFINE([have_avformat_alloc_context],1,[Define to 1 if you have avformat_alloc_context support]))
|
||||
+AC_CHECK_FUNC(av_avformat_alloc_context, AC_DEFINE([have_av_avformat_alloc_context],1,[Define to 1 if you have av_avformat_alloc_context support]))
|
||||
+
|
||||
#
|
||||
# Add the right exec path for rc scripts
|
||||
#
|
||||
--- a/ffmpeg.c
|
||||
+++ b/ffmpeg.c
|
||||
@@ -373,7 +373,13 @@
|
||||
snprintf(ffmpeg->codec, sizeof(ffmpeg->codec), "%s", ffmpeg_video_codec);
|
||||
|
||||
/* allocation the output media context */
|
||||
+#ifdef have_avformat_alloc_context
|
||||
+ ffmpeg->oc = avformat_alloc_context();
|
||||
+#elif defined have_av_avformat_alloc_context
|
||||
+ ffmpeg->oc = av_alloc_format_context();
|
||||
+#else
|
||||
ffmpeg->oc = av_mallocz(sizeof(AVFormatContext));
|
||||
+#endif
|
||||
|
||||
if (!ffmpeg->oc) {
|
||||
motion_log(LOG_ERR, 1, "Memory error while allocating output media context");
|
@ -1,68 +0,0 @@
|
||||
Description: Improve av_register_protocol2()/av_register_protocol() detection
|
||||
Author: Angel Carpintero <motiondevelop@gmail.com>
|
||||
Origin: Upstream, https://github.com/sackmotion/motion/commit/5dd9ed#svn540#svn540
|
||||
Last-Update: 2012-02-12
|
||||
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -448,33 +448,6 @@
|
||||
CFLAGS=$saved_CFLAGS
|
||||
LIBS=$saved_LIBS
|
||||
|
||||
- AC_MSG_CHECKING([av_register_protocol is defined in ffmpeg ?])
|
||||
- saved_CFLAGS=$CFLAGS
|
||||
- saved_LIBS=$LIBS
|
||||
- CFLAGS="${FFMPEG_CFLAGS} ${AVFORMAT}"
|
||||
- LIBS="$TEMP_LIBS"
|
||||
-
|
||||
- AC_COMPILE_IFELSE(
|
||||
- [
|
||||
- #include <avformat.h>
|
||||
- URLProtocol test_file_protocol;
|
||||
- int main(void){
|
||||
- av_register_protocol(&test_file_protocol);
|
||||
- return 0;
|
||||
- }
|
||||
- ],
|
||||
- [
|
||||
- AC_MSG_RESULT(yes)
|
||||
- TEMP_CFLAGS="${TEMP_CFLAGS} -DHAVE_FFMPEG_AV_REGISTER_PROTOCOL"
|
||||
- ],
|
||||
- [
|
||||
- AC_MSG_RESULT(no)
|
||||
- ]
|
||||
- )
|
||||
-
|
||||
- CFLAGS=$saved_CFLAGS
|
||||
- LIBS=$saved_LIBS
|
||||
-
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
@@ -1102,6 +1075,9 @@
|
||||
|
||||
AC_CHECK_FUNC(avformat_alloc_context, AC_DEFINE([have_avformat_alloc_context],1,[Define to 1 if you have avformat_alloc_context support]))
|
||||
AC_CHECK_FUNC(av_avformat_alloc_context, AC_DEFINE([have_av_avformat_alloc_context],1,[Define to 1 if you have av_avformat_alloc_context support]))
|
||||
+AC_CHECK_FUNC(av_register_protocol2, AC_DEFINE([have_av_register_protocol2],1,[Define to 1 if you have av_register_protocol2 support]))
|
||||
+AC_CHECK_FUNC(av_register_protocol, AC_DEFINE([have_av_register_protocol],1,[Define to 1 if you have av_register_protocol support]))
|
||||
+
|
||||
|
||||
#
|
||||
# Add the right exec path for rc scripts
|
||||
--- a/ffmpeg.c
|
||||
+++ b/ffmpeg.c
|
||||
@@ -233,10 +233,12 @@
|
||||
mpeg1_file_protocol.url_close = file_protocol.url_close;
|
||||
|
||||
/* Register the append file protocol. */
|
||||
-#ifdef HAVE_FFMPEG_AV_REGISTER_PROTOCOL
|
||||
+#ifdef have_av_register_protocol2
|
||||
+ av_register_protocol2(&mpeg1_file_protocol, sizeof(mpeg1_file_protocol));
|
||||
+#elif defined have_av_register_protocol
|
||||
av_register_protocol(&mpeg1_file_protocol);
|
||||
#else
|
||||
- av_register_protocol2(&mpeg1_file_protocol, sizeof(mpeg1_file_protocol));
|
||||
+# warning av_register_protocolXXX missing
|
||||
#endif
|
||||
}
|
||||
|
@ -1,122 +0,0 @@
|
||||
Convert to avio API.
|
||||
Disable mpeg1 append code based or the ffurl API as mpeg1 is blacklisted with
|
||||
new ffmpeg versions in this code anyway.
|
||||
Fix build with ffmpeg-1
|
||||
|
||||
Index: motion-3.2.12/ffmpeg.c
|
||||
===================================================================
|
||||
--- motion-3.2.12.orig/ffmpeg.c
|
||||
+++ motion-3.2.12/ffmpeg.c
|
||||
@@ -73,6 +73,7 @@ AVFrame *ffmpeg_prepare_frame(struct ffm
|
||||
/* This is the trailer used to end mpeg1 videos. */
|
||||
static unsigned char mpeg1_trailer[] = {0x00, 0x00, 0x01, 0xb7};
|
||||
|
||||
+#ifndef FFMPEG_NO_NONSTD_MPEG1
|
||||
/* Append version of the file open function used in libavformat when opening
|
||||
* an ordinary file. The original file open function truncates an existing
|
||||
* file, but this version appends to it instead.
|
||||
@@ -118,6 +119,7 @@ URLProtocol mpeg1_file_protocol = {
|
||||
.url_open = file_open_append
|
||||
};
|
||||
|
||||
+#endif
|
||||
|
||||
#ifdef HAVE_FFMPEG_NEW
|
||||
|
||||
@@ -132,6 +134,7 @@ URLProtocol mpeg1_file_protocol = {
|
||||
#include "avstring.h"
|
||||
#endif
|
||||
|
||||
+#ifndef FFMPEG_NO_NONSTD_MPEG1
|
||||
static int file_open(URLContext *h, const char *filename, int flags)
|
||||
{
|
||||
int access_flags, fd;
|
||||
@@ -195,6 +198,7 @@ URLProtocol file_protocol = {
|
||||
};
|
||||
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
|
||||
/* We set AVOutputFormat->write_trailer to this function for mpeg1. That way,
|
||||
@@ -203,8 +207,8 @@ URLProtocol file_protocol = {
|
||||
static int mpeg1_write_trailer(AVFormatContext *s)
|
||||
{
|
||||
#if LIBAVFORMAT_BUILD >= (52<<16)
|
||||
- put_buffer(s->pb, mpeg1_trailer, 4);
|
||||
- put_flush_packet(s->pb);
|
||||
+ avio_write(s->pb, mpeg1_trailer, 4);
|
||||
+ avio_flush(s->pb);
|
||||
#else
|
||||
put_buffer(&s->pb, mpeg1_trailer, 4);
|
||||
put_flush_packet(&s->pb);
|
||||
@@ -226,6 +230,7 @@ void ffmpeg_init()
|
||||
/* Copy the functions to use for the append file protocol from the standard
|
||||
* file protocol.
|
||||
*/
|
||||
+#ifndef FFMPEG_NO_NONSTD_MPEG1
|
||||
mpeg1_file_protocol.url_read = file_protocol.url_read;
|
||||
mpeg1_file_protocol.url_write = file_protocol.url_write;
|
||||
mpeg1_file_protocol.url_seek = file_protocol.url_seek;
|
||||
@@ -239,6 +244,7 @@ void ffmpeg_init()
|
||||
#else
|
||||
register_protocol(&mpeg1_file_protocol);
|
||||
#endif
|
||||
+#endif
|
||||
}
|
||||
|
||||
/* Obtains the output format used for the specified codec. For mpeg4 codecs,
|
||||
@@ -422,13 +428,6 @@ struct ffmpeg *ffmpeg_open(char *ffmpeg_
|
||||
c->flags |= CODEC_FLAG_GLOBAL_HEADER;
|
||||
}
|
||||
|
||||
- /* set the output parameters (must be done even if no parameters). */
|
||||
- if (av_set_parameters(ffmpeg->oc, NULL) < 0) {
|
||||
- motion_log(LOG_ERR, 0, "ffmpeg av_set_parameters error: Invalid output format parameters");
|
||||
- ffmpeg_cleanups(ffmpeg);
|
||||
- return NULL;
|
||||
- }
|
||||
-
|
||||
/* Dump the format settings. This shows how the various streams relate to each other */
|
||||
//dump_format(ffmpeg->oc, 0, filename, 1);
|
||||
|
||||
@@ -504,7 +503,7 @@ struct ffmpeg *ffmpeg_open(char *ffmpeg_
|
||||
snprintf(file_proto, sizeof(file_proto), "%s", filename);
|
||||
|
||||
|
||||
- if (url_fopen(&ffmpeg->oc->pb, file_proto, URL_WRONLY) < 0) {
|
||||
+ if (avio_open(&ffmpeg->oc->pb, file_proto, AVIO_FLAG_WRITE) < 0) {
|
||||
/* path did not exist? */
|
||||
if (errno == ENOENT) {
|
||||
/* create path for file (don't use file_proto)... */
|
||||
@@ -514,7 +513,7 @@ struct ffmpeg *ffmpeg_open(char *ffmpeg_
|
||||
}
|
||||
|
||||
/* and retry opening the file (use file_proto) */
|
||||
- if (url_fopen(&ffmpeg->oc->pb, file_proto, URL_WRONLY) < 0) {
|
||||
+ if (avio_open(&ffmpeg->oc->pb, file_proto, AVIO_FLAG_WRITE) < 0) {
|
||||
motion_log(LOG_ERR, 1, "url_fopen - error opening file %s",filename);
|
||||
ffmpeg_cleanups(ffmpeg);
|
||||
return NULL;
|
||||
@@ -535,7 +534,11 @@ struct ffmpeg *ffmpeg_open(char *ffmpeg_
|
||||
}
|
||||
|
||||
/* write the stream header, if any */
|
||||
- av_write_header(ffmpeg->oc);
|
||||
+ if(avformat_write_header(ffmpeg->oc, NULL) < 0) {
|
||||
+ motion_log(LOG_ERR, 1, "Error while writing header for %s", filename);
|
||||
+ ffmpeg_cleanups(ffmpeg);
|
||||
+ return NULL;
|
||||
+ }
|
||||
|
||||
return ffmpeg;
|
||||
}
|
||||
@@ -602,7 +605,7 @@ void ffmpeg_close(struct ffmpeg *ffmpeg)
|
||||
if (!(ffmpeg->oc->oformat->flags & AVFMT_NOFILE)) {
|
||||
/* close the output file */
|
||||
#if LIBAVFORMAT_BUILD >= (52<<16)
|
||||
- url_fclose(ffmpeg->oc->pb);
|
||||
+ avio_close(ffmpeg->oc->pb);
|
||||
#else
|
||||
url_fclose(&ffmpeg->oc->pb);
|
||||
#endif /* LIBAVFORMAT_BUILD >= (52<<16) */
|
@ -1,21 +0,0 @@
|
||||
diff -urN motion-3.2.12.old/ffmpeg.c motion-3.2.12/ffmpeg.c
|
||||
--- motion-3.2.12.old/ffmpeg.c 2013-06-17 20:36:45.355529743 +0200
|
||||
+++ motion-3.2.12/ffmpeg.c 2013-06-17 20:35:41.868532001 +0200
|
||||
@@ -409,7 +409,7 @@
|
||||
ffmpeg->video_st = NULL;
|
||||
|
||||
if (ffmpeg->oc->oformat->video_codec != CODEC_ID_NONE) {
|
||||
- ffmpeg->video_st = av_new_stream(ffmpeg->oc, 0);
|
||||
+ ffmpeg->video_st = avformat_new_stream(ffmpeg->oc, 0);
|
||||
if (!ffmpeg->video_st) {
|
||||
motion_log(LOG_ERR, 1, "av_new_stream - could not alloc stream");
|
||||
ffmpeg_cleanups(ffmpeg);
|
||||
@@ -487,7 +487,7 @@
|
||||
pthread_mutex_lock(&global_lock);
|
||||
|
||||
/* open the codec */
|
||||
- if (avcodec_open(c, codec) < 0) {
|
||||
+ if (avcodec_open2(c, codec, NULL) < 0) {
|
||||
/* Release the lock. */
|
||||
pthread_mutex_unlock(&global_lock);
|
||||
motion_log(LOG_ERR, 1, "avcodec_open - could not open codec");
|
@ -1,35 +0,0 @@
|
||||
motion has both v4l1 and v4l2 support but they are not separate except in upstream version control.
|
||||
so, temporarily use the libv4l1-videodev.h from libv4l to allow succesful build of the v4l2 (pay attention here!) backend.
|
||||
|
||||
--- motion.h
|
||||
+++ motion.h
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
#define _LINUX_TIME_H 1
|
||||
#if !defined(WITHOUT_V4L) && !defined(BSD)
|
||||
-#include <linux/videodev.h>
|
||||
+#include <libv4l1-videodev.h>
|
||||
#endif
|
||||
|
||||
#include <pthread.h>
|
||||
--- track.c
|
||||
+++ track.c
|
||||
@@ -11,6 +11,7 @@
|
||||
#include "motion.h"
|
||||
|
||||
#ifndef WITHOUT_V4L
|
||||
+#include <linux/videodev2.h>
|
||||
#include "pwc-ioctl.h"
|
||||
#endif
|
||||
|
||||
--- video.h
|
||||
+++ video.h
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
#define _LINUX_TIME_H 1
|
||||
#ifndef WITHOUT_V4L
|
||||
-#include <linux/videodev.h>
|
||||
+#include <libv4l1-videodev.h>
|
||||
#include <sys/mman.h>
|
||||
#include "pwc-ioctl.h"
|
||||
#endif
|
@ -1,39 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
extra_started_commands="reload"
|
||||
|
||||
_create_motion_run_dir() {
|
||||
local dir="/var/run/motion"
|
||||
if ! [ -d "$dir" ]; then
|
||||
mkdir -p -m750 "$dir"
|
||||
chown ${MOTION_USER}:${MOTION_GROUP} "$dir"
|
||||
fi
|
||||
}
|
||||
|
||||
depend() {
|
||||
need modules
|
||||
after mysql
|
||||
}
|
||||
|
||||
start() {
|
||||
_create_motion_run_dir
|
||||
|
||||
ebegin "Starting motion detection"
|
||||
start-stop-daemon --start -u ${MOTION_USER} -g ${MOTION_GROUP} --quiet --exec /usr/bin/motion
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping motion detection"
|
||||
start-stop-daemon --stop --quiet --exec /usr/bin/motion
|
||||
eend $?
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading motion detection configuration"
|
||||
start-stop-daemon --stop --signal HUP --exec /usr/bin/motion
|
||||
eend $?
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="A software motion detector"
|
||||
HOMEPAGE="http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~ppc x86"
|
||||
IUSE="ffmpeg mysql postgres +v4l"
|
||||
|
||||
RDEPEND="sys-libs/zlib
|
||||
virtual/jpeg
|
||||
ffmpeg? ( virtual/ffmpeg )
|
||||
mysql? ( virtual/mysql )
|
||||
postgres? ( dev-db/postgresql )"
|
||||
# note: libv4l is only in dependencies for the libv4l1-videodev.h header file
|
||||
# used by the -workaround-v4l1_deprecation.patch.
|
||||
DEPEND="${RDEPEND}
|
||||
v4l? ( virtual/os-headers media-libs/libv4l )"
|
||||
|
||||
pkg_setup() {
|
||||
enewuser motion -1 -1 -1 video
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/ffmpeg-1.patch \
|
||||
"${FILESDIR}"/ffmpeg-2.patch \
|
||||
"${FILESDIR}"/ffmpeg-3.patch \
|
||||
"${FILESDIR}"/ffmpeg-4.patch \
|
||||
"${FILESDIR}"/ffmpeg-5.patch \
|
||||
"${FILESDIR}"/libav-9.patch \
|
||||
"${FILESDIR}"/${P}-workaround-v4l1_deprecation.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with v4l) \
|
||||
$(use_with ffmpeg) \
|
||||
$(use_with mysql) \
|
||||
$(use_with postgres pgsql) \
|
||||
--without-optimizecpu
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
DOC='CHANGELOG CODE_STANDARD CREDITS FAQ README' \
|
||||
docdir=/usr/share/doc/${PF} \
|
||||
EXAMPLES='thread*.conf' \
|
||||
examplesdir=/usr/share/doc/${PF}/examples \
|
||||
install
|
||||
|
||||
dohtml *.html
|
||||
|
||||
newinitd "${FILESDIR}"/motion.initd-r2 motion
|
||||
newconfd "${FILESDIR}"/motion.confd motion
|
||||
|
||||
mv -vf "${D}"/etc/motion{-dist,}.conf || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You need to setup /etc/motion.conf before running"
|
||||
elog "motion for the first time."
|
||||
elog "You can install motion detection as a service, use:"
|
||||
elog "rc-update add motion default"
|
||||
}
|
@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils readme.gentoo user
|
||||
|
||||
DESCRIPTION="A software motion detector"
|
||||
HOMEPAGE="http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~ppc x86"
|
||||
IUSE="ffmpeg libav mysql postgres +v4l"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/zlib
|
||||
virtual/jpeg
|
||||
ffmpeg? (
|
||||
libav? ( media-video/libav:= )
|
||||
!libav? ( media-video/ffmpeg:0= )
|
||||
)
|
||||
mysql? ( virtual/mysql )
|
||||
postgres? ( dev-db/postgresql )
|
||||
"
|
||||
# note: libv4l is only in dependencies for the libv4l1-videodev.h header file
|
||||
# used by the -workaround-v4l1_deprecation.patch.
|
||||
DEPEND="${RDEPEND}
|
||||
v4l? ( virtual/os-headers media-libs/libv4l )
|
||||
"
|
||||
|
||||
DISABLE_AUTOFORMATTING="yes"
|
||||
DOC_CONTENTS="You need to setup /etc/motion.conf before running
|
||||
motion for the first time.
|
||||
You can install motion detection as a service, use:
|
||||
rc-update add motion default
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
enewuser motion -1 -1 -1 video
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/ffmpeg-1.patch \
|
||||
"${FILESDIR}"/ffmpeg-2.patch \
|
||||
"${FILESDIR}"/ffmpeg-3.patch \
|
||||
"${FILESDIR}"/ffmpeg-4.patch \
|
||||
"${FILESDIR}"/ffmpeg-5.patch \
|
||||
"${FILESDIR}"/libav-9.patch \
|
||||
"${FILESDIR}"/${P}-workaround-v4l1_deprecation.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with v4l) \
|
||||
$(use_with ffmpeg) \
|
||||
$(use_with mysql) \
|
||||
$(use_with postgres pgsql) \
|
||||
--without-optimizecpu
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
DOC='CHANGELOG CODE_STANDARD CREDITS FAQ README' \
|
||||
docdir=/usr/share/doc/${PF} \
|
||||
EXAMPLES='thread*.conf' \
|
||||
examplesdir=/usr/share/doc/${PF}/examples \
|
||||
install
|
||||
|
||||
dohtml *.html
|
||||
|
||||
newinitd "${FILESDIR}"/motion.initd-r2 motion
|
||||
newconfd "${FILESDIR}"/motion.confd motion
|
||||
|
||||
mv -vf "${D}"/etc/motion{-dist,}.conf || die
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit autotools readme.gentoo-r1 user systemd
|
||||
|
||||
DESCRIPTION="A software motion detector"
|
||||
HOMEPAGE="https://motion-project.github.io"
|
||||
SRC_URI="https://github.com/Motion-Project/${PN}/archive/release-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="ffmpeg libav mmal mysql postgres v4l"
|
||||
|
||||
RDEPEND="
|
||||
ffmpeg? (
|
||||
libav? ( media-video/libav:= )
|
||||
!libav? ( media-video/ffmpeg:0= )
|
||||
)
|
||||
virtual/jpeg:=
|
||||
mmal? ( media-libs/raspberrypi-userland )
|
||||
mysql? ( virtual/mysql )
|
||||
postgres? ( dev-db/postgresql:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
v4l? ( virtual/os-headers media-libs/libv4l )
|
||||
"
|
||||
|
||||
DISABLE_AUTOFORMATTING="yes"
|
||||
DOC_CONTENTS="
|
||||
You need to setup /etc/${PN}/${PN}.conf before running ${PN} for
|
||||
the first time. You can use /etc/${PN}/${PN}-dist.conf as a template.
|
||||
Please note that the 'daemon' and 'process_id_file' settings are
|
||||
overridden by the bundled OpenRC init script and systemd unit where
|
||||
appropriate.
|
||||
|
||||
To install ${PN} as a service, use:
|
||||
rc-update add ${PN} default # with OpenRC
|
||||
systemctl enable ${PN}.service # with systemd
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
enewuser ${PN} -1 -1 -1 video
|
||||
}
|
||||
|
||||
S="${WORKDIR}"/${PN}-release-${PV}
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with ffmpeg) \
|
||||
$(use_with mmal) \
|
||||
$(use_with mysql) \
|
||||
$(use_with postgres pgsql) \
|
||||
$(use_with v4l) \
|
||||
--without-optimizecpu
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
docdir=/usr/share/doc/${PF} \
|
||||
examplesdir=/usr/share/doc/${PF}/examples \
|
||||
install
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.initd-r3 ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN}
|
||||
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
systemd_dounit "${FILESDIR}"/${PN}_at.service
|
||||
systemd_dotmpfilesd "${FILESDIR}"/${PN}.conf
|
||||
|
||||
keepdir /var/lib/motion
|
||||
fowners motion:video /var/lib/motion
|
||||
fperms 0750 /var/lib/motion
|
||||
|
||||
readme.gentoo_create_doc
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -1 +1 @@
|
||||
Fri, 10 Feb 2017 05:13:32 +0000
|
||||
Fri, 10 Feb 2017 18:43:21 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri, 10 Feb 2017 05:13:33 +0000
|
||||
Fri, 10 Feb 2017 18:43:21 +0000
|
||||
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-libs/libgcrypt:= dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtwidgets:5 net-libs/libmicrohttpd sys-libs/zlib autotype? ( dev-qt/qtx11extras:5 x11-libs/libXi x11-libs/libXtst ) dev-qt/linguist-tools:5 dev-qt/qtconcurrent:5 test? ( dev-qt/qttest:5 ) sys-devel/make >=dev-util/cmake-3.6.3
|
||||
DESCRIPTION=KeePassXC - KeePass Cross-platform Community Edition
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/keepassxreboot/keepassxc
|
||||
IUSE=autotype debug http test
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=LGPL-2.1 GPL-2 GPL-3
|
||||
RDEPEND=dev-libs/libgcrypt:= dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtwidgets:5 net-libs/libmicrohttpd sys-libs/zlib autotype? ( dev-qt/qtx11extras:5 x11-libs/libXi x11-libs/libXtst )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/keepassxreboot/keepassxc/archive/2.1.1.tar.gz -> keepassxc-2.1.1.tar.gz
|
||||
_eclasses_=cmake-utils 014267c4475c1a625ecec5b16e0db1e6 eutils ea170b525f6a38a006be05c9d9429f13 flag-o-matic e0ef2bf8bb6a54693e146ab4085a5ec8 multilib 165fc17c38d1b11dac2008280dab6e80 multiprocessing eb9be4b678c4e71f3f530a767df31912 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=27f38b54925dc6b0928c7beb90769cd5
|
@ -0,0 +1,11 @@
|
||||
DEFINED_PHASES=compile configure install prepare test unpack
|
||||
DEPEND=dev-libs/libgcrypt:= dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtwidgets:5 net-libs/libmicrohttpd sys-libs/zlib autotype? ( dev-qt/qtx11extras:5 x11-libs/libXi x11-libs/libXtst ) dev-qt/linguist-tools:5 dev-qt/qtconcurrent:5 test? ( dev-qt/qttest:5 ) sys-devel/make >=dev-util/cmake-3.6.3 >=dev-vcs/git-1.8.2.1
|
||||
DESCRIPTION=KeePassXC - KeePass Cross-platform Community Edition
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/keepassxreboot/keepassxc
|
||||
IUSE=autotype debug http test
|
||||
LICENSE=LGPL-2.1 GPL-2 GPL-3
|
||||
RDEPEND=dev-libs/libgcrypt:= dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtwidgets:5 net-libs/libmicrohttpd sys-libs/zlib autotype? ( dev-qt/qtx11extras:5 x11-libs/libXi x11-libs/libXtst )
|
||||
SLOT=0
|
||||
_eclasses_=cmake-utils 014267c4475c1a625ecec5b16e0db1e6 eutils ea170b525f6a38a006be05c9d9429f13 flag-o-matic e0ef2bf8bb6a54693e146ab4085a5ec8 git-r3 6efc2d7de07a77bf72c7207b48d0e123 multilib 165fc17c38d1b11dac2008280dab6e80 multiprocessing eb9be4b678c4e71f3f530a767df31912 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=5a7b4f495ec0c9688aa90ffa1acb679a
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=configure install postinst postrm prepare setup
|
||||
DEPEND=sqlite? ( >=dev-db/sqlite-3 ) nls? ( virtual/libintl ) app-arch/xz-utils nls? ( sys-devel/gettext ) virtual/pkgconfig
|
||||
DESCRIPTION=Search and query ebuilds, portage incl. local settings, ext. overlays and more
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/vaeth/eix/
|
||||
IUSE=debug +dep doc nls optimization +required-use security strong-optimization strong-security sqlite swap-remote tools linguas_de linguas_ru
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=sqlite? ( >=dev-db/sqlite-3 ) nls? ( virtual/libintl ) app-shells/push
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/vaeth/eix/releases/download/v0.31.10/eix-0.31.10.tar.xz
|
||||
_eclasses_=bash-completion-r1 acf715fa09463f043fbfdc1640f3fb85 l10n e26ea0642846685782f1813642e7ff0f multilib 165fc17c38d1b11dac2008280dab6e80 systemd 5b6ca8b2fc1307ca593223f327342c96 toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||
_md5_=4958b4765dca4f90bc5402156a3cb02b
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=configure install postinst postrm prepare setup
|
||||
DEPEND=sqlite? ( >=dev-db/sqlite-3 ) nls? ( virtual/libintl ) app-arch/xz-utils nls? ( sys-devel/gettext ) virtual/pkgconfig
|
||||
DESCRIPTION=Search and query ebuilds, portage incl. local settings, ext. overlays and more
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/vaeth/eix/
|
||||
IUSE=debug +dep doc nls optimization +required-use security strong-optimization strong-security sqlite swap-remote tools linguas_de linguas_ru
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=sqlite? ( >=dev-db/sqlite-3 ) nls? ( virtual/libintl ) app-shells/push
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/vaeth/eix/releases/download/v0.31.9/eix-0.31.9.tar.xz
|
||||
_eclasses_=bash-completion-r1 acf715fa09463f043fbfdc1640f3fb85 l10n e26ea0642846685782f1813642e7ff0f multilib 165fc17c38d1b11dac2008280dab6e80 systemd 5b6ca8b2fc1307ca593223f327342c96 toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||
_md5_=4958b4765dca4f90bc5402156a3cb02b
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=configure install postinst postrm prepare setup
|
||||
DEPEND=nls? ( virtual/libintl ) sqlite? ( >=dev-db/sqlite-3:= ) app-arch/xz-utils nls? ( sys-devel/gettext ) virtual/pkgconfig
|
||||
DESCRIPTION=Search and query ebuilds
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/vaeth/eix/
|
||||
IUSE=debug doc nls sqlite linguas_de linguas_ru
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=nls? ( virtual/libintl ) sqlite? ( >=dev-db/sqlite-3:= ) app-shells/push app-shells/quoter
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/vaeth/eix/releases/download/v0.32.1/eix-0.32.1.tar.xz
|
||||
_eclasses_=bash-completion-r1 acf715fa09463f043fbfdc1640f3fb85 l10n e26ea0642846685782f1813642e7ff0f multilib 165fc17c38d1b11dac2008280dab6e80 systemd 5b6ca8b2fc1307ca593223f327342c96 toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||
_md5_=6ccfcfd50073c5f73127961c1fc02a07
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=configure install postinst postrm prepare setup
|
||||
DEPEND=nls? ( virtual/libintl ) sqlite? ( >=dev-db/sqlite-3:= ) app-arch/xz-utils nls? ( sys-devel/gettext ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
|
||||
DESCRIPTION=Search and query ebuilds
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/vaeth/eix/
|
||||
IUSE=debug doc nls sqlite linguas_de linguas_ru
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=nls? ( virtual/libintl ) sqlite? ( >=dev-db/sqlite-3:= ) >=app-shells/push-2.0-r1 >=app-shells/quoter-3.0_p2-r1
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/vaeth/eix/releases/download/v0.32.5/eix-0.32.5.tar.xz
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c bash-completion-r1 acf715fa09463f043fbfdc1640f3fb85 eutils ea170b525f6a38a006be05c9d9429f13 flag-o-matic e0ef2bf8bb6a54693e146ab4085a5ec8 l10n e26ea0642846685782f1813642e7ff0f libtool 4890219c51da247200223277f993e054 multilib 165fc17c38d1b11dac2008280dab6e80 systemd 5b6ca8b2fc1307ca593223f327342c96 toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||
_md5_=4f9131cc31fd5861e41e63f12acc7696
|
@ -1,10 +0,0 @@
|
||||
DEFINED_PHASES=install unpack
|
||||
DESCRIPTION=A POSIX shell function to treat a variable like an array, quoting args
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/vaeth/push/
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris
|
||||
LICENSE=BSD
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/vaeth/push/archive/v1.11.tar.gz -> push-1.11.tar.gz
|
||||
_eclasses_=vcs-snapshot 2b65ecb2d0f91e4322c2ac8d673993bd
|
||||
_md5_=39576af0f31b57e6fbf479352169f425
|
@ -1,15 +1,15 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare pretend setup
|
||||
DEPEND=|| ( dev-db/postgresql:9.5[server] dev-db/postgresql:9.4[server] dev-db/postgresql:9.3[server] dev-db/postgresql:9.2[server] dev-db/postgresql:9.1[server] ) dev-libs/json-c dev-libs/libxml2:2 >=sci-libs/geos-3.5.0 >=sci-libs/proj-4.6.0 >=sci-libs/gdal-1.10.0:= gtk? ( x11-libs/gtk+:2 ) doc? ( app-text/docbook-xsl-stylesheets app-text/docbook-xml-dtd:4.5 dev-libs/libxslt || ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[imagemagick,png] ) ) virtual/pkgconfig test? ( dev-util/cunit ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DEPEND=|| ( dev-db/postgresql:9.6[server] dev-db/postgresql:9.5[server] dev-db/postgresql:9.4[server] dev-db/postgresql:9.3[server] dev-db/postgresql:9.2[server] dev-db/postgresql:9.1[server] ) dev-libs/json-c dev-libs/libxml2:2 >=sci-libs/geos-3.5.0 >=sci-libs/proj-4.6.0 >=sci-libs/gdal-1.10.0:= gtk? ( x11-libs/gtk+:2 ) doc? ( app-text/docbook-xsl-stylesheets app-text/docbook-xml-dtd:4.5 dev-libs/libxslt || ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[imagemagick,png] ) ) virtual/pkgconfig test? ( dev-util/cunit ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=Geographic Objects for PostgreSQL
|
||||
EAPI=6
|
||||
HOMEPAGE=http://postgis.net
|
||||
IUSE=doc gtk static-libs test
|
||||
KEYWORDS=~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=|| ( dev-db/postgresql:9.5[server] dev-db/postgresql:9.4[server] dev-db/postgresql:9.3[server] dev-db/postgresql:9.2[server] dev-db/postgresql:9.1[server] ) dev-libs/json-c dev-libs/libxml2:2 >=sci-libs/geos-3.5.0 >=sci-libs/proj-4.6.0 >=sci-libs/gdal-1.10.0:= gtk? ( x11-libs/gtk+:2 )
|
||||
RDEPEND=|| ( dev-db/postgresql:9.6[server] dev-db/postgresql:9.5[server] dev-db/postgresql:9.4[server] dev-db/postgresql:9.3[server] dev-db/postgresql:9.2[server] dev-db/postgresql:9.1[server] ) dev-libs/json-c dev-libs/libxml2:2 >=sci-libs/geos-3.5.0 >=sci-libs/proj-4.6.0 >=sci-libs/gdal-1.10.0:= gtk? ( x11-libs/gtk+:2 )
|
||||
REQUIRED_USE=test? ( doc )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=http://download.osgeo.org/postgis/source/postgis-2.3.2.tar.gz
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils ea170b525f6a38a006be05c9d9429f13 libtool 4890219c51da247200223277f993e054 multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=02f06b83e49d523dabef889104341f02
|
||||
_md5_=3450b9a5208b5bf71b5670855650f546
|
||||
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup
|
||||
DEPEND=virtual/pkgconfig >=sys-devel/autoconf-2.63 test? ( dev-lang/tcl:0= ) >=dev-lang/lua-5.1:0 tcmalloc? ( dev-util/google-perftools ) jemalloc? ( >=dev-libs/jemalloc-3.2 ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
|
||||
DESCRIPTION=A persistent caching system, key-value and data structures database
|
||||
EAPI=5
|
||||
HOMEPAGE=http://redis.io/
|
||||
IUSE=+jemalloc tcmalloc test
|
||||
KEYWORDS=amd64 ~hppa x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris
|
||||
LICENSE=BSD
|
||||
RDEPEND=>=dev-lang/lua-5.1:0 tcmalloc? ( dev-util/google-perftools ) jemalloc? ( >=dev-libs/jemalloc-3.2 )
|
||||
REQUIRED_USE=?? ( tcmalloc jemalloc )
|
||||
SLOT=0
|
||||
SRC_URI=http://download.redis.io/releases/redis-2.8.17.tar.gz
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils ea170b525f6a38a006be05c9d9429f13 flag-o-matic e0ef2bf8bb6a54693e146ab4085a5ec8 libtool 4890219c51da247200223277f993e054 multilib 165fc17c38d1b11dac2008280dab6e80 systemd 5b6ca8b2fc1307ca593223f327342c96 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 user 80aaa71614ced86f02ee1a513821dc87
|
||||
_md5_=d5ceaf91cfc0d3cc669d61f4bdf12738
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup
|
||||
DEPEND=virtual/pkgconfig >=sys-devel/autoconf-2.63 test? ( dev-lang/tcl:0= ) >=dev-lang/lua-5.1:* tcmalloc? ( dev-util/google-perftools ) jemalloc? ( >=dev-libs/jemalloc-3.2 ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
|
||||
DESCRIPTION=A persistent caching system, key-value and data structures database
|
||||
EAPI=5
|
||||
HOMEPAGE=http://redis.io/
|
||||
IUSE=+jemalloc tcmalloc test
|
||||
KEYWORDS=~amd64 ~amd64-linux ~hppa ~x86 ~x86-linux ~x86-macos ~x86-solaris
|
||||
LICENSE=BSD
|
||||
RDEPEND=>=dev-lang/lua-5.1:* tcmalloc? ( dev-util/google-perftools ) jemalloc? ( >=dev-libs/jemalloc-3.2 )
|
||||
REQUIRED_USE=?? ( tcmalloc jemalloc )
|
||||
SLOT=0
|
||||
SRC_URI=http://download.redis.io/releases/redis-2.8.23.tar.gz
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils ea170b525f6a38a006be05c9d9429f13 flag-o-matic e0ef2bf8bb6a54693e146ab4085a5ec8 libtool 4890219c51da247200223277f993e054 multilib 165fc17c38d1b11dac2008280dab6e80 systemd 5b6ca8b2fc1307ca593223f327342c96 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 user 80aaa71614ced86f02ee1a513821dc87
|
||||
_md5_=9a1fd0fe1a7f4eb6a49eca5f0752aa37
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup
|
||||
DEPEND=virtual/pkgconfig >=sys-devel/autoconf-2.63 test? ( dev-lang/tcl:0= ) >=dev-lang/lua-5.1:* tcmalloc? ( dev-util/google-perftools ) jemalloc? ( >=dev-libs/jemalloc-3.2 ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
|
||||
DESCRIPTION=A persistent caching system, key-value and data structures database
|
||||
EAPI=5
|
||||
HOMEPAGE=http://redis.io/
|
||||
IUSE=+jemalloc tcmalloc test
|
||||
KEYWORDS=amd64 ~arm hppa ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris
|
||||
LICENSE=BSD
|
||||
RDEPEND=>=dev-lang/lua-5.1:* tcmalloc? ( dev-util/google-perftools ) jemalloc? ( >=dev-libs/jemalloc-3.2 )
|
||||
REQUIRED_USE=?? ( tcmalloc jemalloc )
|
||||
SLOT=0
|
||||
SRC_URI=http://download.redis.io/releases/redis-3.0.4.tar.gz
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils ea170b525f6a38a006be05c9d9429f13 flag-o-matic e0ef2bf8bb6a54693e146ab4085a5ec8 libtool 4890219c51da247200223277f993e054 multilib 165fc17c38d1b11dac2008280dab6e80 systemd 5b6ca8b2fc1307ca593223f327342c96 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 user 80aaa71614ced86f02ee1a513821dc87
|
||||
_md5_=4f2045fa5ef23b937f57f2dff8fe7feb
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install preinst prepare setup
|
||||
DEPEND=>=virtual/jdk-1.7 >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip ) >=dev-java/ant-core-1.8.2:0 >=dev-java/javatoolkit-0.3.0-r2
|
||||
DESCRIPTION=Tomcat's Servlet API 3.1/JSP API 2.3/EL API 3.0 implementation
|
||||
EAPI=6
|
||||
HOMEPAGE=http://tomcat.apache.org/
|
||||
IUSE=elibc_FreeBSD source elibc_FreeBSD
|
||||
KEYWORDS=~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=>=virtual/jre-1.7 >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip )
|
||||
SLOT=3.1
|
||||
SRC_URI=mirror://apache/tomcat/tomcat-8/v8.5.11/src/apache-tomcat-8.5.11-src.tar.gz
|
||||
_eclasses_=eutils ea170b525f6a38a006be05c9d9429f13 java-ant-2 d1abcccd8e9c606be17deacfe5c7368a java-pkg-2 eb1f0d7d874162c70088f5ae32c31ee7 java-utils-2 8cefdc020b528862da5737e2a230f708 multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=1a0d90a2402c0a1a61c7c106e5c052f7
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue