*/*: [QA] Use consistent function definition formatting

Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2020-02-22 22:07:26 +01:00
parent 0aa6646d51
commit 3b8cba93fa
922 changed files with 1638 additions and 1638 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,7 +14,7 @@ IUSE=""
RDEPEND="app-accessibility/speech-dispatcher"
src_compile(){
src_compile() {
einfo "Nothing to compile."
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -58,7 +58,7 @@ python_install() {
fi
}
pkg_postinst () {
pkg_postinst() {
if use server; then
einfo "If this is a new installation, you probably need to run:"
einfo " bcfg2-admin init"

View File

@@ -38,7 +38,7 @@ src_configure() {
--with-init-script=systemd
}
src_install () {
src_install() {
default
# I see no reason to have the tests in the filesystem. Drop them

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -38,7 +38,7 @@ src_configure() {
--with-init-script=systemd
}
src_install () {
src_install() {
default
# I see no reason to have the tests in the filesystem. Drop them

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -16,7 +16,7 @@ IUSE=""
DOCS=( CREDITS README )
src_prepare() {
src_prepare() {
default
sed -i "s/make\( \|$\)/\$(MAKE)\1/g" Makefile.in || die
sed -i \

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -25,7 +25,7 @@ src_compile() {
emake RPM_BUILD_ROOT="${D}" PREFIX=/usr
}
src_install(){
src_install() {
emake RPM_BUILD_ROOT="${D}" PREFIX=/usr VERSION=${PVR} install
doinitd "${FILESDIR}"/verynice
systemd_dounit "${FILESDIR}"/verynice.service

View File

@@ -60,7 +60,7 @@ src_compile() {
use python && distutils-r1_src_compile
}
python_test(){
python_test() {
esetup.py test || die
}

View File

@@ -59,7 +59,7 @@ src_compile() {
use python && distutils-r1_src_compile
}
python_test(){
python_test() {
esetup.py test || die
}

View File

@@ -59,7 +59,7 @@ src_compile() {
use python && distutils-r1_src_compile
}
python_test(){
python_test() {
esetup.py test || die
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -25,7 +25,7 @@ src_compile() {
emake -Cprograms CC="$(tc-getCC)" lz5
}
src_install(){
src_install() {
emake install DESTDIR="${D}" PREFIX="/usr" LIBDIR="/usr/$(get_libdir)"
if ! use static-libs; then
rm "${D}"/usr/$(get_libdir)/liblz5.a || die

View File

@@ -12,7 +12,7 @@ SRC_URI="https://code.launchpad.net/${PN}/$(ver_cut 1-2)-series/${PV}/+download/
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="s3 test"
CDEPEND="

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -29,13 +29,13 @@ RDEPEND="
udev? ( virtual/udev )
"
src_prepare () {
src_prepare() {
epatch "${FILESDIR}/${P}-add-support-for-gentoo-kernels.patch"
}
src_compile () { :; }
src_compile() { :; }
src_install () {
src_install() {
# Deploy udev USB rule and udev will autostart ReaR workflows in case a USB
# drive with the label 'REAR_000' is connected, which in turn is the
# default label when running the `rear format` command.

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -31,9 +31,9 @@ RDEPEND="
udev? ( virtual/udev )
"
src_compile () { :; }
src_compile() { :; }
src_install () {
src_install() {
# Deploy udev USB rule and udev will autostart ReaR workflows in case a USB
# drive with the label 'REAR_000' is connected, which in turn is the
# default label when running the `rear format` command.

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -31,9 +31,9 @@ RDEPEND="
udev? ( virtual/udev )
"
src_compile () { :; }
src_compile() { :; }
src_install () {
src_install() {
# Deploy udev USB rule and udev will autostart ReaR workflows in case a USB
# drive with the label 'REAR_000' is connected, which in turn is the
# default label when running the `rear format` command.

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -114,7 +114,7 @@ src_unpack() {
chmod -R u+w "${S}" || die
}
src_install(){
src_install() {
cp -a opt "${D}" || die
cp -a usr "${D}" || die

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -114,7 +114,7 @@ src_unpack() {
chmod -R u+w "${S}" || die
}
src_install(){
src_install() {
cp -a opt "${D}" || die
cp -a usr "${D}" || die

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -19,7 +19,7 @@ PATCHES=(
"${FILESDIR}/${P}-fix-buildsystem.patch"
)
src_prepare () {
src_prepare() {
# fix #570250 by restoring pre-GCC5 inline semantics
append-cflags -std=gnu89

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -19,7 +19,7 @@ IUSE="cpu_flags_x86_sse pic"
S="${WORKDIR}/${MY_P}"
src_configure(){
src_configure() {
local obj
local arch_prefix=./
@@ -53,7 +53,7 @@ src_configure(){
echo "ramsmp: ${obj[@]}" > Makefile
}
src_install(){
src_install() {
dobin ramsmp
dosym ramsmp /usr/bin/ramspeed
dodoc HISTORY README

View File

@@ -37,6 +37,6 @@ src_compile() {
emake CFLAGS="${CFLAGS}" dumpet
}
pkg_setup(){
pkg_setup() {
tc-export CC
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -22,18 +22,18 @@ RDEPEND=""
S=${WORKDIR}/${MY_P}
src_prepare () {
src_prepare() {
sed -i "s:wirouterkeyrec:${PN}:" src/*.h || die
}
src_compile () {
src_compile() {
emake \
CC="$(tc-getCC)" \
CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}"
}
src_install () {
src_install() {
newbin build/wirouterkeyrec ${PN}
insinto /etc/${PN}
doins config/agpf_config.lst config/teletu_config.lst

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -77,14 +77,14 @@ src_install() {
fi
}
pkg_postinst(){
pkg_postinst() {
if use gtk; then
gnome2_schemas_update
gnome2_icon_cache_update
fi
}
pkg_postrm(){
pkg_postrm() {
if use gtk; then
gnome2_schemas_update
gnome2_icon_cache_update

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -86,7 +86,7 @@ src_install() {
fi
}
pkg_postinst(){
pkg_postinst() {
if use gtk; then
gnome2_schemas_update
xdg_desktop_database_update
@@ -94,7 +94,7 @@ pkg_postinst(){
fi
}
pkg_postrm(){
pkg_postrm() {
if use gtk; then
gnome2_schemas_update
xdg_desktop_database_update

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -86,7 +86,7 @@ src_install() {
fi
}
pkg_postinst(){
pkg_postinst() {
if use gtk; then
gnome2_schemas_update
xdg_desktop_database_update
@@ -94,7 +94,7 @@ pkg_postinst(){
fi
}
pkg_postrm(){
pkg_postrm() {
if use gtk; then
gnome2_schemas_update
xdg_desktop_database_update

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -68,14 +68,14 @@ src_install() {
fi
}
pkg_postinst(){
pkg_postinst() {
if use gtk; then
gnome2_schemas_update
gnome2_icon_cache_update
fi
}
pkg_postrm(){
pkg_postrm() {
if use gtk; then
gnome2_schemas_update
gnome2_icon_cache_update

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -26,7 +26,7 @@ src_prepare() {
python_fix_shebang .
}
src_compile(){
src_compile() {
:
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -16,7 +16,7 @@ RDEPEND="${DEPEND}"
S=${WORKDIR}/vera-${PV}
src_compile () {
src_compile() {
# sed -f debian/dict-vera/sedfile vera.? >vera1 || die
# sed '1,2!s/^/ /' vera. > vera || die
# cat vera1>>vera || die
@@ -26,7 +26,7 @@ src_compile () {
/usr/bin/dictzip -v vera.dict || die
}
src_install () {
src_install() {
dodir /usr/lib/dict
insinto /usr/lib/dict
doins vera.dict.dz

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
@@ -21,7 +21,7 @@ src_prepare() {
eautoreconf
}
src_install () {
src_install() {
default
insinto /etc

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -75,11 +75,11 @@ src_configure() {
--with-tk="${EPREFIX}"/usr/$(get_libdir)
}
src_compile(){
src_compile() {
emake -e
}
src_install(){
src_install() {
# For clarification, WN is still on version 3.0. Only the database files
# have been updated to 3.1 as a package for 3.1 does not currently exist.
emake -e DESTDIR="${D}" install
@@ -88,7 +88,7 @@ src_install(){
mv "${WORKDIR}/dict" "${D}/usr/share/wordnet" || die
}
pkg_postinst(){
pkg_postinst() {
elog "The WordNet 3.1 ebuild has installed WordNet v3.0 with v3.1 database files instead."
elog "See https://wordnet.princeton.edu/download/current-version/ for more."
}

View File

@@ -227,7 +227,7 @@ src_compile() {
RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs"
}
src_install () {
src_install() {
emake DESTDIR="${D}" install
rm "${ED}"/usr/bin/emacs-${FULL_VERSION}-${EMACS_SUFFIX} \

View File

@@ -227,7 +227,7 @@ src_compile() {
emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs"
}
src_install () {
src_install() {
emake DESTDIR="${D}" NO_BIN_LINK=t install
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} \

View File

@@ -238,7 +238,7 @@ src_compile() {
emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs"
}
src_install () {
src_install() {
emake DESTDIR="${D}" NO_BIN_LINK=t install
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} \

View File

@@ -256,7 +256,7 @@ src_compile() {
emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs"
}
src_install () {
src_install() {
emake DESTDIR="${D}" NO_BIN_LINK=t install
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} || die

View File

@@ -256,7 +256,7 @@ src_compile() {
emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs"
}
src_install () {
src_install() {
emake DESTDIR="${D}" NO_BIN_LINK=t install
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} || die

View File

@@ -286,7 +286,7 @@ src_configure() {
# emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs"
#}
src_install () {
src_install() {
emake DESTDIR="${D}" NO_BIN_LINK=t install
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} || die

View File

@@ -286,7 +286,7 @@ src_configure() {
# emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs"
#}
src_install () {
src_install() {
emake DESTDIR="${D}" NO_BIN_LINK=t install
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} || die

View File

@@ -283,7 +283,7 @@ src_configure() {
# emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs"
#}
src_install () {
src_install() {
emake DESTDIR="${D}" NO_BIN_LINK=t install
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} || die

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -61,7 +61,7 @@ src_test() {
java-pkg-2_src_test
}
src_install () {
src_install() {
dodir ${JEDIT_HOME}
cp -R build/${PN}.jar jars doc keymaps macros modes properties startup \

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -65,7 +65,7 @@ src_test() {
java-pkg-2_src_test
}
src_install () {
src_install() {
dodir ${JEDIT_HOME}
cp -R build/${PN}.jar jars doc keymaps macros modes properties startup \

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -46,7 +46,7 @@ src_compile() {
-Dclasspath="$(java-pkg_getjars jython-2.7,jgoodies-looks-1.2,gnu-regexp-1)"
}
src_install () {
src_install() {
java-pkg_newjar lib/${P}.jar
java-pkg_dojar lib/dawn*.jar

View File

@@ -50,7 +50,7 @@ pkg_postinst() {
fi
}
pkg_postrm(){
pkg_postrm() {
xdg_desktop_database_update
gnome2_icon_cache_update
}

View File

@@ -32,7 +32,7 @@ src_compile() {
PKG_CONFIG="$(tc-getPKG_CONFIG)"
}
src_install() {
src_install() {
dobin mg
doman mg.1
dodoc README tutorial

View File

@@ -31,7 +31,7 @@ src_compile() {
PKG_CONFIG="$(tc-getPKG_CONFIG)"
}
src_install() {
src_install() {
dobin mg
doman mg.1
dodoc README tutorial

View File

@@ -31,7 +31,7 @@ src_compile() {
PKG_CONFIG="$(tc-getPKG_CONFIG)"
}
src_install() {
src_install() {
dobin mg
doman mg.1
dodoc README tutorial

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -54,7 +54,7 @@ pkg_postinst() {
elisp-site-regen
}
pkg_postrm(){
pkg_postrm() {
use preview-latex && texmf-update
elisp-site-regen
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -56,7 +56,7 @@ pkg_postinst() {
elisp-site-regen
}
pkg_postrm(){
pkg_postrm() {
use preview-latex && texmf-update
elisp-site-regen
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -55,7 +55,7 @@ pkg_postinst() {
elisp-site-regen
}
pkg_postrm(){
pkg_postrm() {
use preview-latex && texmf-update
elisp-site-regen
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -43,7 +43,7 @@ src_compile() {
emake -C nicola
}
src_install () {
src_install() {
local lispdir=${SITELISP}/${PN}
emake install-elc
elisp-compile "${ED}"/${lispdir}/skk-setup.el

View File

@@ -222,7 +222,7 @@ QA_FLAGS_IGNORED="
/usr/lib64/ganeti/2.15/usr/bin/htools
"
pkg_setup () {
pkg_setup() {
local user
python-single-r1_pkg_setup
@@ -281,7 +281,7 @@ src_prepare() {
eautoreconf
}
src_configure () {
src_configure() {
# this is kind of a hack to work around the removal of the qemu-kvm wrapper
local kvm_arch
@@ -314,7 +314,7 @@ src_configure () {
--enable-socat-compress
}
src_install () {
src_install() {
emake V=1 DESTDIR="${D}" install
newinitd "${T}"/ganeti.initd ${PN}
@@ -375,7 +375,7 @@ pkg_postinst() {
fi
}
src_test () {
src_test() {
PATH="${S}/scripts:${S}/src:${PATH}" \
TMPDIR="/tmp" \
GANETI_MASTER="$(hostname -f)" \

View File

@@ -196,7 +196,7 @@ QA_WX_LOAD="
usr/lib*/${PN}/${SERIES}/usr/bin/htools
"
pkg_setup () {
pkg_setup() {
local user
python-single-r1_pkg_setup
@@ -252,7 +252,7 @@ src_prepare() {
eautoreconf
}
src_configure () {
src_configure() {
# this is kind of a hack to work around the removal of the qemu-kvm wrapper
local kvm_arch
@@ -285,7 +285,7 @@ src_configure () {
--enable-socat-compress
}
src_install () {
src_install() {
emake V=1 DESTDIR="${D}" install
newinitd "${FILESDIR}"/ganeti.initd-r3 ${PN}
@@ -346,7 +346,7 @@ pkg_postinst() {
fi
}
src_test () {
src_test() {
PATH="${S}/scripts:${S}/src:${PATH}" \
TMPDIR="/tmp" \
GANETI_MASTER="$(hostname -f)" \

View File

@@ -196,7 +196,7 @@ QA_WX_LOAD="
usr/lib*/${PN}/${SERIES}/usr/bin/htools
"
pkg_setup () {
pkg_setup() {
local user
python-single-r1_pkg_setup
@@ -252,7 +252,7 @@ src_prepare() {
eautoreconf
}
src_configure () {
src_configure() {
# this is kind of a hack to work around the removal of the qemu-kvm wrapper
local kvm_arch
@@ -285,7 +285,7 @@ src_configure () {
--enable-socat-compress
}
src_install () {
src_install() {
emake V=1 DESTDIR="${D}" install
newinitd "${FILESDIR}"/ganeti.initd-r3 ${PN}
@@ -346,7 +346,7 @@ pkg_postinst() {
fi
}
src_test () {
src_test() {
PATH="${S}/scripts:${S}/src:${PATH}" \
TMPDIR="/tmp" \
GANETI_MASTER="$(hostname -f)" \

View File

@@ -106,7 +106,7 @@ RDEPEND="${COMMON_DEPEND}
DOCS=( AUTHORS BUGS ChangeLog HACKING README TODO )
pkg_setup () {
pkg_setup() {
CONFIG_CHECK="~KVM ~VIRTIO"
[ -n "${CONFIG_CHECK}" ] && check_extra_config;

View File

@@ -111,7 +111,7 @@ PATCHES=(
"${FILESDIR}"/${MY_PV_1}/0004-Loosen-build-time-requirement-on-bash-completion.patch
)
pkg_setup () {
pkg_setup() {
CONFIG_CHECK="~KVM ~VIRTIO"
[ -n "${CONFIG_CHECK}" ] && check_extra_config;

View File

@@ -107,7 +107,7 @@ PATCHES=(
"${FILESDIR}"/${MY_PV_1}/
)
pkg_setup () {
pkg_setup() {
CONFIG_CHECK="~KVM ~VIRTIO"
[ -n "${CONFIG_CHECK}" ] && check_extra_config;

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -21,7 +21,7 @@ DEPEND="!!app-emulation/wine:0"
S="${WORKDIR}"
src_install(){
src_install() {
insinto /usr/share/wine/gecko
use abi_x86_32 && doins "${DISTDIR}/${MY_PN}-${PV}-x86.msi"
use abi_x86_64 && doins "${DISTDIR}/${MY_PN}-${PV}-x86_64.msi"

View File

@@ -19,7 +19,7 @@ DEPEND="!!app-emulation/wine:0"
S="${WORKDIR}"
src_install(){
src_install() {
insinto /usr/share/wine/gecko
use abi_x86_32 && doins "${DISTDIR}/${PN}-${PV}-x86.msi"
use abi_x86_64 && doins "${DISTDIR}/${PN}-${PV}-x86_64.msi"

View File

@@ -18,7 +18,7 @@ IUSE="fpm apache2"
RDEPEND="app-admin/eselect
apache2? ( www-servers/apache[apache2_modules_dir] )"
src_configure(){
src_configure() {
# We expect localstatedir to be "var"ish, not "var/lib"ish, because
# that's what PHP upstream expects. See for example the FPM
# configuration where they put logs in @localstatedir@/log.

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -18,7 +18,7 @@ IUSE="fpm apache2"
RDEPEND="app-admin/eselect
apache2? ( www-servers/apache[apache2_modules_dir] )"
src_configure(){
src_configure() {
# We expect localstatedir to be "var"ish, not "var/lib"ish, because
# that's what PHP upstream expects. See for example the FPM
# configuration where they put logs in @localstatedir@/log.

View File

@@ -23,7 +23,7 @@ src_prepare() {
eautoreconf
}
src_configure(){
src_configure() {
# We expect localstatedir to be "var"ish, not "var/lib"ish, because
# that's what PHP upstream expects. See for example the FPM
# configuration where they put logs in @localstatedir@/log.

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -78,11 +78,11 @@ src_prepare() {
tc-export CXX
}
src_compile () {
src_compile() {
emake -C project/linux
}
src_install () {
src_install() {
# no make install in Makefile
dosbin project/linux/Release/ovaldi project/linux/ovaldi.sh
dodir /var/log/${PN}

View File

@@ -27,7 +27,7 @@ pkg_setup() {
fi
}
src_configure(){
src_configure() {
econf \
$(use_enable libconfig) \
--with-systemdsystemunitdir=$(systemd_get_unitdir) \
@@ -41,7 +41,7 @@ src_install() {
readme.gentoo_create_doc
}
pkg_postinst(){
pkg_postinst() {
[[ -z $(ls "${ROOT}"sys/block/*/queue/protect 2>/dev/null) ]] && \
[[ -z $(ls "${ROOT}"sys/block/*/device/unload_heads 2>/dev/null) ]] && \
ewarn "Your kernel does NOT support shock protection."

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -25,7 +25,7 @@ RDEPEND="${DEPEND}
REQUIRED_USE="|| ( mysql sqlite postgres )"
pkg_postinst(){
pkg_postinst() {
if use mysql; then
ewarn "Support for MySQL databases is experimental and is more likely"
ewarn "to contain bugs or mishandle your data than other storage"

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -22,7 +22,7 @@ RDEPEND="${DEPEND}
geoip? ( dev-libs/geoip )
"
src_configure(){
src_configure() {
local mycmakeargs=(
-DENABLE_BITTORRENT_GEOIP=$(usex geoip)
)

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -28,7 +28,7 @@ DEPEND="
vangog? ( dev-qt/qtxml:5 )"
RDEPEND="${DEPEND}"
src_configure(){
src_configure() {
local mycmakeargs=(
-DENABLE_BLASQ_DEATHNOTE=$(usex deathnote)
-DENABLE_BLASQ_RAPPOR=$(usex rappor)

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -17,7 +17,7 @@ DEPEND="~app-leechcraft/lc-core-${PV}
"
RDEPEND="${DEPEND}"
src_configure(){
src_configure() {
local mycmakeargs=(
-DENABLE_NETSTOREMANAGER_DROPBOX=$(usex dropbox)
-DENABLE_NETSTOREMANAGER_GOOGLEDRIVE=$(usex googledrive)

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -18,7 +18,7 @@ DEPEND="~app-leechcraft/lc-core-${PV}
"
RDEPEND="${DEPEND}"
src_configure(){
src_configure() {
local mycmakeargs=(
-DENABLE_OTLOZHU_SYNC=OFF
)

View File

@@ -1,4 +1,4 @@
# Copyright 2019 Gentoo Authors
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -18,7 +18,7 @@ DEPEND="
"
RDEPEND="${DEPEND}"
src_install(){
src_install() {
dobin cfiles
dobin scripts/displayimg_uberzug
dobin scripts/clearimg_uberzug

View File

@@ -1,4 +1,4 @@
# Copyright 2019 Gentoo Authors
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -18,7 +18,7 @@ DEPEND="
"
RDEPEND="${DEPEND}"
src_install(){
src_install() {
dobin cfiles
dobin scripts/displayimg_uberzug
dobin scripts/clearimg_uberzug

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,7 +13,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
src_prepare() {
src_prepare() {
default
sed -i \
@@ -26,7 +26,7 @@ src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
}
src_install() {
src_install() {
dobin "${PN}"
doman "${PN}.1"
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -21,7 +21,7 @@ src_compile() {
emake CC="$(tc-getCC)"
}
src_install(){
src_install() {
dobin crunch
doman crunch.1
insinto /usr/share/crunch

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -22,7 +22,7 @@ DEPEND="${RDEPEND}
dev-util/intltool
dev-perl/XML-Parser"
src_prepare(){
src_prepare() {
touch db/options.xml.h ABOUT-NLS config.rpath || die
eautoreconf
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -35,7 +35,7 @@ RDEPEND="virtual/libusb:1
QA_PREBUILT="/usr/bin/*"
src_install () {
src_install() {
udev_newrules etc/udev/rules.d/99-flirc.rules 51-flirc.rules
dobin usr/bin/flirc_util
doman usr/share/doc/flirc/flirc_util.1

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -36,7 +36,7 @@ RDEPEND="virtual/libusb:1
QA_PREBUILT="/usr/bin/*"
src_install () {
src_install() {
udev_newrules etc/udev/rules.d/99-flirc.rules 51-flirc.rules
dobin usr/bin/flirc_util
doman usr/share/doc/flirc/flirc_util.1

View File

@@ -36,7 +36,7 @@ RDEPEND="virtual/libusb:1
QA_PREBUILT="/usr/bin/*"
src_install () {
src_install() {
udev_newrules etc/udev/rules.d/99-flirc.rules 51-flirc.rules
dobin usr/bin/flirc_util
doman usr/share/doc/flirc/flirc_util.1

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -35,7 +35,7 @@ src_prepare() {
vala_src_prepare
}
src_configure(){
src_configure() {
local mycmakeargs=(
-DSYSCONFDIR="${EPREFIX}/etc"
-DMOVIES=$(usex gstreamer on off)

View File

@@ -35,7 +35,7 @@ src_prepare() {
vala_src_prepare
}
src_configure(){
src_configure() {
local mycmakeargs=(
-DSYSCONFDIR="${EPREFIX}/etc"
-DMOVIES=$(usex gstreamer on off)

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
@@ -23,12 +23,12 @@ S="${WORKDIR}/${MY_P}"
DOCS="README snooptab.dist"
src_prepare(){
src_prepare() {
epatch "${FILESDIR}"/pinkbyte_masking.patch
epatch "${FILESDIR}"/"${PN}"-makefile.patch
}
src_compile(){
src_compile() {
emake CC="$(tc-getCC)"
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -119,7 +119,7 @@ src_unpack() {
done
}
src_install () {
src_install() {
INSTDIR="/usr/$(get_libdir)/${NM}"
dodir ${INSTDIR}
# mv "${WORKDIR}"/opt/${NM}/* "${ED}${INSTDIR}" || die

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -55,7 +55,7 @@ src_compile() {
sed -i -e "s:${D}::g" sc.1 || die
}
src_install () {
src_install() {
dodir /usr/bin
dodir /usr/$(get_libdir)/sc
dodir /usr/share/man/man1

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -31,11 +31,11 @@ PATCHES=(
"${FILESDIR}"/${PN}-0.4.6-cxx.patch
)
src_compile () {
src_compile() {
emake CXX=$(tc-getCXX)
}
src_install () {
src_install() {
emake DESTDIR="${D}" PREFIX=/usr install
dodoc "${S}"/../{README,ChangeLog}
doman "${S}"/../deltup.1

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -22,7 +22,7 @@ src_prepare() {
epatch "${FILESDIR}"/${P}.patch
}
src_install () {
src_install() {
# portage has moved make.globals, so we just hotfix it
sed -i -e "s:/etc/make.globals:/usr/share/portage/config/make.globals:g" "${WORKDIR}"/getdelta.sh || die "Couldn't fix make.globals path"

View File

@@ -55,7 +55,7 @@ pkg_setup() {
layman_check_kernel_config
}
python_prepare_all() {
python_prepare_all() {
python_setup
esetup.py setup_plugins
distutils-r1_python_prepare_all

View File

@@ -61,7 +61,7 @@ pkg_setup() {
layman_check_kernel_config
}
python_prepare_all() {
python_prepare_all() {
python_setup
esetup.py setup_plugins
distutils-r1_python_prepare_all

View File

@@ -61,7 +61,7 @@ pkg_setup() {
layman_check_kernel_config
}
python_prepare_all() {
python_prepare_all() {
python_setup
esetup.py setup_plugins
distutils-r1_python_prepare_all

View File

@@ -26,7 +26,7 @@ RDEPEND="
>=dev-python/ssl-fetch-0.3[${PYTHON_USEDEP}]
"
python_prepare_all() {
python_prepare_all() {
python_setup
eprefixify setup.py mirrorselect/main.py
echo Now setting version... VERSION="${PVR}" "${PYTHON}" setup.py set_version

View File

@@ -26,7 +26,7 @@ RDEPEND="
>=dev-python/ssl-fetch-0.3[${PYTHON_USEDEP}]
"
python_prepare_all() {
python_prepare_all() {
python_setup
eprefixify setup.py mirrorselect/main.py
echo Now setting version... VERSION="${PVR}" "${PYTHON}" setup.py set_version

View File

@@ -26,7 +26,7 @@ RDEPEND="
>=dev-python/ssl-fetch-0.3[${PYTHON_USEDEP}]
"
python_prepare_all() {
python_prepare_all() {
python_setup
eprefixify setup.py mirrorselect/main.py
echo Now setting version... VERSION="${PVR}" "${PYTHON}" setup.py set_version

View File

@@ -26,7 +26,7 @@ RDEPEND="
=dev-python/ssl-fetch-9999[${PYTHON_USEDEP}]
"
python_prepare_all() {
python_prepare_all() {
python_setup
eprefixify setup.py mirrorselect/main.py
echo Now setting version... VERSION="9999-${EGIT_VERSION}" "${PYTHON}" setup.py set_version

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -33,7 +33,7 @@ PATCHES=(
"${FILESDIR}/${P}-missing-attribute.patch" #bug 323179
)
src_compile(){
src_compile() {
# Compile localizations if necessary
if use nls ; then
cd scripts

View File

@@ -47,7 +47,7 @@ src_test() {
fi
}
src_install () {
src_install() {
default
if use perl ; then

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -37,7 +37,7 @@ PATCHES=(
"${FILESDIR}/${P}-typos.patch"
)
src_prepare(){
src_prepare() {
use graphicsmagick && PATCHES+=( "${FILESDIR}/graphicsmagick.diff" )
cmake-utils_src_prepare

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -37,7 +37,7 @@ src_compile() {
emake CFLAGS="-Wall ${CFLAGS}"
}
src_install () {
src_install() {
default
python_optimize
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -37,7 +37,7 @@ src_compile() {
emake CFLAGS="-Wall ${CFLAGS}"
}
src_install () {
src_install() {
default
python_optimize
}

View File

@@ -33,7 +33,7 @@ src_compile() {
MANDIR="${EPREFIX}"/usr/share/man/man1
}
src_install () {
src_install() {
emake \
PREFIX="${ED}"/usr \
MANDIR="${ED}"/usr/share/man/man1 install

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -43,7 +43,7 @@ src_compile() {
emake UTF8_SUPPORT=$(usex unicode)
}
src_install () {
src_install() {
dobin multitail
insinto /etc

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -43,7 +43,7 @@ src_compile() {
emake UTF8_SUPPORT=$(usex unicode)
}
src_install () {
src_install() {
dobin multitail
insinto /etc

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -77,7 +77,7 @@ src_test() {
emake -j1 check
}
src_install () {
src_install() {
default
find "${ED}" -name '*.la' -delete || die

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -75,7 +75,7 @@ src_test() {
emake -j1 check
}
src_install () {
src_install() {
default
find "${ED}" -name '*.la' -delete || die

View File

@@ -16,7 +16,7 @@ KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
RESTRICT="!test? ( test )"
python_compile_all(){
python_compile_all() {
use examples && emake -C samples all
}

View File

@@ -15,7 +15,7 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc examples"
python_compile_all(){
python_compile_all() {
use examples && emake -C samples all
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -27,7 +27,7 @@ src_prepare() {
tc-export CC
}
src_install () {
src_install() {
dobin pstotext
doman pstotext.1
}

Some files were not shown because too many files have changed in this diff Show More