parent
3fb91f1d53
commit
6ed3f4f6e8
@ -0,0 +1,401 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
|
||||
PYTHON_REQ_USE=threads
|
||||
inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 prefix python-r1
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
||||
EGIT_CHECKOUT_DIR=${WORKDIR}/vim-${PV}
|
||||
else
|
||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
|
||||
https://dev.gentoo.org/~radhermit/vim/vim-7.4.827-gentoo-patches.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="GUI version of the Vim text editor"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="acl aqua cscope debug gnome gtk lua luajit motif neXt netbeans nls perl python racket ruby selinux session tcl"
|
||||
REQUIRED_USE="
|
||||
luajit? ( lua )
|
||||
python? (
|
||||
|| ( $(python_gen_useflags '*') )
|
||||
?? ( $(python_gen_useflags 'python2*') )
|
||||
?? ( $(python_gen_useflags 'python3*') )
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
~app-editors/vim-core-${PV}
|
||||
>=app-eselect/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
x11-libs/libXext
|
||||
x11-libs/libXt
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
!aqua? (
|
||||
gtk? (
|
||||
>=x11-libs/gtk+-2.6:2
|
||||
x11-libs/libXft
|
||||
gnome? ( >=gnome-base/libgnomeui-2.6 )
|
||||
)
|
||||
!gtk? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
neXt? ( x11-libs/neXtaw )
|
||||
!neXt? ( x11-libs/libXaw )
|
||||
)
|
||||
)
|
||||
)
|
||||
cscope? ( dev-util/cscope )
|
||||
lua? (
|
||||
luajit? ( dev-lang/luajit:2= )
|
||||
!luajit? ( dev-lang/lua:0[deprecated] )
|
||||
)
|
||||
nls? ( virtual/libintl )
|
||||
perl? ( dev-lang/perl:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
racket? ( dev-scheme/racket )
|
||||
ruby? ( || ( dev-lang/ruby:2.3 dev-lang/ruby:2.2 dev-lang/ruby:2.1 dev-lang/ruby:2.0 ) )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
session? ( x11-libs/libSM )
|
||||
tcl? ( dev-lang/tcl:0= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/ctags
|
||||
sys-devel/autoconf
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/vim-${PV}
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home
|
||||
export HOME="${T}"/home
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -d "${WORKDIR}"/patches/ ]]; then
|
||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches/
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i '/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
myconf=(
|
||||
--with-features=huge
|
||||
--disable-gpm
|
||||
--enable-multibyte
|
||||
$(use_enable acl)
|
||||
$(use_enable cscope)
|
||||
$(use_enable lua luainterp)
|
||||
$(use_with luajit)
|
||||
$(use_enable netbeans)
|
||||
$(use_enable nls)
|
||||
$(use_enable perl perlinterp)
|
||||
$(use_enable racket mzschemeinterp)
|
||||
$(use_enable ruby rubyinterp)
|
||||
$(use_enable selinux)
|
||||
$(use_enable session xsmp)
|
||||
$(use_enable tcl tclinterp)
|
||||
)
|
||||
|
||||
if use python ; then
|
||||
py_add_interp() {
|
||||
local v
|
||||
|
||||
[[ ${EPYTHON} == python3* ]] && v=3
|
||||
myconf+=(
|
||||
--enable-python${v}interp
|
||||
vi_cv_path_python${v}="${PYTHON}"
|
||||
)
|
||||
}
|
||||
|
||||
python_foreach_impl py_add_interp
|
||||
else
|
||||
myconf+=(
|
||||
--disable-pythoninterp
|
||||
--disable-python3interp
|
||||
)
|
||||
fi
|
||||
|
||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
||||
if ! use cscope ; then
|
||||
sed -i '/# define FEAT_CSCOPE/d' src/feature.h || \
|
||||
die "couldn't disable cscope"
|
||||
fi
|
||||
|
||||
# gvim's GUI preference order is as follows:
|
||||
# aqua CARBON (not tested)
|
||||
# -aqua gtk gnome GNOME2
|
||||
# -aqua gtk -gnome GTK2
|
||||
# -aqua -gtk motif MOTIF
|
||||
# -aqua -gtk -motif neXt NEXTAW
|
||||
# -aqua -gtk -motif -neXt ATHENA
|
||||
echo ; echo
|
||||
if use aqua ; then
|
||||
einfo "Building gvim with the Carbon GUI"
|
||||
myconf+=(
|
||||
--enable-darwin
|
||||
--enable-gui=carbon
|
||||
)
|
||||
elif use gtk ; then
|
||||
myconf+=( --enable-gtk2-check )
|
||||
if use gnome ; then
|
||||
einfo "Building gvim with the Gnome 2 GUI"
|
||||
myconf+=( --enable-gui=gnome2 )
|
||||
else
|
||||
einfo "Building gvim with the gtk+-2 GUI"
|
||||
myconf+=( --enable-gui=gtk2 )
|
||||
fi
|
||||
elif use motif ; then
|
||||
einfo "Building gvim with the MOTIF GUI"
|
||||
myconf+=( --enable-gui=motif )
|
||||
elif use neXt ; then
|
||||
einfo "Building gvim with the neXtaw GUI"
|
||||
myconf+=( --enable-gui=nextaw )
|
||||
else
|
||||
einfo "Building gvim with the Athena GUI"
|
||||
myconf+=( --enable-gui=athena )
|
||||
fi
|
||||
echo ; echo
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=( --without-local-dir )
|
||||
|
||||
if [[ ${CHOST} == *-interix* ]]; then
|
||||
# avoid finding of this function, to avoid having to patch either
|
||||
# configure or the source, which would be much more hackish.
|
||||
# after all vim does it right, only interix is badly broken (again)
|
||||
export ac_cv_func_sigaction=no
|
||||
fi
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
--with-vim-name=gvim \
|
||||
--with-x \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo
|
||||
einfo "Starting vim tests. Several error messages will be shown"
|
||||
einfo "while the tests run. This is normal behaviour and does not"
|
||||
einfo "indicate a fault."
|
||||
echo
|
||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||
ewarn "state. Usually, running 'reset' will fix this."
|
||||
echo
|
||||
|
||||
# Don't let vim talk to X
|
||||
unset DISPLAY
|
||||
|
||||
# We've got to call make test from within testdir, since the Makefiles
|
||||
# don't pass through our VIMPROG argument
|
||||
cd "${S}"/src/testdir
|
||||
|
||||
# Test 49 won't work inside a portage environment
|
||||
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
|
||||
sed -i 's~test49.out~~g' Makefile
|
||||
|
||||
# We don't want to rebuild vim before running the tests
|
||||
sed -i 's,: \$(VIMPROG),: ,' Makefile
|
||||
|
||||
# Make gvim not try to connect to X. See :help gui-x11-start
|
||||
# in vim for how this evil trickery works.
|
||||
ln -s "${S}"/src/gvim "${S}"/src/testvim
|
||||
|
||||
# Don't try to do the additional GUI test
|
||||
emake -j1 VIMPROG=../testvim nongui
|
||||
}
|
||||
|
||||
# Make convenience symlinks, hopefully without stepping on toes. Some
|
||||
# of these links are "owned" by the vim ebuild when it is installed,
|
||||
# but they might be good for gvim as well (see bug 45828)
|
||||
update_vim_symlinks() {
|
||||
local f syms
|
||||
syms="vimdiff rvim rview"
|
||||
einfo "Calling eselect vi update..."
|
||||
# Call this with --if-unset to respect user's choice (bug 187449)
|
||||
eselect vi update --if-unset
|
||||
|
||||
# Make or remove convenience symlink, vim -> gvim
|
||||
if [[ -f "${EROOT}"/usr/bin/gvim ]]; then
|
||||
ln -s gvim "${EROOT}"/usr/bin/vim 2>/dev/null
|
||||
elif [[ -L "${EROOT}"/usr/bin/vim && ! -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
rm "${EROOT}"/usr/bin/vim
|
||||
fi
|
||||
|
||||
# Make or remove convenience symlinks to vim
|
||||
if [[ -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
for f in ${syms}; do
|
||||
ln -s vim "${EROOT}"/usr/bin/${f} 2>/dev/null
|
||||
done
|
||||
else
|
||||
for f in ${syms}; do
|
||||
if [[ -L "${EROOT}"/usr/bin/${f} && ! -f "${EROOT}"/usr/bin/${f} ]]; then
|
||||
rm -f "${EROOT}"/usr/bin/${f}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# This will still break if you merge then remove the vi package,
|
||||
# but there's only so much you can do, eh? Unfortunately we don't
|
||||
# have triggers like are done in rpm-land.
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
dobin src/gvim
|
||||
dosym gvim /usr/bin/gvimdiff
|
||||
dosym gvim /usr/bin/evim
|
||||
dosym gvim /usr/bin/eview
|
||||
dosym gvim /usr/bin/gview
|
||||
dosym gvim /usr/bin/rgvim
|
||||
dosym gvim /usr/bin/rgview
|
||||
|
||||
dodir /usr/share/man/man1
|
||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gvim.1
|
||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gview.1
|
||||
echo ".so vimdiff.1" > "${ED}"/usr/share/man/man1/gvimdiff.1
|
||||
|
||||
insinto /etc/vim
|
||||
newins "${FILESDIR}"/gvimrc-r1 gvimrc
|
||||
eprefixify "${ED}"/etc/vim/gvimrc
|
||||
|
||||
newmenu "${FILESDIR}"/gvim.desktop-r2 gvim.desktop
|
||||
doicon "${FILESDIR}"/gvim.xpm
|
||||
doicon -s scalable "${FILESDIR}"/gvim.svg
|
||||
|
||||
# bash completion script, bug #79018.
|
||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
||||
|
||||
# We shouldn't be installing the ex or view man page symlinks, as they
|
||||
# are managed by eselect-vi
|
||||
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Update fdo mime stuff, bug #78394
|
||||
fdo-mime_mime_database_update
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Update fdo mime stuff, bug #78394
|
||||
fdo-mime_mime_database_update
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
@ -0,0 +1,223 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
inherit eutils vim-doc flag-o-matic versionator bash-completion-r1 prefix
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
||||
EGIT_CHECKOUT_DIR=${WORKDIR}/vim-${PV}
|
||||
else
|
||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
|
||||
https://dev.gentoo.org/~radhermit/vim/vim-7.4.827-gentoo-patches.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="vim and gvim shared files"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="nls acl minimal"
|
||||
|
||||
DEPEND="sys-devel/autoconf"
|
||||
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
|
||||
|
||||
S=${WORKDIR}/vim-${PV}
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home
|
||||
export HOME="${T}"/home
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -d "${WORKDIR}"/patches/ ]]; then
|
||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches/
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i -e \
|
||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=" --without-local-dir"
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
--enable-gui=no \
|
||||
--without-x \
|
||||
--disable-darwin \
|
||||
--disable-perlinterp \
|
||||
--disable-pythoninterp \
|
||||
--disable-rubyinterp \
|
||||
--disable-gpm \
|
||||
--disable-selinux \
|
||||
$(use_enable nls) \
|
||||
$(use_enable acl) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake tools
|
||||
}
|
||||
|
||||
src_test() { :; }
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
dodir /usr/{bin,share/{man/man1,vim}}
|
||||
cd src || die "cd src failed"
|
||||
emake \
|
||||
installruntime \
|
||||
installmanlinks \
|
||||
installmacros \
|
||||
installtutor \
|
||||
installtutorbin \
|
||||
installtools \
|
||||
install-languages \
|
||||
install-icons \
|
||||
DESTDIR="${D}" \
|
||||
BINDIR="${EPREFIX}"/usr/bin \
|
||||
MANDIR="${EPREFIX}"/usr/share/man \
|
||||
DATADIR="${EPREFIX}"/usr/share
|
||||
|
||||
keepdir ${vimfiles}/keymap
|
||||
|
||||
# default vimrc is installed by vim-core since it applies to
|
||||
# both vim and gvim
|
||||
insinto /etc/vim/
|
||||
newins "${FILESDIR}"/vimrc-r4 vimrc
|
||||
eprefixify "${ED}"/etc/vim/vimrc
|
||||
|
||||
if use minimal ; then
|
||||
# To save space, install only a subset of the files.
|
||||
# Helps minimalize the livecd, bug 65144.
|
||||
eshopts_push -s extglob
|
||||
|
||||
rm -fr "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent}
|
||||
rm -fr "${ED}${vimfiles}"/{macros,print,tools,tutor}
|
||||
rm "${ED}"/usr/bin/vimtutor
|
||||
|
||||
local keep_colors="default"
|
||||
ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
|
||||
|
||||
local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig"
|
||||
# tinkering with the next line might make bad things happen ...
|
||||
keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
|
||||
ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
|
||||
|
||||
eshopts_pop
|
||||
fi
|
||||
|
||||
# These files might have slight security issues, so we won't
|
||||
# install them. See bug #77841. We don't mind if these don't
|
||||
# exist.
|
||||
rm "${ED}${vimfiles}"/tools/{vimspell.sh,tcltags} 2>/dev/null
|
||||
|
||||
newbashcomp "${FILESDIR}"/xxd-completion xxd
|
||||
|
||||
# We shouldn't be installing the ex or view man page symlinks, as they
|
||||
# are managed by eselect-vi
|
||||
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
}
|
@ -0,0 +1,364 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
|
||||
PYTHON_REQ_USE=threads
|
||||
inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 python-r1
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
||||
else
|
||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://dev.gentoo.org/~radhermit/vim/vim-7.4.827-gentoo-patches.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Vim, an improved vi-style text editor"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="X acl cscope debug gpm lua luajit minimal nls perl python racket ruby selinux tcl vim-pager"
|
||||
REQUIRED_USE="
|
||||
luajit? ( lua )
|
||||
python? (
|
||||
|| ( $(python_gen_useflags '*') )
|
||||
?? ( $(python_gen_useflags 'python2*') )
|
||||
?? ( $(python_gen_useflags 'python3*') )
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=app-eselect/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2:0
|
||||
nls? ( virtual/libintl )
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
cscope? ( dev-util/cscope )
|
||||
gpm? ( >=sys-libs/gpm-1.19.3 )
|
||||
lua? (
|
||||
luajit? ( dev-lang/luajit:2= )
|
||||
!luajit? ( dev-lang/lua:0[deprecated] )
|
||||
)
|
||||
!minimal? (
|
||||
~app-editors/vim-core-${PV}
|
||||
dev-util/ctags
|
||||
)
|
||||
perl? ( dev-lang/perl:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
racket? ( dev-scheme/racket )
|
||||
ruby? ( || ( dev-lang/ruby:2.3 dev-lang/ruby:2.2 dev-lang/ruby:2.1 dev-lang/ruby:2.0 ) )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
tcl? ( dev-lang/tcl:0= )
|
||||
X? ( x11-libs/libXt )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/autoconf
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home
|
||||
export HOME="${T}"/home
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -d "${WORKDIR}"/patches/ ]]; then
|
||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches/
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# conditionally make the manpager.sh script
|
||||
if use vim-pager ; then
|
||||
cat <<-END > "${S}"/runtime/macros/manpager.sh
|
||||
#!/bin/sh
|
||||
sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b | \\
|
||||
vim \\
|
||||
-c 'let no_plugin_maps = 1' \\
|
||||
-c 'set nolist nomod ft=man ts=8' \\
|
||||
-c 'let g:showmarks_enable=0' \\
|
||||
-c 'runtime! macros/less.vim' -
|
||||
END
|
||||
fi
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i '/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
if use minimal ; then
|
||||
myconf=(
|
||||
--with-features=tiny
|
||||
--disable-nls
|
||||
--disable-multibyte
|
||||
--disable-acl
|
||||
--enable-gui=no
|
||||
--without-x
|
||||
--disable-darwin
|
||||
--disable-luainterp
|
||||
--disable-perlinterp
|
||||
--disable-pythoninterp
|
||||
--disable-mzschemeinterp
|
||||
--disable-rubyinterp
|
||||
--disable-selinux
|
||||
--disable-tclinterp
|
||||
--disable-gpm
|
||||
)
|
||||
else
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
myconf=(
|
||||
--with-features=huge
|
||||
--enable-multibyte
|
||||
$(use_enable acl)
|
||||
$(use_enable cscope)
|
||||
$(use_enable gpm)
|
||||
$(use_enable lua luainterp)
|
||||
$(usex lua "--with-lua-prefix=${EPREFIX}/usr" "")
|
||||
$(use_with luajit)
|
||||
$(use_enable nls)
|
||||
$(use_enable perl perlinterp)
|
||||
$(use_enable racket mzschemeinterp)
|
||||
$(use_enable ruby rubyinterp)
|
||||
$(use_enable selinux)
|
||||
$(use_enable tcl tclinterp)
|
||||
)
|
||||
|
||||
if use python ; then
|
||||
py_add_interp() {
|
||||
local v
|
||||
|
||||
[[ ${EPYTHON} == python3* ]] && v=3
|
||||
myconf+=(
|
||||
--enable-python${v}interp
|
||||
vi_cv_path_python${v}="${PYTHON}"
|
||||
)
|
||||
}
|
||||
|
||||
python_foreach_impl py_add_interp
|
||||
else
|
||||
myconf+=(
|
||||
--disable-pythoninterp
|
||||
--disable-python3interp
|
||||
)
|
||||
fi
|
||||
|
||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
||||
if ! use cscope ; then
|
||||
sed -i '/# define FEAT_CSCOPE/d' src/feature.h || \
|
||||
die "couldn't disable cscope"
|
||||
fi
|
||||
|
||||
# don't test USE=X here ... see bug #19115
|
||||
# but need to provide a way to link against X ... see bug #20093
|
||||
myconf+=(
|
||||
--enable-gui=no
|
||||
--disable-darwin
|
||||
$(use_with X x)
|
||||
)
|
||||
fi
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=( --without-local-dir )
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo
|
||||
einfo "Starting vim tests. Several error messages will be shown"
|
||||
einfo "while the tests run. This is normal behaviour and does not"
|
||||
einfo "indicate a fault."
|
||||
echo
|
||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||
ewarn "state. Usually, running 'reset' will fix this."
|
||||
echo
|
||||
|
||||
# Don't let vim talk to X
|
||||
unset DISPLAY
|
||||
|
||||
# We've got to call make test from within testdir, since the Makefiles
|
||||
# don't pass through our VIMPROG argument
|
||||
cd "${S}"/src/testdir
|
||||
|
||||
# Test 49 won't work inside a portage environment
|
||||
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
|
||||
sed -i 's~test49.out~~g' Makefile
|
||||
|
||||
# We don't want to rebuild vim before running the tests
|
||||
sed -i 's,: \$(VIMPROG),: ,' Makefile
|
||||
|
||||
# Don't try to do the additional GUI test
|
||||
emake -j1 VIMPROG=../vim nongui
|
||||
}
|
||||
|
||||
# Make convenience symlinks, hopefully without stepping on toes. Some
|
||||
# of these links are "owned" by the vim ebuild when it is installed,
|
||||
# but they might be good for gvim as well (see bug 45828)
|
||||
update_vim_symlinks() {
|
||||
local f syms
|
||||
syms="vimdiff rvim rview"
|
||||
einfo "Calling eselect vi update..."
|
||||
# Call this with --if-unset to respect user's choice (bug 187449)
|
||||
eselect vi update --if-unset
|
||||
|
||||
# Make or remove convenience symlink, vim -> gvim
|
||||
if [[ -f "${EROOT}"/usr/bin/gvim ]]; then
|
||||
ln -s gvim "${EROOT}"/usr/bin/vim 2>/dev/null
|
||||
elif [[ -L "${EROOT}"/usr/bin/vim && ! -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
rm "${EROOT}"/usr/bin/vim
|
||||
fi
|
||||
|
||||
# Make or remove convenience symlinks to vim
|
||||
if [[ -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
for f in ${syms}; do
|
||||
ln -s vim "${EROOT}"/usr/bin/${f} 2>/dev/null
|
||||
done
|
||||
else
|
||||
for f in ${syms}; do
|
||||
if [[ -L "${EROOT}"/usr/bin/${f} && ! -f "${EROOT}"/usr/bin/${f} ]]; then
|
||||
rm -f "${EROOT}"/usr/bin/${f}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# This will still break if you merge then remove the vi package,
|
||||
# but there's only so much you can do, eh? Unfortunately we don't
|
||||
# have triggers like are done in rpm-land.
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
# Note: Do not install symlinks for 'vi', 'ex', or 'view', as these are
|
||||
# managed by eselect-vi
|
||||
dobin src/vim
|
||||
dosym vim /usr/bin/vimdiff
|
||||
dosym vim /usr/bin/rvim
|
||||
dosym vim /usr/bin/rview
|
||||
if use vim-pager ; then
|
||||
dosym ${vimfiles}/macros/less.sh /usr/bin/vimpager
|
||||
dosym ${vimfiles}/macros/manpager.sh /usr/bin/vimmanpager
|
||||
insinto ${vimfiles}/macros
|
||||
doins runtime/macros/manpager.sh
|
||||
fperms a+x ${vimfiles}/macros/manpager.sh
|
||||
fi
|
||||
|
||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
||||
# keep in sync with 'complete ... -F' list
|
||||
bashcomp_alias vim ex vi view rvim rview vimdiff
|
||||
|
||||
# We shouldn't be installing the ex or view man page symlinks, as they
|
||||
# are managed by eselect-vi
|
||||
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST virt-viewer-2.0.tar.gz 771874 SHA256 e9c583bcb5acdabac6a8a13eff6ce4e093a3050645771628f832e15ce685d437 SHA512 271ded11e4af3f1dd208c7b8ab7d1c0cd24f641a79e05178d0762a03de3dcf99ae7432acde2b67460e7a98d1fa562587b6b08cf06ab3cf80f025a7b259e8203e WHIRLPOOL aba5eabc490c5b998dfb4b1f5bbac6ae43affc782ccf19072e3a23333607256ce65328e80d46673ab6c25e38ba1bcd8410c270e213d0e28534fd141fd7d90ed3
|
||||
DIST virt-viewer-3.0.tar.gz 832490 SHA256 6331fd64ef9e999e0943844ddc0f89d35bd91bcc9c8e919f7274500930e97144 SHA512 8a7ca7ef6315d63e15b5ed5232d82c1ce119468e7e0b098a4c2aaf7ef8b85b02070183275523f944ee8aa93e0d2feafa863f632eadc78d15bd4dfa81f0b2abd3 WHIRLPOOL d3fe3d9aea3c35e8554d0fe6bdecad47231f476d40e11f6303e54d8476aba524a9a6ce0edadb3302b903e5d7aec5ac5caaf28c376f7ffddc33ace23ee9dbcc48
|
||||
DIST virt-viewer-3.1.tar.gz 835147 SHA256 be4e49470b650fc22513c2c01f2e13e30ee2d494d0d7b319b6f414ca781078c7 SHA512 72deb289c32a315fc4e1d73148d0b0a366cf929ff9fb389b62d750d317d02a43e2bf3bc170f43d9f37a184d8c7754b3e282de404fbcfa59ff278a87e4aa0acaf WHIRLPOOL 90f47dfc79f1529272fae8fbaf7553c369a9c2161b63071037fcb5279050a5ff9391800922e2a43f5c37e133b13f6736b59f3574531e22ce7dd27d2de9c714cf
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils gnome2 fdo-mime
|
||||
|
||||
DESCRIPTION="Graphical console client for connecting to virtual machines"
|
||||
HOMEPAGE="http://virt-manager.org/"
|
||||
SRC_URI="http://virt-manager.org/download/sources/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="sasl +spice +vnc"
|
||||
|
||||
RDEPEND=">=app-emulation/libvirt-0.10.0[sasl?]
|
||||
>=dev-libs/libxml2-2.6
|
||||
x11-libs/gtk+:3
|
||||
spice? ( >=net-misc/spice-gtk-0.30[sasl?,gtk3] )
|
||||
vnc? ( >=net-libs/gtk-vnc-0.5.0[sasl?,gtk3] )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
>=dev-util/intltool-0.35.0
|
||||
virtual/pkgconfig
|
||||
spice? ( >=app-emulation/spice-protocol-0.12.10 )"
|
||||
|
||||
REQUIRED_USE="|| ( spice vnc )"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="$(use_with vnc gtk-vnc) $(use_with spice spice-gtk)"
|
||||
G2CONF="${G2CONF} --with-gtk=3.0 --without-ovirt --disable-update-mimedb"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_mime_database_update
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST nvidiabl-0.87.tar.gz 36563463 SHA256 a5a035520cce17ef1b6b2f98eb6ad10ef7d4d3e55dd2f12b6b961fabc05c5e35 SHA512 778f8b9e7d6d8e9ecbeef745bf3602e56b38757791d7b49ebf3326758117487f7494e232aaa9354b91fd17ee3578c80278e0e60175b274b1a1a93e952dc0dfe5 WHIRLPOOL 3ebca47463ccc1059a3d7dd109479ee9c9bce4332da8ac25aaf14fd8630b72b6620e8941a69fd7e2e734739f894362efff75ace05692a3c402a8981601dd3c36
|
||||
DIST v0.83.tar.gz 448594 SHA256 0ea79770c02ae297fb6d660ee28ecf7a7acc346de0a55e3231ce499d4184db0f SHA512 cbf4f042acb9005c25d8d008973220f4d42fe890bfd86a34b72c0e56129dfcdcad2383acacf048e5e9da33aaf759053cdadeddac9e0946ae49a8a29ed03447dd WHIRLPOOL 4d1e13ffe1bed36ffee1c498c6384a9ff3fcc561e3aa443c15106baa9711523b8798f0283e42d6365afa57f8d7b4a394835bbea2eb8c6d41a8910c38d661012b
|
||||
|
@ -0,0 +1,23 @@
|
||||
From dee67fbf8eeec1651dbee3c2045ce6a93da949dc Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Wucher <mail@thomaswucher.de>
|
||||
Date: Tue, 14 Apr 2015 08:41:09 +0200
|
||||
Subject: [PATCH] Replace strnicmp by stncasecmp to fix build on Linux 4.0
|
||||
|
||||
---
|
||||
nvidiabl-module.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/nvidiabl-module.c b/nvidiabl-module.c
|
||||
index b789ea4..b306579 100644
|
||||
--- a/nvidiabl-module.c
|
||||
+++ b/nvidiabl-module.c
|
||||
@@ -214,7 +214,7 @@ static int __init nvidiabl_init(void)
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39)
|
||||
|
||||
for (iii = 0 ; iii < sizeof(backlight_type_ids) ; iii++) {
|
||||
- if (strnicmp(bl_type, backlight_type_ids[iii].id, sizeof(bl_type)) == 0) {
|
||||
+ if (strncasecmp(bl_type, backlight_type_ids[iii].id, sizeof(bl_type)) == 0) {
|
||||
props.type = backlight_type_ids[iii].type;
|
||||
printk(KERN_INFO "nvidiabl: backlight type is %s\n", backlight_type_ids[iii].id);
|
||||
}
|
||||
|
@ -1,10 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">guillaumezin/nvidiabl</remote-id>
|
||||
</upstream>
|
||||
<herd>proxy-maintainers</herd>
|
||||
<maintainer>
|
||||
<email>gentoobugzilla@jeltef.nl</email>
|
||||
<name>Jelte Fennema</name>
|
||||
<description>Proxied maintainer; set to assignee in all bugs</description>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">guillaumezin/nvidiabl</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit linux-mod eutils
|
||||
|
||||
DESCRIPTION="Linux driver for setting the backlight brightness on laptops using NVIDIA GPU"
|
||||
HOMEPAGE="https://github.com/guillaumezin/nvidiabl"
|
||||
SRC_URI="https://github.com/guillaumezin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
pkg_setup() {
|
||||
CONFIG_CHECK="FB_BACKLIGHT"
|
||||
ERROR_FB_BACKLIGHT="Your kernel does not support FB_BACKLIGHT. To enable you
|
||||
it you can enable any frame buffer with backlight control or nouveau.
|
||||
Note that you cannot use FB_NVIDIA with nvidia's proprietary driver"
|
||||
linux-mod_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-linux-4.0.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
BUILD_PARAMS="KVER=${KV_FULL}"
|
||||
BUILD_TARGETS="modules"
|
||||
MODULE_NAMES="nvidiabl()"
|
||||
|
||||
MAKEOPTS+=" V=1"
|
||||
linux-mod_src_compile
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST when-1.1.33.tar.gz 49740 SHA256 568a49e999363a018186e03c38d116c587b332f7fcf60820f9cfc34779050ab0 SHA512 5c0934257133f75a7de984499f99f68dde5343d51051acf1b454f04dae82254c733e946a6c5ead546dc3c07cd113d938a48c95af39b80cbfc04ee6d748223c83 WHIRLPOOL 9bcbe73a4034b817fc34d302689a0b404563081163c692ee23e484fbb9ab993a90a5d468f2586e7f5327abad98f4033ebd7546255f682898e899a9fdd7629c97
|
||||
DIST when-1.1.35.tar.gz 51308 SHA256 f880c0d80b1023a05df99690e36be133c46071657b9921fc9e8d16115fb13ae6 SHA512 b9acd1e3ea69c3ea9672eb16bd291c79612bbd037b4b96f6350d44da1400729a62bfc320eed2637646a728c243abacd7e26f22e76b5b12006dbd0c70bcb4a7da WHIRLPOOL 04ac240b99c5a0a3a2e0f80e7edd6ab0fd85939676016877f595d5698c8238d754ca4deb697eea507744bb936f64f6011548aa062751d99ffcc47a24362dbf4f
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Extremely simple personal calendar program aimed at the Unix geek who wants something minimalistic"
|
||||
HOMEPAGE="http://www.lightandmatter.com/when/when.html"
|
||||
SRC_URI="http://www.lightandmatter.com/when/when.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Artistic"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
|
||||
DEPEND="dev-lang/perl"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/when_dist
|
||||
|
||||
src_prepare() {
|
||||
# Fix path for tests
|
||||
sed -i 's,^ when, ./when,' Makefile || die 'sed failed'
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_test() {
|
||||
# The when command requires these files, or attempts to run setup function.
|
||||
mkdir "${HOME}"/.when || die 'mkdir failed'
|
||||
touch "${HOME}"/.when/{calendar,preferences} || die 'touch failed'
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
doman ${PN}.1
|
||||
dodoc README
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST nerdtree-4.2.0.tar.bz2 36943 SHA256 6504080b52be5b8a17650d12237f516fe5e44ed20b6da9520d2d69189f3be2c5 SHA512 dd8886ee1671e5290a0a094630433979bedb7a5e1f0fdab0c8d6d93e85216bd84dbf12d33be4f249886b6be4e04ae7d6041e290c50fa2e5044035aee4eff8e06 WHIRLPOOL 9a285b4d9a2d1ca1804c3d5c0f3959762d7c391636e1f3eb10198421645ccdf2db1058a9c12f49949e73be58f3a9fb4219a0d0328381f60b19cd9460c47a7ec9
|
||||
DIST nerdtree-5.0.0.tar.gz 56162 SHA256 64ee6c672261aa5a6baafe45cfadf3affabe0b329166c75f10b84d68eaae5a3a SHA512 7de6e7978604e89e2c03cadf74ff4a57545ff73a643039fdfe76f277e773374b5b5f9bbd5d8f3307df4af867f88fc687f9bb5e28ff9e90d11fecdef8bdb83d1a WHIRLPOOL d1e6458500a52cd0b5afe277c1395c28acd6988b55357ace2fd6b3d2db6add489029bf8c244a21cb6d971f80b53090d74a02d30edf3eca0754f17736a88ab604
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: A tree explorer plugin for navigating the filesystem"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=1658 https://github.com/scrooloose/nerdtree"
|
||||
SRC_URI="https://github.com/scrooloose/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="WTFPL-2"
|
||||
KEYWORDS="~amd64 ~x86 ~x64-macos"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="NERD_tree"
|
||||
|
||||
src_prepare() {
|
||||
rm LICENCE || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST sparsehash-1.10.tar.gz 289819 SHA256 5a57b77633aab1e59827e51cf6247c4ac521713d45f1764ddba60353cbc9677a SHA512 ecc01e755885b8da5927f4f56c95c02ce9a43e5c0280cdc1cdfa812f787396646925c0f602a35decdf94144e8d2f3ac31b80f5ed98b70ccca607a29bb11f8a35 WHIRLPOOL 643e27499b1981faa7dc8864886c736a5265d78221edaed0fb6bd73eaf943433d5fbe5fe26ec2e52451651e19ce869a6ad08c22d7fb3d71b6cc7bf5866fd3653
|
||||
DIST sparsehash-2.0.2.tar.gz 340514 SHA256 2ed639a7155607c097c2029af5f4287296595080b2e5dd2e2ebd9bbb7450b87c SHA512 27d823551bc8364dd3c10f071e51bab55d2bbe9cf74ddb8337d118475aa7fdd38ae07dbb7dbd721c1350830325cadccdadf127f9996f26387e412e108edba3a1 WHIRLPOOL 87d31528bfd7a177c7be3be2bcddf1ba52bcc8791b8b2162cc1902e4cf02695c99b9a6b70fbcfd85d9e03456931bd72fc67b47cad79d0182bd1d4f5eb11e6f0b
|
||||
DIST sparsehash-2.0.3.tar.gz 322046 SHA256 05e986a5c7327796dad742182b2d10805a8d4f511ad090da0490f146c1ff7a8c SHA512 bb00d0acb8eba65f7da8015ea4f6bebf8bba36ed6777881960ee215f22b7be17b069c59838d210551ce67a34baccfc7b2fed603677ec53c0c32714d8e76f5d6c WHIRLPOOL e647aed5468c76a40a4cf631cf4fa4a5f312cb4a712eedb5174ac29a59ec018227ca7e8db61e6a77121dc9b1acbe2e52a492fa7ed654d9eb9180237cb1ebdf72
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="An extremely memory-efficient hash_map implementation"
|
||||
HOMEPAGE="https://github.com/sparsehash/sparsehash"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${PN}-${P}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Installs just every piece
|
||||
rm -rf "${ED}/usr/share/doc"
|
||||
dohtml doc/*
|
||||
}
|
@ -0,0 +1 @@
|
||||
[[ "${!#}" = "-awt" ]] || gjl_java_args="-Djava.awt.headless=true"
|
@ -0,0 +1,130 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
# TODO: if 'doc' use flag is used then should build also extra docs ('docs' ant target), currently it cannot
|
||||
# be built as it needs forrest which we do not have
|
||||
# TODO: package and use optional dependency jeuclid
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc examples source test"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Formatting Objects Processor is a print formatter driven by XSL"
|
||||
HOMEPAGE="http://xmlgraphics.apache.org/fop/"
|
||||
SRC_URI="mirror://apache/xmlgraphics/${PN}/source/${P}-src.zip"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
# Tests are broken even in 2.0
|
||||
RESTRICT="test"
|
||||
|
||||
CDEPEND="dev-java/batik:1.8
|
||||
dev-java/ant-core:0
|
||||
dev-java/fontbox:1.7
|
||||
dev-java/commons-io:1
|
||||
dev-java/commons-logging:0
|
||||
java-virtuals/servlet-api:3.0
|
||||
dev-java/avalon-framework:4.2
|
||||
dev-java/xmlgraphics-commons:2
|
||||
dev-java/xml-commons-external:1.3
|
||||
dev-java/qdox:1.12"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
${CDEPEND}"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
app-arch/unzip
|
||||
${CDEPEND}"
|
||||
|
||||
# test? (
|
||||
# dev-java/ant-junit:0
|
||||
# dev-java/junit:4
|
||||
# dev-java/xmlunit:1
|
||||
# dev-java/mockito:0
|
||||
# )"
|
||||
|
||||
JAVA_ANT_ENCODING="ISO-8859-1"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
|
||||
EANT_GENTOO_CLASSPATH="
|
||||
ant-core
|
||||
batik-1.8
|
||||
fontbox-1.7
|
||||
commons-io-1
|
||||
commons-logging
|
||||
servlet-api-3.0
|
||||
avalon-framework-4.2
|
||||
xmlgraphics-commons-2
|
||||
xml-commons-external-1.3
|
||||
"
|
||||
|
||||
TARGETS=(
|
||||
resourcegen
|
||||
jar-hyphenation
|
||||
jar-sandbox
|
||||
jar-main
|
||||
)
|
||||
|
||||
java_prepare() {
|
||||
find "${S}"/lib -type f | xargs rm -v
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=554386
|
||||
# http://wiki.apache.org/xmlgraphics-fop/HowTo/BuildFOPAlternatively
|
||||
java-pkg_jar-from --into lib qdox-1.12 qdox.jar
|
||||
java-pkg_jar-from --into lib xmlgraphics-commons-2 xmlgraphics-commons.jar
|
||||
java-pkg_jar-from --into lib commons-logging commons-logging.jar
|
||||
java-pkg_jar-from --into lib commons-io-1 commons-io.jar
|
||||
java-pkg_jar-from --into lib fontbox-1.7 fontbox.jar
|
||||
java-pkg_jar-from --into lib xml-commons-external-1.3 xml-apis-ext.jar
|
||||
java-pkg_jar-from --into lib xml-commons-external-1.3 xml-apis.jar
|
||||
java-pkg_jar-from --into lib avalon-framework-4.2 avalon-framework.jar
|
||||
java-pkg_jar-from --virtual --into lib servlet-api-3.0 servlet-api.jar
|
||||
|
||||
for target in ${TARGETS[@]}; do
|
||||
EANT_BUILD_TARGET="${target}" \
|
||||
java-pkg-2_src_compile
|
||||
done
|
||||
|
||||
if use doc; then
|
||||
sed -i -e 's/failonerror=\"true\"/failonerror=\"false\"/;' ./build.xml
|
||||
EANT_BUILD_TARGET="javadocs" \
|
||||
java-pkg-2_src_compile
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar \
|
||||
build/${PN}.jar \
|
||||
build/${PN}-sandbox.jar \
|
||||
build/${PN}-hyph.jar
|
||||
|
||||
java-pkg_dolauncher \
|
||||
${PN} --main org.apache.fop.cli.Main \
|
||||
-pre "${FILESDIR}/headless-launcher.bash"
|
||||
|
||||
dodoc NOTICE README
|
||||
|
||||
if use doc; then
|
||||
java-pkg_dojavadoc \
|
||||
build/javadocs
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
java-pkg_doexamples \
|
||||
examples/* conf
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
java-pkg_dosrc \
|
||||
src/java/org \
|
||||
src/sandbox/org
|
||||
fi
|
||||
}
|
@ -1 +1 @@
|
||||
DIST SnakeYAML-all-1.9.zip 9122570 SHA256 7c1090eb1b2e06f784dc424678f18d513dfe020fd2f0042c63217e09ae9a8853 SHA512 8b2fd5de8374b592b74f52cea66cbb7aed04892fecf7f994fc797fc9fdb185fed4fa02a1fe69e69f137acb01037f77ed18988b83d038bc425fa04186947dab19 WHIRLPOOL f7a9dcd644638b28a35a8a33d81455984455d1b55dddc057db17cb6e60589240331ab2beb56df4f6a81bbe6ff1fe2b63731eff6454b601b1a76ba5c2061baa7c
|
||||
DIST snakeyaml-1.16.tar.bz2 234954 SHA256 cc85e6c5e21ce16b84d2d8f73e145ce285a9f6e73b34fd22ed7859ff6ab1a4eb SHA512 77ef0b1fa2ebe7ab1618745c407436ac6965159e29e1271b0d571006b967bcd94658eb3a8047180ea7c3160eb66ecbac1f24414537a24a81c11fb735ce65e3a4 WHIRLPOOL 68e898d6142d7fa3c5a801e6772f1cbd4caf173f1ba84c4244a11d92b6d6d180e69df9fba2ce9c63337df90baa492851728dccd00201fd5c8abc640ec6e28d72
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple vcs-snapshot
|
||||
|
||||
DESCRIPTION="A YAML 1.1 parser and emitter for Java 5"
|
||||
HOMEPAGE="https://bitbucket.org/asomov/snakeyaml"
|
||||
SRC_URI="https://bitbucket.org/asomov/${PN}/get/v${PV}.tar.bz2 -> ${P}.tar.bz2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
test? (
|
||||
dev-java/joda-time:0
|
||||
dev-java/junit:4 )"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
|
||||
java_prepare() {
|
||||
# Remove some tests with tricky dependencies.
|
||||
rm -rv src/test/java/{examples/SpringTest.java,org/yaml/snakeyaml/{emitter/template/VelocityTest.java,issues/issue9}} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
dodoc README.md src/etc/announcement.msg
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local DIR="src/test/java"
|
||||
local CP="${DIR}/../resources:${DIR}:${PN}.jar:$(java-pkg_getjars joda-time,junit-4)"
|
||||
|
||||
local TESTS=$(find "${DIR}" -name "*Test.java" ! -name AbstractTest.java ! -name PyImportTest.java)
|
||||
TESTS="${TESTS//src\/test\/java\/}"
|
||||
TESTS="${TESTS//.java}"
|
||||
TESTS="${TESTS//\//.}"
|
||||
|
||||
ejavac -cp "${CP}" -d "${DIR}" $(find "${DIR}" -name "*.java")
|
||||
ejunit4 -classpath "${CP}" ${TESTS}
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="A YAML 1.1 parser and emitter for Java 5"
|
||||
HOMEPAGE="https://bitbucket.org/asomov/snakeyaml"
|
||||
SRC_URI="https://snakeyaml.googlecode.com/files/SnakeYAML-all-${PV}.zip"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6"
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
|
||||
java_prepare() {
|
||||
java-pkg_clean
|
||||
|
||||
# Easier to use java-pkg-simple.
|
||||
rm -v pom.xml || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
dodoc AUTHORS src/etc/announcement.msg
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST execline-2.1.1.0.tar.gz 75967 SHA256 9e1a9b95772b64bd623c1ddea6200909cca0eb659893ac47857848928eaff7dc SHA512 250fe449b39a198193f1431b249b342f3c6c499fea12779a55d0e27aec2095285bbf9dc2a48d84eebdf9f540ecf5e67ef39393243ca0fadfc764d2cc95ac0b6b WHIRLPOOL ce92f6d7786e5f1efcfb5298b1fa8a561957c6b9f542ace49b815e69f98da4f88adcd339f7210d61d7ae1298573cd9bc31c22c6f7b3c8ac30f44986c88241f32
|
||||
DIST execline-2.1.4.5.tar.gz 80203 SHA256 ab4451d4992a5d7fb2ae34cffe4d0806e4902bf9aa27ee3b75617aa35379356f SHA512 15a76c73afe98142b9f466edb442cad06ee69f0f0e15ad6a325c37f3878b4c5863b5cece67bd169e84b465a0f7f4f38f87fa88b2aa96fe40a20ebc3575a1ceb9 WHIRLPOOL 1df5b72f02c95d3fd24ff7c46b3cd7aff89186bfe6bb27df815f5bb06a12886e57b3fe67ff18d2d387dccb107eb8acf0b09124eafe47a9857e636d240e1051e8
|
||||
|
@ -0,0 +1,55 @@
|
||||
# Copyright 2013-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="a non-interactive scripting language similar to SH"
|
||||
HOMEPAGE="http://www.skarnet.org/software/execline/"
|
||||
SRC_URI="http://www.skarnet.org/software/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static static-libs"
|
||||
|
||||
DEPEND=">=sys-devel/make-4.0
|
||||
static? ( >=dev-libs/skalibs-2.3.8.3[static-libs] )
|
||||
!static? ( >=dev-libs/skalibs-2.3.8.3 )
|
||||
"
|
||||
RDEPEND="!static? ( >=dev-libs/skalibs-2.3.8.3 )"
|
||||
|
||||
src_prepare() {
|
||||
# Remove QA warning about LDFLAGS addition
|
||||
sed -i "s~tryldflag LDFLAGS_AUTO -Wl,--hash-style=both~:~" "${S}/configure" || die
|
||||
}
|
||||
|
||||
src_configure()
|
||||
{
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable static allstatic) \
|
||||
$(use_enable !static shared) \
|
||||
--bindir=/bin \
|
||||
--sbindir=/sbin \
|
||||
--dynlibdir=/$(get_libdir) \
|
||||
--libdir=/usr/$(get_libdir)/${PN} \
|
||||
--datadir=/etc \
|
||||
--sysdepdir=/usr/$(get_libdir)/${PN} \
|
||||
--with-dynlib=/$(get_libdir) \
|
||||
--with-lib=/usr/$(get_libdir)/skalibs \
|
||||
--with-sysdeps=/usr/$(get_libdir)/skalibs
|
||||
}
|
||||
|
||||
src_compile()
|
||||
{
|
||||
emake DESTDIR="${D}"
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
default
|
||||
dohtml -r doc/*
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST skalibs-2.3.2.0.tar.gz 205976 SHA256 a36302b63fe97fa8d616cac0bb7aebbff60e1419dfb4d4f1af66b3c058dbd6ba SHA512 f5a4b85fc43f49eccf5a2ac2ce5b142afc28fe4af781e59d1ad21a7eb5896075720230391234fcf7879cb29ba2d1624926d8cca77c3925327aa7a9a5fefff91a WHIRLPOOL 453d5a0c9d1c2d84e1c8d5ac6bdb27e85d402de8007b8fcc6ba00c6e7c2400fb30c188da0a71343271edf47480916c7f3a5c7bb6e07703d5adc196bccc783350
|
||||
DIST skalibs-2.3.9.0.tar.gz 211781 SHA256 6229fb4fb415699bbff3b446ff44aa5b7fb9c512b83bd68ae4005603afab60cb SHA512 30b08fec01944fd7e816eb275dfe6eafdf21e14af95e70ae4991b9da716ab191b22c1576084ed7c40fd9e958804519075befaaf4314ccb370ced3c5e94793212 WHIRLPOOL 626ae08b19bb26916b5f75a979f60455404d91ae77c7c70fd35ae5b697e970f6cd72c68f42ddf6b288018b5639003ab6f2d2860d5617d8b6a0feca02f261277e
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="development files used for building software at skarnet.org: essentially general-purpose libraries"
|
||||
HOMEPAGE="http://www.skarnet.org/software/skalibs/index.html"
|
||||
SRC_URI="http://www.skarnet.org/software/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc ipv6 static-libs"
|
||||
|
||||
DEPEND=">=sys-devel/make-3.81"
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
# Remove QA warning about LDFLAGS addition
|
||||
sed -i "s~tryldflag LDFLAGS_AUTO -Wl,--hash-style=both~:~" "${S}/configure" || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable static-libs static) \
|
||||
--dynlibdir=/$(get_libdir) \
|
||||
--libdir=/usr/$(get_libdir)/${PN} \
|
||||
--datadir=/etc \
|
||||
--sysdepdir=/usr/$(get_libdir)/${PN} \
|
||||
--enable-force-devr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodir /etc/ld.so.conf.d/
|
||||
echo "/$(get_libdir)/${PN}" > ${ED}/etc/ld.so.conf.d/10${PN}.conf || die
|
||||
|
||||
use doc && dohtml -r doc/*
|
||||
}
|
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit libtool eutils flag-o-matic python-single-r1
|
||||
|
||||
DESCRIPTION="Lightweight library for extracting data from files archived in a single zip file"
|
||||
HOMEPAGE="http://zziplib.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/zziplib/${P}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc sdl static-libs test"
|
||||
|
||||
RDEPEND="sys-libs/zlib
|
||||
sdl? ( >=media-libs/libsdl-1.2.6 )"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
virtual/pkgconfig
|
||||
test? ( app-arch/zip )"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.13.49-SDL-test.patch
|
||||
|
||||
python_fix_shebang .
|
||||
|
||||
# workaround AX_CREATE_PKGCONFIG_INFO bug #353195
|
||||
sed -i \
|
||||
-e '/ax_create_pkgconfig_ldflags/s:$LDFLAGS::' \
|
||||
-e '/ax_create_pkgconfig_cppflags/s:$CPPFLAGS::' \
|
||||
configure || die
|
||||
|
||||
# zziplib tries to install backwards compat symlinks we dont want
|
||||
sed -i -e '/^zzip-postinstall:/s|$|\ndisable-this:|' Makefile.in || die
|
||||
sed -i -e '/^install-exec-hook:/s|$|\ndisable-this:|' zzip/Makefile.in || die
|
||||
|
||||
elibtoolize
|
||||
|
||||
# Do an out-of-tree build as their configure will do it automatically
|
||||
# otherwise and that can lead to funky errors. #492816
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd "${S}"/build
|
||||
|
||||
append-flags -fno-strict-aliasing # bug reported upstream
|
||||
export ac_cv_path_XMLTO= # man pages are bundled in .tar's
|
||||
|
||||
# Disable aclocal probing as the default path works #449156
|
||||
ECONF_SOURCE=${S} \
|
||||
ACLOCAL=true \
|
||||
econf \
|
||||
$(use_enable sdl) \
|
||||
$(use_enable static-libs static)
|
||||
MAKEOPTS+=' -C build'
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# need this because `make test` will always return true
|
||||
# tests fail with -j > 1 (bug #241186)
|
||||
emake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
# fowners fails when we don't have enough permissions (Prefix)
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
fowners -R root /usr/share/man #321975
|
||||
fi
|
||||
|
||||
prune_libtool_files
|
||||
|
||||
if use doc ; then
|
||||
dohtml -r docs/*
|
||||
fi
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=JHI
|
||||
MODULE_VERSION=1.2907
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl module for BSD process resource limit and priority functions"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ia64 ~ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
SRC_TEST="do"
|
@ -1,2 +1 @@
|
||||
DIST BSD-Resource-1.2907.tar.gz 66646 SHA256 832e43d9bcf33e942d90266c60843d13421539730c28eebb24f5e362804026ff SHA512 1e7c574d1f4e568503cf116ea35ba787c6f3bba02cf4b910196dfbb2ee6f147587f1021f28f7411272485b28ec65d78c5d79aa7c60340af97c8144d4c25b140d WHIRLPOOL f6d6f105dde2cee3db53cc9a543ce126604f800d1825a3e1da4693664b9cba822f00eed4d909928e0dd26c36e14256e71bd09de57659a0032663a3157c8db59a
|
||||
DIST BSD-Resource-1.2908.tar.gz 66986 SHA256 76b66a7809af804dcf12004353aa94f037961a61d043bf949c545165558aa138 SHA512 62cbed7ffae4366c86f0371c52cbbef9aab8de49adba418b00d06100579ff1473e637c92b9ab71906b2d122bfbdca27ee2a5498011218f1568acb442b89670c1 WHIRLPOOL 309c49895ffedf08c1b6ae7465f267c93f15d09b3fe15de83480d3ff98798ef219836ee135fd3996433f8e3badef66ef67b81d619dac7140fe97c9f71b2a262e
|
||||
|
@ -1,8 +1,10 @@
|
||||
DIST elasticsearch-1.7.3.tar.gz 28510917 SHA256 af517611493374cfb2daa8897ae17e63e2efea4d0377d316baa351c1776a2bca SHA512 0cb6b2ebd77c3d1467f6a22f845bfbf9f4a7c9c9ddedae17aeb6bd2d2bc576171fc80e3a4963e7b890af574e9fd0b0faa152e7f2671a74254826e14fe2554c9f WHIRLPOOL c86de3076389a9b95cf4d424673edb3c3b1dae0b4470b18b15a5f2e9bde6669a61b8ffd5cc3f7fc3b52f99441915a84b0396a5673ebbc12fec0d83eb41a03c74
|
||||
DIST elasticsearch-2.0.0.tar.gz 28576708 SHA256 b25f13f615337c2072964fd9fc5c7250f8a2a983b22198daf93548285d5d16df SHA512 23473b658d68c07b65f66e04cdac07c0b88ac3a2a9ca1d5e700b5b17ebc1b23b77a5b0fa32959d30d8e0267ec186be42de0c11ce86864fe55d0e353c27d0003a WHIRLPOOL 22a7a274961999d5105ed9ba817d225deb8e46330e5774be8caecb34e6997c2a8debf348a5f6d58ac9d959a6b96957723a63944750155f37592278b8e6e590c6
|
||||
DIST elasticsearch-2.1.1.tar.gz 29007342 SHA256 ebd69c0483f20ba7e51caa9606d4e3ce5fe2667e1216c799f0cdbb815c317ce6 SHA512 eff12cd7342dc0036dc88f03ced9c7cc90d284222efeca86adfd9e4cf254cb8f96105c58673b239cfc9eb9764a2a669d2cd171ca73eb43b1ec1470a13c5e1776 WHIRLPOOL 2b0e069d162ee07eddc90d879d4ce5dd2cef9e4a804a9aaeb3d99e5d532f583589e2c6a36b5e856bf19a610f220eea6aaa75d28e7b6687b60eab7bf83b2def51
|
||||
DIST elasticsearch-py-1.4.0.tar.gz 74498 SHA256 7959787b47c3523e9c9aeffec441091fcd2b293d26c4fd5f576cf84cfb85ef63 SHA512 dbe51362f68d40e95a0cfefde4feb8d9d9c61b4f4795cbf69fd70bf981f290812ebac19a20ae8594cc39ac46a3c35ddfe450ff436fca0fada060736128478cf7 WHIRLPOOL a6730bcccc1201048f82aed6e63b7e73f38150002dd9889c575c9edf52834bc6f9a8256977ac27b092f3865074e4699729cc766564a4b731766d77d6a6de6324
|
||||
DIST elasticsearch-py-1.5.0.tar.gz 77037 SHA256 275eaeb2f64c8eba8691d953ac0d8a16e4f759d9cad797323b7cbd0ef87a69ce SHA512 10d473a221be3deb086dca0c5463324647e38f8be4f4bbea934079b002f1414d30c98976c56fd2fc55c97d24ed2338137a9983194e8bf82c95cc70321ee5ee86 WHIRLPOOL 3aa83b9bfd5363ea39baf58cc7bdaaa9606085e471e7e683518cf707642fc9a514264c51cf3e296db071a2a5333f58b8e1335bc4473477df9d085bea63c584ba
|
||||
DIST elasticsearch-py-1.6.0.tar.gz 77205 SHA256 59dd03284ab7314e5eb50d13ba92df65efb93778ca318906baad5776b152aff7 SHA512 09cdec0b3f50707b9a5e11534fe28507db669e4da44bbda1952d07b6ac8e3aea0c0c05297db26d9425c2247724681fa4e5485e9525571ff64f070e700a9a9b07 WHIRLPOOL 04f43a848cc811d1bee22d2bf7931a4348fb4a455172e381bedad5179d72313320009cb8b2dfdadb252aacc13cc1a4ef15b311488401d6b2bc23e242272bb74b
|
||||
DIST elasticsearch-py-1.8.0.tar.gz 73848 SHA256 9394a1eef66223f8292f005bbe0c2309df10f76e8065823966e045e5e0a76cb3 SHA512 c4ca91db0fd1094dd02b1a9e7ca94f11c4c528373a71f180c5e256efdf53515802fc854866dcb7077e2f5c6300ee88cb80fd6c766e22f1f76357a0b970e1444d WHIRLPOOL b3cfd3011e97cfe97690a784e896dc794ece747ed1b82e1a3b1731b9dda25f38011ef4e0dd8271a514f31a85fb35349877baa2ce66908f908c5c7470412a23ef
|
||||
DIST elasticsearch-py-1.9.0.tar.gz 74021 SHA256 bf00a6c7ecd965bf585199335d2619267ae0caabc356ee011dfc37e373edc023 SHA512 1a523867fd40534332a8b46e84ca3009dbaf86c9bf51e1487d76b90420e0c5371271f7956ebd2a416288bab57fa539377471386e23bcc03b1e7cdd4ab90a6027 WHIRLPOOL 9c5f4ffcdc97ce695845d8597d39aa41e71495de78f49fa2003d3665f683a04e32d5a5dabd4670ab9928a1ebc082564b4169b7e19f5c803146772b50598ae091
|
||||
DIST elasticsearch-py-2.1.0.tar.gz 72785 SHA256 faa04d251ba266c419bb45b644b984fc3028f558ff50d34ec92547f65db75652 SHA512 445ca902b9b1b0239f751174d812672a623a205bc22da679a61edcd88a29d86be2e1e35421579da1ae34b346476f951c24848015bbf2d437e2209b706044ec0b WHIRLPOOL e50ec6278a229f5129aa56693b761226ba11a453f1841dadec54a57998205246b8a95eb10365a79fb831ed47532d8b3c231f4134515e4f169b123e4d7bfcf8e4
|
||||
DIST elasticsearch-py-2.2.0.tar.gz 74228 SHA256 e0d252a8c1e9af2b7b89ae8aa8cb006bb1714e19e147418655baebd0c4f90e77 SHA512 fcdcb72064920aeaaaba644166184d6826d5bd26542824744cb9bc899d01b50f972bbee4e92dce2f24fc81d66201d807d89fb2b9ccda446986eb79c9c131171e WHIRLPOOL a92cbe1e959cef132901c60c31ec0cc30a437e049205b4475094a05112efdb58fb136c92e3e1507589e1c77d001679d1e083710accb9ee47c43d25d0a71c183c
|
||||
|
@ -0,0 +1,86 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy )
|
||||
|
||||
ES_VERSION="2.1.1"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="official Python low-level client for Elasticsearch"
|
||||
HOMEPAGE="http://elasticsearch-py.rtfd.org/"
|
||||
SRC_URI="https://github.com/elasticsearch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
test? ( https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/${ES_VERSION}/elasticsearch-${ES_VERSION}.tar.gz )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~x86"
|
||||
IUSE="examples doc test"
|
||||
|
||||
RDEPEND=">=dev-python/urllib3-1.8[${PYTHON_USEDEP}]
|
||||
<dev-python/urllib3-2.0[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}]
|
||||
test? ( ${RDEPEND}
|
||||
>=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
|
||||
<dev-python/requests-3.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pretty-yaml[${PYTHON_USEDEP}]
|
||||
dev-python/nosexcover[${PYTHON_USEDEP}]
|
||||
|| ( virtual/jre:1.8 virtual/jre:1.7 ) )"
|
||||
|
||||
python_test() {
|
||||
ES="${WORKDIR}/elasticsearch-${ES_VERSION}"
|
||||
ES_PORT="25124"
|
||||
ES_LOG="${ES}/logs/elasticsearch.log"
|
||||
PID="${ES}/elasticsearch.pid"
|
||||
|
||||
# run Elasticsearch instance on custom port
|
||||
sed -i "s/# http.port: 9200/http.port: ${ES_PORT}/g; \
|
||||
s/# cluster.name: my-application/cluster.name: gentoo-es-py-test/g" \
|
||||
${ES}/config/elasticsearch.yml
|
||||
|
||||
# start local instance of elasticsearch
|
||||
${ES}/bin/elasticsearch -d -p ${PID}
|
||||
|
||||
for i in `seq 10`; do
|
||||
grep -q "started" ${ES_LOG} 2> /dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
einfo "Elasticsearch started"
|
||||
eend 0
|
||||
break
|
||||
elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then
|
||||
eend 1
|
||||
eerror "Elasticsearch already running"
|
||||
die "Cannot start Elasticsearch for tests"
|
||||
else
|
||||
einfo "Waiting for Elasticsearch"
|
||||
eend 1
|
||||
sleep 2
|
||||
continue
|
||||
fi
|
||||
done
|
||||
|
||||
export TEST_ES_SERVER="localhost:${ES_PORT}"
|
||||
esetup.py test
|
||||
|
||||
pkill -F ${PID}
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
cd docs || die
|
||||
emake man $(usex doc html "")
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && HTML_DOCS=( docs/_build/html/. )
|
||||
use examples && local EXAMPLES=( example/. )
|
||||
doman docs/_build/man/*
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST httmock-1.2.2.tar.gz 4975 SHA256 4dd4eddd8dba38c2b279c6fc7487fb92e91b1ae5d945a496bf059ea2b2aaf06c SHA512 0be8ae754bd3ae34166b0b001a44e664b07488ba6d44ed3dc518b310b82418dc5ab2f15ef13cb20909109f19c22a6e13dfdfdfa37f26f3c0688b19f2321be767 WHIRLPOOL 7d1315845e7a72975d5e0f8ae483f17b5e033a230cf020c770e804091c7a0ef5e94c4649720db3f3f5c68d2a19d7a45ab5d696118719967913e4c1ee01f9234c
|
||||
DIST httmock-1.2.3.tar.gz 5203 SHA256 030cca3f3210b902aaa28524183dc061a2ef9afd3da6a9b40ce0c09d28d50d4d SHA512 23b7295f2685639eba44714b3dadbd6eca20b7f50e636d6490d5c3f581429d84e1f4b1e15f4ba31a7ccee1596768003e68a7f1591b75aeb3d5811b279b3f1bb1 WHIRLPOOL 4eea5a2637e88309a19a05ba5788f8d53a062f0e54458d9ace1e3262affc4104c7953ebceaef52c5fdabcc5b30a520557e75ca5aaa0473159a286d3340200221
|
||||
DIST httmock-1.2.4.tar.gz 5412 SHA256 d43f56f0777f0fe8155879c8ede214c55fec56e1c948033ab507915f8d3af761 SHA512 868c38e84665d7eaeae2610d79f21d991f1ddebe72bd9d396a906f59595695199ff2c11c80318e6c246425b9acdb7a1c8b36d570ac0af04d04f4eaa4d965e01b WHIRLPOOL 1f7039840d401cc17303123ca77cc446deb7c811d9e0b861292e2bc0b810c2632efa77e4afa488f7052b553c5d620c2d99191ef48edb33e3e7d3a8fdf2d88515
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A mocking library for requests"
|
||||
HOMEPAGE="https://github.com/patrys/httmock"
|
||||
SRC_URI="https://github.com/patrys/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND=">=dev-python/requests-1.0.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST trace-cmd-2.5.1.tar.xz 1577148 SHA256 591aa00ff90a60fa2bce8637392126623511fd7629a771c7e3276137b31b3966 SHA512 2280eefa130a3914c34798f8bd4097a55f7f4fa4632b3d26ee1317bba54625d259ac61c6576dd3051fb2be48fb593fa54a4203d1828b7fec5fd196de00491ea2 WHIRLPOOL 4185a05c96204fb5ec8256620af53ec4c4bb2e0f7e2f268c7a6814ed788b1ce256f2dba429eef80dcf2b2409b3cd1ff11bed9bae43da558de9f6d3bb2c7c654c
|
||||
DIST trace-cmd-2.6.tar.xz 1584768 SHA256 e390265567b7701d92d8f7480ea669314609353bae9e0d57e8dd66951d8655f9 SHA512 cf479a940825935aa89b282c7a617d56fa5dd1f82e3322a969c4e0a08343ceca16c40058ead5f5878260ce0a003102550808c5475110706580769dffb1897c54 WHIRLPOOL 63cd934a5985d581faebb5108562bbc2fec6d445120f09c4e7689f4330ade846c3ed53875a04e5741c8b9cef78029440f871e38c5e95f3b2c8436c04411d31df
|
||||
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=(python2_7)
|
||||
|
||||
inherit eutils toolchain-funcs linux-info python-single-r1
|
||||
|
||||
DESCRIPTION="User-space front-end for Ftrace"
|
||||
HOMEPAGE="https://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc gtk python udis86"
|
||||
|
||||
RDEPEND="python? ( ${PYTHON_DEPS} )
|
||||
udis86? ( dev-libs/udis86 )
|
||||
gtk? (
|
||||
${PYTHON_DEPS}
|
||||
dev-python/pygtk:2[${PYTHON_USEDEP}]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-kernel/linux-headers
|
||||
python? (
|
||||
virtual/pkgconfig
|
||||
dev-lang/swig
|
||||
)
|
||||
gtk? ( virtual/pkgconfig )
|
||||
doc? ( app-text/asciidoc )"
|
||||
|
||||
CONFIG_CHECK="
|
||||
~TRACING
|
||||
~FTRACE
|
||||
~BLK_DEV_IO_TRACE"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.5.1-makefile.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
MAKEOPTS+=" prefix=/usr libdir=$(get_libdir) CC=$(tc-getCC) AR=$(tc-getAR)"
|
||||
|
||||
if use python; then
|
||||
MAKEOPTS+=" PYTHON_VERS=${EPYTHON//python/python-}"
|
||||
MAKEOPTS+=" python_dir=$(python_get_sitedir)/${PN}"
|
||||
else
|
||||
MAKEOPTS+=" NO_PYTHON=1"
|
||||
fi
|
||||
|
||||
use udis86 || MAKEOPTS+=" NO_UDIS86=1"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake all_cmd
|
||||
use doc && emake doc
|
||||
use gtk && emake -j1 gui
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
use doc && emake DESTDIR="${D}" install_doc
|
||||
use gtk && emake DESTDIR="${D}" install_gui
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST yuicompressor-2.4.8.tar.gz 1254322 SHA256 199ed2e4a05330b72cc1802347e2ae449112bb955894d44f596c1ef7319167bf SHA512 cb955fc3677f930403f4f97aaad5d6ca5ec6ee834f464005ddfd8d83c4a532180859b72d55a4025b13f05a6a0146a1391d93668452e57035d4fc4f4d7f20d00b WHIRLPOOL 275ce13b4f61c85e610f16016a5b0f5ef75b04f0ff40463a148c8e037521b8a1f983f0b63bbc9c2ea7a14c46a5854d5d586e017518cda0493d4fb25a91d8c2e1
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>proxy-maintainers</herd>
|
||||
<maintainer>
|
||||
<email>hydrapolic@gmail.com</email>
|
||||
<name>Tomas Mozes</name>
|
||||
<description>Proxy maintainer</description>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">yui/yuicompressor</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="JavaScript and CSS compressor"
|
||||
HOMEPAGE="http://yui.github.io/yuicompressor/"
|
||||
SRC_URI="https://github.com/yui/yuicompressor/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6"
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
|
||||
src_compile(){
|
||||
eant
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "build/${P}.jar" "${PN}.jar"
|
||||
java-pkg_dolauncher "${PN}"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST bfg-1.12.3.jar 13569036 SHA256 2e237631235cfb8cc2d49dabb986389851dca8a28a07083345274b443dfa4911 SHA512 c55aaf76004f92fe13294bd54221646b3c7ccd9aaab46b7418fbcb417dfa632de1011608cf7ab9ff85c6c34b4cef1885327ad40e45beb26b27e97753990a0737 WHIRLPOOL d70f4ed866a24a7fe88c93170d8fcfd112ca7fc9e59a0f5a5cb6d78b6c46f6cedd89ee1a534d9a1f84741ee0bfa1b599c2cc3534e6faa2d6d54b21d397fabdf3
|
||||
DIST bfg-1.12.4.jar 13942690 SHA256 41e01861a7021a73db28860575fdeacab48dbcdcd48e658cf93df5ca06484b21 SHA512 1839117982c583ee3bbdde763f0365319b3ff250bc34c9a276c8e08da8126e2a3e9c9a2ad683094c6eb00e7e3365295fe47001eab66b81a4f2f75c4c148b7983 WHIRLPOOL 7e7e71e8641a6b3b6a32b6f1ba101050f32ce095e5c675e8e306c22a3f071d846cbe2e3638094556e371807b1b70cadff0ab891d7bb6257c027007f37ee32808
|
||||
DIST bfg-1.12.8.jar 14570144 SHA256 107efdf53cd5a864275128aacc1e7c2986ac6b162941b309938f94975fcfd3e8 SHA512 fea7e335674eba6aba50511e29959c1a255dbcfe92854743471da68ea2fb12cb4e1886b2d8140506593ada21dd6f1e1bee9d5cf56e604cf5d9fc14f057049578 WHIRLPOOL ccffc50a0063bbd9624ca74f268b602a9c7fd781fa771a716814aaa55dd624ff621d28a987ba65ed1101e9ef6c3ee4443b3f9deb80b45be28ae0fff998bd13c1
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
DESCRIPTION="a faster alternative to git-filter-branch for removing bad data from git repos"
|
||||
HOMEPAGE="http://rtyley.github.io/bfg-repo-cleaner/"
|
||||
SRC_URI="http://repo1.maven.org/maven2/com/madgag/${PN}/${PV}/${P}.jar"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_unpack() { :; }
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "${DISTDIR}"/${P}.jar
|
||||
java-pkg_dolauncher ${PN}
|
||||
}
|
@ -1 +1 @@
|
||||
DIST Trine.64.run 648471997 SHA256 1c9067cb19e3c954b460b4df27e6ca5d80b31c7ead49bd5779dcbce5528177db
|
||||
DIST Trine.64.run 648471997 SHA256 1c9067cb19e3c954b460b4df27e6ca5d80b31c7ead49bd5779dcbce5528177db SHA512 400200a3ebc6003545df460f9a8af7fe4f6f370655432c66ca8a5ceb10e40bf205e81f70cfbe3fe7386de9ec0aeb5e23f02590776c2b0f35a32f9fbc1012ea3a WHIRLPOOL b6610f53e8e4079383de9a664b8cb019fbe9daa7cdbb204116c3e34b27327325dfdc39649185076524429f8ba2fc1a0889f9006e6873db65c3f73784f440e1e9
|
||||
|
@ -1 +1 @@
|
||||
DIST aquaria-lnx-humble-bundle.mojo.run 209499691 SHA256 1001a5bbc66cd72e64963afbb3f866432ca1b6e880d9da969ebd5fd224202fdd
|
||||
DIST aquaria-lnx-humble-bundle.mojo.run 209499691 SHA256 1001a5bbc66cd72e64963afbb3f866432ca1b6e880d9da969ebd5fd224202fdd SHA512 4ae491ade644df73f676c7bd7c36aa79140aa7c4a312ecd613ba1c900506123ae37c644200433c0045713bb8f3f88e90e58be64d2fea6eee4e7015cd3e157738 WHIRLPOOL 65e117bfe824c0424a1a4de0662b50234fe21ff566a0d2e7ad9257637bdde44927495203a51b7c70cc8b7090334f65d398afd3743bb8a62fa85babb5b3e1d637
|
||||
|
@ -1 +1 @@
|
||||
DIST pcsx2-1.3.1.tar.gz 20719203 SHA256 60ba9f7f85bf4337ca6962f9b437d549f16fc04ea0b6b261d7521e0416c2b8c9 SHA512 d09364841d8122abc33619b66c6a5bfac7c3979442a257fe6967e516289b6584546e5b512ab8987c04563beb68a587bd44ddc4fac122633598fe89447c4025c3 WHIRLPOOL ec97823c0642a5fa2e0829465b864c09c4596d0c8eebc477b4db463ff6a3af6493480fbce5586b0e085e7d96b6d2837a087f7ceea77b45ed5a2ddefa683c99ba
|
||||
DIST pcsx2-1.4.0.tar.gz 15108326 SHA256 2c8a986e2b6514d7018f6cfd39c4f2a72229b9b4ab06ca6b1d3466dfd9c33005 SHA512 87ae8bdebcaf015ba03c23056bcab32b13d6726a6c3f05e62ef54f472114399debfcfcda4208b066519c2d20345a1bb8c55582eb342dccc168f410687f3766fb WHIRLPOOL e185d7f310e23f261065e30ed139c3d84b6c2418cff5c4b3af47475ffd074b0fbb69f34eb80c598cfd720f18a0a93dc0580b0807599b861a86d1d7f8a595bf97
|
||||
|
@ -1,776 +0,0 @@
|
||||
From 683b871c320ec14b777ec3937dc609b69b3cf5a5 Mon Sep 17 00:00:00 2001
|
||||
From: nE0sIghT <ykonotopov@gmail.com>
|
||||
Date: Sat, 8 Aug 2015 19:12:37 +0300
|
||||
Subject: [PATCH 3/3] Use global compiler optimization flags instead of
|
||||
defining them for every plugin/binary
|
||||
|
||||
---
|
||||
cmake/BuildParameters.cmake | 35 ++++++++++-------
|
||||
common/src/Utilities/CMakeLists.txt | 45 +---------------------
|
||||
common/src/x86emitter/CMakeLists.txt | 45 +---------------------
|
||||
pcsx2/CMakeLists.txt | 45 +---------------------
|
||||
plugins/CDVDiso/src/CMakeLists.txt | 16 +-------
|
||||
plugins/CDVDlinuz/Src/CMakeLists.txt | 21 +---------
|
||||
plugins/CDVDnull/CMakeLists.txt | 16 +-------
|
||||
plugins/FWnull/CMakeLists.txt | 16 +-------
|
||||
plugins/GSdx/CMakeLists.txt | 9 +----
|
||||
plugins/GSnull/CMakeLists.txt | 16 +-------
|
||||
plugins/PadNull/CMakeLists.txt | 16 +-------
|
||||
plugins/SPU2null/CMakeLists.txt | 16 +-------
|
||||
plugins/USBnull/CMakeLists.txt | 16 +-------
|
||||
plugins/dev9null/CMakeLists.txt | 16 +-------
|
||||
plugins/onepad/CMakeLists.txt | 16 +-------
|
||||
plugins/spu2-x/src/CMakeLists.txt | 16 +-------
|
||||
plugins/zerogs/opengl/CMakeLists.txt | 8 +---
|
||||
plugins/zerospu2/CMakeLists.txt | 16 +-------
|
||||
plugins/zzogl-pg/opengl/CMakeLists.txt | 8 +---
|
||||
.../zzogl-pg/opengl/ZeroGSShaders/CMakeLists.txt | 8 +---
|
||||
tools/bin2cpp/CMakeLists.txt | 6 +--
|
||||
21 files changed, 51 insertions(+), 355 deletions(-)
|
||||
|
||||
diff --git a/cmake/BuildParameters.cmake b/cmake/BuildParameters.cmake
|
||||
index 48b167c..82e4ded 100644
|
||||
--- a/cmake/BuildParameters.cmake
|
||||
+++ b/cmake/BuildParameters.cmake
|
||||
@@ -117,14 +117,17 @@ if(${PCSX2_TARGET_ARCHITECTURES} MATCHES "i386")
|
||||
# - Only plugins. No package will link to them.
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE OFF)
|
||||
|
||||
- if (DISABLE_ADVANCE_SIMD)
|
||||
- set(ARCH_FLAG "-msse -msse2 -march=i686")
|
||||
- else()
|
||||
- # AVX requires some fix of the ABI (mangling) (default 2)
|
||||
- # Note: V6 requires GCC 4.7
|
||||
- #set(ARCH_FLAG "-march=native -fabi-version=6")
|
||||
- set(ARCH_FLAG "-march=native")
|
||||
+ if(NOT DEFINED ARCH_FLAG)
|
||||
+ if (DISABLE_ADVANCE_SIMD)
|
||||
+ set(ARCH_FLAG "-msse -msse2 -march=i686")
|
||||
+ else()
|
||||
+ # AVX requires some fix of the ABI (mangling) (default 2)
|
||||
+ # Note: V6 requires GCC 4.7
|
||||
+ #set(ARCH_FLAG "-march=native -fabi-version=6")
|
||||
+ set(ARCH_FLAG "-march=native")
|
||||
+ endif()
|
||||
endif()
|
||||
+
|
||||
add_definitions(-D_ARCH_32=1 -D_M_X86=1 -D_M_X86_32=1)
|
||||
set(_ARCH_32 1)
|
||||
set(_M_X86 1)
|
||||
@@ -136,11 +139,13 @@ elseif(${PCSX2_TARGET_ARCHITECTURES} MATCHES "x86_64")
|
||||
# SuperVU will not be ported
|
||||
set(DISABLE_SVU TRUE)
|
||||
|
||||
- if (DISABLE_ADVANCE_SIMD)
|
||||
- set(ARCH_FLAG "-msse -msse2")
|
||||
- else()
|
||||
- #set(ARCH_FLAG "-march=native -fabi-version=6")
|
||||
- set(ARCH_FLAG "-march=native")
|
||||
+ if(NOT DEFINED ARCH_FLAG)
|
||||
+ if (DISABLE_ADVANCE_SIMD)
|
||||
+ set(ARCH_FLAG "-msse -msse2")
|
||||
+ else()
|
||||
+ #set(ARCH_FLAG "-march=native -fabi-version=6")
|
||||
+ set(ARCH_FLAG "-march=native")
|
||||
+ endif()
|
||||
endif()
|
||||
add_definitions(-D_ARCH_64=1 -D_M_X86=1 -D_M_X86_64=1)
|
||||
set(_ARCH_64 1)
|
||||
@@ -256,8 +261,12 @@ else()
|
||||
set(ASAN_FLAG "")
|
||||
endif()
|
||||
|
||||
+if(NOT DEFINED OPTIMIZATION_FLAG)
|
||||
+ set(OPTIMIZATION_FLAG -O2)
|
||||
+endif()
|
||||
+
|
||||
# Note: -DGTK_DISABLE_DEPRECATED can be used to test a build without gtk deprecated feature. It could be useful to port to a newer API
|
||||
-set(DEFAULT_GCC_FLAG "${ARCH_FLAG} ${COMMON_FLAG} ${DEFAULT_WARNINGS} ${AGGRESSIVE_WARNING} ${HARDENING_FLAG} ${DEBUG_FLAG} ${ASAN_FLAG}")
|
||||
+set(DEFAULT_GCC_FLAG "${ARCH_FLAG} ${COMMON_FLAG} ${DEFAULT_WARNINGS} ${AGGRESSIVE_WARNING} ${HARDENING_FLAG} ${DEBUG_FLAG} ${ASAN_FLAG} ${OPTIMIZATION_FLAG}")
|
||||
# c++ only flags
|
||||
set(DEFAULT_CPP_FLAG "${DEFAULT_GCC_FLAG} -Wno-invalid-offsetof")
|
||||
|
||||
diff --git a/common/src/Utilities/CMakeLists.txt b/common/src/Utilities/CMakeLists.txt
|
||||
index 8f97604..f4b6e27 100644
|
||||
--- a/common/src/Utilities/CMakeLists.txt
|
||||
+++ b/common/src/Utilities/CMakeLists.txt
|
||||
@@ -14,47 +14,6 @@ set(CommonFlags
|
||||
-fno-strict-aliasing
|
||||
)
|
||||
|
||||
-# set optimization flags
|
||||
-set(OptimizationFlags
|
||||
- -falign-functions
|
||||
- -falign-jumps
|
||||
- -falign-labels
|
||||
- -falign-loops
|
||||
- -fcaller-saves
|
||||
- -fcprop-registers
|
||||
- -fcrossjumping
|
||||
- -fcse-follow-jumps
|
||||
- -fcse-skip-blocks
|
||||
- -fdefer-pop
|
||||
- -fdelete-null-pointer-checks
|
||||
- -fgcse
|
||||
- -fgcse-lm
|
||||
- -fif-conversion
|
||||
- -fif-conversion2
|
||||
- -fmerge-constants
|
||||
- -foptimize-sibling-calls
|
||||
- -fpeephole2
|
||||
- -fregmove
|
||||
- -freorder-blocks
|
||||
- -freorder-functions
|
||||
- -frerun-cse-after-loop
|
||||
- -fsched-interblock
|
||||
- -fsched-spec
|
||||
- -fstrict-overflow
|
||||
- -fthread-jumps
|
||||
- -ftree-ccp
|
||||
- -ftree-ch
|
||||
- -ftree-copyrename
|
||||
- -ftree-dce
|
||||
- -ftree-dominator-opts
|
||||
- -ftree-fre
|
||||
- -ftree-lrs
|
||||
- -ftree-pre
|
||||
- -ftree-sra
|
||||
- -ftree-ter
|
||||
- -ftree-vrp
|
||||
- -funit-at-a-time)
|
||||
-
|
||||
#Clang doesn't support a few common flags that GCC does.
|
||||
if(NOT USE_CLANG)
|
||||
set(UtilitiesFinalFlags
|
||||
@@ -79,7 +38,7 @@ if(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
# add defines
|
||||
set(UtilitiesFinalFlags
|
||||
${UtilitiesFinalFlags}
|
||||
- ${CommonFlags} ${OptimizationFlags} -DPCSX2_DEVBUILD
|
||||
+ ${CommonFlags} -DPCSX2_DEVBUILD
|
||||
)
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
|
||||
@@ -89,7 +48,7 @@ if(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
# add defines
|
||||
set(UtilitiesFinalFlags
|
||||
${UtilitiesFinalFlags}
|
||||
- ${CommonFlags} ${OptimizationFlags}
|
||||
+ ${CommonFlags}
|
||||
)
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
|
||||
diff --git a/common/src/x86emitter/CMakeLists.txt b/common/src/x86emitter/CMakeLists.txt
|
||||
index b37e22a..a8217fc 100644
|
||||
--- a/common/src/x86emitter/CMakeLists.txt
|
||||
+++ b/common/src/x86emitter/CMakeLists.txt
|
||||
@@ -14,47 +14,6 @@ set(CommonFlags
|
||||
-fno-strict-aliasing
|
||||
)
|
||||
|
||||
-# set optimization flags
|
||||
-set(OptimizationFlags
|
||||
- -falign-functions
|
||||
- -falign-jumps
|
||||
- -falign-labels
|
||||
- -falign-loops
|
||||
- -fcaller-saves
|
||||
- -fcprop-registers
|
||||
- -fcrossjumping
|
||||
- -fcse-follow-jumps
|
||||
- -fcse-skip-blocks
|
||||
- -fdefer-pop
|
||||
- -fdelete-null-pointer-checks
|
||||
- -fgcse
|
||||
- -fgcse-lm
|
||||
- -fif-conversion
|
||||
- -fif-conversion2
|
||||
- -fmerge-constants
|
||||
- -foptimize-sibling-calls
|
||||
- -fpeephole2
|
||||
- -fregmove
|
||||
- -freorder-blocks
|
||||
- -freorder-functions
|
||||
- -frerun-cse-after-loop
|
||||
- -fsched-interblock
|
||||
- -fsched-spec
|
||||
- -fstrict-overflow
|
||||
- -fthread-jumps
|
||||
- -ftree-ccp
|
||||
- -ftree-ch
|
||||
- -ftree-copyrename
|
||||
- -ftree-dce
|
||||
- -ftree-dominator-opts
|
||||
- -ftree-fre
|
||||
- -ftree-lrs
|
||||
- -ftree-pre
|
||||
- -ftree-sra
|
||||
- -ftree-ter
|
||||
- -ftree-vrp
|
||||
- -funit-at-a-time)
|
||||
-
|
||||
#Clang doesn't support a few common flags that GCC does.
|
||||
if(NOT USE_CLANG)
|
||||
set(x86emitterFinalFlags
|
||||
@@ -77,7 +36,7 @@ if(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
# add defines
|
||||
set(x86emitterFinalFlags
|
||||
${x86emitterFinalFlags}
|
||||
- ${CommonFlags} ${OptimizationFlags} -DPCSX2_DEVBUILD
|
||||
+ ${CommonFlags} -DPCSX2_DEVBUILD
|
||||
)
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
|
||||
@@ -87,7 +46,7 @@ if(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
# add defines
|
||||
set(x86emitterFinalFlags
|
||||
${x86emitterFinalFlags}
|
||||
- ${CommonFlags} ${OptimizationFlags}
|
||||
+ ${CommonFlags}
|
||||
)
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
|
||||
diff --git a/pcsx2/CMakeLists.txt b/pcsx2/CMakeLists.txt
|
||||
index 871713e..a98843d 100644
|
||||
--- a/pcsx2/CMakeLists.txt
|
||||
+++ b/pcsx2/CMakeLists.txt
|
||||
@@ -27,47 +27,6 @@ set(CommonFlags
|
||||
-DWX_PRECOMP
|
||||
)
|
||||
|
||||
-# set optimization flags
|
||||
-set(OptimizationFlags
|
||||
- -falign-functions
|
||||
- -falign-jumps
|
||||
- -falign-labels
|
||||
- -falign-loops
|
||||
- -fcaller-saves
|
||||
- -fcprop-registers
|
||||
- -fcrossjumping
|
||||
- -fcse-follow-jumps
|
||||
- -fcse-skip-blocks
|
||||
- -fdefer-pop
|
||||
- -fdelete-null-pointer-checks
|
||||
- -fgcse
|
||||
- -fgcse-lm
|
||||
- -fif-conversion
|
||||
- -fif-conversion2
|
||||
- -fmerge-constants
|
||||
- -foptimize-sibling-calls
|
||||
- -fpeephole2
|
||||
- -fregmove
|
||||
- -freorder-blocks
|
||||
- -freorder-functions
|
||||
- -frerun-cse-after-loop
|
||||
- -fsched-interblock
|
||||
- -fsched-spec
|
||||
- -fstrict-overflow
|
||||
- -fthread-jumps
|
||||
- -ftree-ccp
|
||||
- -ftree-ch
|
||||
- -ftree-copyrename
|
||||
- -ftree-dce
|
||||
- -ftree-dominator-opts
|
||||
- -ftree-fre
|
||||
- -ftree-lrs
|
||||
- -ftree-pre
|
||||
- -ftree-sra
|
||||
- -ftree-ter
|
||||
- -ftree-vrp
|
||||
- -funit-at-a-time)
|
||||
-
|
||||
#Clang doesn't support a few common flags that GCC does.
|
||||
if(NOT USE_CLANG)
|
||||
set(pcsx2FinalFlags ${CommonFlags} -fno-guess-branch-probability -fno-dse -fno-tree-dse)
|
||||
@@ -80,11 +39,11 @@ if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
|
||||
elseif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
set(Output pcsx2-dev)
|
||||
- set(pcsx2FinalFlags ${pcsx2FinalFlags} ${CommonFlags} ${OptimizationFlags} -DPCSX2_DEVBUILD)
|
||||
+ set(pcsx2FinalFlags ${pcsx2FinalFlags} ${CommonFlags} -DPCSX2_DEVBUILD)
|
||||
|
||||
elseif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
set(Output pcsx2)
|
||||
- set(pcsx2FinalFlags ${pcsx2FinalFlags} ${CommonFlags} ${OptimizationFlags})
|
||||
+ set(pcsx2FinalFlags ${pcsx2FinalFlags} ${CommonFlags})
|
||||
|
||||
endif()
|
||||
|
||||
diff --git a/plugins/CDVDiso/src/CMakeLists.txt b/plugins/CDVDiso/src/CMakeLists.txt
|
||||
index 519c92a..97cb832 100644
|
||||
--- a/plugins/CDVDiso/src/CMakeLists.txt
|
||||
+++ b/plugins/CDVDiso/src/CMakeLists.txt
|
||||
@@ -8,21 +8,7 @@ endif()
|
||||
|
||||
# plugin name
|
||||
set(Output CDVDiso)
|
||||
-
|
||||
-set(OptimizationFlags
|
||||
- -O2
|
||||
- )
|
||||
-
|
||||
-if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
- set(CDVDisoFinalFlags "")
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
- set(CDVDisoFinalFlags ${OptimizationFlags})
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
- set(CDVDisoFinalFlags ${OptimizationFlags})
|
||||
-
|
||||
-endif()
|
||||
+set(CDVDisoFinalFlags "")
|
||||
|
||||
# CDVDiso sources
|
||||
set(CDVDisoSources
|
||||
diff --git a/plugins/CDVDlinuz/Src/CMakeLists.txt b/plugins/CDVDlinuz/Src/CMakeLists.txt
|
||||
index 943780f..f02198d 100644
|
||||
--- a/plugins/CDVDlinuz/Src/CMakeLists.txt
|
||||
+++ b/plugins/CDVDlinuz/Src/CMakeLists.txt
|
||||
@@ -2,26 +2,7 @@
|
||||
|
||||
# plugin name
|
||||
set(Output CDVDlinuz)
|
||||
-
|
||||
-set(CommonFlags
|
||||
- -D_LARGEFILE64_SOURCE
|
||||
- )
|
||||
-
|
||||
-set(OptimizationFlags
|
||||
- -O2
|
||||
- -fomit-frame-pointer
|
||||
- )
|
||||
-
|
||||
-if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
- set(CDVDlinuzFinalFlags ${CommonFlags})
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
- set(CDVDlinuzFinalFlags ${CommonFlags} ${OptimizationFlags})
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
- set(CDVDlinuzFinalFlags ${CommonFlags} ${OptimizationFlags})
|
||||
-
|
||||
-endif()
|
||||
+set(CDVDlinuzFinalFlags -D_LARGEFILE64_SOURCE)
|
||||
|
||||
# CDVDlinuz sources
|
||||
set(CDVDlinuzSources
|
||||
diff --git a/plugins/CDVDnull/CMakeLists.txt b/plugins/CDVDnull/CMakeLists.txt
|
||||
index 4fde2f7..5c84959 100644
|
||||
--- a/plugins/CDVDnull/CMakeLists.txt
|
||||
+++ b/plugins/CDVDnull/CMakeLists.txt
|
||||
@@ -8,21 +8,7 @@ endif()
|
||||
|
||||
# plugin name
|
||||
set(Output CDVDnull)
|
||||
-
|
||||
-set(OptimizationFlags
|
||||
- -O2
|
||||
- )
|
||||
-
|
||||
-if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
- set(CDVDnullFinalFlags "")
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
- set(CDVDnullFinalFlags ${OptimizationFlags})
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
- set(CDVDnullFinalFlags ${OptimizationFlags})
|
||||
-
|
||||
-endif()
|
||||
+set(CDVDnullFinalFlags "")
|
||||
|
||||
# CDVDnull sources
|
||||
set(CDVDnullSources
|
||||
diff --git a/plugins/FWnull/CMakeLists.txt b/plugins/FWnull/CMakeLists.txt
|
||||
index fd5a45e..aaf9e4e 100644
|
||||
--- a/plugins/FWnull/CMakeLists.txt
|
||||
+++ b/plugins/FWnull/CMakeLists.txt
|
||||
@@ -8,21 +8,7 @@ endif()
|
||||
|
||||
# plugin name
|
||||
set(Output FWnull-0.7.0)
|
||||
-
|
||||
-set(OptimizationFlags
|
||||
- -O2
|
||||
- )
|
||||
-
|
||||
-if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
- set(FWnullFinalFlags "")
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
- set(FWnullFinalFlags ${OptimizationFlags})
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
- set(FWnullFinalFlags ${OptimizationFlags})
|
||||
-
|
||||
-endif()
|
||||
+set(FWnullFinalFlags "")
|
||||
|
||||
# FWnull sources
|
||||
set(FWnullSources
|
||||
diff --git a/plugins/GSdx/CMakeLists.txt b/plugins/GSdx/CMakeLists.txt
|
||||
index 13b30c7..6fd6253 100644
|
||||
--- a/plugins/GSdx/CMakeLists.txt
|
||||
+++ b/plugins/GSdx/CMakeLists.txt
|
||||
@@ -18,19 +18,14 @@ set(CommonFlags
|
||||
-Wunused-variable # __dummy variable need to be investigated
|
||||
)
|
||||
|
||||
-set(OptimizationFlags
|
||||
- -O2
|
||||
- )
|
||||
-
|
||||
-
|
||||
if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
set(GSdxFinalFlags ${GSdxFinalFlags} ${CommonFlags} -D_DEBUG)
|
||||
|
||||
elseif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
- set(GSdxFinalFlags ${GSdxFinalFlags} ${CommonFlags} ${OptimizationFlags} -D_DEVEL)
|
||||
+ set(GSdxFinalFlags ${GSdxFinalFlags} ${CommonFlags} -D_DEVEL)
|
||||
|
||||
elseif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
- set(GSdxFinalFlags ${GSdxFinalFlags} ${CommonFlags} ${OptimizationFlags} -W)
|
||||
+ set(GSdxFinalFlags ${GSdxFinalFlags} ${CommonFlags} -W)
|
||||
|
||||
endif()
|
||||
|
||||
diff --git a/plugins/GSnull/CMakeLists.txt b/plugins/GSnull/CMakeLists.txt
|
||||
index 2216e17..3bde988 100644
|
||||
--- a/plugins/GSnull/CMakeLists.txt
|
||||
+++ b/plugins/GSnull/CMakeLists.txt
|
||||
@@ -8,21 +8,7 @@ endif()
|
||||
|
||||
# plugin name
|
||||
set(Output GSnull)
|
||||
-
|
||||
-set(OptimizationFlags
|
||||
- -O2
|
||||
- )
|
||||
-
|
||||
-if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
- set(GSnullFinalFlags "")
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
- set(GSnullFinalFlags ${OptimizationFlags})
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
- set(GSnullFinalFlags ${OptimizationFlags})
|
||||
-
|
||||
-endif()
|
||||
+set(GSnullFinalFlags "")
|
||||
|
||||
# GSnull sources
|
||||
set(GSnullSources
|
||||
diff --git a/plugins/PadNull/CMakeLists.txt b/plugins/PadNull/CMakeLists.txt
|
||||
index acbe758..18b1b6c 100644
|
||||
--- a/plugins/PadNull/CMakeLists.txt
|
||||
+++ b/plugins/PadNull/CMakeLists.txt
|
||||
@@ -7,21 +7,7 @@ endif()
|
||||
|
||||
# plugin name
|
||||
set(Output PADnull)
|
||||
-
|
||||
-set(OptimizationFlags
|
||||
- -O2
|
||||
- )
|
||||
-
|
||||
-if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
- set(PadNullFinalFlags "")
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
- set(PadNullFinalFlags ${OptimizationFlags})
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
- set(PadNullFinalFlags ${OptimizationFlags})
|
||||
-
|
||||
-endif()
|
||||
+set(PadNullFinalFlags "")
|
||||
|
||||
# PadNull sources
|
||||
set(PadNullSources
|
||||
diff --git a/plugins/SPU2null/CMakeLists.txt b/plugins/SPU2null/CMakeLists.txt
|
||||
index 5409543..620a521 100644
|
||||
--- a/plugins/SPU2null/CMakeLists.txt
|
||||
+++ b/plugins/SPU2null/CMakeLists.txt
|
||||
@@ -8,21 +8,7 @@ endif()
|
||||
|
||||
# plugin name
|
||||
set(Output SPU2null)
|
||||
-
|
||||
-set(OptimizationFlags
|
||||
- -O2
|
||||
- )
|
||||
-
|
||||
-if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
- set(SPU2nullFinalFlags "")
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
- set(SPU2nullFinalFlags ${OptimizationFlags})
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
- set(SPU2nullFinalFlags ${OptimizationFlags})
|
||||
-
|
||||
-endif()
|
||||
+set(SPU2nullFinalFlags "")
|
||||
|
||||
# SPU2null sources
|
||||
set(SPU2nullSources
|
||||
diff --git a/plugins/USBnull/CMakeLists.txt b/plugins/USBnull/CMakeLists.txt
|
||||
index c84890e..7892d03 100644
|
||||
--- a/plugins/USBnull/CMakeLists.txt
|
||||
+++ b/plugins/USBnull/CMakeLists.txt
|
||||
@@ -8,21 +8,7 @@ endif()
|
||||
|
||||
# plugin name
|
||||
set(Output USBnull-0.7.0)
|
||||
-
|
||||
-set(OptimizationFlags
|
||||
- -O2
|
||||
- )
|
||||
-
|
||||
-if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
- set(USBnullFinalFlags "")
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
- set(USBnullFinalFlags ${OptimizationFlags})
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
- set(USBnullFinalFlags ${OptimizationFlags})
|
||||
-
|
||||
-endif()
|
||||
+set(USBnullFinalFlags "")
|
||||
|
||||
# USBnull sources
|
||||
set(USBnullSources
|
||||
diff --git a/plugins/dev9null/CMakeLists.txt b/plugins/dev9null/CMakeLists.txt
|
||||
index 09d8bee..b819985 100644
|
||||
--- a/plugins/dev9null/CMakeLists.txt
|
||||
+++ b/plugins/dev9null/CMakeLists.txt
|
||||
@@ -8,21 +8,7 @@ endif()
|
||||
|
||||
# plugin name
|
||||
set(Output dev9null-0.5.0)
|
||||
-
|
||||
-set(OptimizationFlags
|
||||
- -O2
|
||||
- )
|
||||
-
|
||||
-if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
- set(dev9nullFinalFlags "")
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
- set(dev9nullFinalFlags ${OptimizationFlags})
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
- set(dev9nullFinalFlags ${OptimizationFlags})
|
||||
-
|
||||
-endif()
|
||||
+set(dev9nullFinalFlags "")
|
||||
|
||||
# dev9null sources
|
||||
set(dev9nullSources
|
||||
diff --git a/plugins/onepad/CMakeLists.txt b/plugins/onepad/CMakeLists.txt
|
||||
index 6a12cd7..68ffb82 100644
|
||||
--- a/plugins/onepad/CMakeLists.txt
|
||||
+++ b/plugins/onepad/CMakeLists.txt
|
||||
@@ -8,21 +8,7 @@ endif()
|
||||
|
||||
# plugin name
|
||||
set(Output onepad-1.1.0)
|
||||
-
|
||||
-set(OptimizationFlags
|
||||
- -O2
|
||||
- )
|
||||
-
|
||||
-if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
- set(onepadFinalFlags "")
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
- set(onepadFinalFlags ${OptimizationFlags})
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
- set(onepadFinalFlags ${OptimizationFlags})
|
||||
-
|
||||
-endif()
|
||||
+set(onepadFinalFlags "")
|
||||
|
||||
# onepad sources
|
||||
set(onepadSources
|
||||
diff --git a/plugins/spu2-x/src/CMakeLists.txt b/plugins/spu2-x/src/CMakeLists.txt
|
||||
index 720c4ac..0180704 100644
|
||||
--- a/plugins/spu2-x/src/CMakeLists.txt
|
||||
+++ b/plugins/spu2-x/src/CMakeLists.txt
|
||||
@@ -14,21 +14,7 @@ endif()
|
||||
|
||||
# plugin name
|
||||
set(Output spu2x-2.0.0)
|
||||
-
|
||||
-set(OptimizationFlags
|
||||
- -O2
|
||||
- )
|
||||
-
|
||||
-if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
- set(spu2xFinalFlags "")
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
- set(spu2xFinalFlags ${OptimizationFlags})
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
- set(spu2xFinalFlags ${OptimizationFlags})
|
||||
-
|
||||
-endif()
|
||||
+set(spu2xFinalFlags "")
|
||||
|
||||
# spu2x sources
|
||||
set(spu2xSources
|
||||
diff --git a/plugins/zerogs/opengl/CMakeLists.txt b/plugins/zerogs/opengl/CMakeLists.txt
|
||||
index fd33949..79716c6 100644
|
||||
--- a/plugins/zerogs/opengl/CMakeLists.txt
|
||||
+++ b/plugins/zerogs/opengl/CMakeLists.txt
|
||||
@@ -7,10 +7,6 @@ set(CommonFlags
|
||||
-Wall
|
||||
)
|
||||
|
||||
-set(OptimizationFlags
|
||||
- -O2
|
||||
- )
|
||||
-
|
||||
# Debug - Build
|
||||
if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
# add defines
|
||||
@@ -20,13 +16,13 @@ endif(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
# Devel - Build
|
||||
if(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
# add defines
|
||||
- add_definitions(${CommonFlags} ${OptimizationFlags})
|
||||
+ add_definitions(${CommonFlags})
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
|
||||
# Release - Build
|
||||
if(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
# add defines
|
||||
- add_definitions(${CommonFlags} ${OptimizationFlags})
|
||||
+ add_definitions(${CommonFlags})
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
|
||||
# zerogs sources
|
||||
diff --git a/plugins/zerospu2/CMakeLists.txt b/plugins/zerospu2/CMakeLists.txt
|
||||
index c3e3243..9291706 100644
|
||||
--- a/plugins/zerospu2/CMakeLists.txt
|
||||
+++ b/plugins/zerospu2/CMakeLists.txt
|
||||
@@ -8,21 +8,7 @@ endif()
|
||||
|
||||
# plugin name
|
||||
set(Output zerospu2)
|
||||
-
|
||||
-set(OptimizationFlags
|
||||
- -O2
|
||||
- )
|
||||
-
|
||||
-if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
- set(zerospu2FinalFlags "")
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
- set(zerospu2FinalFlags ${OptimizationFlags})
|
||||
-
|
||||
-elseif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
- set(zerospu2FinalFlags ${OptimizationFlags})
|
||||
-
|
||||
-endif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
+set(zerospu2FinalFlags "")
|
||||
|
||||
# zerospu2 sources
|
||||
set(zerospu2Sources
|
||||
diff --git a/plugins/zzogl-pg/opengl/CMakeLists.txt b/plugins/zzogl-pg/opengl/CMakeLists.txt
|
||||
index fe93246..4798097 100644
|
||||
--- a/plugins/zzogl-pg/opengl/CMakeLists.txt
|
||||
+++ b/plugins/zzogl-pg/opengl/CMakeLists.txt
|
||||
@@ -26,10 +26,6 @@ set(CommonFlags
|
||||
-Wunused-variable
|
||||
)
|
||||
|
||||
-set(OptimizationFlags
|
||||
- -O2
|
||||
- )
|
||||
-
|
||||
#Clang doesn't support a few common flags that GCC does.
|
||||
if(NOT USE_CLANG)
|
||||
set(zzoglFinalFlags
|
||||
@@ -46,12 +42,12 @@ if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
elseif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
set(zzoglFinalFlags
|
||||
${zzoglFinalFlags}
|
||||
- ${CommonFlags} ${OptimizationFlags} -g -W -DZEROGS_DEVBUILD
|
||||
+ ${CommonFlags} -g -W -DZEROGS_DEVBUILD
|
||||
)
|
||||
elseif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
set(zzoglFinalFlags
|
||||
${zzoglFinalFlags}
|
||||
- ${CommonFlags} ${OptimizationFlags} -W
|
||||
+ ${CommonFlags} -W
|
||||
)
|
||||
endif()
|
||||
|
||||
diff --git a/plugins/zzogl-pg/opengl/ZeroGSShaders/CMakeLists.txt b/plugins/zzogl-pg/opengl/ZeroGSShaders/CMakeLists.txt
|
||||
index 156189c..ad1eb49 100644
|
||||
--- a/plugins/zzogl-pg/opengl/ZeroGSShaders/CMakeLists.txt
|
||||
+++ b/plugins/zzogl-pg/opengl/ZeroGSShaders/CMakeLists.txt
|
||||
@@ -17,21 +17,17 @@ set(CommonFlags
|
||||
-DNVIDIA_CG_API
|
||||
)
|
||||
|
||||
-set(OptimizationFlags
|
||||
- -O2
|
||||
- )
|
||||
-
|
||||
if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
set(zerogsshadersFinalFlags
|
||||
${CommonFlags} -D_DEBUG
|
||||
)
|
||||
elseif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
set(zerogsshadersFinalFlags
|
||||
- ${CommonFlags} ${OptimizationFlags} -g -W -DZEROGS_DEVBUILD
|
||||
+ ${CommonFlags} -g -W -DZEROGS_DEVBUILD
|
||||
)
|
||||
elseif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
set(zerogsshadersFinalFlags
|
||||
- ${CommonFlags} ${OptimizationFlags} -W
|
||||
+ ${CommonFlags} -W
|
||||
)
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
|
||||
diff --git a/tools/bin2cpp/CMakeLists.txt b/tools/bin2cpp/CMakeLists.txt
|
||||
index 1689620..1e3e45c 100644
|
||||
--- a/tools/bin2cpp/CMakeLists.txt
|
||||
+++ b/tools/bin2cpp/CMakeLists.txt
|
||||
@@ -7,7 +7,7 @@ set(bin2cppName bin2cpp)
|
||||
if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
# add defines
|
||||
set(bin2cppFinalFlags
|
||||
- -O2 -s -Wall -fexceptions
|
||||
+ -s -Wall -fexceptions
|
||||
)
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
|
||||
@@ -15,7 +15,7 @@ endif(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
if(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
# add defines
|
||||
set(bin2cppFinalFlags
|
||||
- -O2 -s -Wall -fexceptions
|
||||
+ -s -Wall -fexceptions
|
||||
)
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
|
||||
@@ -23,7 +23,7 @@ endif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
if(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
# add defines
|
||||
set(bin2cppFinalFlags
|
||||
- -O2 -s -Wall -fexceptions
|
||||
+ -s -Wall -fexceptions
|
||||
)
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
|
||||
--
|
||||
2.4.6
|
||||
|
@ -1,169 +0,0 @@
|
||||
From 9cd13ca5b5a6a90c21abf1f41725e52efe4774c0 Mon Sep 17 00:00:00 2001
|
||||
From: nE0sIghT <ykonotopov@gmail.com>
|
||||
Date: Mon, 10 Aug 2015 19:11:00 +0300
|
||||
Subject: [PATCH 1/3] gsdx-linux: Don't enable EGL by default
|
||||
|
||||
I was hoping that EGL become a standard much more faster. Currently it is an useless dep
|
||||
so let's disable it by default.
|
||||
|
||||
Only check for EGL if using EGL_API.
|
||||
---
|
||||
cmake/SearchForStuff.cmake | 5 +++--
|
||||
cmake/SelectPcsx2Plugins.cmake | 2 +-
|
||||
plugins/GSdx/CMakeLists.txt | 27 ++++++++++-----------------
|
||||
plugins/GSdx/GS.cpp | 8 ++++----
|
||||
plugins/GSdx/GSWndEGL.cpp | 2 +-
|
||||
plugins/GSdx/GSWndEGL.h | 21 +--------------------
|
||||
6 files changed, 20 insertions(+), 45 deletions(-)
|
||||
|
||||
diff --git a/cmake/SearchForStuff.cmake b/cmake/SearchForStuff.cmake
|
||||
index 8c8918e..b43a547 100644
|
||||
--- a/cmake/SearchForStuff.cmake
|
||||
+++ b/cmake/SearchForStuff.cmake
|
||||
@@ -69,8 +69,9 @@ include(CheckLib)
|
||||
if(Linux)
|
||||
check_lib(AIO aio libaio.h)
|
||||
endif()
|
||||
-check_lib(EGL EGL EGL/egl.h)
|
||||
-check_lib(GLESV2 GLESv2 GLES3/gl3ext.h) # NOTE: looking for GLESv3, not GLESv2
|
||||
+if(EGL_API)
|
||||
+ check_lib(EGL EGL EGL/egl.h)
|
||||
+endif()
|
||||
check_lib(PORTAUDIO portaudio portaudio.h pa_linux_alsa.h)
|
||||
check_lib(SOUNDTOUCH SoundTouch soundtouch/SoundTouch.h)
|
||||
|
||||
diff --git a/cmake/SelectPcsx2Plugins.cmake b/cmake/SelectPcsx2Plugins.cmake
|
||||
index 726dc2d..ee8138b 100644
|
||||
--- a/cmake/SelectPcsx2Plugins.cmake
|
||||
+++ b/cmake/SelectPcsx2Plugins.cmake
|
||||
@@ -144,7 +144,7 @@ endif()
|
||||
# requires: -OpenGL
|
||||
# -X11
|
||||
#---------------------------------------
|
||||
-if(OPENGL_FOUND AND X11_FOUND AND EGL_FOUND AND GTKn_FOUND)
|
||||
+if(OPENGL_FOUND AND X11_FOUND AND GTKn_FOUND AND (EGL_FOUND OR NOT EGL_API))
|
||||
set(GSdx TRUE)
|
||||
elseif(NOT EXISTS "${CMAKE_SOURCE_DIR}/plugins/GSdx")
|
||||
set(GSdx FALSE)
|
||||
diff --git a/plugins/GSdx/CMakeLists.txt b/plugins/GSdx/CMakeLists.txt
|
||||
index 8859044..13b30c7 100644
|
||||
--- a/plugins/GSdx/CMakeLists.txt
|
||||
+++ b/plugins/GSdx/CMakeLists.txt
|
||||
@@ -38,8 +38,8 @@ if(XDG_STD)
|
||||
set(GSdxFinalFlags ${GSdxFinalFlags} -DXDG_STD)
|
||||
endif()
|
||||
|
||||
-if(GLES_API AND GLESV2_FOUND)
|
||||
- set(GSdxFinalFlags ${GSdxFinalFlags} -DENABLE_GLES)
|
||||
+if(EGL_API AND EGL_FOUND)
|
||||
+ set(GSdxFinalFlags ${GSdxFinalFlags} -DEGL_SUPPORTED)
|
||||
endif()
|
||||
|
||||
#Clang doesn't support a few common flags that GCC does.
|
||||
@@ -198,25 +198,18 @@ set(GSdxFinalLibs
|
||||
${X11_LIBRARIES}
|
||||
)
|
||||
|
||||
-if(GLES_API AND GLESV2_FOUND)
|
||||
- set(GSdxFinalLibs
|
||||
- ${GSdxFinalLibs}
|
||||
- ${GLESV2_LIBRARIES}
|
||||
- )
|
||||
-else()
|
||||
- set(GSdxFinalLibs
|
||||
- ${GSdxFinalLibs}
|
||||
- ${OPENGL_LIBRARIES}
|
||||
- )
|
||||
-endif()
|
||||
-
|
||||
-set(GSdxFinalLibs
|
||||
- ${GSdxFinalLibs}
|
||||
- ${EGL_LIBRARIES}
|
||||
+set(GSdxFinalLibs ${GSdxFinalLibs}
|
||||
+ ${OPENGL_LIBRARIES}
|
||||
${GTK2_LIBRARIES}
|
||||
${LIBC_LIBRARIES}
|
||||
)
|
||||
|
||||
+if(EGL_API AND EGL_FOUND)
|
||||
+ set(GSdxFinalLibs ${GSdxFinalLibs}
|
||||
+ ${EGL_LIBRARIES}
|
||||
+ )
|
||||
+endif()
|
||||
+
|
||||
# Generate Glsl header file. Protect with REBUILD_SHADER to avoid build-dependency on PERL
|
||||
if (REBUILD_SHADER)
|
||||
add_custom_command(OUTPUT res/glsl_source.h COMMAND perl ${CMAKE_SOURCE_DIR}/linux_various/glsl2h.pl)
|
||||
diff --git a/plugins/GSdx/GS.cpp b/plugins/GSdx/GS.cpp
|
||||
index 3ffb5e8..4836192 100644
|
||||
--- a/plugins/GSdx/GS.cpp
|
||||
+++ b/plugins/GSdx/GS.cpp
|
||||
@@ -291,12 +291,12 @@ static int _GSopen(void** dsp, char* title, int renderer, int threads = -1)
|
||||
break;
|
||||
}
|
||||
#else
|
||||
-#ifdef ENABLE_GLES
|
||||
- wnd[0] = NULL;
|
||||
-#else
|
||||
wnd[0] = new GSWndOGL();
|
||||
-#endif
|
||||
+#ifdef EGL_SUPPORTED
|
||||
wnd[1] = new GSWndEGL();
|
||||
+#else
|
||||
+ wnd[1] = NULL;
|
||||
+#endif
|
||||
#endif
|
||||
}
|
||||
}
|
||||
diff --git a/plugins/GSdx/GSWndEGL.cpp b/plugins/GSdx/GSWndEGL.cpp
|
||||
index 491f34f..f69ff0c 100644
|
||||
--- a/plugins/GSdx/GSWndEGL.cpp
|
||||
+++ b/plugins/GSdx/GSWndEGL.cpp
|
||||
@@ -22,7 +22,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "GSWndEGL.h"
|
||||
|
||||
-#if defined(__linux__)
|
||||
+#if defined(__linux__) && defined(EGL_SUPPORTED)
|
||||
|
||||
GSWndEGL::GSWndEGL()
|
||||
: m_NativeWindow(0), m_NativeDisplay(NULL)
|
||||
diff --git a/plugins/GSdx/GSWndEGL.h b/plugins/GSdx/GSWndEGL.h
|
||||
index c5a2573..17804bb 100644
|
||||
--- a/plugins/GSdx/GSWndEGL.h
|
||||
+++ b/plugins/GSdx/GSWndEGL.h
|
||||
@@ -21,30 +21,11 @@
|
||||
|
||||
#include "GSWnd.h"
|
||||
|
||||
-#if defined(__linux__)
|
||||
+#if defined(__linux__) && defined(EGL_SUPPORTED)
|
||||
#include <X11/Xlib.h>
|
||||
#include <EGL/egl.h>
|
||||
#include <EGL/eglext.h>
|
||||
|
||||
-// Need at least MESA 9.0 (plan for october/november 2012)
|
||||
-// So force the destiny to at least check the compilation
|
||||
-#ifndef EGL_KHR_create_context
|
||||
-#define EGL_KHR_create_context 1
|
||||
-#define EGL_CONTEXT_MAJOR_VERSION_KHR EGL_CONTEXT_CLIENT_VERSION
|
||||
-#define EGL_CONTEXT_MINOR_VERSION_KHR 0x30FB
|
||||
-#define EGL_CONTEXT_FLAGS_KHR 0x30FC
|
||||
-#define EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR 0x30FD
|
||||
-#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR 0x31BD
|
||||
-#define EGL_NO_RESET_NOTIFICATION_KHR 0x31BE
|
||||
-#define EGL_LOSE_CONTEXT_ON_RESET_KHR 0x31BF
|
||||
-#define EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR 0x00000001
|
||||
-#define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR 0x00000002
|
||||
-#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR 0x00000004
|
||||
-#define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 0x00000001
|
||||
-#define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR 0x00000002
|
||||
-#endif
|
||||
-
|
||||
-
|
||||
class GSWndEGL : public GSWndGL
|
||||
{
|
||||
EGLNativeWindowType m_NativeWindow;
|
||||
--
|
||||
2.4.6
|
||||
|
@ -1,148 +0,0 @@
|
||||
From 8e625d61b0a895074d35d6d227008664360e8458 Mon Sep 17 00:00:00 2001
|
||||
From: nE0sIghT <ykonotopov@gmail.com>
|
||||
Date: Mon, 10 Aug 2015 19:15:40 +0300
|
||||
Subject: [PATCH 2/3] cmake: fatal error if miss dependencies in package mode
|
||||
Moved zzogl to extra plugins
|
||||
|
||||
---
|
||||
cmake/SelectPcsx2Plugins.cmake | 56 +++++++++++++++++++++---------------------
|
||||
1 file changed, 28 insertions(+), 28 deletions(-)
|
||||
|
||||
diff --git a/cmake/SelectPcsx2Plugins.cmake b/cmake/SelectPcsx2Plugins.cmake
|
||||
index ee8138b..bb7307e 100644
|
||||
--- a/cmake/SelectPcsx2Plugins.cmake
|
||||
+++ b/cmake/SelectPcsx2Plugins.cmake
|
||||
@@ -15,6 +15,14 @@ else(GLSL_API)
|
||||
set(msg_dep_zzogl "check these libraries -> glew (>=1.6), jpeg (>=6.2), opengl, X11, nvidia-cg-toolkit (>=2.1), pcsx2 common libs")
|
||||
endif()
|
||||
|
||||
+macro(print_dep str dep)
|
||||
+ if (PACKAGE_MODE)
|
||||
+ message(FATAL_ERROR "${str}:${dep}")
|
||||
+ else()
|
||||
+ message(STATUS "${str}:${dep}")
|
||||
+ endif()
|
||||
+endmacro(print_dep)
|
||||
+
|
||||
#-------------------------------------------------------------------------------
|
||||
# Pcsx2 core & common libs
|
||||
#-------------------------------------------------------------------------------
|
||||
@@ -43,8 +51,7 @@ elseif(NOT EXISTS "${CMAKE_SOURCE_DIR}/common/src")
|
||||
set(common_libs FALSE)
|
||||
else()
|
||||
set(common_libs FALSE)
|
||||
- message(STATUS "Skip build of common libraries: miss some dependencies")
|
||||
- message(STATUS "${msg_dep_common_libs}")
|
||||
+ print_dep("Skip build of common libraries: miss some dependencies" "${msg_dep_common_libs}")
|
||||
endif()
|
||||
|
||||
#---------------------------------------
|
||||
@@ -62,14 +69,12 @@ elseif(NOT EXISTS "${CMAKE_SOURCE_DIR}/pcsx2")
|
||||
set(pcsx2_core FALSE)
|
||||
else()
|
||||
set(pcsx2_core FALSE)
|
||||
- message(STATUS "Skip build of pcsx2 core: miss some dependencies")
|
||||
- message(STATUS "${msg_dep_pcsx2}")
|
||||
+ print_dep("Skip build of pcsx2 core: miss some dependencies" "${msg_dep_pcsx2}")
|
||||
endif()
|
||||
# Linux need also gtk2
|
||||
if(UNIX AND pcsx2_core AND NOT GTKn_FOUND)
|
||||
set(pcsx2_core FALSE)
|
||||
- message(STATUS "Skip build of pcsx2 core: miss some dependencies")
|
||||
- message(STATUS "${msg_dep_pcsx2}")
|
||||
+ print_dep("Skip build of pcsx2 core: miss some dependencies" "${msg_dep_pcsx2}")
|
||||
endif()
|
||||
|
||||
|
||||
@@ -102,8 +107,7 @@ if(EXTRA_PLUGINS)
|
||||
set(CDVDiso FALSE)
|
||||
else()
|
||||
set(CDVDiso FALSE)
|
||||
- message(STATUS "Skip build of CDVDiso: miss some dependencies")
|
||||
- message(STATUS "${msg_dep_cdvdiso}")
|
||||
+ print_dep("Skip build of CDVDiso: miss some dependencies" "${msg_dep_cdvdiso}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@@ -147,11 +151,10 @@ endif()
|
||||
if(OPENGL_FOUND AND X11_FOUND AND GTKn_FOUND AND (EGL_FOUND OR NOT EGL_API))
|
||||
set(GSdx TRUE)
|
||||
elseif(NOT EXISTS "${CMAKE_SOURCE_DIR}/plugins/GSdx")
|
||||
- set(GSdx FALSE)
|
||||
+ set(GSdx FALSE)
|
||||
else()
|
||||
- set(GSdx FALSE)
|
||||
- message(STATUS "Skip build of GSdx: miss some dependencies")
|
||||
- message(STATUS "${msg_dep_gsdx}")
|
||||
+ set(GSdx FALSE)
|
||||
+ print_dep("Skip build of GSdx: miss some dependencies" "${msg_dep_gsdx}")
|
||||
endif()
|
||||
#---------------------------------------
|
||||
|
||||
@@ -170,8 +173,7 @@ if(EXTRA_PLUGINS)
|
||||
set(zerogs FALSE)
|
||||
else()
|
||||
set(zerogs FALSE)
|
||||
- message(STATUS "Skip build of zerogs: miss some dependencies")
|
||||
- message(STATUS "${msg_dep_zerogs}")
|
||||
+ print_dep("Skip build of zerogs: miss some dependencies" "${msg_dep_zerogs}")
|
||||
endif()
|
||||
endif()
|
||||
#---------------------------------------
|
||||
@@ -186,14 +188,15 @@ endif()
|
||||
# -JPEG
|
||||
# -common_libs
|
||||
#---------------------------------------
|
||||
-if((GLEW_FOUND AND OPENGL_FOUND AND X11_FOUND AND JPEG_FOUND AND common_libs AND GTKn_FOUND) AND (CG_FOUND OR GLSL_API))
|
||||
- set(zzogl TRUE)
|
||||
-elseif(NOT EXISTS "${CMAKE_SOURCE_DIR}/plugins/zzogl-pg")
|
||||
- set(zzogl FALSE)
|
||||
-else()
|
||||
- set(zzogl FALSE)
|
||||
- message(STATUS "Skip build of zzogl: miss some dependencies")
|
||||
- message(STATUS "${msg_dep_zzogl}")
|
||||
+if(EXTRA_PLUGINS)
|
||||
+ if((GLEW_FOUND AND OPENGL_FOUND AND X11_FOUND AND JPEG_FOUND AND common_libs AND GTKn_FOUND) AND (CG_FOUND OR GLSL_API))
|
||||
+ set(zzogl TRUE)
|
||||
+ elseif(NOT EXISTS "${CMAKE_SOURCE_DIR}/plugins/zzogl-pg")
|
||||
+ set(zzogl FALSE)
|
||||
+ else()
|
||||
+ set(zzogl FALSE)
|
||||
+ print_dep("Skip build of zzogl: miss some dependencies" "${msg_dep_zzogl}")
|
||||
+ endif()
|
||||
endif()
|
||||
#---------------------------------------
|
||||
|
||||
@@ -216,8 +219,7 @@ elseif(NOT EXISTS "${CMAKE_SOURCE_DIR}/plugins/onepad")
|
||||
set(onepad FALSE)
|
||||
else()
|
||||
set(onepad FALSE)
|
||||
- message(STATUS "Skip build of onepad: miss some dependencies")
|
||||
- message(STATUS "${msg_dep_onepad}")
|
||||
+ print_dep("Skip build of onepad: miss some dependencies" "${msg_dep_onepad}")
|
||||
endif()
|
||||
#---------------------------------------
|
||||
|
||||
@@ -244,8 +246,7 @@ elseif(NOT EXISTS "${CMAKE_SOURCE_DIR}/plugins/spu2-x")
|
||||
set(spu2-x FALSE)
|
||||
else()
|
||||
set(spu2-x FALSE)
|
||||
- message(STATUS "Skip build of spu2-x: miss some dependencies")
|
||||
- message(STATUS "${msg_dep_spu2x}")
|
||||
+ print_dep("Skip build of spu2-x: miss some dependencies" "${msg_dep_spu2x}")
|
||||
endif()
|
||||
#---------------------------------------
|
||||
|
||||
@@ -266,8 +267,7 @@ if(EXTRA_PLUGINS)
|
||||
set(zerospu2 FALSE)
|
||||
else()
|
||||
set(zerospu2 FALSE)
|
||||
- message(STATUS "Skip build of zerospu2: miss some dependencies")
|
||||
- message(STATUS "${msg_dep_zerospu2}")
|
||||
+ print_dep("Skip build of zerospu2: miss some dependencies" "${msg_dep_zerospu2}")
|
||||
endif()
|
||||
endif()
|
||||
#---------------------------------------
|
||||
--
|
||||
2.4.6
|
||||
|
@ -1,2 +1 @@
|
||||
DIST mitm5.zip 33650739 SHA256 e514c37cc8efc19cac8dc9b55ffae7c98f41aecd6855d3ba8206768ef6167f9d
|
||||
DIST mitm_4.zip 136302315 SHA256 a93b65ccb92f3839e9824d00a439e67ecf8c643e1b1d15789b08070d47fa7938
|
||||
DIST MakeItToMorning1-6.zip 184131772 SHA256 d9757e51f6d474fe992b19008d2723253f27496baea6729576e460c3c31b0e64 SHA512 5c8b58b51fb4308366db74705c6f1c5ed7a99f41992000c0ceb3b57fe1d61cb617cc03725ab213d6d7cfbad76104efebe647e50d5ad78e5b0ec480ed840118ea WHIRLPOOL 24317336168b2bc3d05582ed745858597f4248fc3261f102de8ca539641574221cd39850ef83f0ee422038ed43422801cf87c80330c1d85d35432bf23e2ebdf1
|
||||
|
@ -1 +1 @@
|
||||
DIST coldwar-1.0-1.0.1-x86.run 181769 SHA256 adffc27da6eff739a46193dd095d4b10048a251997b8c876befcae94423a1f32
|
||||
DIST coldwar-1.0-1.0.1-x86.run 181769 SHA256 adffc27da6eff739a46193dd095d4b10048a251997b8c876befcae94423a1f32 SHA512 e7e2493e5b57d0ce254cb3e9baad722ed38b3c5813e81c17b39e382e590c629832397b2a810343673d61fae8b5da48335152c3c5c08e71abae6de24416ae7e75 WHIRLPOOL 3edc4958bd5c2863b26ae389fc49ea4562d0ed8f2191c66d0d2376879fffe15540bd3eb666a8a63e0422a48e087d26555526ab918deeb1a628acf5729b51b916
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST ksnapshot-15.08.3.tar.xz 258280 SHA256 83bd32bb65d40a9cc260f6156e972d82560fa8e4ff1080f92ce9a3dcc671cbf6 SHA512 6880dfd5b3f69e62bcc26078e1ab4dffba2a3b1d3d9686c81ee6b6758859e9eaba2aed88aa8925dc7fb6d026cd28aa2d39ee00610e8c36c6b8813dd9f39be9ba WHIRLPOOL 68c69c6cea0b1b4c7589d84775b3ba453148efe567290941af79ddac9754edd266e967633fc29201f20d1abb3008f99868764eaf0d8ef320a9fd5aeb90c6a744
|
||||
DIST ksnapshot-2015.12.tar.xz 265980 SHA256 9186252d478e30da9e21dcab3c1e30e167980a122dc609e435682d316b74508e SHA512 a8bd17f863be16cae413a0cdb71cda12ae133d754e117c9c192b85c73c0585826adf61af19a80fdbe64a815e0dfaf5688ebbb0fa3ef5f5494d8dadf94c659344 WHIRLPOOL 174c92cfbb9e9c089e11817f807830348113607044b9ad098ad55442fb81e29c31d3ed6a23e037133ec6566bfa889e09abcc36de764e81f8ed45b892de71e141
|
||||
DIST ksnapshot-4.14.3.tar.xz 257940 SHA256 ec7c08313d8300bf7b59167ec65ffd37fea6b4090d1514d23b66607d2efdf981 SHA512 96835e10e582b5c0fbeb97ac32a274cda8838145a0f198161eac5a77c52ba7240e3c3a35411c2f3bb2300748324e9753840eb44e1c75e6765ce3689df2f27bf9 WHIRLPOOL 5f4c0911c89080a5e7542b4f92b383b789117732084ea6fd9dba687edeed688b101dd1909fa4992a51d8f3c111bf9b7e891f34bfac7faae24b8cbc834d8a72e6
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
MY_PV=2015.12
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE Screenshot Utility"
|
||||
HOMEPAGE="https://www.kde.org/applications/graphics/ksnapshot/"
|
||||
SRC_URI="mirror://kde/stable/apps/KDE4.x/utils/${PN}-${MY_PV}.tar.xz"
|
||||
|
||||
KEYWORDS=" ~amd64 ~x86"
|
||||
IUSE="debug kipi"
|
||||
|
||||
DEPEND="
|
||||
x11-libs/libXfixes
|
||||
!aqua? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
)
|
||||
kipi? ( $(add_kdeapps_dep libkipi) )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
!<kde-plasma/khotkeys-5.4.3-r1:5
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_with kipi)
|
||||
)
|
||||
|
||||
kde4-base_src_configure
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_HANDBOOK="true"
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="KDE workspace hotkey module"
|
||||
KEYWORDS=" ~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND="
|
||||
$(add_frameworks_dep kcompletion)
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kconfigwidgets)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep kdbusaddons)
|
||||
$(add_frameworks_dep kdelibs4support X)
|
||||
$(add_frameworks_dep kglobalaccel)
|
||||
$(add_frameworks_dep ki18n)
|
||||
$(add_frameworks_dep kio)
|
||||
$(add_frameworks_dep kservice)
|
||||
$(add_frameworks_dep ktextwidgets)
|
||||
$(add_frameworks_dep kwidgetsaddons)
|
||||
$(add_frameworks_dep kwindowsystem)
|
||||
$(add_frameworks_dep kxmlgui)
|
||||
$(add_plasma_dep plasma-workspace)
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtx11extras:5
|
||||
x11-libs/libX11
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
$(add_frameworks_dep kded)
|
||||
$(add_plasma_dep kde-cli-tools)
|
||||
!kde-base/khotkeys:4
|
||||
!kde-base/systemsettings:4
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXtst
|
||||
x11-proto/xproto
|
||||
"
|
||||
|
||||
src_install() {
|
||||
kde5_src_install
|
||||
rm "${ED}"usr/share/khotkeys/printscreen.khotkeys || die
|
||||
}
|
@ -0,0 +1,128 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit eutils cmake-multilib python-any-r1
|
||||
|
||||
DESCRIPTION="EXIF, IPTC and XMP metadata C++ library and command line utility"
|
||||
HOMEPAGE="http://www.exiv2.org/"
|
||||
SRC_URI="http://www.exiv2.org/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0/14"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE_LINGUAS="bs de es fi fr gl ms pl pt ru sk sv ug uk vi"
|
||||
IUSE="doc examples nls png webready xmp $(printf 'linguas_%s ' ${IUSE_LINGUAS})"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
|
||||
nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
|
||||
png? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
|
||||
webready? (
|
||||
net-libs/libssh[${MULTILIB_USEDEP}]
|
||||
net-misc/curl[${MULTILIB_USEDEP}]
|
||||
)
|
||||
xmp? ( >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig
|
||||
media-gfx/graphviz
|
||||
${PYTHON_DEPS}
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
DOCS=( README doc/ChangeLog doc/cmd.txt )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.25-fix-install-dirs.patch"
|
||||
"${FILESDIR}/${PN}-0.25-fix-without-zlib.patch"
|
||||
"${FILESDIR}/${PN}-0.25-hide-symbols.patch"
|
||||
"${FILESDIR}/${PN}-0.25-fvisibility-hidden.patch"
|
||||
# TODO: Take to upstream
|
||||
"${FILESDIR}/${PN}-0.25-fix-docs.patch"
|
||||
"${FILESDIR}/${PN}-0.25-tools-optional.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use doc && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
rm -r msvc* build || die "Failed to remove msvc dirs"
|
||||
|
||||
if [[ ${PV} != *9999 ]] ; then
|
||||
if [[ -d po ]] ; then
|
||||
pushd po > /dev/null || die
|
||||
for lang in *.po; do
|
||||
if ! has ${lang%.po} ${LINGUAS} ; then
|
||||
rm -rf ${lang} || die
|
||||
fi
|
||||
done
|
||||
popd > /dev/null || die
|
||||
else
|
||||
die "Failed to prepare LINGUAS - po directory moved?"
|
||||
fi
|
||||
fi
|
||||
|
||||
# convert docs to UTF-8
|
||||
local i
|
||||
for i in doc/cmd.txt; do
|
||||
einfo "Converting "${i}" to UTF-8"
|
||||
iconv -f LATIN1 -t UTF-8 "${i}" > "${i}.tmp" || die
|
||||
mv -f "${i}.tmp" "${i}" || die
|
||||
done
|
||||
|
||||
if use doc; then
|
||||
einfo "Updating doxygen config"
|
||||
doxygen &>/dev/null -u config/Doxyfile || die
|
||||
fi
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DEXIV2_ENABLE_BUILD_PO=YES
|
||||
-DEXIV2_ENABLE_BUILD_SAMPLES=NO
|
||||
-DEXIV2_ENABLE_CURL=$(usex webready)
|
||||
-DEXIV2_ENABLE_NLS=$(usex nls)
|
||||
-DEXIV2_ENABLE_PNG=$(usex png)
|
||||
-DEXIV2_ENABLE_SSH=$(usex webready)
|
||||
-DEXIV2_ENABLE_WEBREADY=$(usex webready)
|
||||
-DEXIV2_ENABLE_XMP=$(usex xmp)
|
||||
-DEXIV2_ENABLE_LIBXMP=NO
|
||||
$(multilib_is_native_abi || \
|
||||
echo -DEXIV2_ENABLE_TOOLS=NO)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
cmake-utils_src_compile
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
use doc && emake -j1 doc
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
prune_libtool_files --all
|
||||
|
||||
use xmp && dodoc doc/{COPYING-XMPSDK,README-XMP,cmdxmp.txt}
|
||||
use doc && dodoc -r "${S}"/doc/html
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc samples/*.cpp
|
||||
fi
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
Index: CMakeLists.txt
|
||||
===================================================================
|
||||
--- a/xmpsdk/CMakeLists.txt (revision 3974)
|
||||
+++ b/xmpsdk/CMakeLists.txt (revision 3975)
|
||||
@@ -20,6 +20,14 @@
|
||||
ENDIF(NOT MSVC AND NOT CYGWIN AND NOT MSYS)
|
||||
ENDFOREACH()
|
||||
|
||||
+if(NOT MSVC)
|
||||
+ # http://stackoverflow.com/questions/10046114/in-cmake-how-can-i-test-if-the-compiler-is-clang
|
||||
+ if ( NOT "${CMAKE_CXX_COMPILER_ID}" MATCHES "AppleClang")
|
||||
+ # 1123 - hide xmpsdk symbols
|
||||
+ add_definitions( -fvisibility=hidden -fvisibility-inlines-hidden )
|
||||
+ endif()
|
||||
+endif()
|
||||
+
|
||||
IF( EXIV2_ENABLE_XMP AND EXIV2_ENABLE_LIBXMP )
|
||||
ADD_LIBRARY( xmp STATIC ${XMPSRC} )
|
||||
GET_TARGET_PROPERTY( XMPLIB xmp LOCATION )
|
@ -0,0 +1,97 @@
|
||||
Index: a/samples/CMakeLists.txt
|
||||
===================================================================
|
||||
--- a/samples/CMakeLists.txt (revision 3972)
|
||||
+++ b/samples/CMakeLists.txt (revision 3973)
|
||||
@@ -52,7 +52,7 @@
|
||||
STRING( REPLACE ".cpp" "" target ${entry})
|
||||
ADD_EXECUTABLE( ${target} ${target}.cpp )
|
||||
ADD_TEST( ${target}_test ${target} )
|
||||
- TARGET_LINK_LIBRARIES( ${target} exiv2lib )
|
||||
+ TARGET_LINK_LIBRARIES( ${target} PRIVATE exiv2lib ${EXPAT_LIBRARIES})
|
||||
#INSTALL( TARGETS ${target} ${INSTALL_TARGET_STANDARD_ARGS} )
|
||||
ENDFOREACH(entry ${SAMPLES})
|
||||
|
||||
Index: a/src/CMakeLists.txt
|
||||
===================================================================
|
||||
--- a/src/CMakeLists.txt (revision 3972)
|
||||
+++ b/src/CMakeLists.txt (revision 3973)
|
||||
@@ -240,20 +240,20 @@
|
||||
|
||||
if ( MSVC )
|
||||
source_group("Header Files" FILES ${LIBEXIV2_HDR} )
|
||||
- TARGET_LINK_LIBRARIES( exiv2lib ${EXPAT_LIBRARIES} )
|
||||
+ TARGET_LINK_LIBRARIES( exiv2lib PRIVATE ${EXPAT_LIBRARIES} )
|
||||
source_group("Header Files" FILES ${LIBCURL_HDR} )
|
||||
- TARGET_LINK_LIBRARIES( exiv2lib ${CURL_LIBRARIES} )
|
||||
+ TARGET_LINK_LIBRARIES( exiv2lib PRIVATE ${CURL_LIBRARIES} )
|
||||
source_group("Header Files" FILES ${SSH_HDR} )
|
||||
- TARGET_LINK_LIBRARIES( exiv2lib ${SSH_LIBRARIES} )
|
||||
+ TARGET_LINK_LIBRARIES( exiv2lib PRIVATE ${SSH_LIBRARIES} )
|
||||
else()
|
||||
if ( NOT MINGW )
|
||||
- TARGET_LINK_LIBRARIES( exiv2lib dl ${EXPAT_LIBRARIES} )
|
||||
- TARGET_LINK_LIBRARIES( exiv2lib dl ${CURL_LIBRARIES} )
|
||||
- TARGET_LINK_LIBRARIES( exiv2lib dl ${SSH_LIBRARIES} )
|
||||
+ TARGET_LINK_LIBRARIES( exiv2lib PRIVATE dl ${EXPAT_LIBRARIES} )
|
||||
+ TARGET_LINK_LIBRARIES( exiv2lib PRIVATE dl ${CURL_LIBRARIES} )
|
||||
+ TARGET_LINK_LIBRARIES( exiv2lib PRIVATE dl ${SSH_LIBRARIES} )
|
||||
else()
|
||||
- TARGET_LINK_LIBRARIES( exiv2lib ${EXPAT_LIBRARIES} )
|
||||
- TARGET_LINK_LIBRARIES( exiv2lib ${CURL_LIBRARIES} )
|
||||
- TARGET_LINK_LIBRARIES( exiv2lib ${SSH_LIBRARIES} )
|
||||
+ TARGET_LINK_LIBRARIES( exiv2lib PRIVATE ${EXPAT_LIBRARIES} )
|
||||
+ TARGET_LINK_LIBRARIES( exiv2lib PRIVATE ${CURL_LIBRARIES} )
|
||||
+ TARGET_LINK_LIBRARIES( exiv2lib PRIVATE ${SSH_LIBRARIES} )
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@@ -262,33 +262,33 @@
|
||||
if ( MSVC )
|
||||
LINK_DIRECTORIES(${LIBRARY_OUTPUT_PATH}/$(ConfigurationName))
|
||||
endif(MSVC)
|
||||
- TARGET_LINK_LIBRARIES( exiv2lib xmp )
|
||||
+ TARGET_LINK_LIBRARIES( exiv2lib PRIVATE xmp )
|
||||
ENDIF()
|
||||
|
||||
IF( EXIV2_ENABLE_PNG )
|
||||
IF( ZLIB_FOUND )
|
||||
IF( MSVC )
|
||||
if ( EXIV2_ENABLE_SHARED )
|
||||
- TARGET_LINK_LIBRARIES( exiv2lib optimized ${ZLIB_LIBRARIES} debug ${ZLIB_LIBRARIES}d )
|
||||
+ TARGET_LINK_LIBRARIES( exiv2lib PRIVATE optimized ${ZLIB_LIBRARIES}.lib debug ${ZLIB_LIBRARIES}d.lib )
|
||||
else()
|
||||
- TARGET_LINK_LIBRARIES( exiv2lib optimized zlibstatic.lib debug zlibstaticd.lib )
|
||||
+ TARGET_LINK_LIBRARIES( exiv2lib PRIVATE optimized zlibstatic.lib debug zlibstaticd.lib )
|
||||
endif()
|
||||
ELSE()
|
||||
- TARGET_LINK_LIBRARIES( exiv2lib ${ZLIB_LIBRARIES} )
|
||||
+ TARGET_LINK_LIBRARIES( exiv2lib PRIVATE ${ZLIB_LIBRARIES} )
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
IF( EXIV2_ENABLE_NLS )
|
||||
- TARGET_LINK_LIBRARIES( exiv2lib ${LIBINTL_LIBRARIES} )
|
||||
+ TARGET_LINK_LIBRARIES( exiv2lib PRIVATE ${LIBINTL_LIBRARIES} )
|
||||
ENDIF( EXIV2_ENABLE_NLS )
|
||||
|
||||
IF( ICONV_FOUND )
|
||||
- TARGET_LINK_LIBRARIES( exiv2lib ${ICONV_LIBRARIES} )
|
||||
+ TARGET_LINK_LIBRARIES( exiv2lib PRIVATE ${ICONV_LIBRARIES} )
|
||||
ENDIF( ICONV_FOUND )
|
||||
|
||||
IF (CYGWIN OR MINGW)
|
||||
- TARGET_LINK_LIBRARIES( exiv2lib psapi )
|
||||
+ TARGET_LINK_LIBRARIES( exiv2lib PRIVATE psapi )
|
||||
ENDIF(CYGWIN OR MINGW)
|
||||
|
||||
|
||||
@@ -303,7 +303,7 @@
|
||||
# ******************************************************************************
|
||||
# connection test application
|
||||
ADD_EXECUTABLE( conntest ${CONNTEST} )
|
||||
-TARGET_LINK_LIBRARIES( conntest exiv2lib )
|
||||
+TARGET_LINK_LIBRARIES( conntest PRIVATE exiv2lib ${CURL_LIBRARIES} ${SSH_LIBRARIES})
|
||||
|
||||
# ******************************************************************************
|
||||
# exifprint application
|
@ -1,2 +1,3 @@
|
||||
DIST libmediainfo_0.7.73.tar.bz2 1648742 SHA256 d350dbbdc25a52f79bcb3d5e91d0a61c68a4f429c13c80166d2e37476a62feb0 SHA512 44e4d5089e4343e503117a6e125e324551ecdc8e3ec01523dd13a66652708d2f0e8e1ab1740754524f0b9847ba317f97f123034bf0b06216ad3e60b5d0f56908 WHIRLPOOL 496e463691410bf8350c31e63e5268dc2974a6b4c9fb80661d80d8738d299f3a5813044cf5057db32aa09639cc365c347c677c0c7ce759f1b953c47fd9b379c0
|
||||
DIST libmediainfo_0.7.80.tar.xz 1517248 SHA256 e587b6aac746ea08ba2bb269446ba8ff54d253cb2172fc8ee9b3818ecfe8376d SHA512 49fb59c28acdc908e6629085d5a6136d57e689ded71312d286cf163597b11b617222ac5aee0c45142f352083b1fdca7caa23bff825726198c6406077b1d9f21c WHIRLPOOL a8f7029d9533eda7a64fc5a1c735b30a3b491a6ab4706622254c46ed17b447a634df38fcf6b88f551b354c18da8f62af2706d6b23ecbed6408909f8527e375ff
|
||||
DIST libmediainfo_0.7.81.tar.xz 1522456 SHA256 9a01b5e9899ce10df5745553bef8381dcda0e367fd568804e696f263cfcbee43 SHA512 7fdc72df7ded6f463b89495e64ccb2da68c48471990d15e56cd197d82182332c1b64305cf5d77ddf67a36eab29074d11a26439fb386ee9ab149dfde0badf6fc3 WHIRLPOOL 0651164bc5dddf872e67d1591f70f00cfde0530005f96681d1d750386882c41fa1aa83bc8efd2cdf828a9e08121869ac446bb93148a72d7e20eb00da0e41755a
|
||||
|
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib
|
||||
|
||||
MY_PN="MediaInfo"
|
||||
DESCRIPTION="MediaInfo libraries"
|
||||
HOMEPAGE="http://mediaarea.net/mediainfo/"
|
||||
SRC_URI="http://mediaarea.net/download/source/${PN}/${PV}/${P/-/_}.tar.xz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="curl doc mms static-libs"
|
||||
|
||||
RDEPEND="sys-libs/zlib
|
||||
dev-libs/tinyxml2:=
|
||||
>=media-libs/libzen-0.4.28[static-libs=]
|
||||
curl? ( net-misc/curl )
|
||||
mms? ( >=media-libs/libmms-0.6.1[static-libs=] )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}Lib/Project/GNU/Library
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's:-O2::' configure.ac || die
|
||||
append-cppflags -DMEDIAINFO_LIBMMS_DESCRIBE_SUPPORT=0
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-0.7.63-pkgconfig.patch
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-shared \
|
||||
--with-libtinyxml2 \
|
||||
$(use_with curl libcurl) \
|
||||
$(use_with mms libmms) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable static-libs staticlibs)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use doc; then
|
||||
cd "${WORKDIR}"/${MY_PN}Lib/Source/Doc
|
||||
doxygen Doxyfile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
edos2unix ${PN}.pc #414545
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins ${PN}.pc
|
||||
|
||||
for x in ./ Archive Audio Duplicate Export Image Multiple Reader Tag Text Video; do
|
||||
insinto /usr/include/${MY_PN}/${x}
|
||||
doins "${WORKDIR}"/${MY_PN}Lib/Source/${MY_PN}/${x}/*.h
|
||||
done
|
||||
|
||||
insinto /usr/include/${MY_PN}DLL
|
||||
doins "${WORKDIR}"/${MY_PN}Lib/Source/${MY_PN}DLL/*.h
|
||||
|
||||
dodoc "${WORKDIR}"/${MY_PN}Lib/*.txt
|
||||
if use doc; then
|
||||
dohtml -r "${WORKDIR}"/${MY_PN}Lib/Doc/*
|
||||
fi
|
||||
|
||||
prune_libtool_files
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST libmygpo-qt-1.0.7.tar.gz 62703 SHA256 43b9c00ae2c206ac64cf725918024b3d0927bbde880196a016f2ee329bac50fd SHA512 b1aad4daa32a41173d060f026245074ff2d11b9747447cb97cea9e3b93ea42e9ce89f67d4ed6396ed2b087db1f149e12543fb0a5d897e74a359c3115a418b45b WHIRLPOOL 5d7bbcf724677bc326060d4c8f79cadddd32caa240b830acdf2bcf0f213f6712dc2082fd1d6ad711edd23addd72e7553fdce1f2f1726cc0f8694ed9d4c4e04ae
|
||||
DIST libmygpo-qt-1.0.8.tar.gz 65064 SHA256 a0133b9d1850140a85d045d5a5db568735d19d62cd2f415e56e8b96689e2ce2e SHA512 1681b37387f7c18b74acbe5babd0ed435b289e87bca16e8c9ac7de53ff16012a82ed091cb77fd8c7972d470a71f38d1c9ab7c5f1e1bfe69db74f6fdc8d8a9bc8 WHIRLPOOL 51f7a503dfd4a893857d35b53010cecb9d278e9f4ab6424e07fbe3bc4d6c124eb7d36fcf1b437ea5349312ae21862a91189dc8da9cae5f763717d94ed2f1725a
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Qt/C++ library wrapping the gpodder.net webservice"
|
||||
HOMEPAGE="http://wiki.gpodder.org/wiki/Libmygpo-qt"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/gpodder/libmygpo-qt.git"
|
||||
KEYWORDS=""
|
||||
SRC_URI=""
|
||||
inherit git-2
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/gpodder/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-qt/qtcore:4
|
||||
>=dev-libs/qjson-0.5"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-qt/qttest:4 )"
|
||||
|
||||
DOCS=( AUTHORS README )
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
if ! use test ; then
|
||||
sed -i -e '/find_package/s/QtTest//' CMakeLists.txt || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use test MYGPO_BUILD_TESTS)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -0,0 +1,461 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/mesa/mesa"
|
||||
|
||||
if [[ ${PV} = 9999 ]]; then
|
||||
GIT_ECLASS="git-r3"
|
||||
EXPERIMENTAL="true"
|
||||
fi
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit autotools multilib-minimal python-any-r1 pax-utils ${GIT_ECLASS}
|
||||
|
||||
OPENGL_DIR="xorg-x11"
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
FOLDER="${PV/_rc*/}"
|
||||
|
||||
DESCRIPTION="OpenGL-like graphic library for Linux"
|
||||
HOMEPAGE="http://mesa3d.sourceforge.net/"
|
||||
|
||||
if [[ $PV == 9999 ]]; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="ftp://ftp.freedesktop.org/pub/mesa/${FOLDER}/${MY_P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
RESTRICT="!bindist? ( bindist )"
|
||||
|
||||
INTEL_CARDS="i915 i965 ilo intel"
|
||||
RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
|
||||
VIDEO_CARDS="${INTEL_CARDS} ${RADEON_CARDS} freedreno nouveau vmware"
|
||||
for card in ${VIDEO_CARDS}; do
|
||||
IUSE_VIDEO_CARDS+=" video_cards_${card}"
|
||||
done
|
||||
|
||||
IUSE="${IUSE_VIDEO_CARDS}
|
||||
bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 +llvm
|
||||
+nptl opencl osmesa pax_kernel openmax pic selinux +udev vaapi vdpau
|
||||
wayland xvmc xa kernel_FreeBSD"
|
||||
|
||||
REQUIRED_USE="
|
||||
d3d9? ( dri3 gallium )
|
||||
llvm? ( gallium )
|
||||
opencl? ( gallium llvm )
|
||||
openmax? ( gallium )
|
||||
gles1? ( egl )
|
||||
gles2? ( egl )
|
||||
vaapi? ( gallium )
|
||||
vdpau? ( gallium )
|
||||
wayland? ( egl gbm )
|
||||
xa? ( gallium )
|
||||
video_cards_freedreno? ( gallium )
|
||||
video_cards_intel? ( classic )
|
||||
video_cards_i915? ( || ( classic gallium ) )
|
||||
video_cards_i965? ( classic )
|
||||
video_cards_ilo? ( gallium )
|
||||
video_cards_nouveau? ( || ( classic gallium ) )
|
||||
video_cards_radeon? ( || ( classic gallium )
|
||||
gallium? ( x86? ( llvm ) amd64? ( llvm ) ) )
|
||||
video_cards_r100? ( classic )
|
||||
video_cards_r200? ( classic )
|
||||
video_cards_r300? ( gallium x86? ( llvm ) amd64? ( llvm ) )
|
||||
video_cards_r600? ( gallium )
|
||||
video_cards_radeonsi? ( gallium llvm )
|
||||
video_cards_vmware? ( gallium )
|
||||
${PYTHON_REQUIRED_USE}
|
||||
"
|
||||
|
||||
LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.64"
|
||||
# keep correct libdrm and dri2proto dep
|
||||
# keep blocks in rdepend for binpkg
|
||||
RDEPEND="
|
||||
!<x11-base/xorg-server-1.7
|
||||
!<=x11-proto/xf86driproto-2.0.3
|
||||
abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )
|
||||
classic? ( app-eselect/eselect-mesa )
|
||||
gallium? ( app-eselect/eselect-mesa )
|
||||
>=app-eselect/eselect-opengl-1.3.0
|
||||
udev? ( kernel_linux? ( >=virtual/libudev-215:=[${MULTILIB_USEDEP}] ) )
|
||||
>=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libX11-1.6.2:=[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libxshmfence-1.1:=[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXdamage-1.1.4-r1:=[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXext-1.3.2:=[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXxf86vm-1.1.3:=[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libxcb-1.9.3:=[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes:=[${MULTILIB_USEDEP}]
|
||||
llvm? ( !kernel_FreeBSD? (
|
||||
video_cards_radeonsi? ( || (
|
||||
>=dev-libs/elfutils-0.155-r1:=[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libelf-0.8.13-r2:=[${MULTILIB_USEDEP}]
|
||||
) )
|
||||
!video_cards_r600? (
|
||||
video_cards_radeon? ( || (
|
||||
>=dev-libs/elfutils-0.155-r1:=[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libelf-0.8.13-r2:=[${MULTILIB_USEDEP}]
|
||||
) )
|
||||
) )
|
||||
>=sys-devel/llvm-3.4.2:=[${MULTILIB_USEDEP}]
|
||||
)
|
||||
opencl? (
|
||||
app-eselect/eselect-opencl
|
||||
dev-libs/libclc
|
||||
!kernel_FreeBSD? ( || (
|
||||
>=dev-libs/elfutils-0.155-r1:=[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libelf-0.8.13-r2:=[${MULTILIB_USEDEP}]
|
||||
) )
|
||||
)
|
||||
openmax? ( >=media-libs/libomxil-bellagio-0.9.3:=[${MULTILIB_USEDEP}] )
|
||||
vaapi? ( >=x11-libs/libva-1.6.0:=[${MULTILIB_USEDEP}] )
|
||||
vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] )
|
||||
wayland? ( >=dev-libs/wayland-1.2.0:=[${MULTILIB_USEDEP}] )
|
||||
xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] )
|
||||
${LIBDRM_DEPSTRING}[video_cards_freedreno?,video_cards_nouveau?,video_cards_vmware?,${MULTILIB_USEDEP}]
|
||||
"
|
||||
for card in ${INTEL_CARDS}; do
|
||||
RDEPEND="${RDEPEND}
|
||||
video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_intel] )
|
||||
"
|
||||
done
|
||||
|
||||
for card in ${RADEON_CARDS}; do
|
||||
RDEPEND="${RDEPEND}
|
||||
video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_radeon] )
|
||||
"
|
||||
done
|
||||
RDEPEND="${RDEPEND}
|
||||
video_cards_radeonsi? ( ${LIBDRM_DEPSTRING}[video_cards_amdgpu] )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
llvm? (
|
||||
video_cards_radeonsi? ( sys-devel/llvm[video_cards_radeon] )
|
||||
)
|
||||
opencl? (
|
||||
>=sys-devel/llvm-3.4.2:=[${MULTILIB_USEDEP}]
|
||||
>=sys-devel/clang-3.4.2:=[${MULTILIB_USEDEP}]
|
||||
>=sys-devel/gcc-4.6
|
||||
)
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
>=x11-proto/dri2proto-2.8-r1:=[${MULTILIB_USEDEP}]
|
||||
dri3? (
|
||||
>=x11-proto/dri3proto-1.0:=[${MULTILIB_USEDEP}]
|
||||
>=x11-proto/presentproto-1.0:=[${MULTILIB_USEDEP}]
|
||||
)
|
||||
>=x11-proto/glproto-1.4.17-r1:=[${MULTILIB_USEDEP}]
|
||||
>=x11-proto/xextproto-7.2.1-r1:=[${MULTILIB_USEDEP}]
|
||||
>=x11-proto/xf86driproto-2.1.1-r1:=[${MULTILIB_USEDEP}]
|
||||
>=x11-proto/xf86vidmodeproto-2.3.1-r1:=[${MULTILIB_USEDEP}]
|
||||
"
|
||||
[[ ${PV} == 9999 ]] && DEPEND+="
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep ">=dev-python/mako-0.7.3[\${PYTHON_USEDEP}]")
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
EGIT_CHECKOUT_DIR=${S}
|
||||
|
||||
QA_WX_LOAD="
|
||||
x86? (
|
||||
!pic? (
|
||||
usr/lib*/libglapi.so.0.0.0
|
||||
usr/lib*/libGLESv1_CM.so.1.1.0
|
||||
usr/lib*/libGLESv2.so.2.0.0
|
||||
usr/lib*/libGL.so.1.2.0
|
||||
usr/lib*/libOSMesa.so.8.0.0
|
||||
)
|
||||
)"
|
||||
|
||||
pkg_setup() {
|
||||
# warning message for bug 459306
|
||||
if use llvm && has_version sys-devel/llvm[!debug=]; then
|
||||
ewarn "Mismatch between debug USE flags in media-libs/mesa and sys-devel/llvm"
|
||||
ewarn "detected! This can cause problems. For details, see bug 459306."
|
||||
fi
|
||||
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
[[ ${PV} == 9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf
|
||||
|
||||
if use classic; then
|
||||
# Configurable DRI drivers
|
||||
driver_enable swrast
|
||||
|
||||
# Intel code
|
||||
driver_enable video_cards_i915 i915
|
||||
driver_enable video_cards_i965 i965
|
||||
if ! use video_cards_i915 && \
|
||||
! use video_cards_i965; then
|
||||
driver_enable video_cards_intel i915 i965
|
||||
fi
|
||||
|
||||
# Nouveau code
|
||||
driver_enable video_cards_nouveau nouveau
|
||||
|
||||
# ATI code
|
||||
driver_enable video_cards_r100 radeon
|
||||
driver_enable video_cards_r200 r200
|
||||
if ! use video_cards_r100 && \
|
||||
! use video_cards_r200; then
|
||||
driver_enable video_cards_radeon radeon r200
|
||||
fi
|
||||
fi
|
||||
|
||||
if use egl; then
|
||||
myconf+=" --with-egl-platforms=x11$(use wayland && echo ",wayland")$(use gbm && echo ",drm")"
|
||||
fi
|
||||
|
||||
if use gallium; then
|
||||
myconf+="
|
||||
$(use_enable d3d9 nine)
|
||||
$(use_enable llvm gallium-llvm)
|
||||
$(use_enable openmax omx)
|
||||
$(use_enable vaapi va)
|
||||
$(use_enable vdpau)
|
||||
$(use_enable xa)
|
||||
$(use_enable xvmc)
|
||||
"
|
||||
use vaapi && myconf+=" --with-va-libdir=/usr/$(get_libdir)/va/drivers"
|
||||
|
||||
gallium_enable swrast
|
||||
gallium_enable video_cards_vmware svga
|
||||
gallium_enable video_cards_nouveau nouveau
|
||||
gallium_enable video_cards_i915 i915
|
||||
gallium_enable video_cards_ilo ilo
|
||||
if ! use video_cards_i915 && \
|
||||
! use video_cards_i965; then
|
||||
gallium_enable video_cards_intel i915
|
||||
fi
|
||||
|
||||
gallium_enable video_cards_r300 r300
|
||||
gallium_enable video_cards_r600 r600
|
||||
gallium_enable video_cards_radeonsi radeonsi
|
||||
if ! use video_cards_r300 && \
|
||||
! use video_cards_r600; then
|
||||
gallium_enable video_cards_radeon r300 r600
|
||||
fi
|
||||
|
||||
gallium_enable video_cards_freedreno freedreno
|
||||
# opencl stuff
|
||||
if use opencl; then
|
||||
myconf+="
|
||||
$(use_enable opencl)
|
||||
--with-clang-libdir="${EPREFIX}/usr/lib"
|
||||
"
|
||||
fi
|
||||
fi
|
||||
|
||||
# x86 hardened pax_kernel needs glx-read-only-text, bug 240956
|
||||
if [[ ${ABI} == x86 ]]; then
|
||||
myconf+=" $(use_enable pax_kernel glx-read-only-text)"
|
||||
fi
|
||||
|
||||
# on abi_x86_32 hardened we need to have asm disable
|
||||
if [[ ${ABI} == x86* ]] && use pic; then
|
||||
myconf+=" --disable-asm"
|
||||
fi
|
||||
|
||||
# build fails with BSD indent, bug #428112
|
||||
use userland_GNU || export INDENT=cat
|
||||
|
||||
ECONF_SOURCE="${S}" \
|
||||
econf \
|
||||
--enable-dri \
|
||||
--enable-glx \
|
||||
--enable-shared-glapi \
|
||||
$(use_enable !bindist texture-float) \
|
||||
$(use_enable d3d9 nine) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable dri3) \
|
||||
$(use_enable egl) \
|
||||
$(use_enable gbm) \
|
||||
$(use_enable gles1) \
|
||||
$(use_enable gles2) \
|
||||
$(use_enable nptl glx-tls) \
|
||||
$(use_enable osmesa) \
|
||||
$(use_enable !udev sysfs) \
|
||||
--enable-llvm-shared-libs \
|
||||
--with-dri-drivers=${DRI_DRIVERS} \
|
||||
--with-gallium-drivers=${GALLIUM_DRIVERS} \
|
||||
PYTHON2="${PYTHON}" \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
|
||||
if use classic || use gallium; then
|
||||
ebegin "Moving DRI/Gallium drivers for dynamic switching"
|
||||
local gallium_drivers=( i915_dri.so i965_dri.so r300_dri.so r600_dri.so swrast_dri.so )
|
||||
keepdir /usr/$(get_libdir)/dri
|
||||
dodir /usr/$(get_libdir)/mesa
|
||||
for x in ${gallium_drivers[@]}; do
|
||||
if [ -f "$(get_libdir)/gallium/${x}" ]; then
|
||||
mv -f "${ED}/usr/$(get_libdir)/dri/${x}" "${ED}/usr/$(get_libdir)/dri/${x/_dri.so/g_dri.so}" \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
if use classic; then
|
||||
emake -C "${BUILD_DIR}/src/mesa/drivers/dri" DESTDIR="${D}" install
|
||||
fi
|
||||
for x in "${ED}"/usr/$(get_libdir)/dri/*.so; do
|
||||
if [ -f ${x} -o -L ${x} ]; then
|
||||
mv -f "${x}" "${x/dri/mesa}" \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
pushd "${ED}"/usr/$(get_libdir)/dri || die "pushd failed"
|
||||
ln -s ../mesa/*.so . || die "Creating symlink failed"
|
||||
# remove symlinks to drivers known to eselect
|
||||
for x in ${gallium_drivers[@]}; do
|
||||
if [ -f ${x} -o -L ${x} ]; then
|
||||
rm "${x}" || die "Failed to remove ${x}"
|
||||
fi
|
||||
done
|
||||
popd
|
||||
eend $?
|
||||
fi
|
||||
if use opencl; then
|
||||
ebegin "Moving Gallium/Clover OpenCL implementation for dynamic switching"
|
||||
local cl_dir="/usr/$(get_libdir)/OpenCL/vendors/mesa"
|
||||
dodir ${cl_dir}/{lib,include}
|
||||
if [ -f "${ED}/usr/$(get_libdir)/libOpenCL.so" ]; then
|
||||
mv -f "${ED}"/usr/$(get_libdir)/libOpenCL.so* \
|
||||
"${ED}"${cl_dir}
|
||||
fi
|
||||
if [ -f "${ED}/usr/include/CL/opencl.h" ]; then
|
||||
mv -f "${ED}"/usr/include/CL \
|
||||
"${ED}"${cl_dir}/include
|
||||
fi
|
||||
eend $?
|
||||
fi
|
||||
|
||||
if use openmax; then
|
||||
echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share/mesa/xdg\"" > "${T}/99mesaxdgomx"
|
||||
doenvd "${T}"/99mesaxdgomx
|
||||
keepdir /usr/share/mesa/xdg
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
prune_libtool_files --all
|
||||
einstalldocs
|
||||
|
||||
if use !bindist; then
|
||||
dodoc docs/patents.txt
|
||||
fi
|
||||
|
||||
# Install config file for eselect mesa
|
||||
insinto /usr/share/mesa
|
||||
newins "${FILESDIR}/eselect-mesa.conf.9.2" eselect-mesa.conf
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
if use llvm; then
|
||||
local llvm_tests='lp_test_arit lp_test_arit lp_test_blend lp_test_blend lp_test_conv lp_test_conv lp_test_format lp_test_format lp_test_printf lp_test_printf'
|
||||
pushd src/gallium/drivers/llvmpipe >/dev/null || die
|
||||
emake ${llvm_tests}
|
||||
pax-mark m ${llvm_tests}
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
emake check
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Switch to the xorg implementation.
|
||||
echo
|
||||
eselect opengl set --use-old ${OPENGL_DIR}
|
||||
|
||||
# Select classic/gallium drivers
|
||||
if use classic || use gallium; then
|
||||
eselect mesa set --auto
|
||||
fi
|
||||
|
||||
# Switch to mesa opencl
|
||||
if use opencl; then
|
||||
eselect opencl set --use-old ${PN}
|
||||
fi
|
||||
|
||||
# run omxregister-bellagio to make the OpenMAX drivers known system-wide
|
||||
if use openmax; then
|
||||
ebegin "Registering OpenMAX drivers"
|
||||
BELLAGIO_SEARCH_PATH="${EPREFIX}/usr/$(get_libdir)/libomxil-bellagio0" \
|
||||
OMX_BELLAGIO_REGISTRY=${EPREFIX}/usr/share/mesa/xdg/.omxregister \
|
||||
omxregister-bellagio
|
||||
eend $?
|
||||
fi
|
||||
|
||||
# warn about patent encumbered texture-float
|
||||
if use !bindist; then
|
||||
elog "USE=\"bindist\" was not set. Potentially patent encumbered code was"
|
||||
elog "enabled. Please see patents.txt for an explanation."
|
||||
fi
|
||||
|
||||
if ! has_version media-libs/libtxc_dxtn; then
|
||||
elog "Note that in order to have full S3TC support, it is necessary to install"
|
||||
elog "media-libs/libtxc_dxtn as well. This may be necessary to get nice"
|
||||
elog "textures in some apps, and some others even require this to run."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if use openmax; then
|
||||
rm "${EPREFIX}"/usr/share/mesa/xdg/.omxregister
|
||||
fi
|
||||
}
|
||||
|
||||
# $1 - VIDEO_CARDS flag
|
||||
# other args - names of DRI drivers to enable
|
||||
# TODO: avoid code duplication for a more elegant implementation
|
||||
driver_enable() {
|
||||
case $# in
|
||||
# for enabling unconditionally
|
||||
1)
|
||||
DRI_DRIVERS+=",$1"
|
||||
;;
|
||||
*)
|
||||
if use $1; then
|
||||
shift
|
||||
for i in $@; do
|
||||
DRI_DRIVERS+=",${i}"
|
||||
done
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
gallium_enable() {
|
||||
case $# in
|
||||
# for enabling unconditionally
|
||||
1)
|
||||
GALLIUM_DRIVERS+=",$1"
|
||||
;;
|
||||
*)
|
||||
if use $1; then
|
||||
shift
|
||||
for i in $@; do
|
||||
GALLIUM_DRIVERS+=",${i}"
|
||||
done
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST clementine-1.2.2.tar.gz 9076752 SHA256 1f674c42f05c476baf74f1dd37b1aa357ff9199e4493173052c856a53e5f0a96 SHA512 48e934ed1f18724c4cc79eaf7ac16dcb2ecc9d268a4986a8a421c6518d7a13bd81a5b7d249b4ff146c860bed520a59d2062139fb57672609019b8c2c84e495ca WHIRLPOOL 13c3f129566c0789e67b23b2382d7ed1f756221647c4b2cc1b4b1b1efcb5e04571837a843c8ff7c099f9bcd3f9b1dd481b1fa75fe1c4b27e90169026e8880840
|
||||
DIST clementine-1.2.3.tar.gz 9076977 SHA256 7df5650445a005c09f5f0e1a1b0d077037c37ecbe4ee77baf9d45f121308a1bf SHA512 fd43a7dcfec360d4478a56d0600300b6913b294f127afb0249971b45b54b48475d128861e06885c482bbdd37b09aa56b1c238675763fdb8c50329005b066bec3 WHIRLPOOL 23d0fb971118b0d73ec4a52cfa3f8829118ab65c12fb01ce30433541f5da081b52c5dd485aa0efdda2b4b57b286f59702aa686f9b7ce17a0a2595b208b95d524
|
||||
DIST clementine-1.3_rc1.tar.gz 8477665 SHA256 f08b797b47305b8a0b7e1713d11977df12e09911f05c577c9f81641369f252a0 SHA512 973410a0d2baf0646a77eb5bcbea2af3f34a4baa5671f7a81fa99203703c478d38dd2f32ce0ccac9babf8add56717fd5fdec8a4bacefe8b9b8fa0256ec509edb WHIRLPOOL 968ca43b4a15169926ad68a009c568ae03ef17e8b0542fe6c4ebd07fc4e64ae6782ab63d3a05851064e288522e44e885a9a1dc52b94246e016c60c91e41e0a76
|
||||
|
@ -0,0 +1,167 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
EGIT_REPO_URI="https://github.com/clementine-player/Clementine.git"
|
||||
|
||||
LANGS=" af ar be bg bn br bs ca cs cy da de el en_CA en_GB eo es es_AR et eu fa fi fr ga gl he hi hr hu hy ia id is it ja ka kk ko lt lv mr ms nb nl oc pa pl pt pt_BR ro ru sk sl sr sr@latin sv te tr uk uz vi zh_CN zh_TW"
|
||||
|
||||
inherit cmake-utils flag-o-matic fdo-mime gnome2-utils virtualx
|
||||
[[ ${PV} == *9999* ]] && inherit git-2
|
||||
|
||||
DESCRIPTION="A modern music player and library organizer based on Amarok 1.4 and Qt4"
|
||||
HOMEPAGE="http://www.clementine-player.org https://github.com/clementine-player/Clementine"
|
||||
[[ ${PV} == *9999* ]] || \
|
||||
SRC_URI="https://github.com/clementine-player/Clementine/archive/${PV/_}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
[[ ${PV} == *9999* ]] || \
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="box cdda +dbus debug dropbox googledrive ipod lastfm mms moodbar mtp projectm skydrive test ubuntu-one +udisks wiimote"
|
||||
IUSE+="${LANGS// / linguas_}"
|
||||
|
||||
REQUIRED_USE="
|
||||
udisks? ( dbus )
|
||||
wiimote? ( dbus )
|
||||
"
|
||||
|
||||
# qca dep is temporary for bug #489850
|
||||
COMMON_DEPEND="
|
||||
dev-db/sqlite:=
|
||||
>=dev-libs/glib-2.24.1-r1
|
||||
dev-libs/libxml2
|
||||
dev-libs/protobuf:=
|
||||
dev-libs/qjson
|
||||
>=dev-qt/qtcore-4.5:4
|
||||
>=dev-qt/qtgui-4.5:4
|
||||
>=dev-qt/qtopengl-4.5:4
|
||||
>=dev-qt/qtsql-4.5:4[sqlite]
|
||||
>=media-libs/chromaprint-0.6
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
media-libs/libechonest:=
|
||||
>=media-libs/libmygpo-qt-1.0.8
|
||||
>=media-libs/taglib-1.8[mp4]
|
||||
sys-libs/zlib
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
x11-libs/libX11
|
||||
cdda? ( dev-libs/libcdio )
|
||||
dbus? ( >=dev-qt/qtdbus-4.5:4 )
|
||||
ipod? ( >=media-libs/libgpod-0.8.0 )
|
||||
lastfm? ( >=media-libs/liblastfm-1[qt4(+)] )
|
||||
mtp? ( >=media-libs/libmtp-1.0.0 )
|
||||
moodbar? ( sci-libs/fftw:3.0 )
|
||||
projectm? ( media-libs/glew:= )
|
||||
"
|
||||
# now only presets are used, libprojectm is internal
|
||||
# https://github.com/clementine-player/Clementine/tree/master/3rdparty/libprojectm/patches
|
||||
# r1966 "Compile with a static sqlite by default, since Qt 4.7 doesn't seem to expose the symbols we need to use FTS"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dbus? ( udisks? ( sys-fs/udisks:2 ) )
|
||||
mms? ( media-plugins/gst-plugins-libmms:1.0 )
|
||||
mtp? ( gnome-base/gvfs )
|
||||
projectm? ( >=media-libs/libprojectm-1.2.0 )
|
||||
media-plugins/gst-plugins-meta:1.0
|
||||
media-plugins/gst-plugins-soup:1.0
|
||||
media-plugins/gst-plugins-taglib:1.0
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-libs/boost-1.39
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext
|
||||
dev-qt/qttest:4
|
||||
dev-cpp/gmock
|
||||
box? ( dev-cpp/sparsehash )
|
||||
dropbox? ( dev-cpp/sparsehash )
|
||||
googledrive? ( dev-cpp/sparsehash )
|
||||
skydrive? ( dev-cpp/sparsehash )
|
||||
ubuntu-one? ( dev-cpp/sparsehash )
|
||||
test? ( gnome-base/gsettings-desktop-schemas )
|
||||
"
|
||||
DOCS="Changelog"
|
||||
|
||||
# https://github.com/clementine-player/Clementine/issues/3935
|
||||
RESTRICT="test"
|
||||
|
||||
MY_P="${P/_}"
|
||||
# Switch to ^ when we switch to EAPI=6.
|
||||
[[ ${PV} == *9999* ]] || \
|
||||
S="${WORKDIR}/C${MY_P:1}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.3_rc1-cmake.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
# some tests fail or hang
|
||||
sed -i \
|
||||
-e '/add_test_file(translations_test.cpp/d' \
|
||||
tests/CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local langs x
|
||||
for x in ${LANGS}; do
|
||||
use linguas_${x} && langs+=" ${x}"
|
||||
done
|
||||
|
||||
# spotify is not in portage
|
||||
local mycmakeargs=(
|
||||
-DBUILD_WERROR=OFF
|
||||
-DLINGUAS="${langs}"
|
||||
-DBUNDLE_PROJECTM_PRESETS=OFF
|
||||
-DUSE_SYSTEM_PROJECTM=ON
|
||||
$(cmake-utils_use cdda ENABLE_AUDIOCD)
|
||||
$(cmake-utils_use dbus ENABLE_DBUS)
|
||||
$(cmake-utils_use udisks ENABLE_DEVICEKIT)
|
||||
$(cmake-utils_use ipod ENABLE_LIBGPOD)
|
||||
$(cmake-utils_use lastfm ENABLE_LIBLASTFM)
|
||||
$(cmake-utils_use mtp ENABLE_LIBMTP)
|
||||
$(cmake-utils_use moodbar ENABLE_MOODBAR)
|
||||
-DENABLE_GIO=ON
|
||||
$(cmake-utils_use wiimote ENABLE_WIIMOTEDEV)
|
||||
$(cmake-utils_use projectm ENABLE_VISUALISATIONS)
|
||||
$(usex projectm '-DUSE_SYSTEM_PROJECTM=ON' '')
|
||||
$(cmake-utils_use box ENABLE_BOX)
|
||||
$(cmake-utils_use dropbox ENABLE_DROPBOX)
|
||||
$(cmake-utils_use googledrive ENABLE_GOOGLE_DRIVE)
|
||||
$(cmake-utils_use skydrive ENABLE_SKYDRIVE)
|
||||
$(cmake-utils_use ubuntu-one ENABLE_UBUNTU_ONE)
|
||||
-DENABLE_SPOTIFY_BLOB=OFF
|
||||
-DENABLE_BREAKPAD=OFF
|
||||
#$(cmake-utils_use !system-sqlite STATIC_SQLITE)
|
||||
#$(cmake-utils_use system-sqlite I_HATE_MY_USERS)
|
||||
#$(cmake-utils_use system-sqlite MY_USERS_WILL_SUFFER_BECAUSE_OF_ME)
|
||||
-DUSE_BUILTIN_TAGLIB=OFF
|
||||
-DUSE_SYSTEM_GMOCK=ON
|
||||
)
|
||||
|
||||
use !debug && append-cppflags -DQT_NO_DEBUG_OUTPUT
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${CMAKE_BUILD_DIR}" || die
|
||||
Xemake test
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
--- Clementine-1.3rc1/CMakeLists.txt
|
||||
+++ Clementine-1.3rc1/CMakeLists.txt
|
||||
@@ -60,7 +60,7 @@
|
||||
|
||||
pkg_check_modules(CDIO libcdio)
|
||||
pkg_check_modules(CHROMAPRINT REQUIRED libchromaprint)
|
||||
-pkg_search_module(CRYPTOPP cryptopp libcrypto++)
|
||||
+#pkg_search_module(CRYPTOPP cryptopp libcrypto++)
|
||||
pkg_check_modules(GIO gio-2.0)
|
||||
pkg_check_modules(GLIB REQUIRED glib-2.0)
|
||||
pkg_check_modules(GOBJECT REQUIRED gobject-2.0)
|
||||
@@ -71,7 +71,7 @@
|
||||
pkg_check_modules(GSTREAMER_TAG REQUIRED gstreamer-tag-1.0)
|
||||
pkg_check_modules(LIBGPOD libgpod-1.0>=0.7.92)
|
||||
pkg_check_modules(LIBMTP libmtp>=1.0)
|
||||
-pkg_check_modules(LIBMYGPO_QT libmygpo-qt>=1.0.9)
|
||||
+pkg_check_modules(LIBMYGPO_QT libmygpo-qt>=1.0.8)
|
||||
pkg_check_modules(LIBPULSE libpulse)
|
||||
pkg_check_modules(LIBXML libxml-2.0)
|
||||
pkg_check_modules(QJSON REQUIRED QJson)
|
||||
@@ -275,13 +275,14 @@
|
||||
|
||||
optional_component(VISUALISATIONS ON "Visualisations")
|
||||
|
||||
-if(NOT HAVE_SPOTIFY_BLOB AND NOT CRYPTOPP_FOUND)
|
||||
- message(FATAL_ERROR "Either crypto++ must be available or the non-GPL Spotify "
|
||||
- "code must be compiled in")
|
||||
-elseif(CRYPTOPP_FOUND)
|
||||
+#if(NOT HAVE_SPOTIFY_BLOB AND NOT CRYPTOPP_FOUND)
|
||||
+# message(FATAL_ERROR "Either crypto++ must be available or the non-GPL Spotify "
|
||||
+# "code must be compiled in")
|
||||
+#elseif(CRYPTOPP_FOUND)
|
||||
set(HAVE_CRYPTOPP ON)
|
||||
- set(HAVE_SPOTIFY_DOWNLOADER ON)
|
||||
-endif()
|
||||
+ set(HAVE_SPOTIFY_DOWNLOADER OFF)
|
||||
+ set(HAVE_SPOTIFY_BLOB OFF)
|
||||
+#endif()
|
||||
|
||||
# Find DBus if it's enabled
|
||||
if (HAVE_DBUS)
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Distributed audio on the local network"
|
||||
HOMEPAGE="http://daudio.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
#-sparc: 0.3: static audio on local daemon. No audio when client connects to amd64 daemon
|
||||
KEYWORDS="~amd64 ~ppc -sparc ~x86"
|
||||
|
||||
IUSE=""
|
||||
DEPEND=">=media-libs/libmad-0.15.0b-r1"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-makefile.patch"
|
||||
"${FILESDIR}/${P}-qa-implicit-declarations.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# fix #570582 by restoring pre-GCC5 inline semantics
|
||||
append-cflags -std=gnu89
|
||||
|
||||
tc-export CC
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -C client
|
||||
emake -C server
|
||||
emake -C streamer
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin client/daudioc server/daudiod streamer/dstreamer
|
||||
newinitd "${FILESDIR}"/daudio.rc daudio
|
||||
dodoc doc/*
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="tooLAME - an optimized mpeg 1/2 layer 2 audio encoder"
|
||||
HOMEPAGE="http://www.planckenergy.com"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-gentoo.diff"
|
||||
"${FILESDIR}/${P}-uint.patch"
|
||||
"${FILESDIR}/${P}-uint32_t.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# fix #571774 by restoring pre-GCC5 inline semantics
|
||||
append-cflags -std=gnu89
|
||||
|
||||
append-lfs-flags
|
||||
tc-export CC
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dodoc README HISTORY FUTURE html/* text/*
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST mediainfo_0.7.73.tar.bz2 1467006 SHA256 a7cae29ac45a642c6747746db150382ed88e42891b3b0bcfa59648d8838fab92 SHA512 46bfcacac8fb554ee1adbe5afb65d94330dea520bfea69fb4a0099e7da9159eedfc79023a6ca300443abfdc06caa1d455ad920957bbdb6307450ced0128dcd41 WHIRLPOOL 4fd45fd4d218bab60ea7935c0743b8ccfd218eb7790d314172f89bef1b8d33b397cfcf86bbd38de57c7c9f92bf30bbc27e262959f249506d8da00ef64c2add98
|
||||
DIST mediainfo_0.7.80.tar.xz 1293796 SHA256 2030a3075111c78282579c15eea8e5215717f19a8014490045d157b6098f3c8a SHA512 1ffaf931a21fa8cbd15a67d033d60a22b2ecba24870740d7a241f130303cca883c9df7b333b860a0a4a6ff6647418b4eb142cfbb97d4aad7725f5ad2ebbf7384 WHIRLPOOL b072a42564387860c5179f43e1233abb2406e0e21446f1a9391bdc5ca21fc8ab534cc15b38ddb4aa79ccdb79c976256db2edbad2852433aa64c9959fbc7e1003
|
||||
DIST mediainfo_0.7.81.tar.xz 1295940 SHA256 077c9eb3471ec8a8160d154047692b001b09877bcd9bea18c4f0413c894750a9 SHA512 7ca2fccd62096ed4924ccc9bdac799a33252121ef8c634dfbbf6e547da151a4549aadf82335091d471c911c026b65ceb9bfc9d4c75dafff12c91e1fd0c41e107 WHIRLPOOL 08c87a80ce6bbd14b1060c3087834ac278ad7ff53cfb8510b313e91c16657c49c399a8f3891b692c502bdb1151fff840a502a7e948d2d249fbb8c320a5b4be37
|
||||
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
inherit eutils autotools wxwidgets multilib
|
||||
|
||||
DESCRIPTION="MediaInfo supplies technical and tag information about media files"
|
||||
HOMEPAGE="http://mediaarea.net/mediainfo/"
|
||||
SRC_URI="http://mediaarea.net/download/source/${PN}/${PV}/${P/-/_}.tar.xz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="curl mms wxwidgets"
|
||||
|
||||
RDEPEND="sys-libs/zlib
|
||||
media-libs/libzen
|
||||
~media-libs/lib${P}[curl=,mms=]
|
||||
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/MediaInfo
|
||||
|
||||
pkg_setup() {
|
||||
TARGETS="CLI"
|
||||
use wxwidgets && TARGETS+=" GUI"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
|
||||
local target
|
||||
for target in ${TARGETS}; do
|
||||
cd "${S}"/Project/GNU/${target}
|
||||
sed -i -e "s:-O2::" configure.ac
|
||||
eautoreconf
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local target
|
||||
for target in ${TARGETS}; do
|
||||
cd "${S}"/Project/GNU/${target}
|
||||
local args=""
|
||||
[[ ${target} == "GUI" ]] && args="--with-wxwidgets --with-wx-gui"
|
||||
econf ${args}
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local target
|
||||
for target in ${TARGETS}; do
|
||||
cd "${S}"/Project/GNU/${target}
|
||||
default
|
||||
done
|
||||
}
|
||||
src_install() {
|
||||
local target
|
||||
for target in ${TARGETS}; do
|
||||
cd "${S}"/Project/GNU/${target}
|
||||
default
|
||||
dodoc "${S}"/History_${target}.txt
|
||||
if [[ ${target} == "GUI" ]]; then
|
||||
newicon "${S}"/Source/Resource/Image/MediaInfo.png ${PN}.png
|
||||
make_desktop_entry ${PN}-gui MediaInfo ${PN} "AudioVideo;GTK"
|
||||
fi
|
||||
done
|
||||
}
|
@ -1 +1 @@
|
||||
Wed, 13 Jan 2016 12:43:57 +0000
|
||||
Thu, 14 Jan 2016 05:43:52 +0000
|
||||
|
@ -1 +1 @@
|
||||
Wed, 13 Jan 2016 12:43:57 +0000
|
||||
Thu, 14 Jan 2016 05:43:52 +0000
|
||||
|
@ -1,15 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-python/setuptools[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] test? ( paramiko? ( dev-python/paramiko[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) keyczar? ( dev-python/keyczar[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) dev-python/jinja[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pyyaml[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/setuptools[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/pycrypto-2.6[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/httplib2[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/six[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] net-misc/sshpass virtual/ssh dev-python/nose[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/mock-1.0.1[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] <dev-python/mock-1.1[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/passlib[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/coverage[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/unittest2[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-vcs/git ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
DESCRIPTION=Model-driven deployment, config management, and command execution framework
|
||||
EAPI=5
|
||||
HOMEPAGE=http://ansible.com/
|
||||
IUSE=keyczar paramiko test python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~x86 ~x64-macos
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=paramiko? ( dev-python/paramiko[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) keyczar? ( dev-python/keyczar[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) dev-python/jinja[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pyyaml[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/setuptools[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/pycrypto-2.6[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/httplib2[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/six[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] net-misc/sshpass virtual/ssh python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/a/ansible/ansible-2.0.0.1.tar.gz
|
||||
_eclasses_=distutils-r1 4e8ac1ba76ddacd8f7c0289aa586a34c eutils d9bd2ddd85a58e470b49ca997e255a4c multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 30887c5e8630bbf27b5cf0fd74564323 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=1887b60d58f5ec4d4ad1e5dec5c0f86c
|
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-python/setuptools[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] test? ( keyczar? ( dev-python/keyczar[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) dev-python/paramiko[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/jinja[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pyyaml[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/setuptools[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/pycrypto-2.6[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/httplib2[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/six[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] net-misc/sshpass virtual/ssh dev-python/nose[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/mock-1.0.1[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] <dev-python/mock-1.1[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/passlib[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/coverage[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/unittest2[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-vcs/git ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
DESCRIPTION=Model-driven deployment, config management, and command execution framework
|
||||
EAPI=5
|
||||
HOMEPAGE=http://ansible.com/
|
||||
IUSE=keyczar test python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~x86 ~x64-macos
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=keyczar? ( dev-python/keyczar[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) dev-python/paramiko[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/jinja[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pyyaml[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/setuptools[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/pycrypto-2.6[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/httplib2[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/six[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] net-misc/sshpass virtual/ssh python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/a/ansible/ansible-2.0.0.1.tar.gz
|
||||
_eclasses_=distutils-r1 4e8ac1ba76ddacd8f7c0289aa586a34c eutils d9bd2ddd85a58e470b49ca997e255a4c multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 30887c5e8630bbf27b5cf0fd74564323 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=a8f103fab51152b97602e78b10557fae
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue