parent
51d56d0a8b
commit
068cd4f1f2
@ -1,3 +1,4 @@
|
||||
DIST clamav-0.98.7.tar.gz 15118851 SHA256 282417b707740de13cd8f18d4cbca9ddd181cf96b444db2cad98913a5153e272 SHA512 acf01961472c13ccb219420cc3fa3c3e6f8a733edef371dbc04ce5867900aa1535e956ec8ad50d31c8f872a0a1d79fcccac944cd86e29ecdfa4af18f7fd5afb9 WHIRLPOOL c9f2e6f52f07f68bdcccf55ca1aab0bf3deaa6963279459d64ecca076a9ed0ef53c25996b2b673e9746833822df24689a9fab0654064c5ee6ed372a86966fbb6
|
||||
DIST clamav-0.99.1.tar.gz 15990867 SHA256 e144689122d3f91293808c82cbb06b7d3ac9eca7ae29564c5d148ffe7b25d58a SHA512 9beb5c0ebff2aef741bb27811c1f10a7cd5da354ff67272ee8994d87c95e272a5983105af0fe1a734e1fa99f112dc4dddd9d82074a0df6715814817f85a45f4f WHIRLPOOL e2afd7b7d377c1a1af802e780839bb21bcd318035ac858b6cb11545db3673d3f74ba3159b837238982248720379f98ab51e279a8636bbea89331136891e88e5d
|
||||
DIST clamav-0.99.2.tar.gz 16067497 SHA256 167bd6a13e05ece326b968fdb539b05c2ffcfef6018a274a10aeda85c2c0027a SHA512 7744ba8a344b163cf98e9737cddfd25d2120b34ee9c4518380e028c9ec3cd50127b198b0dfa9fde30f5ce9aab0c0e6384712fbc11287e77d16ce052fd7b6ac44 WHIRLPOOL 371dc56c3ffa0ff40381d451687a9331a0587943a048604c6667e1018fbfe5559b023654d29f47505bd69a1a44f88adfb5b93b7c55c8cbc6f0bbfcbf836bf631
|
||||
DIST clamav-0.99.tar.gz 15968038 SHA256 d2792c8cfadd685fffc40b2199679628815df031fd3149ccf961649fc8787ea9 SHA512 328e66fa412ba61f5e44c839b254c7a84d2ce7821fda6cf29e4ee9532c06e45bdec62f202ca561223e984fff170bfd8280e5cc8e306c09a3017b17e7db3bbf56 WHIRLPOOL 696b425c0d3a6639d627e6dba000a57c4e532232f9f42a564a992c0b459d8041a1947b09548d99b621a5685c78d91045adf4b61731242f55eda2b8d5150fc8b8
|
||||
|
@ -0,0 +1,142 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic user systemd
|
||||
|
||||
DESCRIPTION="Clam Anti-Virus Scanner"
|
||||
HOMEPAGE="http://www.clamav.net/"
|
||||
# no longer on sf.net from 0.99.2 onwards
|
||||
SRC_URI="https://www.clamav.net/downloads/production/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="bzip2 clamdtop iconv ipv6 libressl milter metadata-analysis-api selinux static-libs uclibc"
|
||||
|
||||
CDEPEND="bzip2? ( app-arch/bzip2 )
|
||||
clamdtop? ( sys-libs/ncurses:0 )
|
||||
iconv? ( virtual/libiconv )
|
||||
metadata-analysis-api? ( dev-libs/json-c )
|
||||
milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
|
||||
dev-libs/libtommath
|
||||
>=sys-libs/zlib-1.2.2
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
sys-devel/libtool
|
||||
!!<app-antivirus/clamav-0.99"
|
||||
# openssl is now *required* see this link as to why
|
||||
# http://blog.clamav.net/2014/02/introducing-openssl-as-dependency-to.html
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-clamav )"
|
||||
|
||||
DOCS=( AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README UPGRADE )
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup clamav
|
||||
enewuser clamav -1 -1 /dev/null clamav
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
use uclibc && export ac_cv_type_error_t=yes
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-experimental \
|
||||
--disable-fanotify \
|
||||
--enable-id-check \
|
||||
--with-dbdir="${EPREFIX}"/var/lib/clamav \
|
||||
--with-system-tommath \
|
||||
--with-zlib="${EPREFIX}"/usr \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable clamdtop) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable milter) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with iconv) \
|
||||
$(use_with metadata-analysis-api libjson /usr)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
rm -rf "${ED}"/var/lib/clamav
|
||||
newinitd "${FILESDIR}"/clamd.initd-r6 clamd
|
||||
newconfd "${FILESDIR}"/clamd.conf-r1 clamd
|
||||
|
||||
systemd_dotmpfilesd "${FILESDIR}/tmpfiles.d/clamav.conf"
|
||||
systemd_newunit "${FILESDIR}/clamd_at.service" "clamd@.service"
|
||||
systemd_dounit "${FILESDIR}/clamd.service"
|
||||
systemd_dounit "${FILESDIR}/freshclamd.service"
|
||||
|
||||
keepdir /var/lib/clamav
|
||||
fowners clamav:clamav /var/lib/clamav
|
||||
keepdir /var/log/clamav
|
||||
fowners clamav:clamav /var/log/clamav
|
||||
|
||||
dodir /etc/logrotate.d
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/clamav.logrotate clamav
|
||||
|
||||
# Modify /etc/{clamd,freshclam}.conf to be usable out of the box
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.pid:" \
|
||||
-e "s:.*\(LocalSocket\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.sock:" \
|
||||
-e "s:.*\(User\) .*:\1 clamav:" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \
|
||||
-e "s:^\#\(LogTime\).*:\1 yes:" \
|
||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
||||
"${ED}"/etc/clamd.conf.sample || die
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/freshclam.pid:" \
|
||||
-e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \
|
||||
-e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \
|
||||
-e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamd.conf:" \
|
||||
-e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
|
||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
||||
"${ED}"/etc/freshclam.conf.sample || die
|
||||
|
||||
if use milter ; then
|
||||
# MilterSocket one to include ' /' because there is a 2nd line for
|
||||
# inet: which we want to leave
|
||||
dodoc "${FILESDIR}"/clamav-milter.README.gentoo
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamav-milter.pid:" \
|
||||
-e "s+^\#\(ClamdSocket\) .*+\1 unix:${EPREFIX}/var/run/clamav/clamd.sock+" \
|
||||
-e "s:.*\(User\) .*:\1 clamav:" \
|
||||
-e "s+^\#\(MilterSocket\) /.*+\1 unix:${EPREFIX}/var/run/clamav/clamav-milter.sock+" \
|
||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \
|
||||
"${ED}"/etc/clamav-milter.conf.sample || die
|
||||
cat >> "${ED}"/etc/conf.d/clamd <<-EOF
|
||||
MILTER_NICELEVEL=19
|
||||
START_MILTER=no
|
||||
EOF
|
||||
|
||||
systemd_newunit "${FILESDIR}/clamav-milter.service-r1" clamav-milter.service
|
||||
fi
|
||||
|
||||
for i in clamd freshclam clamav-milter
|
||||
do
|
||||
[[ -f "${D}"/etc/"${i}".conf.sample ]] && mv "${D}"/etc/"${i}".conf{.sample,}
|
||||
done
|
||||
|
||||
prune_libtool_files --all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use milter ; then
|
||||
elog "For simple instructions how to setup the clamav-milter read the"
|
||||
elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}"
|
||||
fi
|
||||
if test -z $(find "${ROOT}"var/lib/clamav -maxdepth 1 -name 'main.c*' -print -quit) ; then
|
||||
ewarn "You must run freshclam manually to populate the virus database files"
|
||||
ewarn "before starting clamav for the first time.\n"
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST stress-ng-0.05.12.tar.gz 280758 SHA256 081a597bc3b6b7f2993828a04048e5321a81ece6995c7bb9b202dd65e7fb055f SHA512 ee622b1d8fd1b3ddee6119f5a43cedb427e3524bb6ef10f7ac96c305567c9919574e9103949825e2bea3391c302b6e2b5871667bc8f8609844765b64ec760bc8 WHIRLPOOL b9f84501fcbe6494881947a44bbb42ba6fb00120ab6e7fc45ac6b5ece76f7dd95a98a588db9326f0e1bd879020a8ffdcc604dfc5a70f2858924bf85a8a4612c0
|
||||
DIST stress-ng-0.06.00.tar.gz 311761 SHA256 b6781e7c53c5a7938690df8cdd1f3d1191ce758dca820c1175752da6f7085491 SHA512 a23a3f020e1fa777c6141db8f9d91833b9758172974be0db341c757eb7b407520b80bc9889eb7b6348cfa64d8f8976ba6ad8761a5fbc31055accd8fbceb8de66 WHIRLPOOL 14dc2ebf3858583cc1933be3177966f597f10d5595ee60dc804fb2ee9903a78a34746761313844c23da784c8e3f2cfc3279eca1ec480811e0c74b33ef10b1c49
|
||||
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="A tool to load and stress a computer system"
|
||||
HOMEPAGE="http://kernel.ubuntu.com/~cking/stress-ng/"
|
||||
SRC_URI="http://kernel.ubuntu.com/~cking/tarballs/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-apps/keyutils
|
||||
sys-apps/attr"
|
||||
RDEPEND="${DEPEND}"
|
@ -1 +1,2 @@
|
||||
DIST dict-de_de-1901_oldspell_2012-09-29.oxt 4807281 SHA256 252d8a411446dc8a1bc971fbbef0610a88203cdc910a949a6292c60188c02eb0 SHA512 15afe6157c6a1fbd723610440f98e823217d91fd0accf54975797ca20b3f47d6beb14c2ce118a44d17815c05e6dab923ea1ec3759237c6c4758344d805776cde WHIRLPOOL 39703e5c2b0ca8bf619d512efc40eb6151d9f2902be89497597f82fa1330e088fe0098b0fcda5b895c22e9917f3c1847d9ed5f86d4e4c1c511f102764170ce20
|
||||
DIST dict-de_de-1901_oldspell_2016-04-03.oxt 8197279 SHA256 4c59cb201c794186d43a638a18ed718a0502b70f4c4a84eaf2c7f07d141ac4a2 SHA512 af6a353e52505895e4084378d91578956452d7db402a14073e6b2387d7b5377bcf652414bf90e113d976f24e082adf138ba138d54fa321c55bcb2c4d93c83cdc WHIRLPOOL cc44d97d12571d05bb98aa1e4fa9f746b20cd1a521d56ab91eb2b9eb78ff939c2469ff94816993905a3c0f71644b405b25ce2a83c9288144979a00a7535a105b
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
MYSPELL_DICT=(
|
||||
"de_DE_1901.aff"
|
||||
"de_DE_1901.dic"
|
||||
)
|
||||
|
||||
MYSPELL_HYPH=(
|
||||
"hyph_de_DE_1901.dic"
|
||||
)
|
||||
|
||||
MYSPELL_THES=(
|
||||
)
|
||||
|
||||
inherit myspell-r2
|
||||
|
||||
DESCRIPTION="German (traditional orthography) dictionaries for myspell/hunspell"
|
||||
HOMEPAGE="http://www.j3e.de/myspell/
|
||||
http://extensions.libreoffice.org/extension-center/german-de-de-1901-old-spelling-dictionaries"
|
||||
#SRC_URI="http://extensions.libreoffice.org/extension-center/german-de-de-1901-old-spelling-dictionaries/pscreleasefolder.2011-11-04.1209635399/${PV:0:4}.${PV:4:2}.${PV:6:2}/dict-de_de-1901_oldspell_${PV:0:4}-${PV:4:2}-${PV:6:2}.oxt"
|
||||
SRC_URI="mirror://sourceforge/project/aoo-extensions/1057/8/dict-de_de-1901_oldspell_${PV:0:4}-${PV:4:2}-${PV:6:2}.oxt"
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Nicely rename; http://www.iana.org/assignments/language-subtag-registry
|
||||
mv de_DE_OLDSPELL.aff de_DE_1901.aff || die
|
||||
mv de_DE_OLDSPELL.dic de_DE_1901.dic || die
|
||||
mv hyph_de_DE_OLDSPELL.dic hyph_de_DE_1901.dic || die
|
||||
# Remove thesaurus for new spelling to avoid installing its readme file
|
||||
rm th_de_DE_v2* || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST Aseprite-v1.1.4.1-Source.zip 11723085 SHA256 731ac44259217626dde91cdcae9a24cdd4337540fc91bbe5c05cebcb12869879 SHA512 deeb42c123517e17378498584bb788f375e8aaaf046d5f9732848a5bd794a1af1d8381ff51271f9e30c198478e0f716ae23495972b693db9049ff4c2b8968672 WHIRLPOOL 5c2bd1bf8f5d187c385086a431ab070f55308b01089ce703e54093963402a9300295ea1cbf3602021fea1211ae68c6a2a07391e8e054827ce82ee60462001c4a
|
||||
DIST Aseprite-v1.1.5.1-Source.zip 11753037 SHA256 0579f8d78e492de22accfa390f5ab98b14de0f760bb4354f4ee8dc66fd3ee167 SHA512 2f12c6f2a47f8646cb540334c2ea71742f24e18b4e117be713c85c5faa55ea714a938cf204d7a9abf2d0cc97261f76186ca02199d52bfdc30ee63bc1f1c006c5 WHIRLPOOL 9cdb1ce31daee2f98e4576b01d0a274373621c7c1180433510529c5f11d6d074342c0c1bae65658e85c1e9db77affaa6aebb0697d7d956305282c045df8be5e3
|
||||
DIST aseprite-0.9.5.tar.xz 507744 SHA256 81e0360d9d8a32d6c548775dbacdb1520aac94b54c2d9f1327d52f219737f154 SHA512 fc6df942aefea67fd05e1b688209b70a2d5879a1441f61a6e3ee4d72fcdab4e580e1d4d7392fd493e0a46c45401a3eef759aa3efee17450e4c98df7f310b2d00 WHIRLPOOL 060dcf2754827ab3b30dde55cfcecd25e2d88f6e296b45529737e2194f4a9891d171776d10f9c571890efb9766b64080b85dc3d737102d2ac7be9843d27fdaef
|
||||
|
@ -0,0 +1,105 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils flag-o-matic
|
||||
|
||||
DESCRIPTION="Animated sprite editor & pixel art tool"
|
||||
HOMEPAGE="http://www.aseprite.org"
|
||||
SRC_URI="https://github.com/aseprite/aseprite/releases/download/v${PV}/Aseprite-v${PV}-Source.zip"
|
||||
|
||||
# See https://github.com/aseprite/aseprite#credits
|
||||
# Some bundled third-party packages built-in:
|
||||
# gtest duktape modp_b64 simpleini
|
||||
LICENSE="BSD GPL-2 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="debug kde gtk3 test webp"
|
||||
|
||||
RDEPEND="dev-libs/tinyxml
|
||||
media-libs/allegro:0[X,png]
|
||||
media-libs/freetype
|
||||
media-libs/giflib:=
|
||||
webp? ( media-libs/libwebp )
|
||||
media-libs/libpng:0=
|
||||
net-misc/curl
|
||||
sys-libs/zlib
|
||||
virtual/jpeg:0
|
||||
x11-libs/libX11
|
||||
x11-libs/pixman
|
||||
gtk3? ( dev-cpp/gtkmm:3.0 )
|
||||
kde? (
|
||||
dev-qt/qtcore:5
|
||||
kde-frameworks/kio:5 )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
DOCS=( docs/files/ase.txt
|
||||
docs/files/fli.txt
|
||||
docs/files/msk.txt
|
||||
docs/files/pic.txt
|
||||
docs/files/picpro.txt
|
||||
README.md )
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
# Fix to make flag-o-matic work.
|
||||
if use debug ; then
|
||||
sed -i '/-DNDEBUG/d' CMakeLists.txt || die
|
||||
fi
|
||||
|
||||
# Fix shebang in thumbnailer
|
||||
sed -i -e 's:#!/usr/bin/sh:#!/bin/sh:' desktop/aseprite-thumbnailer || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use debug && append-cppflags -DDEBUGMODE -D_DEBUG
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=OFF # Don't compile internal libs as shared
|
||||
-DENABLE_UPDATER=OFF
|
||||
-DFULLSCREEN_PLATFORM=ON
|
||||
-DUSE_SHARED_ALLEGRO4=ON
|
||||
-DUSE_SHARED_CURL=ON
|
||||
-DUSE_SHARED_FREETYPE=ON
|
||||
-DUSE_SHARED_GIFLIB=ON
|
||||
-DUSE_SHARED_JPEGLIB=ON
|
||||
-DUSE_SHARED_LIBLOADPNG=ON
|
||||
-DUSE_SHARED_LIBPNG=ON
|
||||
-DUSE_SHARED_PIXMAN=ON
|
||||
-DUSE_SHARED_TINYXML=ON
|
||||
-DUSE_SHARED_ZLIB=ON
|
||||
-DUSE_SHARED_LIBWEBP=ON
|
||||
-DWITH_DESKTOP_INTEGRATION=ON
|
||||
-DWITH_GTK_FILE_DIALOG_SUPPORT="$(usex gtk3)"
|
||||
-DWITH_QT_THUMBNAILER="$(usex kde)"
|
||||
-DWITH_WEBP_SUPPORT="$(usex webp)"
|
||||
-DENABLE_TESTS="$(usex test)"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
|
||||
if use kde; then
|
||||
mycmakeargs=( )
|
||||
CMAKE_USE_DIR="${S}/desktop/kde" \
|
||||
BUILD_DIR="${WORKDIR}/${P}_desktop_build" \
|
||||
cmake-utils_src_configure
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
use kde && BUILD_DIR="${WORKDIR}/${P}_desktop_build" \
|
||||
cmake-utils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
use kde && BUILD_DIR="${WORKDIR}/${P}_desktop_build" \
|
||||
cmake-utils_src_install
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
EGO_PN=github.com/tools/godep
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit golang-vcs
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
EGIT_COMMIT=v${PV}
|
||||
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
inherit golang-vcs-snapshot
|
||||
fi
|
||||
inherit golang-build
|
||||
|
||||
DESCRIPTION="dependency tool for go"
|
||||
HOMEPAGE="https://github.com/tools/godep"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_install() {
|
||||
dobin godep
|
||||
dodoc src/${EGO_PN}/*.md
|
||||
}
|
@ -1,802 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool systemd
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
function php_get_uri ()
|
||||
{
|
||||
case "${1}" in
|
||||
"php-pre")
|
||||
echo "http://downloads.php.net/stas/${2}"
|
||||
;;
|
||||
"php")
|
||||
echo "http://www.php.net/distributions/${2}"
|
||||
;;
|
||||
"olemarkus")
|
||||
echo "https://dev.gentoo.org/~olemarkus/php/${2}"
|
||||
;;
|
||||
"gentoo")
|
||||
echo "mirror://gentoo/${2}"
|
||||
;;
|
||||
*)
|
||||
die "unhandled case in php_get_uri"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
# alias, so we can handle different types of releases (finals, rcs, alphas,
|
||||
# betas, ...) w/o changing the whole ebuild
|
||||
PHP_PV="${PV/_rc/RC}"
|
||||
PHP_PV="${PHP_PV/_alpha/alpha}"
|
||||
PHP_PV="${PHP_PV/_beta/beta}"
|
||||
PHP_RELEASE="php"
|
||||
[[ ${PV} == ${PV/_alpha/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_beta/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_rc/} ]] || PHP_RELEASE="php-pre"
|
||||
PHP_P="${PN}-${PHP_PV}"
|
||||
|
||||
PHP_PATCHSET_LOC="olemarkus"
|
||||
|
||||
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
|
||||
|
||||
PHP_PATCHSET="2"
|
||||
PHP_PATCHSET_URI="
|
||||
$(php_get_uri "${PHP_PATCHSET_LOC}" "php-patchset-${SLOT}-r${PHP_PATCHSET}.tar.bz2")"
|
||||
|
||||
PHP_FPM_INIT_VER="4"
|
||||
PHP_FPM_CONF_VER="1"
|
||||
|
||||
SRC_URI="
|
||||
${PHP_SRC_URI}
|
||||
${PHP_PATCHSET_URI}"
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs"
|
||||
HOMEPAGE="http://php.net/"
|
||||
LICENSE="PHP-3"
|
||||
|
||||
S="${WORKDIR}/${PHP_P}"
|
||||
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk
|
||||
crypt +ctype curl curlwrappers debug
|
||||
enchant exif +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash
|
||||
mssql mysql mysqlnd mysqli nls
|
||||
oci8-instant-client odbc pcntl pdo +phar +posix postgres qdbm
|
||||
readline recode selinux +session sharedmem
|
||||
+simplexml snmp soap sockets spell sqlite ssl
|
||||
sybase-ct sysvipc systemd tidy +tokenizer truetype unicode wddx
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
|
||||
|
||||
DEPEND="
|
||||
>=app-eselect/eselect-php-0.7.1-r3[apache2?,fpm?]
|
||||
>=dev-libs/libpcre-8.32[unicode]
|
||||
apache2? ( || ( >=www-servers/apache-2.4[apache2_modules_unixd,threads=]
|
||||
<www-servers/apache-2.4[threads=] ) )
|
||||
berkdb? ( =sys-libs/db-4* )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
cjk? ( !gd? (
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
crypt? ( >=dev-libs/libmcrypt-2.4 )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( app-text/enchant )
|
||||
exif? ( !gd? (
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0 )
|
||||
gmp? ( >=dev-libs/gmp-4.1.2 )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( virtual/imap-c-client[ssl=] )
|
||||
intl? ( dev-libs/icu:= )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
|
||||
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
|
||||
mssql? ( dev-db/freetds[mssql] )
|
||||
!mysqlnd? (
|
||||
mysql? ( virtual/mysql )
|
||||
mysqli? ( >=virtual/mysql-4.1 )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||
postgres? ( dev-db/postgresql )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline )
|
||||
recode? ( app-text/recode )
|
||||
sharedmem? ( dev-libs/mm )
|
||||
simplexml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2 )
|
||||
soap? ( >=dev-libs/libxml2-2.6.8 )
|
||||
spell? ( >=app-text/aspell-0.50 )
|
||||
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.7 )
|
||||
sybase-ct? ( dev-db/freetds )
|
||||
tidy? ( app-text/htmltidy )
|
||||
truetype? (
|
||||
=media-libs/freetype-2*
|
||||
>=media-libs/t1lib-5.0.0
|
||||
!gd? (
|
||||
virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
|
||||
)
|
||||
unicode? ( dev-libs/oniguruma )
|
||||
wddx? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
|
||||
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xpm? (
|
||||
x11-libs/libXpm
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0= sys-libs/zlib
|
||||
)
|
||||
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||
zip? ( sys-libs/zlib )
|
||||
zlib? ( sys-libs/zlib )
|
||||
virtual/mta
|
||||
"
|
||||
|
||||
php="=${CATEGORY}/${PF}"
|
||||
|
||||
REQUIRED_USE="
|
||||
truetype? ( gd )
|
||||
cjk? ( gd )
|
||||
exif? ( gd )
|
||||
|
||||
xpm? ( gd )
|
||||
gd? ( zlib )
|
||||
simplexml? ( xml )
|
||||
soap? ( xml )
|
||||
wddx? ( xml )
|
||||
xmlrpc? ( || ( xml iconv ) )
|
||||
xmlreader? ( xml )
|
||||
xslt? ( xml )
|
||||
ldap-sasl? ( ldap )
|
||||
mhash? ( hash )
|
||||
phar? ( hash )
|
||||
mysqlnd? ( || (
|
||||
mysql
|
||||
mysqli
|
||||
pdo
|
||||
) )
|
||||
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
recode? ( !imap !mysql !mysqli )
|
||||
sharedmem? ( !threads )
|
||||
|
||||
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
fpm? (
|
||||
selinux? ( sec-policy/selinux-phpfpm )
|
||||
systemd? ( sys-apps/systemd ) )"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/flex
|
||||
>=sys-devel/m4-1.4.3
|
||||
>=sys-devel/libtool-1.5.18"
|
||||
|
||||
# Allow users to install production version if they want to
|
||||
|
||||
case "${PHP_INI_VERSION}" in
|
||||
production|development)
|
||||
;;
|
||||
*)
|
||||
PHP_INI_VERSION="development"
|
||||
;;
|
||||
esac
|
||||
|
||||
PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}"
|
||||
PHP_INI_FILE="php.ini"
|
||||
|
||||
want_apache
|
||||
|
||||
pkg_setup() {
|
||||
depend.apache_pkg_setup
|
||||
}
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
local phpinisrc="${PHP_INI_UPSTREAM}-${phpsapi}"
|
||||
cp "${PHP_INI_UPSTREAM}" "${phpinisrc}"
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}"
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" -i "${phpinisrc}"
|
||||
|
||||
# Set the include path to point to where we want to find PEAR packages
|
||||
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}"
|
||||
|
||||
if use_if_iuse opcache; then
|
||||
elog "Adding opcache to ${phpinisrc}"
|
||||
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> ${phpinisrc}
|
||||
fi
|
||||
|
||||
dodir "${PHP_INI_DIR#${EPREFIX}}"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" "${PHP_INI_FILE}"
|
||||
|
||||
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
|
||||
elog
|
||||
|
||||
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
|
||||
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
|
||||
|
||||
# SAPI-specific handling
|
||||
|
||||
if [[ "${sapi}" == "fpm" ]] ; then
|
||||
[[ -z ${PHP_FPM_CONF_VER} ]] && PHP_FPM_CONF_VER=0
|
||||
einfo "Installing FPM CGI config file php-fpm.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/php-fpm-r${PHP_FPM_CONF_VER}.conf" php-fpm.conf
|
||||
|
||||
# Remove bogus /etc/php-fpm.conf.default (bug 359906)
|
||||
[[ -f "${ED}/etc/php-fpm.conf.default" ]] && rm "${ED}/etc/php-fpm.conf.default"
|
||||
fi
|
||||
|
||||
# Install PHP ini files into /usr/share/php
|
||||
|
||||
dodoc php.ini-development
|
||||
dodoc php.ini-production
|
||||
|
||||
}
|
||||
|
||||
php_set_ini_dir() {
|
||||
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
|
||||
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
|
||||
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path
|
||||
# ([empty session.save_path]/session_mm_[sapi][gid].sem)
|
||||
# there is no easy way to circumvent that, all php calls during
|
||||
# install use -n, so no php.ini file will be used.
|
||||
# As such, this is the easiest way to get around
|
||||
addpredict /session_mm_cli250.sem
|
||||
addpredict /session_mm_cli0.sem
|
||||
|
||||
# Change PHP branding
|
||||
# Get the alpha/beta/rc version
|
||||
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1-pl${PR/r/}-gentoo\2|g" \
|
||||
-i configure.in || die "Unable to change PHP branding"
|
||||
|
||||
# Patch PHP to show Gentoo as the server platform
|
||||
sed -e 's/PHP_UNAME=`uname -a | xargs`/PHP_UNAME=`uname -s -n -r -v | xargs`/g' \
|
||||
-i configure.in || die "Failed to fix server platform name"
|
||||
|
||||
# Prevent PHP from activating the Apache config,
|
||||
# as we will do that ourselves
|
||||
sed -i \
|
||||
-e "s,-i -a -n php${PHP_MV},-i -n php${PHP_MV},g" \
|
||||
-e "s,-i -A -n php${PHP_MV},-i -n php${PHP_MV},g" \
|
||||
configure sapi/apache2filter/config.m4 sapi/apache2handler/config.m4
|
||||
|
||||
# Patch PHP to support heimdal instead of mit-krb5
|
||||
if has_version "app-crypt/heimdal" ; then
|
||||
sed -e 's|gssapi_krb5|gssapi|g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal libname"
|
||||
sed -e 's|PHP_ADD_LIBRARY(k5crypto, 1, $1)||g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal crypt library reference"
|
||||
fi
|
||||
|
||||
#Add user patches #357637
|
||||
epatch_user
|
||||
|
||||
#force rebuilding aclocal.m4
|
||||
rm aclocal.m4
|
||||
eautoreconf
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# http://bugs.php.net/bug.php?id=48795, bug #343481
|
||||
sed -i -e '/BUILD_CGI="\\$(CC)/s/CC/CXX/' configure || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
|
||||
|
||||
# This is a global variable and should be in caps. It isn't because the
|
||||
# phpconfutils eclass relies on exactly this name...
|
||||
# for --with-libdir see bug #327025
|
||||
my_conf="
|
||||
--prefix="${PHP_DESTDIR}"
|
||||
--mandir="${PHP_DESTDIR}"/man
|
||||
--infodir="${PHP_DESTDIR}"/info
|
||||
--libdir="${PHP_DESTDIR}"/lib
|
||||
--with-libdir=$(get_libdir)
|
||||
--without-pear
|
||||
$(use_enable threads maintainer-zts)"
|
||||
|
||||
# extension USE flag shared
|
||||
my_conf+="
|
||||
$(use_enable bcmath bcmath )
|
||||
$(use_with bzip2 bz2 "${EPREFIX}"/usr)
|
||||
$(use_enable calendar calendar )
|
||||
$(use_enable ctype ctype )
|
||||
$(use_with curl curl "${EPREFIX}"/usr)
|
||||
$(use_with curlwrappers curlwrappers "${EPREFIX}"/usr)
|
||||
$(use_enable xml dom )
|
||||
$(use_with enchant enchant "${EPREFIX}"/usr)
|
||||
$(use_enable exif exif )
|
||||
$(use_enable fileinfo fileinfo )
|
||||
$(use_enable filter filter )
|
||||
$(use_enable ftp ftp )
|
||||
$(use_with nls gettext "${EPREFIX}"/usr)
|
||||
$(use_with gmp gmp "${EPREFIX}"/usr)
|
||||
$(use_enable hash hash )
|
||||
$(use_with mhash mhash "${EPREFIX}"/usr)
|
||||
$(use_with iconv iconv $(use elibc_glibc || use elibc_musl || echo "${EPREFIX}"/usr))
|
||||
$(use_enable intl intl )
|
||||
$(use_enable ipv6 ipv6 )
|
||||
$(use_enable json json )
|
||||
$(use_with kerberos kerberos "${EPREFIX}"/usr)
|
||||
$(use_enable xml libxml )
|
||||
$(use_with xml libxml-dir "${EPREFIX}"/usr)
|
||||
$(use_enable unicode mbstring )
|
||||
$(use_with crypt mcrypt "${EPREFIX}"/usr)
|
||||
$(use_with mssql mssql "${EPREFIX}"/usr)
|
||||
$(use_with unicode onig "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl-dir "${EPREFIX}"/usr)
|
||||
$(use_enable pcntl pcntl )
|
||||
$(use_enable phar phar )
|
||||
$(use_enable pdo pdo )
|
||||
$(use_with postgres pgsql "${EPREFIX}"/usr)
|
||||
$(use_enable posix posix )
|
||||
$(use_with spell pspell "${EPREFIX}"/usr)
|
||||
$(use_with recode recode "${EPREFIX}"/usr)
|
||||
$(use_enable simplexml simplexml )
|
||||
$(use_enable sharedmem shmop )
|
||||
$(use_with snmp snmp "${EPREFIX}"/usr)
|
||||
$(use_enable soap soap )
|
||||
$(use_enable sockets sockets )
|
||||
$(use_with sqlite sqlite3 "${EPREFIX}"/usr)
|
||||
$(use_with sybase-ct sybase-ct "${EPREFIX}"/usr)
|
||||
$(use_enable sysvipc sysvmsg )
|
||||
$(use_enable sysvipc sysvsem )
|
||||
$(use_enable sysvipc sysvshm )
|
||||
$(use_with systemd fpm-systemd)
|
||||
$(use_with tidy tidy "${EPREFIX}"/usr)
|
||||
$(use_enable tokenizer tokenizer )
|
||||
$(use_enable wddx wddx )
|
||||
$(use_enable xml xml )
|
||||
$(use_enable xmlreader xmlreader )
|
||||
$(use_enable xmlwriter xmlwriter )
|
||||
$(use_with xmlrpc xmlrpc)
|
||||
$(use_with xslt xsl "${EPREFIX}"/usr)
|
||||
$(use_enable zip zip )
|
||||
$(use_with zlib zlib "${EPREFIX}"/usr)
|
||||
$(use_enable debug debug )"
|
||||
|
||||
# DBA support
|
||||
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|
||||
|| use qdbm ; then
|
||||
my_conf="${my_conf} --enable-dba${shared}"
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
my_conf+="
|
||||
$(use_with cdb cdb)
|
||||
$(use_with berkdb db4 ${EPREFIX}/usr)
|
||||
$(use_enable flatfile flatfile )
|
||||
$(use_with gdbm gdbm ${EPREFIX}/usr)
|
||||
$(use_enable inifile inifile )
|
||||
$(use_with qdbm qdbm ${EPREFIX}/usr)"
|
||||
|
||||
# Support for the GD graphics library
|
||||
my_conf+="
|
||||
$(use_with truetype freetype-dir ${EPREFIX}/usr)
|
||||
$(use_with truetype t1lib ${EPREFIX}/usr)
|
||||
$(use_enable cjk gd-jis-conv )
|
||||
$(use_with gd jpeg-dir ${EPREFIX}/usr)
|
||||
$(use_with gd png-dir ${EPREFIX}/usr)
|
||||
$(use_with xpm xpm-dir ${EPREFIX}/usr)"
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
my_conf+="
|
||||
$(use_with gd gd)"
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
my_conf+="
|
||||
$(use_with imap imap ${EPREFIX}/usr)
|
||||
$(use_with ssl imap-ssl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Interbase/firebird support
|
||||
|
||||
if use firebird ; then
|
||||
my_conf+="
|
||||
$(use_with firebird interbase ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
my_conf+="
|
||||
$(use_with ldap ldap ${EPREFIX}/usr)
|
||||
$(use_with ldap-sasl ldap-sasl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# MySQL support
|
||||
if use mysql ; then
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysql mysql mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysql mysql ${EPREFIX}/usr)"
|
||||
fi
|
||||
my_conf+="
|
||||
$(use_with mysql mysql-sock ${EPREFIX}/var/run/mysqld/mysqld.sock)"
|
||||
fi
|
||||
|
||||
# MySQLi support
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysqli mysqli mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysqli mysqli ${EPREFIX}/usr/bin/mysql_config)"
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
if use odbc ; then
|
||||
my_conf+="
|
||||
$(use_with odbc unixODBC ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
if use iodbc ; then
|
||||
my_conf+="
|
||||
$(use_with iodbc iodbc ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Oracle support
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client oci8)"
|
||||
fi
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
my_conf+="
|
||||
$(use_with mssql pdo-dblib )"
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysqlnd pdo-mysql mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysql pdo-mysql ${EPREFIX}/usr)"
|
||||
fi
|
||||
my_conf+="
|
||||
$(use_with postgres pdo-pgsql )
|
||||
$(use_with sqlite pdo-sqlite ${EPREFIX}/usr)
|
||||
$(use_with odbc pdo-odbc unixODBC,${EPREFIX}/usr)"
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client pdo-oci)"
|
||||
fi
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
my_conf+="
|
||||
$(use_with readline readline ${EPREFIX}/usr)
|
||||
$(use_with libedit libedit ${EPREFIX}/usr)"
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
my_conf+="
|
||||
$(use_with sharedmem mm ${EPREFIX}/usr)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_enable session session )"
|
||||
fi
|
||||
|
||||
# Use pic for shared modules such as apache2's mod_php
|
||||
my_conf="${my_conf} --with-pic"
|
||||
|
||||
# we use the system copy of pcre
|
||||
# --with-pcre-regex affects ext/pcre
|
||||
# --with-pcre-dir affects ext/filter and ext/zip
|
||||
my_conf="${my_conf} --with-pcre-regex=${EPREFIX}/usr --with-pcre-dir=${EPREFIX}/usr"
|
||||
|
||||
# Catch CFLAGS problems
|
||||
# Fixes bug #14067.
|
||||
# Changed order to run it in reverse for bug #32022 and #12021.
|
||||
replace-cpu-flags "k6*" "i586"
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
my_conf="${my_conf} ${EXTRA_ECONF:-}"
|
||||
|
||||
# Support the Apache2 extras, they must be set globally for all
|
||||
# SAPIs to work correctly, especially for external PHP extensions
|
||||
|
||||
mkdir -p "${WORKDIR}/sapis-build"
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
cp -r "${S}" "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
|
||||
sapi_conf="${my_conf} --with-config-file-path=${PHP_INI_DIR}
|
||||
--with-config-file-scan-dir=${PHP_EXT_INI_DIR_ACTIVE}"
|
||||
|
||||
for sapi in $SAPIS ; do
|
||||
case "$sapi" in
|
||||
cli|cgi|embed|fpm)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --enable-${sapi}"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --disable-${sapi}"
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --with-apxs2=${EPREFIX}/usr/sbin/apxs"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --without-apxs2"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
econf ${sapi_conf}
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# snmp seems to run during src_compile, too (bug #324739)
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
for sapi in ${SAPIS} ; do
|
||||
if use "${sapi}"; then
|
||||
cd "${WORKDIR}/sapis-build/$sapi" || "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||
emake || die "emake failed"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# see bug #324739 for what happens when we don't have that
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
|
||||
# grab the first SAPI that got built and install common files from there
|
||||
local first_sapi=""
|
||||
for sapi in $SAPIS ; do
|
||||
if use $sapi ; then
|
||||
first_sapi=$sapi
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Makefile forgets to create this before trying to write to it...
|
||||
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
|
||||
|
||||
# Install php environment (without any sapis)
|
||||
cd "${WORKDIR}/sapis-build/$first_sapi"
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs \
|
||||
|| die "emake install failed"
|
||||
|
||||
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
|
||||
|
||||
# Create the directory where we'll put version-specific php scripts
|
||||
keepdir /usr/share/php${PHP_MV}
|
||||
|
||||
local sapi="", file=""
|
||||
local sapi_list=""
|
||||
|
||||
for sapi in ${SAPIS}; do
|
||||
if use "${sapi}" ; then
|
||||
einfo "Installing SAPI: ${sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${sapi}"
|
||||
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
# We're specifically not using emake install-sapi as libtool
|
||||
# may cause unnecessary relink failures (see bug #351266)
|
||||
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
|
||||
newins ".libs/libphp5$(get_libname)" "libphp${PHP_MV}$(get_libname)"
|
||||
keepdir "/usr/$(get_libdir)/apache2/modules"
|
||||
else
|
||||
# needed each time, php_install_ini would reset it
|
||||
local dest="${PHP_DESTDIR#${EPREFIX}}"
|
||||
into "${dest}"
|
||||
case "$sapi" in
|
||||
cli)
|
||||
source="sapi/cli/php"
|
||||
;;
|
||||
cgi)
|
||||
source="sapi/cgi/php-cgi"
|
||||
;;
|
||||
fpm)
|
||||
source="sapi/fpm/php-fpm"
|
||||
;;
|
||||
embed)
|
||||
source="libs/libphp${PHP_MV}$(get_libname)"
|
||||
;;
|
||||
*)
|
||||
die "unhandled sapi in src_install"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${source}" == *"$(get_libname)" ]]; then
|
||||
dolib.so "${source}" || die "Unable to install ${sapi} sapi"
|
||||
else
|
||||
dobin "${source}" || die "Unable to install ${sapi} sapi"
|
||||
local name="$(basename ${source})"
|
||||
dosym "${dest}/bin/${name}" "/usr/bin/${name}${SLOT}"
|
||||
fi
|
||||
fi
|
||||
|
||||
php_install_ini "${sapi}"
|
||||
|
||||
# construct correct SAPI string for php-config
|
||||
# thanks to ferringb for the bash voodoo
|
||||
if [[ "${sapi}" == "apache2" ]]; then
|
||||
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
|
||||
else
|
||||
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Installing opcache module
|
||||
if use_if_iuse opcache ; then
|
||||
dolib.so "modules/opcache$(get_libname)" || die "Unable to install opcache module"
|
||||
fi
|
||||
|
||||
# Install env.d files
|
||||
newenvd "${FILESDIR}/20php5-envd" \
|
||||
"20php${SLOT}"
|
||||
sed -e "s|/lib/|/$(get_libdir)/|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
sed -e "s|php5|php${SLOT}|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
|
||||
# set php-config variable correctly (bug #278439)
|
||||
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
|
||||
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config"
|
||||
|
||||
if use fpm ; then
|
||||
if use systemd; then
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at.service" "php-fpm@${SLOT}.service"
|
||||
else
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at-simple.service" "php-fpm@${SLOT}.service"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
|
||||
if [[ ! -x "${PHP_BIN}" ]] ; then
|
||||
ewarn "Test phase requires USE=cli, skipping"
|
||||
return
|
||||
else
|
||||
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis/cgi/php-cgi" ]] ; then
|
||||
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis/cgi/php-cgi"
|
||||
fi
|
||||
|
||||
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d "session.save_path=${T}" \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d "session.save_path=${T}"
|
||||
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
mv "${name}.out" "${name}.out.orig" 2>/dev/null
|
||||
done
|
||||
|
||||
local failed="$(find -name '*.out')"
|
||||
if [[ ${failed} != "" ]] ; then
|
||||
ewarn "The following test cases failed unexpectedly:"
|
||||
for name in ${failed}; do
|
||||
ewarn " ${name/.out/}"
|
||||
done
|
||||
else
|
||||
einfo "No unexpected test failures, all fine"
|
||||
fi
|
||||
|
||||
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
|
||||
local passed=""
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
[[ -f "${name}.diff" ]] && continue
|
||||
passed="${passed} ${name}"
|
||||
done
|
||||
if [[ ${passed} != "" ]] ; then
|
||||
einfo "The following test cases passed unexpectedly:"
|
||||
for name in ${passed}; do
|
||||
ewarn " ${passed}"
|
||||
done
|
||||
else
|
||||
einfo "None of the known-to-fail tests passed, all fine"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Output some general info to the user
|
||||
if use apache2 ; then
|
||||
APACHE2_MOD_DEFINE="PHP5"
|
||||
APACHE2_MOD_CONF="70_mod_php5" # actually provided by app-eselect/eselect-php
|
||||
apache-module_pkg_postinst
|
||||
fi
|
||||
|
||||
# Create the symlinks for php
|
||||
for m in ${SAPIS}; do
|
||||
[[ ${m} == 'embed' ]] && continue;
|
||||
if use $m ; then
|
||||
local ci=$(eselect php show $m)
|
||||
if [[ -z $ci ]]; then
|
||||
eselect php set $m php${SLOT}
|
||||
einfo "Switched ${m} to use php:${SLOT}"
|
||||
einfo
|
||||
elif [[ $ci != "php${SLOT}" ]] ; then
|
||||
elog "To switch $m to use php:${SLOT}, run"
|
||||
elog " eselect php set $m php${SLOT}"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order"
|
||||
elog "to compile extensions for the ${SLOT} ABI"
|
||||
elog
|
||||
if ! use readline && use cli ; then
|
||||
ewarn "Note that in order to use php interactivly, you need to enable"
|
||||
ewarn "the readline USE flag or php -a will hang"
|
||||
fi
|
||||
elog
|
||||
elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version."
|
||||
elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either"
|
||||
elog "'production' or 'development' in ${EPREFIX}/etc/make.conf"
|
||||
elog "Both versions of php.ini can be found in ${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
elog
|
||||
elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:"
|
||||
elog "https://www.gentoo.org/proj/en/php/php-upgrading.xml"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
eselect php cleanup
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST ptypes-2.0.2.tar.gz 225135 SHA256 7562b62143ca446fff73dfe8ab7c480ff731448b566d1c7841a404c79e20f584 SHA512 c4181640b54abe3fe93eb4fdff9553bf3937097df2ef6276b40758a3cd6590969ab819de0aa05d62e30919263f5484bb8cf19373cacd5b7aa50280880efb6cd4 WHIRLPOOL 32d78bebea8dd6b9b13b403851932aaa2025bd6d76a83a1b3f64aeb19455a8f6a7c92963cc0eef44df17b3a5b2abcc7f41857af172cd287834e4779ea2d1b223
|
@ -1,48 +0,0 @@
|
||||
diff -Naur ptypes-2.0.2-orig/include/pstreams.h ptypes-2.0.2/include/pstreams.h
|
||||
--- ptypes-2.0.2-orig/include/pstreams.h 2006-06-09 09:41:51.000000000 -0400
|
||||
+++ ptypes-2.0.2/include/pstreams.h 2006-06-09 09:42:30.000000000 -0400
|
||||
@@ -266,6 +266,9 @@
|
||||
// internal class used in fdxstm
|
||||
//
|
||||
|
||||
+class ptpublic fdxstm;
|
||||
+class unit_thread;
|
||||
+
|
||||
class ptpublic fdxoutstm: public outstm
|
||||
{
|
||||
friend class fdxstm;
|
||||
diff -Naur ptypes-2.0.2-orig/include/ptypes.h ptypes-2.0.2/include/ptypes.h
|
||||
--- ptypes-2.0.2-orig/include/ptypes.h 2006-06-09 09:41:51.000000000 -0400
|
||||
+++ ptypes-2.0.2/include/ptypes.h 2006-06-09 09:42:30.000000000 -0400
|
||||
@@ -46,6 +46,10 @@
|
||||
# define VARIANT_TYPECAST_HACK
|
||||
#endif
|
||||
|
||||
+#if (__GNUC__ == 4)
|
||||
+# define VARIANT_TYPECAST_HACK
|
||||
+#endif
|
||||
+
|
||||
|
||||
// -------------------------------------------------------------------- //
|
||||
// --- string class --------------------------------------------------- //
|
||||
@@ -71,6 +75,8 @@
|
||||
|
||||
ptpublic extern char* emptystr;
|
||||
|
||||
+class ptpublic variant;
|
||||
+class ptpublic _varray;
|
||||
|
||||
class ptpublic string
|
||||
{
|
||||
diff -Naur ptypes-2.0.2-orig/src/pvariant.cxx ptypes-2.0.2/src/pvariant.cxx
|
||||
--- ptypes-2.0.2-orig/src/pvariant.cxx 2006-06-09 09:41:51.000000000 -0400
|
||||
+++ ptypes-2.0.2/src/pvariant.cxx 2006-06-09 09:42:55.000000000 -0400
|
||||
@@ -38,7 +38,7 @@
|
||||
protected:
|
||||
int refcount;
|
||||
|
||||
- virtual int _varray::compare(const void* key, const void* item) const;
|
||||
+ virtual int compare(const void* key, const void* item) const;
|
||||
|
||||
friend class variant;
|
||||
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>cpp@gentoo.org</email>
|
||||
<name>Gentoo C++ Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">ptypes</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="PTypes (C++ Portable Types Library), alternative to the STL including multithreading and networking"
|
||||
HOMEPAGE="http://www.melikyan.com/ptypes/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/${PV}-gcc41.patch"
|
||||
sed -i \
|
||||
-e 's/-O2/$(CXXFLAGS)/' \
|
||||
src/Makefile.common wshare/Makefile.common \
|
||||
|| die "sed failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if ! use debug ; then
|
||||
sed -i \
|
||||
-e 's/^\(DDEBUG\).*/\1=/' \
|
||||
src/Makefile.common wshare/Makefile.common \
|
||||
|| die "sed failed"
|
||||
fi
|
||||
emake CXX=$(tc-getCXX) CXXFLAGS="${CXXFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib lib/* || die "Installing libraries"
|
||||
insinto /usr/include
|
||||
doins include/* || die "Installing headers"
|
||||
dohtml -r doc/* || die "Installing documentation"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST unittest++-1.6.0.tar.gz 52227 SHA256 9fa7e797816e16669d68171418b0dc41ec6b7eaf8483f782441f5f159598c3c0 SHA512 499450b6cfa8ef8be5eff09ac238423fe5dc04b1c6065db02f46b903968e702fb45ccd9953aff81eef4a8aae80e91448afc0cbdf4a3f1f83b551f9d7dcd828f3 WHIRLPOOL 8043c8da08117f70fda142e92bcdfd0c2c8fd99d10380554a2f32fbe5a5c58fe1f3cf31bcc82bfcc6b1dda22dcc61ed11a87370f0f2c7874116dfe8c5a9410e7
|
||||
DIST unittest++-1.6.1.tar.gz 52536 SHA256 1cc9071be01db190f26868fefb6a7af49ee56a339fc3b08d1a1e9eeca5376c45 SHA512 2bb03def8b6ac84dbb6e5e440e5be8648199096fdc93d6666b704386e2c2279b329be6bda47c81bd8a8c485334059fb2a53fdd90358005a95b8add6f057c25ce WHIRLPOOL e6dfe890ce809fcbee4d82b379e14c66687d9b9fd28bd934941677f32b4974951cae498010370bef85191bc01fd047ce23ff4a14e5b03d4b9216ee131610852a
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
MY_PN="unittest-cpp"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A lightweight unit testing framework for C++"
|
||||
HOMEPAGE="https://unittest-cpp.github.io/"
|
||||
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i '/run unit tests as post build step/,/Running unit tests/d' \
|
||||
CMakeLists.txt || die
|
||||
use test || sed -i \
|
||||
'/build the test runner/,/target_link_libraries(TestUnitTest++ UnitTest++/d' \
|
||||
CMakeLists.txt || die
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${BUILD_DIR}/TestUnitTest++" || die "Tests failed"
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST Syntax-Highlight-Engine-Simple-0.08.tar.gz 17133 SHA256 4d4fd7a7fe7e63795e7667adc340eca50f8e88f9945f522ccadd06f56f11eff7 SHA512 4884d710e651f5420509d30ba1edbd8ff6880b6f51de6b8052c67c66a66bb677a5136f9dd22d685a49255eecfb2148d21f1acfe9d4e6ee6908a716a683ace805 WHIRLPOOL bee92f2c6401ed57663a92362377709b6cdc6445a58611780bf323d68e3bac317eb53db99b32ae4d35a0835c9504c49cb9f3812731502222f179a74dae30bf45
|
||||
DIST Syntax-Highlight-Engine-Simple-0.09.tar.gz 17185 SHA256 a4a561b245044cf0290e2cc3930724963fb681da0053be35cbdbdb4b1bffd89a SHA512 14130e2bcc80a6c9b06f5ddb07a7bc50c6c60d508e3d2483a8ee2926671272ced0750be261558a5b22133d82d7677b754689a5322e971965846d1bba7b2ad73a WHIRLPOOL 250388ee937c1c2f1b5c7193093b53e9920abe9d8153c574b2e8ef489f3603e80e90c5efd6e90586323f4e08dc7280dc2e67f0599ef02eb7c1e5e433b4da9ca5
|
||||
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_VERSION=0.08
|
||||
MODULE_AUTHOR=JAMADAM
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Simple Syntax Highlight Engine"
|
||||
IUSE=""
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="dev-perl/UNIVERSAL-require
|
||||
dev-perl/Module-Build"
|
@ -1,2 +1 @@
|
||||
DIST Sys-CPU-0.54.tar.gz 6116 SHA256 04ccb677314acb5ef3169d7c677ba16e78d4d39dc8a1b6b74b7d0c905e7c951e SHA512 8a30eea354c47debc4b065da50b7f6e86a0b36fc9306d4db55a64e1d1c1c3e013a0c204bce7b1c93735a5d32d751e948430178967200f873bf7f154563feeb0e WHIRLPOOL a02c3e3f2f2c70625d52b481974ab5a6e6f31a5f5252ff2c5d82eb6632967414e8d1566980c55455fa2ad9a00da26d9401c1329a1516dc4292d85043cd966bb5
|
||||
DIST Sys-CPU-0.61.tar.gz 6497 SHA256 250a86b79c231001c4ae71d2f66428092a4fbb2070971acafd471aa49739c9e4 SHA512 391e113c87d9044cd43c47f9f78a782fab65566a32c028c01f7f3335a5065b6755586ea3143356510c8d28a7d1ad572cc6203ec189eaaa379967bdbd0a0bd7bc WHIRLPOOL 566c59562beecd38ef2d5909dabbeeed4948ebcf5eb8973ce1175bd9938c44cf1b3b2acde32b875f4b6030683a4468fc63490a6f1bbc053ed1e06e4f19bff0e1
|
||||
|
@ -1,15 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=MZSANFORD
|
||||
MODULE_VERSION=0.54
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Access CPU info. number, etc on Win and UNIX"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ppc ppc64 sparc x86 ~ppc-macos"
|
||||
IUSE=""
|
@ -1 +1 @@
|
||||
DIST svn-1.0.2.tgz 25226 SHA256 ca0ea834e745a1aae65b456800bb5c5cfd7c4eceff281f7a8e317d30726e48cd SHA512 32baa9d7becabde30d4454326ffeab7c815d2112b6e6554ed2eed3cdf01fe0be73917f5794e0b812daf4d733402e64beb2705daffa7c9895bab5782961f7fc5b WHIRLPOOL 52022d8ec414cb8e95ed8cca523a3cb392ddf27fc38ee7a2d028599b605ec4750b1d8e2e194710881a32e30bafdc1aa234abbdd89e97963bf42b691b65675688
|
||||
DIST svn-1.0.3.tgz 27216 SHA256 8ccf1dd78b92649486d1875102ecb899c1e4e5ddf674f2d87adf611c16295089 SHA512 41f111c3a47f66317c47318162bfd17c22ffef6462ababdafd9ed38220b1135464e52a365fbc206fd510dafad739437174faf1d0dd144707fad62da43c6c1a79 WHIRLPOOL c293d8b2bc5ad5bd7f392957f87468375e9d3780a451944f4497398ae8938a23023dbc3927c1aace5126fd2cfb2a22326d4c0d52f6124987574c130bea24923c
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST taint-1.2.2.tgz 19949 SHA256 ea38bfeb20c1ae46477db4bd5ae1ddf97b7b75abfba8c624e44dfb73643ad9ca SHA512 8c533320ad8d22fcec541b6c25c214f0b90a46889d840253f20378124e1492c9458a798cbb5752f17bb90994fcba3791dd3eb8f5ff7497f4194e84b50d6bbc4d WHIRLPOOL 7b7f20f9b8f66608b03a6b7484e0ccb6efd5e5784a4498e95307b8eb6dea0c3a413583ea05890010479c4136ae2e60857eb384096c6a984b839cbd3492f4df85
|
||||
DIST taint-2.0.0.tgz 15573 SHA256 2b4c7572460be03bb4304319e23c845a89a098b983821acb9be1476c2e902110 SHA512 f6a8ca778e57cb26fe7e6a9cf8f43e41a66ccd9532f6903f0c12a8c81ec07037e7ab705aee5c94b6def7c2e0a726565473d2c71fd397b2aa87a4333920a7d2ac WHIRLPOOL 905f4f7232ea9f4fc1db8712f8e688f7db4f8763e37e8f991a0ac0ac03b52aa889502b7f4eb6931fd02dbc8327c89ae835f85e3422b9c01568117f71d2f6ee78
|
||||
DIST taint-2.0.1.tgz 18358 SHA256 981b1f0369674ff1e3555368c68a92b3376e324f91c88ee71dfdfceca6a9b322 SHA512 9a2b4c937d4adee24ab0d84d283665b683ecee45e871781ee1bfd8cd4bc4e11a9b1bdda647c63bd44861e95ab07f0af1e3bd902bec537961d57131e5a615893e WHIRLPOOL 187ff4d0c54ecbe4730f8aa3f4e61220e4e3f456c09ecdb2fba61a9745129b66cd0d84905be51be4f452af04cfd8f5e59c3ea63a0adad6143d1e162c7e274592
|
||||
|
@ -1,12 +1,11 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# Fails to build with php5-5 and php5-6
|
||||
USE_PHP="php5-4"
|
||||
|
||||
USE_PHP="php7-0"
|
||||
MY_PV="${PV/_beta/}"
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
DESCRIPTION="Extension used for detecting XSS codes(tainted string)"
|
@ -1,2 +1,2 @@
|
||||
DIST pymediainfo-2.1.2.tar.gz 420339 SHA256 257d2cd2de1b2da81b2eaf9cda58d40cfcb04704c013d3c38b5edc988996f92f SHA512 51d81289ae9037fc850c58953e5139d4c0cc57dbfa3ecd8daf60b3487bfef2fbb2d2cecefe80b8e8dcad3418e964c8967f27a6f4efcc320d2002b18bcaa9c180 WHIRLPOOL 56ad97804262e30355f453597cae7e0c295db7e3dc656ee33bccd6cdf51bd6aa1a043071f6993c636496c12ae0ad65089c87cec8bdfa32c713c8f02532c00797
|
||||
DIST pymediainfo-2.1.3.tar.gz 420494 SHA256 da97c7c000b8b5b641ad56ac3c4458ac05aaced41ad9ac421e78496ca77800df SHA512 b3af87c415fcab12937055cd20cd44779ac49c8f0879af3bd24e541c34f6c2d6160e3c54c315841ade11468dfe64c587d3d66aa67abace3db308bc18ca9121d5 WHIRLPOOL a9799474723b8805bf292fa80ba79cb4e6f4a54b7ffe9c187d27d8403af6b788ddbfef0725d5ecb9474fd9796967868e2ef28db73637beae034444621541a540
|
||||
DIST pymediainfo-2.1.4.tar.gz 420642 SHA256 b4ce090a5bfa24bf5f54a0a16c41ef0c3a0e12d4dae97bdb8b237788664c0136 SHA512 a82bb910ec76e11fb5120c224a804f6db1cef2cd4c6be0e3a5f5905d44594d35bf0abee629ea5092de2dbd7506a8c876735e53b0e2fd837dcadfabe2e8535dbb WHIRLPOOL be3617b6f2b03e404bab89a3d829a7f882bec2e2c61b7dcf00c01d809ca192da07aaed5e0f54723dd3169fb9ad17b76be61ceabc2e06ae1b9f63736254d319a1
|
||||
|
@ -0,0 +1,37 @@
|
||||
# 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_TASK_DOC="docs"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.txt History.txt"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A ruby parser written in pure ruby"
|
||||
HOMEPAGE="https://github.com/seattlerb/ruby_parser"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/sexp_processor-4.7.0:4
|
||||
!<dev-ruby/ruby_parser-2.3.1-r1"
|
||||
|
||||
ruby_add_bdepend "doc? ( >=dev-ruby/hoe-2.9.1 )"
|
||||
ruby_add_bdepend "test? ( dev-ruby/racc >=dev-ruby/minitest-4.3 )"
|
||||
|
||||
DEPEND+=" test? ( dev-util/unifdef )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove reference to perforce method that is not in a released
|
||||
# version of hoe-seattlerb.
|
||||
#sed -i -e '/perforce/d' Rakefile || die
|
||||
sed -i -e '/license/d' Rakefile || die
|
||||
sed -i -e '/Hoe.plugin :isolate/ s:^:#:' Rakefile || die
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.txt History.txt"
|
||||
|
||||
# Disable default binwraps
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
# Tests need to be verified
|
||||
RESTRICT=test
|
||||
|
||||
DESCRIPTION="Nathaniel Talbott's originial test-unit"
|
||||
HOMEPAGE="http://test-unit.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE=""
|
@ -1,3 +1,4 @@
|
||||
DIST noto-2014.11.zip 381169520 SHA256 6f49663b4a40ed291ff459808a9d1fa6d41f6b3309b79cf7aeaf5fa884040e2c SHA512 36695b99daf870f76d00535513ae0e16170b8d7eb471f75ae016fb970cae236ce6fcf41da790567369dde0bbd87b4c023cac6aa197dd17f8f809d20a4cca3c5b WHIRLPOOL 21977fb0369975ac6ae66c950826478b17f5d5860fd88b2e45f5c016b046e6f17618c1477fb84021348266babecf4c7efa3ca939495cb392bfb4b897466c2218
|
||||
DIST noto-2015.04.zip 380076754 SHA256 20a467d6664f5bd5d4604e903dd562ba3970dd29b17b09c7b591cb3c293287f6 SHA512 4ed6cb02007d2a96d46a96fba66639cce35019ce0490843d1d1ee3684dca4638227c6b6cb89b49cabe745b523d0e3b48f338555fcbe7168f120107d24d4d2ca7 WHIRLPOOL cc92fceb7e4b260acc936c224cca1cee89d8be3f8dae5b9cbe7426c0787d8ed64aae587f53f46f9fdd327732b7755f04870f69617585f005cb7a3b67434c6452
|
||||
DIST noto-20160305.zip 494039413 SHA256 a979d9837d4223bcbe55497e3b5c545e0e554a78584f60915f1e620d3fbe508e SHA512 bf20eaf075491d46c7c4d1ea3514f38d0515180879ea4ad0a3a77d72c54cdd4b043e06f4e6852f5f68b1ab2d5f512261ad25ceacdb3e19db2769f0c05c1a795c WHIRLPOOL 75c4bced2caa5990b8688e3c06214ed0dfc1dd85e00607b69c458a39c856835ea7ea9fd6d4f6710945c634991ed41cf3e3c69046e12194c22d73ecd8f46d4fc1
|
||||
DIST noto-nocjk-20160305.tar.xz 7818968 SHA256 087c0d920e5ae651ad3671d558de1a11d5832b775f5d4e3e5d287acf9f2866df SHA512 a7c5ef3f74ca8abfd1185cbfba2ddd29c8135162115ef418c41d85813e5823f12d7c78235569ae3288ea8012239052b7cf4cdbe811d014152acd4748bb55c715 WHIRLPOOL bc959cd7acf7f1afb572f6c988f174502291c4b676d5e5c4044c21b2cc61537d0128851d09b6aa6380c4764b37b7d0d9b1958a5a33f70c785d2dd75353261450
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit font
|
||||
|
||||
DESCRIPTION="Google's font family that aims to support all the world's languages"
|
||||
HOMEPAGE="https://www.google.com/get/noto/"
|
||||
SRC_URI="
|
||||
cjk? ( https://dev.gentoo.org/~pacho/${PN}/${P}.zip )
|
||||
!cjk? ( https://dev.gentoo.org/~kensington/distfiles/${PN}-nocjk-${PV}.tar.xz )
|
||||
"
|
||||
# renamed from upstream's unversioned Noto-hinted.zip
|
||||
# version number based on the timestamp of most recently updated font in the zip
|
||||
|
||||
LICENSE="OFL-1.1" # https://github.com/googlei18n/noto-fonts/blob/master/NEWS
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="cjk"
|
||||
|
||||
DEPEND="!cjk? ( app-arch/unzip )"
|
||||
RESTRICT="binchecks strip"
|
||||
|
||||
S=${WORKDIR}
|
||||
FONT_S="${S}"
|
||||
FONT_SUFFIX="ttf"
|
||||
|
||||
src_install() {
|
||||
use cjk && FONT_SUFFIX+=" otf"
|
||||
font_src_install
|
||||
}
|
@ -1,6 +1 @@
|
||||
DIST avidemux_2.6.2.tar.gz 17009420 SHA256 67c5676692152094033fbab490fbea24af27d8744496578d1c77957ab103fdb6 SHA512 1ba6f1c751732eec9fdceb2b0728122005ceab4c74ac09d213ebeff4c2af2a0b6ce8737d88e7c43970d1b9ca80cb36ad925efc9e4a487c4f463f1435aee328b3 WHIRLPOOL 0c95e87293251fffb773c8a1996ac015ba0d6f9d36d4f5ae01313c0532d2cf020a3ba0704d0f607347bbf0444e10857d7508fcbd968d62e889d7b62b36b85df7
|
||||
DIST avidemux_2.6.3.tar.gz 17025710 SHA256 78972b46c6ef1eb52fc012cafdeb2b6275913b968a49053016fb91ef0e9e5137 SHA512 a51e3cd95695a8500f1355c7a76b8313ae3fe68855b8eb9351038c00cd3d05bbf3ada3b75bf9d817fcddf1786a55c1c09cdbc4fe774974c5e4484c12ccd0a8fc WHIRLPOOL 899c5135e92cd3a830c84b1701ac6bfaf73d7417fa869ab26dd16b3754e5b71c5e667b30d747c5f19b902e1a8d53679447e86f9c6403f32a31554e551929e2bf
|
||||
DIST avidemux_2.6.4.tar.gz 17109929 SHA256 2937c6c09248445942ac7e71b100ff8f7e272c4ad9c38e7d8c519ce4a11cec44 SHA512 1b80f65ac5a1da844b521a82bab8976d01c81923460004dc76ed0f6994f95da0ad9a836c90ffa1595ad060f0d6f27ce30add0204ca9d5295084a62e79dd484c9 WHIRLPOOL a1cbfcfeafa163ed24881edb085126a69eca3e0e8eaee50091ceadb993105a0cb43068b7725fa54871bc04b20ca5b51650ac536688b1d1f8d5b0a2d7356459ef
|
||||
DIST avidemux_2.6.5.tar.gz 17322253 SHA256 428e1f6d99e2d854ccdcb68f2260d853c47c809eee6bd92f151cb298d98b1861 SHA512 e7f8be29812ca787a1ec2cfddb1c611e1032ed94f24f41c0684f106970085bb6d219c822f3e713c472508a3f7b306540d2cabeb665bdbac061a49bccf8c23a80 WHIRLPOOL 192ce60afe4634319567cd7a1440ba212d83e02c054d6625ad738955fde02d0e722eba948c60932f520bb5e76c46ebbab0001230c1da50d893fb99a18f1da76f
|
||||
DIST avidemux_2.6.7.tar.gz 17337193 SHA256 d28202273d23be85c748c12d6e4df5e013bb861ea52b9bac7e0f90ba3d23249f SHA512 deea9811a0b6f618fab2ecf63c675b37dac12ea0ab09136a6b251e13601cd62cdc1c97d032762ea54f38e07275380106026541243bc87e230ce302fb821f2e5c WHIRLPOOL a41c338fc51e14d2c900dcef86a3887f94164548e8b904945d47915a78db907d152fda4ae53e5c37bf368348ff9912b529005a271f85d993776f042b5b997553
|
||||
DIST avidemux_2.6.8.tar.gz 17380534 SHA256 02998c235a89894d184d745c94cac37b78bc20e9eb44b318ee2bb83f2507e682 SHA512 57a4042f1a9d46462850871d36950215c5ffb5b66ce2f2cde09d747e946c05adb7a550ac7763c96f4c1bcb2c39881407d9d88bc64c93053741091751495ba0b0 WHIRLPOOL 29f8a6039d82e686e8dfbfc7b23658921834238a4cc6c4de338afdfdc032a9a7cba1c8236789aa6dbcab318ec14c344c19563f153e6cbd63cd265c5fb15b44b6
|
||||
|
@ -1,117 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
|
||||
inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs
|
||||
|
||||
SLOT="2.6"
|
||||
MY_PN="${PN/-core/}"
|
||||
MY_P="${MY_PN}_${PV}"
|
||||
|
||||
DESCRIPTION="Core libraries for a video editor designed for simple cutting, filtering and encoding tasks"
|
||||
HOMEPAGE="http://fixounet.free.fr/avidemux"
|
||||
SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
# Multiple licenses because of all the bundled stuff.
|
||||
LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="aften a52 alsa amr debug dts fontconfig jack lame libsamplerate cpu_flags_x86_mmx oss nls sdl -system-ffmpeg vorbis truetype xvid x264 xv"
|
||||
|
||||
RDEPEND="
|
||||
!<media-video/avidemux-2.6.2-r1:${SLOT}
|
||||
>=dev-lang/spidermonkey-1.5-r2:0
|
||||
dev-libs/libxml2
|
||||
media-libs/libpng
|
||||
virtual/libiconv
|
||||
aften? ( media-libs/aften )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.3b-r2 )
|
||||
amr? ( media-libs/opencore-amr )
|
||||
dts? ( media-libs/libdca )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
jack? (
|
||||
media-sound/jack-audio-connection-kit
|
||||
libsamplerate? ( media-libs/libsamplerate )
|
||||
)
|
||||
lame? ( media-sound/lame )
|
||||
sdl? ( media-libs/libsdl )
|
||||
system-ffmpeg? ( >=media-video/ffmpeg-1.0:0[aac,cpudetection,mp3,theora] )
|
||||
truetype? ( >=media-libs/freetype-2.1.5 )
|
||||
x264? ( media-libs/x264:= )
|
||||
xv? ( x11-libs/libXv )
|
||||
xvid? ( media-libs/xvid )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
"
|
||||
DEPEND="
|
||||
$RDEPEND
|
||||
oss? ( virtual/os-headers )
|
||||
nls? ( sys-devel/gettext )
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="
|
||||
nls? ( virtual/libintl:0 )
|
||||
$RDEPEND
|
||||
"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Preparations to support the system ffmpeg.
|
||||
if use system-ffmpeg ; then
|
||||
rm -rf cmake/admFFmpeg* cmake/ffmpeg* avidemux_core/ffmpeg_package buildCore/ffmpeg || die "Failed to remove ffmpeg."
|
||||
|
||||
sed -i -e 's/include(admFFmpegUtil)//g' avidemux/commonCmakeApplication.cmake || die "Failed to remove ffmpeg."
|
||||
sed -i -e '/registerFFmpeg/d' avidemux/commonCmakeApplication.cmake || die "Failed to remove ffmpeg."
|
||||
sed -i -e 's/include(admFFmpegBuild)//g' avidemux_core/CMakeLists.txt || die "Failed to remove ffmpeg."
|
||||
fi
|
||||
|
||||
# Avoid existing avidemux installations from making the build process fail, bug #461496.
|
||||
sed -i -e "s:getFfmpegLibNames(\"\${sourceDir}\"):getFfmpegLibNames(\"${S}/buildCore/ffmpeg/source/\"):g" cmake/admFFmpegUtil.cmake || die "Failed to avoid existing avidemux installation from making the build fail."
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local x mycmakeargs
|
||||
|
||||
mycmakeargs="
|
||||
$(for x in ${IUSE}; do cmake-utils_use ${x/#-/}; done)
|
||||
$(cmake-utils_use amr OPENCORE_AMRWB)
|
||||
$(cmake-utils_use amr OPENCORE_AMRNB)
|
||||
$(cmake-utils_use dts LIBDCA)
|
||||
$(cmake-utils_use nls GETTEXT)
|
||||
$(cmake-utils_use truetype FREETYPE2)
|
||||
$(cmake-utils_use xv XVIDEO)
|
||||
"
|
||||
use debug && POSTFIX="_debug" && mycmakeargs+="-DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug"
|
||||
|
||||
mkdir "${S}"/buildCore || die "Can't creante build folder."
|
||||
cd "${S}"/buildCore || die "Can't enter build folder."
|
||||
|
||||
cmake -DAVIDEMUX_SOURCE_DIR="${S}" \
|
||||
-DCMAKE_INSTALL_PREFIX="/usr" \
|
||||
${mycmakeargs} -G "Unix Makefiles" ../"avidemux_core${POSTFIX}/" || die "cmake failed."
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Add lax vector typing for PowerPC.
|
||||
if use ppc || use ppc64 ; then
|
||||
append-cflags -flax-vector-conversions
|
||||
fi
|
||||
|
||||
# See bug 432322.
|
||||
use x86 && replace-flags -O0 -O1
|
||||
|
||||
# TODO: Report -j1 problem upstream, seems to be within ffmpeg code.
|
||||
cd "${S}"/buildCore || die "Can't enter build folder."
|
||||
emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# TODO: Report -j1 problem upstream, seems to be within ffmpeg code.
|
||||
cd "${S}"/buildCore || die "Can't enter build folder."
|
||||
emake DESTDIR="${ED}" -j1 install
|
||||
|
||||
dodoc "${S}"/{AUTHORS,README}
|
||||
}
|
@ -1,100 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
|
||||
inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs
|
||||
|
||||
SLOT="2.6"
|
||||
MY_PN="${PN/-core/}"
|
||||
MY_P="${MY_PN}_${PV}"
|
||||
|
||||
DESCRIPTION="Core libraries for a video editor designed for simple cutting, filtering and encoding tasks"
|
||||
HOMEPAGE="http://fixounet.free.fr/avidemux"
|
||||
SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
# Multiple licenses because of all the bundled stuff.
|
||||
LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug nls sdl system-ffmpeg vdpau xv"
|
||||
|
||||
DEPEND="
|
||||
!<media-video/avidemux-${PV}:${SLOT}
|
||||
dev-db/sqlite
|
||||
sdl? ( media-libs/libsdl )
|
||||
system-ffmpeg? ( >=media-video/ffmpeg-1.0:0[aac,cpudetection,mp3,theora] )
|
||||
xv? ( x11-libs/libXv )
|
||||
vdpau? ( x11-libs/libvdpau )
|
||||
"
|
||||
RDEPEND="
|
||||
nls? ( virtual/libintl:0 )
|
||||
$DEPEND
|
||||
"
|
||||
DEPEND="
|
||||
$DEPEND
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
!system-ffmpeg? ( dev-lang/yasm[nls=] )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if use system-ffmpeg ; then
|
||||
# Preparations to support the system ffmpeg. Currently fails because it depends on files the system ffmpeg doesn't install.
|
||||
rm -rf cmake/admFFmpeg* cmake/ffmpeg* avidemux_core/ffmpeg_package buildCore/ffmpeg || die "Failed to remove ffmpeg."
|
||||
|
||||
sed -i -e 's/include(admFFmpegUtil)//g' avidemux/commonCmakeApplication.cmake || die "Failed to remove ffmpeg."
|
||||
sed -i -e '/registerFFmpeg/d' avidemux/commonCmakeApplication.cmake || die "Failed to remove ffmpeg."
|
||||
sed -i -e 's/include(admFFmpegBuild)//g' avidemux_core/CMakeLists.txt || die "Failed to remove ffmpeg."
|
||||
else
|
||||
# Avoid existing avidemux installations from making the build process fail, bug #461496.
|
||||
sed -i -e "s:getFfmpegLibNames(\"\${sourceDir}\"):getFfmpegLibNames(\"${S}/buildCore/ffmpeg/source/\"):g" cmake/admFFmpegUtil.cmake || die "Failed to avoid existing avidemux installation from making the build fail."
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local x mycmakeargs
|
||||
|
||||
mycmakeargs="
|
||||
$(cmake-utils_use nls GETTEXT)
|
||||
$(cmake-utils_use sdl SDL)
|
||||
$(cmake-utils_use vdpau VDPAU)
|
||||
$(cmake-utils_use xv XVIDEO)
|
||||
"
|
||||
use debug && POSTFIX="_debug" && mycmakeargs+="-DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug"
|
||||
|
||||
mkdir "${S}"/buildCore || die "Can't create build folder."
|
||||
cd "${S}"/buildCore || die "Can't enter build folder."
|
||||
|
||||
cmake -DAVIDEMUX_SOURCE_DIR="${S}" \
|
||||
-DCMAKE_INSTALL_PREFIX="/usr" \
|
||||
${mycmakeargs} -G "Unix Makefiles" ../"avidemux_core${POSTFIX}/" || die "cmake failed."
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Add lax vector typing for PowerPC.
|
||||
if use ppc || use ppc64 ; then
|
||||
append-cflags -flax-vector-conversions
|
||||
fi
|
||||
|
||||
# See bug 432322.
|
||||
use x86 && replace-flags -O0 -O1
|
||||
|
||||
# TODO: Report -j1 problem upstream, seems to be within ffmpeg code.
|
||||
cd "${S}"/buildCore || die "Can't enter build folder."
|
||||
emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# TODO: Report -j1 problem upstream, seems to be within ffmpeg code.
|
||||
cd "${S}"/buildCore || die "Can't enter build folder."
|
||||
emake DESTDIR="${ED}" -j1 install
|
||||
|
||||
dodoc "${S}"/{AUTHORS,README}
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
|
||||
inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs
|
||||
|
||||
SLOT="2.6"
|
||||
MY_PN="${PN/-core/}"
|
||||
MY_P="${MY_PN}_${PV}"
|
||||
|
||||
DESCRIPTION="Core libraries for a video editor designed for simple cutting, filtering and encoding tasks"
|
||||
HOMEPAGE="http://fixounet.free.fr/avidemux"
|
||||
SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
# Multiple licenses because of all the bundled stuff.
|
||||
LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug nls sdl system-ffmpeg vdpau xv"
|
||||
|
||||
DEPEND="
|
||||
!<media-video/avidemux-${PV}:${SLOT}
|
||||
dev-db/sqlite
|
||||
sdl? ( media-libs/libsdl )
|
||||
system-ffmpeg? ( >=media-video/ffmpeg-1.0:0[aac,cpudetection,mp3,theora] )
|
||||
xv? ( x11-libs/libXv )
|
||||
vdpau? ( x11-libs/libvdpau )
|
||||
"
|
||||
RDEPEND="
|
||||
nls? ( virtual/libintl:0 )
|
||||
$DEPEND
|
||||
"
|
||||
DEPEND="
|
||||
$DEPEND
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
!system-ffmpeg? ( dev-lang/yasm[nls=] )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if use system-ffmpeg ; then
|
||||
# Preparations to support the system ffmpeg. Currently fails because it depends on files the system ffmpeg doesn't install.
|
||||
rm -rf cmake/admFFmpeg* cmake/ffmpeg* avidemux_core/ffmpeg_package buildCore/ffmpeg || die "Failed to remove ffmpeg."
|
||||
|
||||
sed -i -e 's/include(admFFmpegUtil)//g' avidemux/commonCmakeApplication.cmake || die "Failed to remove ffmpeg."
|
||||
sed -i -e '/registerFFmpeg/d' avidemux/commonCmakeApplication.cmake || die "Failed to remove ffmpeg."
|
||||
sed -i -e 's/include(admFFmpegBuild)//g' avidemux_core/CMakeLists.txt || die "Failed to remove ffmpeg."
|
||||
else
|
||||
# Avoid existing avidemux installations from making the build process fail, bug #461496.
|
||||
sed -i -e "s:getFfmpegLibNames(\"\${sourceDir}\"):getFfmpegLibNames(\"${S}/buildCore/ffmpeg/source/\"):g" cmake/admFFmpegUtil.cmake || die "Failed to avoid existing avidemux installation from making the build fail."
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs="
|
||||
-DAVIDEMUX_SOURCE_DIR='${S}'
|
||||
-DCMAKE_INSTALL_PREFIX='/usr'
|
||||
$(cmake-utils_use nls GETTEXT)
|
||||
$(cmake-utils_use sdl SDL)
|
||||
$(cmake-utils_use vdpau VDPAU)
|
||||
$(cmake-utils_use xv XVIDEO)
|
||||
"
|
||||
if use debug ; then
|
||||
mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug"
|
||||
fi
|
||||
|
||||
local build="${S}"/buildCore
|
||||
mkdir ${build} || die "Can't create build folder."
|
||||
cd ${build} || die "Can't enter build folder."
|
||||
CMAKE_USE_DIR="${S}"/avidemux_core BUILD_DIR=${build} cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Add lax vector typing for PowerPC.
|
||||
if use ppc || use ppc64 ; then
|
||||
append-cflags -flax-vector-conversions
|
||||
fi
|
||||
|
||||
# See bug 432322.
|
||||
use x86 && replace-flags -O0 -O1
|
||||
|
||||
# TODO: Report -j1 problem upstream, seems to be within ffmpeg code.
|
||||
cd "${S}"/buildCore || die "Can't enter build folder."
|
||||
emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# TODO: Report -j1 problem upstream, seems to be within ffmpeg code.
|
||||
cd "${S}"/buildCore || die "Can't enter build folder."
|
||||
emake DESTDIR="${ED}" -j1 install
|
||||
|
||||
dodoc "${S}"/{AUTHORS,README}
|
||||
}
|
@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit cmake-utils eutils flag-o-matic
|
||||
|
||||
SLOT="2.6"
|
||||
|
||||
DESCRIPTION="Core libraries for a video editor designed for simple cutting, filtering and encoding tasks"
|
||||
HOMEPAGE="http://fixounet.free.fr/avidemux"
|
||||
|
||||
# Multiple licenses because of all the bundled stuff.
|
||||
LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
|
||||
IUSE="debug nls sdl system-ffmpeg vaapi vdpau video_cards_fglrx xv"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
MY_PN="${PN/-core/}"
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
KEYWORDS=""
|
||||
EGIT_REPO_URI="git://gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git https://git.gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git"
|
||||
|
||||
inherit git-2
|
||||
else
|
||||
MY_P="${MY_PN}_${PV}"
|
||||
SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
fi
|
||||
|
||||
# Trying to use virtual; ffmpeg misses aac,cpudetection USE flags now though, are they needed?
|
||||
DEPEND="
|
||||
!<media-video/avidemux-${PV}:${SLOT}
|
||||
dev-db/sqlite:3
|
||||
sdl? ( media-libs/libsdl:0 )
|
||||
system-ffmpeg? ( >=virtual/ffmpeg-9:0[mp3,theora] )
|
||||
xv? ( x11-libs/libXv:0 )
|
||||
vaapi? ( x11-libs/libva:0 )
|
||||
vdpau? ( x11-libs/libvdpau:0 )
|
||||
video_cards_fglrx? (
|
||||
|| ( >=x11-drivers/ati-drivers-14.12-r3
|
||||
x11-libs/xvba-video:0 )
|
||||
)"
|
||||
RDEPEND="
|
||||
nls? ( virtual/libintl:0 )
|
||||
$DEPEND
|
||||
"
|
||||
DEPEND="
|
||||
$DEPEND
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
!system-ffmpeg? ( dev-lang/yasm[nls=] )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
BUILD_DIR="${S}/buildCore"
|
||||
|
||||
DOCS=( AUTHORS README )
|
||||
|
||||
src_prepare() {
|
||||
mkdir "${BUILD_DIR}" || die "Can't create build folder."
|
||||
|
||||
cmake-utils_src_prepare
|
||||
|
||||
if use system-ffmpeg ; then
|
||||
# Preparations to support the system ffmpeg. Currently fails because it depends on files the system ffmpeg doesn't install.
|
||||
local error="Failed to remove ffmpeg."
|
||||
|
||||
rm -rf cmake/admFFmpeg* cmake/ffmpeg* avidemux_core/ffmpeg_package buildCore/ffmpeg || die "${error}"
|
||||
sed -i -e 's/include(admFFmpegUtil)//g' avidemux/commonCmakeApplication.cmake || die "${error}"
|
||||
sed -i -e '/registerFFmpeg/d' avidemux/commonCmakeApplication.cmake || die "${error}"
|
||||
sed -i -e 's/include(admFFmpegBuild)//g' avidemux_core/CMakeLists.txt || die "${error}"
|
||||
else
|
||||
# Avoid existing avidemux installations from making the build process fail, bug #461496.
|
||||
sed -i -e "s:getFfmpegLibNames(\"\${sourceDir}\"):getFfmpegLibNames(\"${S}/buildCore/ffmpeg/source/\"):g" cmake/admFFmpegUtil.cmake \
|
||||
|| die "Failed to avoid existing avidemux installation from making the build fail."
|
||||
fi
|
||||
|
||||
# Add lax vector typing for PowerPC.
|
||||
if use ppc || use ppc64 ; then
|
||||
append-cflags -flax-vector-conversions
|
||||
fi
|
||||
|
||||
# See bug 432322.
|
||||
use x86 && replace-flags -O0 -O1
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs="
|
||||
-DAVIDEMUX_SOURCE_DIR='${S}'
|
||||
$(cmake-utils_use nls GETTEXT)
|
||||
$(cmake-utils_use sdl SDL)
|
||||
$(cmake-utils_use vaapi LIBVA)
|
||||
$(cmake-utils_use vdpau VDPAU)
|
||||
$(cmake-utils_use video_cards_fglrx XVBA)
|
||||
$(cmake-utils_use xv XVIDEO)
|
||||
"
|
||||
|
||||
if use debug ; then
|
||||
mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1"
|
||||
fi
|
||||
|
||||
CMAKE_USE_DIR="${S}"/avidemux_core cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install -j1
|
||||
}
|
@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit cmake-utils eutils flag-o-matic
|
||||
|
||||
SLOT="2.6"
|
||||
|
||||
DESCRIPTION="Core libraries for a video editor designed for simple cutting, filtering and encoding tasks"
|
||||
HOMEPAGE="http://fixounet.free.fr/avidemux"
|
||||
|
||||
# Multiple licenses because of all the bundled stuff.
|
||||
LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
|
||||
IUSE="debug nls sdl system-ffmpeg vaapi vdpau video_cards_fglrx xv"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
MY_PN="${PN/-core/}"
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
KEYWORDS=""
|
||||
EGIT_REPO_URI="git://gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git https://git.gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git"
|
||||
|
||||
inherit git-2
|
||||
else
|
||||
MY_P="${MY_PN}_${PV}"
|
||||
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
fi
|
||||
|
||||
# Trying to use virtual; ffmpeg misses aac,cpudetection USE flags now though, are they needed?
|
||||
DEPEND="
|
||||
!<media-video/avidemux-${PV}:${SLOT}
|
||||
dev-db/sqlite:3
|
||||
sdl? ( media-libs/libsdl:0 )
|
||||
system-ffmpeg? ( >=virtual/ffmpeg-9:0[mp3,theora] )
|
||||
xv? ( x11-libs/libXv:0 )
|
||||
vaapi? ( x11-libs/libva:0 )
|
||||
vdpau? ( x11-libs/libvdpau:0 )
|
||||
video_cards_fglrx? (
|
||||
|| ( >=x11-drivers/ati-drivers-14.12-r3
|
||||
x11-libs/xvba-video:0 )
|
||||
)"
|
||||
RDEPEND="
|
||||
nls? ( virtual/libintl:0 )
|
||||
$DEPEND
|
||||
"
|
||||
DEPEND="
|
||||
$DEPEND
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
!system-ffmpeg? ( dev-lang/yasm[nls=] )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
BUILD_DIR="${S}/buildCore"
|
||||
|
||||
DOCS=( AUTHORS README )
|
||||
|
||||
src_prepare() {
|
||||
mkdir "${BUILD_DIR}" || die "Can't create build folder."
|
||||
|
||||
cmake-utils_src_prepare
|
||||
|
||||
if use system-ffmpeg ; then
|
||||
# Preparations to support the system ffmpeg. Currently fails because it depends on files the system ffmpeg doesn't install.
|
||||
local error="Failed to remove ffmpeg."
|
||||
|
||||
rm -rf cmake/admFFmpeg* cmake/ffmpeg* avidemux_core/ffmpeg_package buildCore/ffmpeg || die "${error}"
|
||||
sed -i -e 's/include(admFFmpegUtil)//g' avidemux/commonCmakeApplication.cmake || die "${error}"
|
||||
sed -i -e '/registerFFmpeg/d' avidemux/commonCmakeApplication.cmake || die "${error}"
|
||||
sed -i -e 's/include(admFFmpegBuild)//g' avidemux_core/CMakeLists.txt || die "${error}"
|
||||
else
|
||||
# Avoid existing avidemux installations from making the build process fail, bug #461496.
|
||||
sed -i -e "s:getFfmpegLibNames(\"\${sourceDir}\"):getFfmpegLibNames(\"${S}/buildCore/ffmpeg/source/\"):g" cmake/admFFmpegUtil.cmake \
|
||||
|| die "Failed to avoid existing avidemux installation from making the build fail."
|
||||
fi
|
||||
|
||||
# Add lax vector typing for PowerPC.
|
||||
if use ppc || use ppc64 ; then
|
||||
append-cflags -flax-vector-conversions
|
||||
fi
|
||||
|
||||
# See bug 432322.
|
||||
use x86 && replace-flags -O0 -O1
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs="
|
||||
-DAVIDEMUX_SOURCE_DIR='${S}'
|
||||
$(cmake-utils_use nls GETTEXT)
|
||||
$(cmake-utils_use sdl SDL)
|
||||
$(cmake-utils_use vaapi LIBVA)
|
||||
$(cmake-utils_use vdpau VDPAU)
|
||||
$(cmake-utils_use video_cards_fglrx XVBA)
|
||||
$(cmake-utils_use xv XVIDEO)
|
||||
"
|
||||
|
||||
if use debug ; then
|
||||
mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1"
|
||||
fi
|
||||
|
||||
CMAKE_USE_DIR="${S}"/avidemux_core cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install -j1
|
||||
}
|
@ -1,6 +1 @@
|
||||
DIST avidemux_2.6.2.tar.gz 17009420 SHA256 67c5676692152094033fbab490fbea24af27d8744496578d1c77957ab103fdb6 SHA512 1ba6f1c751732eec9fdceb2b0728122005ceab4c74ac09d213ebeff4c2af2a0b6ce8737d88e7c43970d1b9ca80cb36ad925efc9e4a487c4f463f1435aee328b3 WHIRLPOOL 0c95e87293251fffb773c8a1996ac015ba0d6f9d36d4f5ae01313c0532d2cf020a3ba0704d0f607347bbf0444e10857d7508fcbd968d62e889d7b62b36b85df7
|
||||
DIST avidemux_2.6.3.tar.gz 17025710 SHA256 78972b46c6ef1eb52fc012cafdeb2b6275913b968a49053016fb91ef0e9e5137 SHA512 a51e3cd95695a8500f1355c7a76b8313ae3fe68855b8eb9351038c00cd3d05bbf3ada3b75bf9d817fcddf1786a55c1c09cdbc4fe774974c5e4484c12ccd0a8fc WHIRLPOOL 899c5135e92cd3a830c84b1701ac6bfaf73d7417fa869ab26dd16b3754e5b71c5e667b30d747c5f19b902e1a8d53679447e86f9c6403f32a31554e551929e2bf
|
||||
DIST avidemux_2.6.4.tar.gz 17109929 SHA256 2937c6c09248445942ac7e71b100ff8f7e272c4ad9c38e7d8c519ce4a11cec44 SHA512 1b80f65ac5a1da844b521a82bab8976d01c81923460004dc76ed0f6994f95da0ad9a836c90ffa1595ad060f0d6f27ce30add0204ca9d5295084a62e79dd484c9 WHIRLPOOL a1cbfcfeafa163ed24881edb085126a69eca3e0e8eaee50091ceadb993105a0cb43068b7725fa54871bc04b20ca5b51650ac536688b1d1f8d5b0a2d7356459ef
|
||||
DIST avidemux_2.6.5.tar.gz 17322253 SHA256 428e1f6d99e2d854ccdcb68f2260d853c47c809eee6bd92f151cb298d98b1861 SHA512 e7f8be29812ca787a1ec2cfddb1c611e1032ed94f24f41c0684f106970085bb6d219c822f3e713c472508a3f7b306540d2cabeb665bdbac061a49bccf8c23a80 WHIRLPOOL 192ce60afe4634319567cd7a1440ba212d83e02c054d6625ad738955fde02d0e722eba948c60932f520bb5e76c46ebbab0001230c1da50d893fb99a18f1da76f
|
||||
DIST avidemux_2.6.7.tar.gz 17337193 SHA256 d28202273d23be85c748c12d6e4df5e013bb861ea52b9bac7e0f90ba3d23249f SHA512 deea9811a0b6f618fab2ecf63c675b37dac12ea0ab09136a6b251e13601cd62cdc1c97d032762ea54f38e07275380106026541243bc87e230ce302fb821f2e5c WHIRLPOOL a41c338fc51e14d2c900dcef86a3887f94164548e8b904945d47915a78db907d152fda4ae53e5c37bf368348ff9912b529005a271f85d993776f042b5b997553
|
||||
DIST avidemux_2.6.8.tar.gz 17380534 SHA256 02998c235a89894d184d745c94cac37b78bc20e9eb44b318ee2bb83f2507e682 SHA512 57a4042f1a9d46462850871d36950215c5ffb5b66ce2f2cde09d747e946c05adb7a550ac7763c96f4c1bcb2c39881407d9d88bc64c93053741091751495ba0b0 WHIRLPOOL 29f8a6039d82e686e8dfbfc7b23658921834238a4cc6c4de338afdfdc032a9a7cba1c8236789aa6dbcab318ec14c344c19563f153e6cbd63cd265c5fb15b44b6
|
||||
|
@ -1,93 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
|
||||
inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs
|
||||
|
||||
SLOT="2.6"
|
||||
MY_PN="${PN/-plugins/}"
|
||||
MY_P="${MY_PN}_${PV}"
|
||||
|
||||
DESCRIPTION="Plugins for avidemux; a video editor designed for simple cutting, filtering and encoding tasks"
|
||||
HOMEPAGE="http://fixounet.free.fr/avidemux"
|
||||
SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
# Multiple licenses because of all the bundled stuff.
|
||||
LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="aften a52 alsa amr debug dts fontconfig jack lame libsamplerate cpu_flags_x86_mmx oss nls qt4 sdl vorbis truetype xvid x264 xv"
|
||||
|
||||
# TODO: Figure out which dependencies can be moved out of avidemux-core and avidemux into here.
|
||||
RDEPEND="=media-video/avidemux-${PV}-r1"
|
||||
DEPEND="$RDEPEND"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PROCESSES="buildPluginsCommon:avidemux_plugins
|
||||
buildPluginsCLI:avidemux_plugins"
|
||||
|
||||
use qt4 && PROCESSES+=" buildPluginsQt4:avidemux_plugins"
|
||||
|
||||
src_configure() {
|
||||
local x mycmakeargs plugin_ui
|
||||
|
||||
mycmakeargs="
|
||||
$(for x in ${IUSE}; do cmake-utils_use ${x/#-/}; done)
|
||||
$(cmake-utils_use amr OPENCORE_AMRWB)
|
||||
$(cmake-utils_use amr OPENCORE_AMRNB)
|
||||
$(cmake-utils_use dts LIBDCA)
|
||||
$(cmake-utils_use nls GETTEXT)
|
||||
$(cmake-utils_use truetype FREETYPE2)
|
||||
$(cmake-utils_use xv XVIDEO)
|
||||
"
|
||||
use debug && POSTFIX="_debug" && mycmakeargs+="-DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug"
|
||||
|
||||
for PROCESS in ${PROCESSES} ; do
|
||||
SOURCE="${PROCESS%%:*}"
|
||||
DEST="${PROCESS#*:}"
|
||||
|
||||
mkdir "${S}"/${SOURCE} || die "Can't create build folder."
|
||||
cd "${S}"/${SOURCE} || die "Can't enter build folder."
|
||||
|
||||
if [[ "${SOURCE}" == "buildPluginsCommon" ]] ; then
|
||||
plugin_ui="-DPLUGIN_UI=COMMON"
|
||||
elif [[ "${SOURCE}" == "buildPluginsCLI" ]] ; then
|
||||
plugin_ui="-DPLUGIN_UI=CLI"
|
||||
elif [[ "${SOURCE}" == "buildPluginsQt4" ]] ; then
|
||||
plugin_ui="-DPLUGIN_UI=QT4"
|
||||
fi
|
||||
|
||||
cmake -DAVIDEMUX_SOURCE_DIR="${S}" \
|
||||
-DCMAKE_INSTALL_PREFIX="/usr" \
|
||||
${mycmakeargs} ${plugin_ui} -G "Unix Makefiles" ../"${DEST}${POSTFIX}/" || die "cmake failed."
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Add lax vector typing for PowerPC.
|
||||
if use ppc || use ppc64 ; then
|
||||
append-cflags -flax-vector-conversions
|
||||
fi
|
||||
|
||||
# See bug 432322.
|
||||
use x86 && replace-flags -O0 -O1
|
||||
|
||||
for PROCESS in ${PROCESSES} ; do
|
||||
SOURCE="${PROCESS%%:*}"
|
||||
|
||||
cd "${S}/${SOURCE}" || die "Can't enter build folder."
|
||||
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for PROCESS in ${PROCESSES} ; do
|
||||
SOURCE="${PROCESS%%:*}"
|
||||
|
||||
cd "${S}/${SOURCE}" || die "Can't enter build folder."
|
||||
emake DESTDIR="${ED}" install
|
||||
done
|
||||
}
|
@ -1,126 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
|
||||
inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs
|
||||
|
||||
SLOT="2.6"
|
||||
MY_PN="${PN/-plugins/}"
|
||||
MY_P="${MY_PN}_${PV}"
|
||||
|
||||
DESCRIPTION="Plugins for avidemux; a video editor designed for simple cutting, filtering and encoding tasks"
|
||||
HOMEPAGE="http://fixounet.free.fr/avidemux"
|
||||
SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
# Multiple licenses because of all the bundled stuff.
|
||||
LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="aften a52 alsa amr debug dts faac faad fontconfig fribidi jack lame libsamplerate cpu_flags_x86_mmx opengl oss qt4 vorbis truetype twolame xvid x264 vpx"
|
||||
|
||||
DEPEND="
|
||||
=media-video/avidemux-${PV}[opengl?,qt4?]
|
||||
>=dev-lang/spidermonkey-1.5-r2:0
|
||||
dev-libs/libxml2
|
||||
media-libs/libpng
|
||||
virtual/libiconv
|
||||
aften? ( media-libs/aften )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.3b-r2 )
|
||||
amr? ( media-libs/opencore-amr )
|
||||
dts? ( media-libs/libdca )
|
||||
faac? ( media-libs/faac )
|
||||
faad? ( media-libs/faad2 )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
fribidi? ( dev-libs/fribidi )
|
||||
jack? (
|
||||
media-sound/jack-audio-connection-kit
|
||||
libsamplerate? ( media-libs/libsamplerate )
|
||||
)
|
||||
lame? ( media-sound/lame )
|
||||
oss? ( virtual/os-headers )
|
||||
truetype? ( >=media-libs/freetype-2.1.5 )
|
||||
twolame? ( media-sound/twolame )
|
||||
x264? ( media-libs/x264:= )
|
||||
xvid? ( media-libs/xvid )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
vpx? ( media-libs/libvpx )
|
||||
"
|
||||
RDEPEND="$DEPEND"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PROCESSES="buildPluginsCommon:avidemux_plugins
|
||||
buildPluginsCLI:avidemux_plugins"
|
||||
|
||||
use qt4 && PROCESSES+=" buildPluginsQt4:avidemux_plugins"
|
||||
|
||||
src_configure() {
|
||||
local x mycmakeargs plugin_ui extra_mycmakeargs
|
||||
|
||||
mycmakeargs="
|
||||
$(cmake-utils_use fontconfig FONTCONFIG)
|
||||
$(cmake-utils_use truetype FREETYPE2)
|
||||
$(cmake-utils_use x264 X264)
|
||||
"
|
||||
|
||||
use debug && POSTFIX="_debug" && mycmakeargs+="-DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug"
|
||||
|
||||
for PROCESS in ${PROCESSES} ; do
|
||||
SOURCE="${PROCESS%%:*}"
|
||||
DEST="${PROCESS#*:}"
|
||||
|
||||
mkdir "${S}"/${SOURCE} || die "Can't create build folder."
|
||||
cd "${S}"/${SOURCE} || die "Can't enter build folder."
|
||||
|
||||
if [[ "${SOURCE}" == "buildPluginsCommon" ]] ; then
|
||||
plugin_ui="-DPLUGIN_UI=COMMON"
|
||||
|
||||
extra_mycmakeargs="
|
||||
$(cmake-utils_use amr OPENCORE_AMRWB)
|
||||
$(cmake-utils_use amr OPENCORE_AMRNB)
|
||||
$(cmake-utils_use dts LIBDCA)
|
||||
$(cmake-utils_use faad FAAD)
|
||||
$(cmake-utils_use jack JACK)
|
||||
$(cmake-utils_use vorbis VORBIS)
|
||||
"
|
||||
elif [[ "${SOURCE}" == "buildPluginsCLI" ]] ; then
|
||||
plugin_ui="-DPLUGIN_UI=CLI"
|
||||
extra_mycmakeargs=""
|
||||
elif [[ "${SOURCE}" == "buildPluginsQt4" ]] ; then
|
||||
plugin_ui="-DPLUGIN_UI=QT4"
|
||||
extra_mycmakeargs=""
|
||||
fi
|
||||
|
||||
cmake -DAVIDEMUX_SOURCE_DIR="${S}" \
|
||||
-DCMAKE_INSTALL_PREFIX="/usr" \
|
||||
${mycmakeargs} ${extra_mycmakeargs} ${plugin_ui} -G "Unix Makefiles" ../"${DEST}${POSTFIX}/" || die "cmake failed."
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Add lax vector typing for PowerPC.
|
||||
if use ppc || use ppc64 ; then
|
||||
append-cflags -flax-vector-conversions
|
||||
fi
|
||||
|
||||
# See bug 432322.
|
||||
use x86 && replace-flags -O0 -O1
|
||||
|
||||
for PROCESS in ${PROCESSES} ; do
|
||||
SOURCE="${PROCESS%%:*}"
|
||||
|
||||
cd "${S}/${SOURCE}" || die "Can't enter build folder."
|
||||
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for PROCESS in ${PROCESSES} ; do
|
||||
SOURCE="${PROCESS%%:*}"
|
||||
|
||||
cd "${S}/${SOURCE}" || die "Can't enter build folder."
|
||||
emake DESTDIR="${ED}" install
|
||||
done
|
||||
}
|
@ -1,141 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
|
||||
|
||||
inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs
|
||||
|
||||
SLOT="2.6"
|
||||
MY_PN="${PN/-plugins/}"
|
||||
MY_P="${MY_PN}_${PV}"
|
||||
|
||||
DESCRIPTION="Plugins for avidemux; a video editor designed for simple cutting, filtering and encoding tasks"
|
||||
HOMEPAGE="http://fixounet.free.fr/avidemux"
|
||||
SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
# Multiple licenses because of all the bundled stuff.
|
||||
LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="aac aften a52 alsa amr debug dts fontconfig fribidi jack lame libsamplerate cpu_flags_x86_mmx opengl oss pulseaudio qt4 vorbis truetype twolame xv xvid x264 vpx"
|
||||
|
||||
DEPEND="
|
||||
~media-video/avidemux-${PV}[opengl?,qt4?]
|
||||
>=dev-lang/spidermonkey-1.5-r2:0
|
||||
dev-libs/libxml2
|
||||
media-libs/libpng
|
||||
virtual/libiconv
|
||||
aac? (
|
||||
media-libs/faac
|
||||
media-libs/faad2
|
||||
)
|
||||
aften? ( media-libs/aften )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.3b-r2 )
|
||||
amr? ( media-libs/opencore-amr )
|
||||
dts? ( media-libs/libdca )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
fribidi? ( dev-libs/fribidi )
|
||||
jack? (
|
||||
media-sound/jack-audio-connection-kit
|
||||
libsamplerate? ( media-libs/libsamplerate )
|
||||
)
|
||||
lame? ( media-sound/lame )
|
||||
oss? ( virtual/os-headers )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
truetype? ( media-libs/freetype:2 )
|
||||
twolame? ( media-sound/twolame )
|
||||
x264? ( media-libs/x264:= )
|
||||
xv? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXv
|
||||
)
|
||||
xvid? ( media-libs/xvid )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
vpx? ( media-libs/libvpx )
|
||||
"
|
||||
RDEPEND="$DEPEND"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
processes="buildPluginsCommon:avidemux_plugins
|
||||
buildPluginsCLI:avidemux_plugins"
|
||||
|
||||
use qt4 && processes+=" buildPluginsQt4:avidemux_plugins"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-optional-pulse.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
for process in ${processes} ; do
|
||||
local mycmakeargs="
|
||||
-DAVIDEMUX_SOURCE_DIR='${S}'
|
||||
-DCMAKE_INSTALL_PREFIX='/usr'
|
||||
$(cmake-utils_use aac FAAC)
|
||||
$(cmake-utils_use aac FAAD)
|
||||
$(cmake-utils_use alsa)
|
||||
$(cmake-utils_use aften)
|
||||
$(cmake-utils_use amr OPENCORE_AMRWB)
|
||||
$(cmake-utils_use amr OPENCORE_AMRNB)
|
||||
$(cmake-utils_use dts LIBDCA)
|
||||
$(cmake-utils_use fontconfig)
|
||||
$(cmake-utils_use jack)
|
||||
$(cmake-utils_use lame)
|
||||
$(cmake-utils_use oss)
|
||||
$(cmake-utils_use pulseaudio PULSEAUDIOSIMPLE)
|
||||
$(cmake-utils_use qt4)
|
||||
$(cmake-utils_use truetype FREETYPE2)
|
||||
$(cmake-utils_use twolame)
|
||||
$(cmake-utils_use x264)
|
||||
$(cmake-utils_use xv XVIDEO)
|
||||
$(cmake-utils_use xvid)
|
||||
$(cmake-utils_use vorbis)
|
||||
$(cmake-utils_use vorbis LIBVORBIS)
|
||||
$(cmake-utils_use vpx VPXDEC)
|
||||
"
|
||||
|
||||
if use debug ; then
|
||||
mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug"
|
||||
fi
|
||||
|
||||
local build="${process%%:*}"
|
||||
|
||||
if [[ "${build}" == "buildPluginsCommon" ]] ; then
|
||||
mycmakeargs+=" -DPLUGIN_UI=COMMON"
|
||||
elif [[ "${build}" == "buildPluginsCLI" ]] ; then
|
||||
mycmakeargs+=" -DPLUGIN_UI=CLI"
|
||||
elif [[ "${build}" == "buildPluginsQt4" ]] ; then
|
||||
mycmakeargs+=" -DPLUGIN_UI=QT4"
|
||||
fi
|
||||
|
||||
mkdir "${S}"/${build} || die "Can't create build folder."
|
||||
cd "${S}"/${build} || die "Can't enter build folder."
|
||||
|
||||
CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${S}"/${build} cmake-utils_src_configure
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Add lax vector typing for PowerPC.
|
||||
if use ppc || use ppc64 ; then
|
||||
append-cflags -flax-vector-conversions
|
||||
fi
|
||||
|
||||
# See bug 432322.
|
||||
use x86 && replace-flags -O0 -O1
|
||||
|
||||
for process in ${processes} ; do
|
||||
cd "${S}"/${process%%:*} || die "Can't enter build folder."
|
||||
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for process in ${processes} ; do
|
||||
cd "${S}"/${process%%:*} || die "Can't enter build folder."
|
||||
emake DESTDIR="${ED}" install
|
||||
done
|
||||
}
|
@ -1,126 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
|
||||
inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs
|
||||
|
||||
SLOT="2.6"
|
||||
MY_PN="${PN/-plugins/}"
|
||||
MY_P="${MY_PN}_${PV}"
|
||||
|
||||
DESCRIPTION="Plugins for avidemux; a video editor designed for simple cutting, filtering and encoding tasks"
|
||||
HOMEPAGE="http://fixounet.free.fr/avidemux"
|
||||
SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
# Multiple licenses because of all the bundled stuff.
|
||||
LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="aften a52 alsa amr debug dts faac faad fontconfig fribidi jack lame libsamplerate cpu_flags_x86_mmx opengl oss qt4 vorbis truetype twolame xvid x264 vpx"
|
||||
|
||||
DEPEND="
|
||||
=media-video/avidemux-${PV}[opengl?,qt4?]
|
||||
>=dev-lang/spidermonkey-1.5-r2:0
|
||||
dev-libs/libxml2
|
||||
media-libs/libpng
|
||||
virtual/libiconv
|
||||
aften? ( media-libs/aften )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.3b-r2 )
|
||||
amr? ( media-libs/opencore-amr )
|
||||
dts? ( media-libs/libdca )
|
||||
faac? ( media-libs/faac )
|
||||
faad? ( media-libs/faad2 )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
fribidi? ( dev-libs/fribidi )
|
||||
jack? (
|
||||
media-sound/jack-audio-connection-kit
|
||||
libsamplerate? ( media-libs/libsamplerate )
|
||||
)
|
||||
lame? ( media-sound/lame )
|
||||
oss? ( virtual/os-headers )
|
||||
truetype? ( >=media-libs/freetype-2.1.5 )
|
||||
twolame? ( media-sound/twolame )
|
||||
x264? ( media-libs/x264:= )
|
||||
xvid? ( media-libs/xvid )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
vpx? ( media-libs/libvpx )
|
||||
"
|
||||
RDEPEND="$DEPEND"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PROCESSES="buildPluginsCommon:avidemux_plugins
|
||||
buildPluginsCLI:avidemux_plugins"
|
||||
|
||||
use qt4 && PROCESSES+=" buildPluginsQt4:avidemux_plugins"
|
||||
|
||||
src_configure() {
|
||||
local x mycmakeargs plugin_ui extra_mycmakeargs
|
||||
|
||||
mycmakeargs="
|
||||
$(cmake-utils_use fontconfig FONTCONFIG)
|
||||
$(cmake-utils_use truetype FREETYPE2)
|
||||
$(cmake-utils_use x264 X264)
|
||||
"
|
||||
|
||||
use debug && POSTFIX="_debug" && mycmakeargs+="-DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug"
|
||||
|
||||
for PROCESS in ${PROCESSES} ; do
|
||||
SOURCE="${PROCESS%%:*}"
|
||||
DEST="${PROCESS#*:}"
|
||||
|
||||
mkdir "${S}"/${SOURCE} || die "Can't create build folder."
|
||||
cd "${S}"/${SOURCE} || die "Can't enter build folder."
|
||||
|
||||
if [[ "${SOURCE}" == "buildPluginsCommon" ]] ; then
|
||||
plugin_ui="-DPLUGIN_UI=COMMON"
|
||||
|
||||
extra_mycmakeargs="
|
||||
$(cmake-utils_use amr OPENCORE_AMRWB)
|
||||
$(cmake-utils_use amr OPENCORE_AMRNB)
|
||||
$(cmake-utils_use dts LIBDCA)
|
||||
$(cmake-utils_use faad FAAD)
|
||||
$(cmake-utils_use jack JACK)
|
||||
$(cmake-utils_use vorbis VORBIS)
|
||||
"
|
||||
elif [[ "${SOURCE}" == "buildPluginsCLI" ]] ; then
|
||||
plugin_ui="-DPLUGIN_UI=CLI"
|
||||
extra_mycmakeargs=""
|
||||
elif [[ "${SOURCE}" == "buildPluginsQt4" ]] ; then
|
||||
plugin_ui="-DPLUGIN_UI=QT4"
|
||||
extra_mycmakeargs=""
|
||||
fi
|
||||
|
||||
cmake -DAVIDEMUX_SOURCE_DIR="${S}" \
|
||||
-DCMAKE_INSTALL_PREFIX="/usr" \
|
||||
${mycmakeargs} ${extra_mycmakeargs} ${plugin_ui} -G "Unix Makefiles" ../"${DEST}${POSTFIX}/" || die "cmake failed."
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Add lax vector typing for PowerPC.
|
||||
if use ppc || use ppc64 ; then
|
||||
append-cflags -flax-vector-conversions
|
||||
fi
|
||||
|
||||
# See bug 432322.
|
||||
use x86 && replace-flags -O0 -O1
|
||||
|
||||
for PROCESS in ${PROCESSES} ; do
|
||||
SOURCE="${PROCESS%%:*}"
|
||||
|
||||
cd "${S}/${SOURCE}" || die "Can't enter build folder."
|
||||
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for PROCESS in ${PROCESSES} ; do
|
||||
SOURCE="${PROCESS%%:*}"
|
||||
|
||||
cd "${S}/${SOURCE}" || die "Can't enter build folder."
|
||||
emake DESTDIR="${ED}" install
|
||||
done
|
||||
}
|
@ -1,143 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit cmake-utils eutils flag-o-matic python-single-r1
|
||||
|
||||
SLOT="2.6"
|
||||
|
||||
DESCRIPTION="Plugins for avidemux; a video editor designed for simple cutting, filtering and encoding tasks"
|
||||
HOMEPAGE="http://fixounet.free.fr/avidemux"
|
||||
|
||||
# Multiple licenses because of all the bundled stuff.
|
||||
LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
|
||||
IUSE="aac aften a52 alsa amr debug dts fontconfig fribidi jack lame libsamplerate cpu_flags_x86_mmx opengl oss pulseaudio qt4 vorbis truetype twolame xv xvid x264 vpx"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
MY_PN="${PN/-plugins/}"
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
KEYWORDS=""
|
||||
EGIT_REPO_URI="git://gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git https://git.gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git"
|
||||
|
||||
inherit git-2
|
||||
else
|
||||
MY_P="${MY_PN}_${PV}"
|
||||
SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
fi
|
||||
|
||||
DEPEND="
|
||||
~media-video/avidemux-${PV}:${SLOT}[opengl?,qt4?]
|
||||
>=dev-lang/spidermonkey-1.5-r2:0=
|
||||
dev-libs/libxml2:2
|
||||
media-libs/libpng:0=
|
||||
virtual/libiconv:0
|
||||
aac? (
|
||||
media-libs/faac:0
|
||||
media-libs/faad2:0
|
||||
)
|
||||
aften? ( media-libs/aften:0 )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.3b-r2:0 )
|
||||
amr? ( media-libs/opencore-amr:0 )
|
||||
dts? ( media-libs/libdca:0 )
|
||||
fontconfig? ( media-libs/fontconfig:1.0 )
|
||||
fribidi? ( dev-libs/fribidi:0 )
|
||||
jack? (
|
||||
media-sound/jack-audio-connection-kit:0
|
||||
libsamplerate? ( media-libs/libsamplerate:0 )
|
||||
)
|
||||
lame? ( media-sound/lame:0 )
|
||||
oss? ( virtual/os-headers:0 )
|
||||
pulseaudio? ( media-sound/pulseaudio:0 )
|
||||
truetype? ( media-libs/freetype:2 )
|
||||
twolame? ( media-sound/twolame:0 )
|
||||
x264? ( media-libs/x264:0= )
|
||||
xv? (
|
||||
x11-libs/libX11:0
|
||||
x11-libs/libXext:0
|
||||
x11-libs/libXv:0
|
||||
)
|
||||
xvid? ( media-libs/xvid:0 )
|
||||
vorbis? ( media-libs/libvorbis:0 )
|
||||
vpx? ( media-libs/libvpx:0 )
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
RDEPEND="$DEPEND"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
processes="buildPluginsCommon:avidemux_plugins
|
||||
buildPluginsCLI:avidemux_plugins"
|
||||
use qt4 && processes+=" buildPluginsQt4:avidemux_plugins"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-2.6.4-optional-pulse.patch )
|
||||
|
||||
src_configure() {
|
||||
# Add lax vector typing for PowerPC.
|
||||
if use ppc || use ppc64 ; then
|
||||
append-cflags -flax-vector-conversions
|
||||
fi
|
||||
|
||||
# See bug 432322.
|
||||
use x86 && replace-flags -O0 -O1
|
||||
|
||||
for process in ${processes} ; do
|
||||
local build="${process%%:*}"
|
||||
|
||||
local mycmakeargs="
|
||||
-DAVIDEMUX_SOURCE_DIR='${S}'
|
||||
-DPLUGIN_UI=$(echo ${build/buildPlugins/} | tr '[:lower:]' '[:upper:]')
|
||||
$(cmake-utils_use aac FAAC)
|
||||
$(cmake-utils_use aac FAAD)
|
||||
$(cmake-utils_use alsa)
|
||||
$(cmake-utils_use aften)
|
||||
$(cmake-utils_use amr OPENCORE_AMRWB)
|
||||
$(cmake-utils_use amr OPENCORE_AMRNB)
|
||||
$(cmake-utils_use dts LIBDCA)
|
||||
$(cmake-utils_use fontconfig)
|
||||
$(cmake-utils_use jack)
|
||||
$(cmake-utils_use lame)
|
||||
$(cmake-utils_use oss)
|
||||
$(cmake-utils_use pulseaudio PULSEAUDIOSIMPLE)
|
||||
$(cmake-utils_use qt4)
|
||||
$(cmake-utils_use truetype FREETYPE2)
|
||||
$(cmake-utils_use twolame)
|
||||
$(cmake-utils_use x264)
|
||||
$(cmake-utils_use xv XVIDEO)
|
||||
$(cmake-utils_use xvid)
|
||||
$(cmake-utils_use vorbis)
|
||||
$(cmake-utils_use vorbis LIBVORBIS)
|
||||
$(cmake-utils_use vpx VPXDEC)
|
||||
"
|
||||
|
||||
if use debug ; then
|
||||
mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1"
|
||||
fi
|
||||
|
||||
mkdir "${S}"/${build} || die "Can't create build folder."
|
||||
|
||||
CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${S}"/${build} cmake-utils_src_configure
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
for process in ${processes} ; do
|
||||
BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_compile
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for process in ${processes} ; do
|
||||
# cmake-utils_src_install doesn't respect BUILD_DIR
|
||||
# and there sometimes is a preinstall phase present.
|
||||
pushd "${S}/${process%%:*}" > /dev/null || die
|
||||
grep '^preinstall/fast' Makefile && emake DESTDIR="${D}" preinstall/fast
|
||||
grep '^install/fast' Makefile && emake DESTDIR="${D}" install/fast
|
||||
popd > /dev/null || die
|
||||
done
|
||||
|
||||
python_fix_shebang "${D}"
|
||||
}
|
@ -1,143 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit cmake-utils eutils flag-o-matic python-single-r1
|
||||
|
||||
SLOT="2.6"
|
||||
|
||||
DESCRIPTION="Plugins for avidemux; a video editor designed for simple cutting, filtering and encoding tasks"
|
||||
HOMEPAGE="http://fixounet.free.fr/avidemux"
|
||||
|
||||
# Multiple licenses because of all the bundled stuff.
|
||||
LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
|
||||
IUSE="aac aften a52 alsa amr debug dts fontconfig fribidi jack lame libsamplerate cpu_flags_x86_mmx opengl oss pulseaudio qt4 vorbis truetype twolame xv xvid x264 vpx"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
MY_PN="${PN/-plugins/}"
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
KEYWORDS=""
|
||||
EGIT_REPO_URI="git://gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git https://git.gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git"
|
||||
|
||||
inherit git-2
|
||||
else
|
||||
MY_P="${MY_PN}_${PV}"
|
||||
SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
fi
|
||||
|
||||
DEPEND="
|
||||
~media-video/avidemux-${PV}:${SLOT}[opengl?,qt4?]
|
||||
>=dev-lang/spidermonkey-1.5-r2:0=
|
||||
dev-libs/libxml2:2
|
||||
media-libs/libpng:0=
|
||||
virtual/libiconv:0
|
||||
aac? (
|
||||
media-libs/faac:0
|
||||
media-libs/faad2:0
|
||||
)
|
||||
aften? ( media-libs/aften:0 )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.3b-r2:0 )
|
||||
amr? ( media-libs/opencore-amr:0 )
|
||||
dts? ( media-libs/libdca:0 )
|
||||
fontconfig? ( media-libs/fontconfig:1.0 )
|
||||
fribidi? ( dev-libs/fribidi:0 )
|
||||
jack? (
|
||||
media-sound/jack-audio-connection-kit:0
|
||||
libsamplerate? ( media-libs/libsamplerate:0 )
|
||||
)
|
||||
lame? ( media-sound/lame:0 )
|
||||
oss? ( virtual/os-headers:0 )
|
||||
pulseaudio? ( media-sound/pulseaudio:0 )
|
||||
truetype? ( media-libs/freetype:2 )
|
||||
twolame? ( media-sound/twolame:0 )
|
||||
x264? ( media-libs/x264:0= )
|
||||
xv? (
|
||||
x11-libs/libX11:0
|
||||
x11-libs/libXext:0
|
||||
x11-libs/libXv:0
|
||||
)
|
||||
xvid? ( media-libs/xvid:0 )
|
||||
vorbis? ( media-libs/libvorbis:0 )
|
||||
vpx? ( media-libs/libvpx:0 )
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
RDEPEND="$DEPEND"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
processes="buildPluginsCommon:avidemux_plugins
|
||||
buildPluginsCLI:avidemux_plugins"
|
||||
use qt4 && processes+=" buildPluginsQt4:avidemux_plugins"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-2.6.4-optional-pulse.patch )
|
||||
|
||||
src_configure() {
|
||||
# Add lax vector typing for PowerPC.
|
||||
if use ppc || use ppc64 ; then
|
||||
append-cflags -flax-vector-conversions
|
||||
fi
|
||||
|
||||
# See bug 432322.
|
||||
use x86 && replace-flags -O0 -O1
|
||||
|
||||
for process in ${processes} ; do
|
||||
local build="${process%%:*}"
|
||||
|
||||
local mycmakeargs="
|
||||
-DAVIDEMUX_SOURCE_DIR='${S}'
|
||||
-DPLUGIN_UI=$(echo ${build/buildPlugins/} | tr '[:lower:]' '[:upper:]')
|
||||
$(cmake-utils_use aac FAAC)
|
||||
$(cmake-utils_use aac FAAD)
|
||||
$(cmake-utils_use alsa)
|
||||
$(cmake-utils_use aften)
|
||||
$(cmake-utils_use amr OPENCORE_AMRWB)
|
||||
$(cmake-utils_use amr OPENCORE_AMRNB)
|
||||
$(cmake-utils_use dts LIBDCA)
|
||||
$(cmake-utils_use fontconfig)
|
||||
$(cmake-utils_use jack)
|
||||
$(cmake-utils_use lame)
|
||||
$(cmake-utils_use oss)
|
||||
$(cmake-utils_use pulseaudio PULSEAUDIOSIMPLE)
|
||||
$(cmake-utils_use qt4)
|
||||
$(cmake-utils_use truetype FREETYPE2)
|
||||
$(cmake-utils_use twolame)
|
||||
$(cmake-utils_use x264)
|
||||
$(cmake-utils_use xv XVIDEO)
|
||||
$(cmake-utils_use xvid)
|
||||
$(cmake-utils_use vorbis)
|
||||
$(cmake-utils_use vorbis LIBVORBIS)
|
||||
$(cmake-utils_use vpx VPXDEC)
|
||||
"
|
||||
|
||||
if use debug ; then
|
||||
mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1"
|
||||
fi
|
||||
|
||||
mkdir "${S}"/${build} || die "Can't create build folder."
|
||||
|
||||
CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${S}"/${build} cmake-utils_src_configure
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
for process in ${processes} ; do
|
||||
BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_compile
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for process in ${processes} ; do
|
||||
# cmake-utils_src_install doesn't respect BUILD_DIR
|
||||
# and there sometimes is a preinstall phase present.
|
||||
pushd "${S}/${process%%:*}" > /dev/null || die
|
||||
grep '^preinstall/fast' Makefile && emake DESTDIR="${D}" preinstall/fast
|
||||
grep '^install/fast' Makefile && emake DESTDIR="${D}" install/fast
|
||||
popd > /dev/null || die
|
||||
done
|
||||
|
||||
python_fix_shebang "${D}"
|
||||
}
|
@ -1,145 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit cmake-utils eutils flag-o-matic python-single-r1
|
||||
|
||||
SLOT="2.6"
|
||||
|
||||
DESCRIPTION="Plugins for avidemux; a video editor designed for simple cutting, filtering and encoding tasks"
|
||||
HOMEPAGE="http://fixounet.free.fr/avidemux"
|
||||
|
||||
# Multiple licenses because of all the bundled stuff.
|
||||
LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
|
||||
IUSE="aac aften a52 alsa amr debug dts fontconfig fribidi jack lame libsamplerate cpu_flags_x86_mmx opengl oss pulseaudio qt4 vorbis truetype twolame xv xvid x264 vdpau vpx"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
MY_PN="${PN/-plugins/}"
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
KEYWORDS=""
|
||||
EGIT_REPO_URI="git://gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git https://git.gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git"
|
||||
|
||||
inherit git-2
|
||||
else
|
||||
MY_P="${MY_PN}_${PV}"
|
||||
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
fi
|
||||
|
||||
DEPEND="
|
||||
~media-libs/avidemux-core-${PV}:${SLOT}[vdpau?]
|
||||
~media-video/avidemux-${PV}:${SLOT}[opengl?,qt4?]
|
||||
>=dev-lang/spidermonkey-1.5-r2:0=
|
||||
dev-libs/libxml2:2
|
||||
media-libs/libpng:0=
|
||||
virtual/libiconv:0
|
||||
aac? (
|
||||
media-libs/faac:0
|
||||
media-libs/faad2:0
|
||||
)
|
||||
aften? ( media-libs/aften:0 )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.3b-r2:0 )
|
||||
amr? ( media-libs/opencore-amr:0 )
|
||||
dts? ( media-libs/libdca:0 )
|
||||
fontconfig? ( media-libs/fontconfig:1.0 )
|
||||
fribidi? ( dev-libs/fribidi:0 )
|
||||
jack? (
|
||||
media-sound/jack-audio-connection-kit:0
|
||||
libsamplerate? ( media-libs/libsamplerate:0 )
|
||||
)
|
||||
lame? ( media-sound/lame:0 )
|
||||
oss? ( virtual/os-headers:0 )
|
||||
pulseaudio? ( media-sound/pulseaudio:0 )
|
||||
truetype? ( media-libs/freetype:2 )
|
||||
twolame? ( media-sound/twolame:0 )
|
||||
x264? ( media-libs/x264:0= )
|
||||
xv? (
|
||||
x11-libs/libX11:0
|
||||
x11-libs/libXext:0
|
||||
x11-libs/libXv:0
|
||||
)
|
||||
xvid? ( media-libs/xvid:0 )
|
||||
vorbis? ( media-libs/libvorbis:0 )
|
||||
vpx? ( media-libs/libvpx:0 )
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
RDEPEND="$DEPEND"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
processes="buildPluginsCommon:avidemux_plugins
|
||||
buildPluginsCLI:avidemux_plugins"
|
||||
use qt4 && processes+=" buildPluginsQt4:avidemux_plugins"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-2.6.4-optional-pulse.patch )
|
||||
|
||||
src_configure() {
|
||||
# Add lax vector typing for PowerPC.
|
||||
if use ppc || use ppc64 ; then
|
||||
append-cflags -flax-vector-conversions
|
||||
fi
|
||||
|
||||
# See bug 432322.
|
||||
use x86 && replace-flags -O0 -O1
|
||||
|
||||
for process in ${processes} ; do
|
||||
local build="${process%%:*}"
|
||||
|
||||
local mycmakeargs="
|
||||
-DAVIDEMUX_SOURCE_DIR='${S}'
|
||||
-DPLUGIN_UI=$(echo ${build/buildPlugins/} | tr '[:lower:]' '[:upper:]')
|
||||
$(cmake-utils_use aac FAAC)
|
||||
$(cmake-utils_use aac FAAD)
|
||||
$(cmake-utils_use alsa)
|
||||
$(cmake-utils_use aften)
|
||||
$(cmake-utils_use amr OPENCORE_AMRWB)
|
||||
$(cmake-utils_use amr OPENCORE_AMRNB)
|
||||
$(cmake-utils_use dts LIBDCA)
|
||||
$(cmake-utils_use fontconfig)
|
||||
$(cmake-utils_use jack)
|
||||
$(cmake-utils_use lame)
|
||||
$(cmake-utils_use oss)
|
||||
$(cmake-utils_use pulseaudio PULSEAUDIOSIMPLE)
|
||||
$(cmake-utils_use qt4)
|
||||
$(cmake-utils_use truetype FREETYPE2)
|
||||
$(cmake-utils_use twolame)
|
||||
$(cmake-utils_use x264)
|
||||
$(cmake-utils_use xv XVIDEO)
|
||||
$(cmake-utils_use xvid)
|
||||
$(cmake-utils_use vdpau)
|
||||
$(cmake-utils_use vorbis)
|
||||
$(cmake-utils_use vorbis LIBVORBIS)
|
||||
$(cmake-utils_use vpx VPXDEC)
|
||||
"
|
||||
|
||||
if use debug ; then
|
||||
mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1"
|
||||
fi
|
||||
|
||||
mkdir "${S}"/${build} || die "Can't create build folder."
|
||||
|
||||
CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${S}"/${build} cmake-utils_src_configure
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
for process in ${processes} ; do
|
||||
BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_compile
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for process in ${processes} ; do
|
||||
# cmake-utils_src_install doesn't respect BUILD_DIR
|
||||
# and there sometimes is a preinstall phase present.
|
||||
pushd "${S}/${process%%:*}" > /dev/null || die
|
||||
grep '^preinstall/fast' Makefile && emake DESTDIR="${D}" preinstall/fast
|
||||
grep '^install/fast' Makefile && emake DESTDIR="${D}" install/fast
|
||||
popd > /dev/null || die
|
||||
done
|
||||
|
||||
python_fix_shebang "${D}"
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST openimageio-1.1.1.tar.gz 8217144 SHA256 a1cf6251edb597d31ccec3a74f516c3c9ce6e116dfb5edb3e4bd87d528d4700d SHA512 cf3e1371c6f0333f40506b08dc3fa6c0acecfb149e2e99159e893825e0d838db8ac1150e316e3568024568ed19bbcb473b4f38a61779a03fe9706ee476ec5943 WHIRLPOOL 78420497e1b65140f439e67c295102de5def4ed92eac1bf7b3b417d79d4634a0b149d08eafb8127aa1c5f1eb770334a14b244bee1f7af61ef31dc2abb2309aae
|
||||
DIST openimageio-1.1.7.tar.gz 8300700 SHA256 81ad2ab957b93155d092700d2356b2f3bb6ae010dff3077bf1403905790cc13d SHA512 5596bbd57e569e5e9437e65e7d8e45e634c20eee62cc3115f72ec57664e5cc222137c248c3302d89df58ac1efabd198adfdc867a59945cc2324bff5be18ee2c8 WHIRLPOOL cab7c2d604d890b314cdfbd912754790e5d54c9ae2094ab3caff09313bc89e09b6b9795d6ea12903fed2550c5a00dca2cf5579ec6f80a8271775b84db3bd0cfa
|
||||
DIST openimageio-1.3.5.tar.gz 13472488 SHA256 18c9297e0d8b582191619a66ae6b7d9db2780f4874464ea462b22321c568a1af SHA512 15c4a53ab4d139839da9e9b4bbbf8ad6e00da98e73e0373cec136ce8f54b0ceae0daa2b1680c8ddab49e1680825a08be7778a9f1b7a13dd30e020b8a8c517b95 WHIRLPOOL d994fa07626667fa1c00ec221f7cdc5bb482fb321deb84e23fd87bc323d09372db955a338b0a6e030b7af4fcc22ecdb22b270dc2bbce532be39ed9ca2cbb3df6
|
||||
DIST openimageio-1.6.13.tar.gz 24846132 SHA256 b2989df4133d84c9b24e2b67ae8780528a49b6c088ce945e15ecefc31235a39b SHA512 8cd490b6d6a3c0b542c4bcab709897c5f35ce6844ce7465e0158ac52a1b108603ccc76439f7f2e46af2ec08be4293bda6a76ec68a959026af70a444cbbdc21d6 WHIRLPOOL 021a49be5878000c92f44132d586ee6a355c6465f2f55ee54f34dccd8459cfd945ac8bf369a1ec6f75e459a88b0035daca90dd2b7d328298ae62865f36875ddd
|
||||
|
@ -1,15 +0,0 @@
|
||||
http://bugs.gentoo.org/444784
|
||||
|
||||
--- src/libutil/SHA1.cpp
|
||||
+++ src/libutil/SHA1.cpp
|
||||
@@ -8,9 +8,9 @@
|
||||
|
||||
// If compiling with MFC, you might want to add #include "StdAfx.h"
|
||||
|
||||
+#include "SHA1.h"
|
||||
#include "hash.h"
|
||||
#include "dassert.h"
|
||||
-#include "SHA1.h"
|
||||
|
||||
#ifdef SHA1_UTILITY_FUNCTIONS
|
||||
#define SHA1_MAX_FILE_BUFFER 8000
|
@ -1,101 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_DEPEND="python? 2:2.7"
|
||||
|
||||
inherit cmake-utils eutils multilib python vcs-snapshot
|
||||
|
||||
DESCRIPTION="A library for reading and writing images"
|
||||
HOMEPAGE="https://sites.google.com/site/openimageio/ https://github.com/OpenImageIO"
|
||||
SRC_URI="https://github.com/OpenImageIO/oiio/tarball/Release-${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc64 x86"
|
||||
IUSE="jpeg2k colorio opencv opengl python qt4 tbb +truetype"
|
||||
|
||||
RESTRICT="test" #431412
|
||||
|
||||
RDEPEND="dev-libs/boost[python?]
|
||||
dev-libs/pugixml
|
||||
media-libs/glew
|
||||
media-libs/ilmbase
|
||||
media-libs/libpng:0
|
||||
>=media-libs/libwebp-0.2.1
|
||||
media-libs/openexr
|
||||
media-libs/tiff:0
|
||||
sci-libs/hdf5
|
||||
sys-libs/zlib
|
||||
virtual/jpeg
|
||||
jpeg2k? ( >=media-libs/openjpeg-1.5:0 )
|
||||
colorio? ( >=media-libs/opencolorio-1.0.7 )
|
||||
opencv? (
|
||||
>=media-libs/opencv-2.3
|
||||
|| ( <media-libs/opencv-2.4.8 >media-libs/opencv-2.4.8[python?] )
|
||||
)
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
qt4? (
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtopengl:4
|
||||
)
|
||||
tbb? ( dev-cpp/tbb )
|
||||
truetype? ( >=media-libs/freetype-2 )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${P}/src
|
||||
|
||||
pkg_setup() {
|
||||
if use python; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-x86-build.patch #444784
|
||||
|
||||
# remove bundled code to make it build
|
||||
# https://github.com/OpenImageIO/oiio/issues/403
|
||||
rm */pugixml* || die
|
||||
|
||||
# fix man page building
|
||||
# https://github.com/OpenImageIO/oiio/issues/404
|
||||
use qt4 || sed -i -e '/list.*APPEND.*cli_tools.*iv/d' doc/CMakeLists.txt
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DLIB_INSTALL_DIR=/usr/$(get_libdir)
|
||||
-DBUILDSTATIC=OFF
|
||||
-DLINKSTATIC=OFF
|
||||
$(use python && echo -DPYLIB_INSTALL_DIR=$(python_get_sitedir))
|
||||
-DUSE_EXTERNAL_PUGIXML=ON
|
||||
-DUSE_FIELD3D=OFF # missing in Portage
|
||||
$(cmake-utils_use_use truetype freetype)
|
||||
$(cmake-utils_use_use colorio OCIO)
|
||||
$(cmake-utils_use_use opencv)
|
||||
$(cmake-utils_use_use opengl)
|
||||
$(cmake-utils_use_use jpeg2k OPENJPEG)
|
||||
$(cmake-utils_use_use python)
|
||||
$(cmake-utils_use_use qt4 QT)
|
||||
$(cmake-utils_use_use tbb)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
rm -rf "${ED}"/usr/share/doc
|
||||
dodoc ../{CHANGES,CREDITS,README*} # doc/CLA-{CORPORATE,INDIVIDUAL}
|
||||
docinto pdf
|
||||
dodoc doc/*.pdf
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit vdr-plugin-2
|
||||
|
||||
MY_P=${PN}-cvs-${PV#*_pre}
|
||||
S=${WORKDIR}/${MY_P#vdr-}
|
||||
|
||||
DESCRIPTION="VDR Plugin: DVD-Player"
|
||||
HOMEPAGE="http://sourceforge.net/projects/dvdplugin"
|
||||
SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=media-video/vdr-1.6.0
|
||||
>=media-libs/libdvdnav-4.2.0
|
||||
>=media-libs/a52dec-0.7.4"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# vdr-plugin-2.eclass fix
|
||||
KEEP_I18NOBJECT="yes"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-compile_warnings.diff
|
||||
"${FILESDIR}"/${P}-fix-dvdnav-using-c++-keywords.patch
|
||||
)
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vdr-plugin-2
|
||||
|
||||
DESCRIPTION="VDR plugin: play 'Freecell' on the On Screen Display"
|
||||
HOMEPAGE="http://www.magoa.net/linux/index.php?view=freecell"
|
||||
SRC_URI="http://www.magoa.net/linux/files/${P}.tgz
|
||||
mirror://vdrfiles/${PN}/${P}.tgz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=media-video/vdr-1.2.6"
|
||||
|
||||
PATCHES=("${FILESDIR}/${PN}-time_ms.diff"
|
||||
"${FILESDIR}/gcc-3.4.patch"
|
||||
"${FILESDIR}/${P}-gentoo.diff"
|
||||
"${FILESDIR}/${P}_vdr-1.5.4-compile.diff")
|
||||
|
||||
src_install() {
|
||||
vdr-plugin-2_src_install
|
||||
|
||||
insopts -m0644 -ovdr -gvdr
|
||||
insinto /usr/share/vdr/freecell
|
||||
doins "${S}/${VDRPLUGIN}"/*
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue