mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
*/*: [QA] Use consistent function definition formatting
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -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."
|
||||
}
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -60,7 +60,7 @@ src_compile() {
|
||||
use python && distutils-r1_src_compile
|
||||
}
|
||||
|
||||
python_test(){
|
||||
python_test() {
|
||||
esetup.py test || die
|
||||
}
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ src_compile() {
|
||||
use python && distutils-r1_src_compile
|
||||
}
|
||||
|
||||
python_test(){
|
||||
python_test() {
|
||||
esetup.py test || die
|
||||
}
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ src_compile() {
|
||||
use python && distutils-r1_src_compile
|
||||
}
|
||||
|
||||
python_test(){
|
||||
python_test() {
|
||||
esetup.py test || die
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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="
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -37,6 +37,6 @@ src_compile() {
|
||||
emake CFLAGS="${CFLAGS}" dumpet
|
||||
}
|
||||
|
||||
pkg_setup(){
|
||||
pkg_setup() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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() {
|
||||
:
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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."
|
||||
}
|
||||
|
||||
@@ -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} \
|
||||
|
||||
@@ -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} \
|
||||
|
||||
@@ -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} \
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ pkg_postinst() {
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm(){
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ src_compile() {
|
||||
PKG_CONFIG="$(tc-getPKG_CONFIG)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
src_install() {
|
||||
dobin mg
|
||||
doman mg.1
|
||||
dodoc README tutorial
|
||||
|
||||
@@ -31,7 +31,7 @@ src_compile() {
|
||||
PKG_CONFIG="$(tc-getPKG_CONFIG)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
src_install() {
|
||||
dobin mg
|
||||
doman mg.1
|
||||
dodoc README tutorial
|
||||
|
||||
@@ -31,7 +31,7 @@ src_compile() {
|
||||
PKG_CONFIG="$(tc-getPKG_CONFIG)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
src_install() {
|
||||
dobin mg
|
||||
doman mg.1
|
||||
dodoc README tutorial
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)" \
|
||||
|
||||
@@ -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)" \
|
||||
|
||||
@@ -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)" \
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ PATCHES=(
|
||||
"${FILESDIR}"/${MY_PV_1}/
|
||||
)
|
||||
|
||||
pkg_setup () {
|
||||
pkg_setup() {
|
||||
CONFIG_CHECK="~KVM ~VIRTIO"
|
||||
[ -n "${CONFIG_CHECK}" ] && check_extra_config;
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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."
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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)
|
||||
)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -35,7 +35,7 @@ src_prepare() {
|
||||
vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure(){
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DSYSCONFDIR="${EPREFIX}/etc"
|
||||
-DMOVIES=$(usex gstreamer on off)
|
||||
|
||||
@@ -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)"
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -47,7 +47,7 @@ src_test() {
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use perl ; then
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
python_compile_all(){
|
||||
python_compile_all() {
|
||||
use examples && emake -C samples all
|
||||
}
|
||||
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user