parent
e71b68a37a
commit
0fe0016fdd
Binary file not shown.
Binary file not shown.
@ -0,0 +1,8 @@
|
||||
# Copyright 2019-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-group
|
||||
|
||||
ACCT_GROUP_ID=303
|
Binary file not shown.
@ -0,0 +1,13 @@
|
||||
# Copyright 2019-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="user for dhcpcd client"
|
||||
ACCT_USER_ID=303
|
||||
ACCT_USER_GROUPS=( dhcpcd )
|
||||
ACCT_USER_HOME="/var/chroot/dhcpcd"
|
||||
|
||||
acct-user_add_deps
|
@ -1,8 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>games@gentoo.org</email>
|
||||
<name>Gentoo Games Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>base-system@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST ansible-lint-4.0.1.tar.gz 2909257 BLAKE2B c030b6fc58eaeeec42e40dd5bc46e5181916433b905bfc4a82382bf6bba8536d2639172aab0e2928ce1dd5489f322e19ab1c0ea5abb637562616addb9733e81a SHA512 a2f3bd44287a2c72f79c5fbb4c02446484cf764d386d403694325bce172e2b195dd4812e0f89e5f4e1930db124e2b383e4f067bed5d4858c354c0ae0b3fb03e4
|
||||
DIST ansible-lint-4.1.0.tar.gz 2911091 BLAKE2B b6e414dbdeebcc1cae900736829abf2db0930e5e05ae7c2bbd6d30a89b6ac28485ddfb63528bdc3baae6ef97ae7536507632d43b16f9a16dd86887d781940aeb SHA512 c1d07093d68bf5f43c20c3a999adf26d23ba587d5008a35069dcbab514b208737f5d0ecaf032e43d313233ea06193db81b349d5fb62f3ac684af9e51d8bc6e08
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Checks ansible playbooks for practices and behaviour that can be improved"
|
||||
HOMEPAGE="https://github.com/ansible/ansible-lint"
|
||||
SRC_URI="https://github.com/ansible/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
PATCHES="${FILESDIR}/${P}-specifierset-split-setuptools.patch"
|
||||
|
||||
CDEPEND="app-admin/ansible[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/ruamel-yaml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/flake8[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
)
|
||||
${CDEPEND}"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
python_test() {
|
||||
nosetests || die
|
||||
}
|
@ -0,0 +1,175 @@
|
||||
From c91d23b2f82b4efb540168132842b243eb2d8b0d Mon Sep 17 00:00:00 2001
|
||||
From: Sviatoslav Sydorenko <wk@sydorenko.org.ua>
|
||||
Date: Thu, 24 Oct 2019 01:38:35 +0200
|
||||
Subject: [PATCH] Drop support for setuptools older than 34.4.0
|
||||
|
||||
Resolves #599
|
||||
---
|
||||
setup.py | 141 +++++--------------------------------------------------
|
||||
1 file changed, 13 insertions(+), 128 deletions(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 25cc9e80d09e4657b56c4c4ed68d9411b7d7eae9..ff4c5bd65a7f5786c5af32750fb83dd3f6d92cec 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -1,138 +1,16 @@
|
||||
#! /usr/bin/env python
|
||||
"""Ansible-lint distribution package setuptools installer."""
|
||||
|
||||
-import setuptools
|
||||
-
|
||||
-
|
||||
-try:
|
||||
- from setuptools.config import read_configuration, ConfigOptionsHandler
|
||||
- import setuptools.config
|
||||
- import setuptools.dist
|
||||
-
|
||||
- # Set default value for 'use_scm_version'
|
||||
- setattr(setuptools.dist.Distribution, 'use_scm_version', False)
|
||||
-
|
||||
- # Attach bool parser to 'use_scm_version' option
|
||||
- class ShimConfigOptionsHandler(ConfigOptionsHandler):
|
||||
- """Extension class for ConfigOptionsHandler."""
|
||||
-
|
||||
- @property
|
||||
- def parsers(self):
|
||||
- """Return an option mapping with default data type parsers."""
|
||||
- _orig_parsers = super(ShimConfigOptionsHandler, self).parsers
|
||||
- return dict(use_scm_version=self._parse_bool, **_orig_parsers)
|
||||
-
|
||||
- setuptools.config.ConfigOptionsHandler = ShimConfigOptionsHandler
|
||||
-except ImportError:
|
||||
- """This is a shim for setuptools<30.3."""
|
||||
- import io
|
||||
- import json
|
||||
-
|
||||
- try:
|
||||
- from configparser import ConfigParser, NoSectionError
|
||||
- except ImportError:
|
||||
- from ConfigParser import ConfigParser, NoSectionError
|
||||
- ConfigParser.read_file = ConfigParser.readfp
|
||||
-
|
||||
- def maybe_read_files(d):
|
||||
- """Read files if the string starts with `file:` marker."""
|
||||
- d = d.strip()
|
||||
- if not d.startswith('file:'):
|
||||
- return d
|
||||
- descs = []
|
||||
- for fname in map(str.strip, str(d[5:]).split(',')):
|
||||
- with io.open(fname, encoding='utf-8') as f:
|
||||
- descs.append(f.read())
|
||||
- return ''.join(descs)
|
||||
-
|
||||
- def cfg_val_to_list(v):
|
||||
- """Turn config val to list and filter out empty lines."""
|
||||
- return list(filter(bool, map(str.strip, str(v).strip().splitlines())))
|
||||
|
||||
- def cfg_val_to_dict(v):
|
||||
- """Turn config val to dict and filter out empty lines."""
|
||||
- return dict(
|
||||
- map(lambda l: list(map(str.strip, l.split('=', 1))),
|
||||
- filter(bool, map(str.strip, str(v).strip().splitlines())))
|
||||
- )
|
||||
+__requires__ = ('setuptools >= 34.4', )
|
||||
|
||||
- def cfg_val_to_primitive(v):
|
||||
- """Parse primitive config val to appropriate data type."""
|
||||
- return json.loads(v.strip().lower())
|
||||
|
||||
- def read_configuration(filepath):
|
||||
- """Read metadata and options from setup.cfg located at filepath."""
|
||||
- cfg = ConfigParser()
|
||||
- with io.open(filepath, encoding='utf-8') as f:
|
||||
- cfg.read_file(f)
|
||||
-
|
||||
- md = dict(cfg.items('metadata'))
|
||||
- for list_key in 'classifiers', 'keywords':
|
||||
- try:
|
||||
- md[list_key] = cfg_val_to_list(md[list_key])
|
||||
- except KeyError:
|
||||
- pass
|
||||
- try:
|
||||
- md['long_description'] = maybe_read_files(md['long_description'])
|
||||
- except KeyError:
|
||||
- pass
|
||||
- opt = dict(cfg.items('options'))
|
||||
- for list_key in 'use_scm_version', 'zip_safe':
|
||||
- try:
|
||||
- opt[list_key] = cfg_val_to_primitive(opt[list_key])
|
||||
- except KeyError:
|
||||
- pass
|
||||
- for list_key in 'scripts', 'install_requires', 'setup_requires':
|
||||
- try:
|
||||
- opt[list_key] = cfg_val_to_list(opt[list_key])
|
||||
- except KeyError:
|
||||
- pass
|
||||
- try:
|
||||
- opt['package_dir'] = cfg_val_to_dict(opt['package_dir'])
|
||||
- except KeyError:
|
||||
- pass
|
||||
- try:
|
||||
- opt_package_data = dict(cfg.items('options.package_data'))
|
||||
- if not opt_package_data.get('', '').strip():
|
||||
- opt_package_data[''] = opt_package_data['*']
|
||||
- del opt_package_data['*']
|
||||
- except (KeyError, NoSectionError):
|
||||
- opt_package_data = {}
|
||||
- try:
|
||||
- opt_extras_require = dict(cfg.items('options.extras_require'))
|
||||
- opt['extras_require'] = {}
|
||||
- for k, v in opt_extras_require.items():
|
||||
- opt['extras_require'][k] = cfg_val_to_list(v)
|
||||
- except NoSectionError:
|
||||
- pass
|
||||
- opt['package_data'] = {}
|
||||
- for k, v in opt_package_data.items():
|
||||
- opt['package_data'][k] = cfg_val_to_list(v)
|
||||
- cur_pkgs = opt.get('packages', '').strip()
|
||||
- if '\n' in cur_pkgs:
|
||||
- opt['packages'] = cfg_val_to_list(opt['packages'])
|
||||
- elif cur_pkgs.startswith('find:'):
|
||||
- opt_packages_find = dict(cfg.items('options.packages.find'))
|
||||
- opt['packages'] = setuptools.find_packages(**opt_packages_find)
|
||||
- return {'metadata': md, 'options': opt}
|
||||
-
|
||||
-
|
||||
-setup_params = {}
|
||||
-declarative_setup_params = read_configuration('setup.cfg')
|
||||
-
|
||||
-# Patch incorrectly decoded package_dir option
|
||||
-# ``egg_info`` demands native strings failing with unicode under Python 2
|
||||
-# Ref https://github.com/pypa/setuptools/issues/1136
|
||||
-declarative_setup_params['options']['package_dir'] = {
|
||||
- str(k): str(v)
|
||||
- for k, v in declarative_setup_params['options']['package_dir'].items()
|
||||
-}
|
||||
-
|
||||
-setup_params = dict(setup_params, **declarative_setup_params['metadata'])
|
||||
-setup_params = dict(setup_params, **declarative_setup_params['options'])
|
||||
+import setuptools
|
||||
+from setuptools.config import read_configuration
|
||||
|
||||
|
||||
def cut_local_version_on_upload(version):
|
||||
+ """Generate a PEP440 local version if uploading to PyPI."""
|
||||
import os
|
||||
import setuptools_scm.version # only present during setup time
|
||||
IS_PYPI_UPLOAD = os.getenv('PYPI_UPLOAD') == 'true'
|
||||
@@ -142,8 +20,15 @@ def cut_local_version_on_upload(version):
|
||||
)
|
||||
|
||||
|
||||
-setup_params['use_scm_version'] = {
|
||||
- 'local_scheme': cut_local_version_on_upload,
|
||||
+# This is needed because even new
|
||||
+# setuptools don't parse
|
||||
+# `setup_requires` from `setup.cfg`:
|
||||
+declarative_setup_params = read_configuration('setup.cfg')
|
||||
+setup_params = {
|
||||
+ 'setup_requires': declarative_setup_params['options']['setup_requires'],
|
||||
+ 'use_scm_version': {
|
||||
+ 'local_scheme': cut_local_version_on_upload,
|
||||
+ }
|
||||
}
|
||||
|
||||
|
@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/python-diamond/Diamond.git"
|
||||
S=${WORKDIR}/diamond-${PV}
|
||||
else
|
||||
SRC_URI="https://github.com/python-diamond/Diamond/archive/v${PV}.tar.gz -> python-diamond-${PV}.tar.gz"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
S=${WORKDIR}/Diamond-${PV}
|
||||
fi
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 eutils prefix
|
||||
|
||||
DESCRIPTION="Python daemon that collects and publishes system metrics"
|
||||
HOMEPAGE="https://github.com/python-diamond/Diamond"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="test mongo mysql snmp redis"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-python/configobj
|
||||
dev-python/setproctitle
|
||||
mongo? ( dev-python/pymongo )
|
||||
mysql? ( dev-python/mysql-python )
|
||||
snmp? ( dev-python/pysnmp )
|
||||
redis? ( dev-python/redis-py )
|
||||
!kernel_linux? ( >=dev-python/psutil-3 )"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/mock )"
|
||||
|
||||
src_prepare() {
|
||||
# adjust for Prefix
|
||||
hprefixify bin/diamond*
|
||||
|
||||
# fix necessary to make handlers honour their config, simple sed
|
||||
# doing the same as upstream
|
||||
# https://github.com/python-diamond/Diamond/commit/3cb29eedd117d2e4146823a5c5811d16cc77206a.patch
|
||||
sed -i \
|
||||
-e '/cls_name =/s/\.__class__//' \
|
||||
src/diamond/utils/classes.py \
|
||||
|| die
|
||||
|
||||
epatch "${FILESDIR}"/${P}-psutil.patch
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" ./test.py || die "Tests fail with ${PYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
export VIRTUAL_ENV=1
|
||||
distutils-r1_python_install
|
||||
mv "${ED}"/usr/etc "${ED}"/ || die
|
||||
rm "${ED}"/etc/diamond/*.windows # won't need these
|
||||
sed -i \
|
||||
-e '/pid_file =/s:/var/run:/run:' \
|
||||
"${ED}"/etc/diamond/diamond.conf.example || die
|
||||
hprefixify "${ED}"/etc/diamond/diamond.conf.example
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
keepdir /var/log/diamond
|
||||
}
|
@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/python-diamond/Diamond.git"
|
||||
S=${WORKDIR}/diamond-${PV}
|
||||
else
|
||||
SRC_URI="https://github.com/python-diamond/Diamond/archive/v${PV}.tar.gz -> python-diamond-${PV}.tar.gz"
|
||||
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
S=${WORKDIR}/Diamond-${PV}
|
||||
fi
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 prefix
|
||||
|
||||
DESCRIPTION="Python daemon that collects and publishes system metrics"
|
||||
HOMEPAGE="https://github.com/python-diamond/Diamond"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="test mongo mysql snmp redis"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-python/configobj
|
||||
dev-python/setproctitle
|
||||
mongo? ( dev-python/pymongo )
|
||||
mysql? ( dev-python/mysql-python )
|
||||
snmp? ( dev-python/pysnmp )
|
||||
redis? ( dev-python/redis-py )
|
||||
!kernel_linux? ( >=dev-python/psutil-3 )"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/mock
|
||||
dev-python/pysnmp
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
# adjust for Prefix
|
||||
hprefixify bin/diamond*
|
||||
|
||||
# fix the version (not set in GitHub archive)
|
||||
sed -i -e "s/__VERSIONTOKENHERE__/${PV}/" src/diamond/version.py.tmpl || die
|
||||
# fix psutil usage
|
||||
sed -i -e 's/psutil\.network_io_counters/psutil.net_io_counters/' \
|
||||
src/collectors/network/network.py || die
|
||||
# fix symlink out of place
|
||||
rm README.md || die
|
||||
cp docs/index.md README.md || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# don't want to depend on docker for just this
|
||||
mv src/collectors/docker_collector/test/{test,no}docker_collector.py || die
|
||||
# fails on binding ports
|
||||
mv src/collectors/portstat/tests/{test,no}_portstat.py || die
|
||||
"${PYTHON}" ./test.py || die "Tests fail with ${PYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
export VIRTUAL_ENV=1
|
||||
distutils-r1_python_install
|
||||
mv "${ED}"/usr/etc "${ED}"/ || die
|
||||
rm "${ED}"/etc/diamond/*.windows # won't need these
|
||||
sed -i \
|
||||
-e '/pid_file =/s:/var/run:/run:' \
|
||||
"${ED}"/etc/diamond/diamond.conf.example || die
|
||||
hprefixify "${ED}"/etc/diamond/diamond.conf.example
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
keepdir /var/log/diamond
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST KeePass-2.42.1-Source.zip 5163432 BLAKE2B c24a57da863c92d3f89663f33ed89c277e248c926067c14a6a7e3526e77c458e943e62c4b98a3d86595eea308d8744fd4a17da6d5456030a771e324a662abd9f SHA512 c87581afbaa516f637848db134a8d945db168bbbe97789a9a7424600d4188a21d2b1b3cf907a20577b2903ce8916b6b12355a3296ee1630a5b556c9170c4fa22
|
||||
DIST KeePass-2.43-Source.zip 5177684 BLAKE2B 72530afd37139d250fe7378ccfec9056e9f2210aa9dfc4cc082d977ccfc517697bc52dad3d487ebabc796977cdbb9679df32a79a6be807c21ceab5931d464df0 SHA512 c403ae5d7b2a997e1aadffd6a522c8292d01a5803371af8b30734414ca5d47871b53a15067251d4cb072215fd41396465b0b16351e76dad7a48044b7ed62a7e8
|
||||
DIST KeePass-2.44-Source.zip 5182922 BLAKE2B 092d1b982d748ea1b13f26fe5423a491855cb491c80cae7632429d488f80fd730df5d2f1613bab528d55a3aadcf0cb4f4055a637d2b14b68a468e4baf9ab1837 SHA512 ef2ca69e40c0787b63fc30a2b222dd77fd9f0addf8593511dcd0a47580cc8de5e0900c7d4e6f77c0e5a49d1728286cf1b5856cdc65ef175e4acfdd1ffc54b55e
|
||||
|
@ -1,4 +1,2 @@
|
||||
DIST sysstat-12.0.5.tar.gz 711967 BLAKE2B 96aa49d82e71407dbd99d840ca5f71af83f54ba6315c858fae71f97290e8cf9c4f5358ad6389c7489366a62667c35835151e3187382a56c98153d3a04bcc2b8d SHA512 c1061f1af35430e81e488e4b2f18b8588ec4f3c419ade004c49ca24baf60b5b76a6a59eb25f3b17b51a9f60c5833a914a514872d0235b2ca405341a2f4a32cb3
|
||||
DIST sysstat-12.2.0.tar.gz 1227684 BLAKE2B 1ca5cc3f0fd5dca6655d7b483fa853bf9f0256ae5e8dabf56f698d736faadd38f64af699158f4d637d7c8564f12b0992d866e503d01c647be274fc87ee04a9b4 SHA512 2398be1d5181616c337ead8f62b6bfb1144b89c747800140503c6a94793976f7909c81b656290577d51ebdee2f380418902846271b48ed79c6d7f02306f0a8a1
|
||||
DIST sysstat-12.2.1.tar.gz 1227707 BLAKE2B 566382d83a0230517d22e2630a9cb1aa631d761c914188a4e7fb15eddaedbd25b8a3dffa9893b1b2bbcc31d87a37cbe11b2b50ab0ec94a28f84018685d1b35c8 SHA512 a19d0978eb11071c228462cda496a59721541e57a1d15cb2d0964f287ac2d50b5587fa5bc2b8fe6be2a1f00cbf2e7c3bc59db6494e3e8c1906aa81437b30d073
|
||||
DIST sysstat-12.3.1.tar.gz 1245248 BLAKE2B 69848c452642be992c7b4af33268c0d6b30f16e5ea44ec13b00ab57e6ec3b498d92b707a53757de9066138a9ee92b995765f44f75f692e1b3c68d829519d53ca SHA512 f67a2dac22748217687bd7f58521c0719754f13298fb5faed8a6d58c2bb1f8620428191d0415e816eea07bb3ca81453e057d03c7db0096430ad7d6ba6b7b611e
|
||||
|
@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit eutils flag-o-matic systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="System performance tools for Linux"
|
||||
HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86"
|
||||
IUSE="debug nls lm-sensors selinux static"
|
||||
|
||||
CDEPEND="
|
||||
nls? ( virtual/libintl )
|
||||
lm-sensors? ( sys-apps/lm-sensors:= )
|
||||
"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-sysstat )
|
||||
"
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-11.0.4-cron.patch
|
||||
"${FILESDIR}"/${PN}-11.7.3-flags.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
if use nls; then
|
||||
strip-linguas -i nls/
|
||||
local lingua pofile
|
||||
for pofile in nls/*.po; do
|
||||
lingua=${pofile/nls\/}
|
||||
lingua=${lingua/.po}
|
||||
if ! has ${lingua} ${LINGUAS}; then
|
||||
rm "nls/${lingua}.po" || die
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR
|
||||
use static && append-ldflags -static
|
||||
|
||||
sa_lib_dir=/usr/lib/sa \
|
||||
conf_dir=/etc \
|
||||
econf \
|
||||
$(use_enable debug debuginfo) \
|
||||
$(use_enable lm-sensors sensors) \
|
||||
$(use_enable nls) \
|
||||
--enable-copy-only \
|
||||
--enable-documentation \
|
||||
--enable-install-cron \
|
||||
--with-systemdsystemunitdir=$(systemd_get_systemunitdir)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /var/log/sa
|
||||
|
||||
emake \
|
||||
CHOWN=true \
|
||||
DESTDIR="${D}" \
|
||||
DOC_DIR=/usr/share/doc/${PF} \
|
||||
MANGRPARG='' \
|
||||
install
|
||||
|
||||
dodoc -r contrib/
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.init.d ${PN}
|
||||
systemd_dounit ${PN}.service
|
||||
|
||||
rm "${D}"/usr/share/doc/${PF}/COPYING || die
|
||||
}
|
@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit flag-o-matic systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="System performance tools for Linux"
|
||||
HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="debug nls lm-sensors selinux static"
|
||||
|
||||
CDEPEND="
|
||||
nls? ( virtual/libintl )
|
||||
lm-sensors? ( sys-apps/lm-sensors:= )
|
||||
"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-sysstat )
|
||||
"
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-11.0.4-cron.patch
|
||||
"${FILESDIR}"/${PN}-11.7.3-flags.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
if use nls; then
|
||||
strip-linguas -i nls/
|
||||
local lingua pofile
|
||||
for pofile in nls/*.po; do
|
||||
lingua=${pofile/nls\/}
|
||||
lingua=${lingua/.po}
|
||||
if ! has ${lingua} ${LINGUAS}; then
|
||||
rm "nls/${lingua}.po" || die
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR
|
||||
use static && append-ldflags -static
|
||||
|
||||
sa_lib_dir=/usr/lib/sa \
|
||||
conf_dir=/etc \
|
||||
econf \
|
||||
$(use_enable lm-sensors sensors) \
|
||||
$(use_enable nls) \
|
||||
$(usex debug --enable-debuginfo '') \
|
||||
--enable-copy-only \
|
||||
--enable-documentation \
|
||||
--enable-install-cron \
|
||||
--with-systemdsystemunitdir=$(systemd_get_systemunitdir)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /var/log/sa
|
||||
|
||||
emake \
|
||||
CHOWN=true \
|
||||
DESTDIR="${D}" \
|
||||
DOC_DIR=/usr/share/doc/${PF} \
|
||||
MANGRPARG='' \
|
||||
install
|
||||
|
||||
dodoc -r contrib/
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.init.d ${PN}
|
||||
systemd_dounit ${PN}.service
|
||||
|
||||
rm "${D}"/usr/share/doc/${PF}/COPYING || die
|
||||
}
|
Binary file not shown.
@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit systemd
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/digint/btrbk.git"
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://digint.ch/download/btrbk/releases/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes"
|
||||
HOMEPAGE="https://digint.ch/btrbk/"
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
IUSE="+mbuffer +doc"
|
||||
|
||||
DEPEND="doc? ( >=dev-ruby/asciidoctor-1.5.7 )"
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
net-misc/openssh
|
||||
mbuffer? ( >=sys-block/mbuffer-20180505 )
|
||||
>=sys-fs/btrfs-progs-4.12"
|
||||
|
||||
src_compile() {
|
||||
emake clean
|
||||
use doc && emake -C doc
|
||||
}
|
||||
src_install() {
|
||||
local targets="install-bin install-etc install-share install-systemd"
|
||||
use doc && targets="${targets} install-man install-doc"
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
DOCDIR="/usr/share/doc/${PF}" \
|
||||
SYSTEMDDIR="$(systemd_get_systemunitdir)" \
|
||||
${targets}
|
||||
}
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-0.26.0" ; then
|
||||
upgrade_0_26_0_warning="1"
|
||||
fi
|
||||
if has_version "<${CATEGORY}/${PN}-0.27.0" ; then
|
||||
upgrade_0_27_0_warning="1"
|
||||
fi
|
||||
}
|
||||
pkg_postinst() {
|
||||
if [[ "${upgrade_0_26_0_warning}" == "1" ]]; then
|
||||
ewarn "If you are using raw targets, make sure to run the"
|
||||
ewarn "\"raw_suffix2sidecar\" utility in each target directory."
|
||||
fi
|
||||
if [[ "${upgrade_0_27_0_warning}" == "1" ]]; then
|
||||
ewarn 'Due to a bugfix in the scheduler [1] [2], previously preserved'
|
||||
ewarn 'monthly/yearly backups could get deleted when upgrading to'
|
||||
ewarn 'btrbk-0.27.0.'
|
||||
ewarn ''
|
||||
ewarn 'Before upgrading to btrbk-0.27.0, make sure to stop all cron jobs'
|
||||
ewarn 'or systemd timers calling btrbk.'
|
||||
ewarn ''
|
||||
ewarn 'After upgrading, run "btrbk prune --dry-run --print-schedule" and'
|
||||
ewarn 'check if any snapshots/backups would get deleted. If you want to'
|
||||
ewarn 'forcibly preserve a snapshot/backup forever, rename it:'
|
||||
ewarn ''
|
||||
ewarn ' mv mysubvol.YYYYMMDD mysubvol.YYYYMMDD.keep_forever'
|
||||
ewarn ''
|
||||
ewarn 'Note that btrbk ignores subvolumes with unknown naming scheme, e.g.'
|
||||
ewarn '(".keep_forever" suffix in the example above).'
|
||||
ewarn ''
|
||||
ewarn ' [1] https://github.com/digint/btrbk/issues/217'
|
||||
ewarn ' [2] https://github.com/digint/btrbk/commit/719fb5f'
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
DIST libykneomgr-0.1.8.tar.gz 626257 BLAKE2B 4819420f36261251261264dfe688297107fa857cc78081dbbdaa90e5c821ceaafa7d770e431fdfec4c199273c67ec684da1f4570883c300f9283e73aeea42d17 SHA512 536db3a81b74d24e727cc09c5bb898723b602e6c55e249745ced59d5f9416673fdbecd80bb7ebc7031be349092c8fb4f5623c8f6972ab870ec1f50ac1bc2f795
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit udev
|
||||
|
||||
DESCRIPTION="YubiKey NEO CCID Manager C Library"
|
||||
HOMEPAGE="https://developers.yubico.com/libykneomgr/"
|
||||
SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="kernel_linux"
|
||||
|
||||
DEPEND="sys-apps/pcsc-lite
|
||||
dev-libs/libzip"
|
||||
RDEPEND="${DEPEND}
|
||||
>=app-crypt/ccid-1.4.18[usb]"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-backend=pcsc \
|
||||
--disable-static
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">Yubico/libykneomgr</remote-id>
|
||||
<bugs-to>https://github.com/Yubico/libykneomgr/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST yubikey-manager-qt-1.1.3.tar.gz 13316325 BLAKE2B 765634b05fff9efdd5ec5e91e0a5de7f04144476b83f7b3ba8a0c8a1bc95ca7132f25e193afca2bec17fe377c683063a14657efc24fb047a64a8f4498c7abaed SHA512 84bcca3f74967ba8aa470b8dd6c8699ff6a93a85ce942934a1d0cd674a4c507ba297d9a5ebb40bae3476ea713965a7bb3816dad1110a045c338f070eb249f02b
|
||||
DIST yubikey-manager-qt-1.1.4.tar.gz 13318769 BLAKE2B 4ca85d8f9681f725cf9f8d547d850516c77a618c595814c8add12250677e495952229c966a2e59d449dfa33ac9c6788f6daa8494702137eab937b299f896e8dd SHA512 9e3e85a22d7be4e6ab30b3fd068fcc3406348d2b38f96e1ef8d693bf37edafaf8f16dc408cc9319173e871cc24d2cc4db5853ec3f8a0365221722504dc6fde04
|
||||
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
inherit eutils qmake-utils python-single-r1
|
||||
|
||||
DESCRIPTION="Cross-platform application for configuring any YubiKey over all USB transports"
|
||||
HOMEPAGE="https://developers.yubico.com/yubikey-manager-qt https://github.com/Yubico/yubikey-manager-qt"
|
||||
SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
REQUIRED_USE=${PYTHON_REQUIRED_USE}
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
>=app-crypt/yubikey-manager-1.0.0[${PYTHON_MULTI_USEDEP}]
|
||||
<app-crypt/yubikey-manager-4.0.0[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_MULTI_USEDEP}]
|
||||
')
|
||||
dev-python/pyotherside[${PYTHON_SINGLE_USEDEP}]
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdeclarative:5
|
||||
dev-qt/qtgraphicaleffects:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtquickcontrols:5[widgets]
|
||||
dev-qt/qtquickcontrols2:5[widgets]
|
||||
dev-qt/qtsingleapplication[qt5(+),X]
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwidgets:5"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i -e "s/ykman-cli//" ${PN}.pro || die
|
||||
sed -e "/CONFIG += c++11/a CONFIG += qtsingleapplication" \
|
||||
-i ykman-gui/ykman-gui.pro || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install INSTALL_ROOT="${D}"
|
||||
|
||||
domenu resources/ykman-gui.desktop
|
||||
doicon -s 128 resources/icons/ykman.png
|
||||
doicon -s scalable resources/icons/ykman.svg
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST yubikey-manager-3.1.0.tar.gz 115010 BLAKE2B 1b27b9af7f3adac87a1bca58929bffef2ae397b359f70580a07193d2bd2f8cd4d2d867053f6494f1e262668443388d79dfe3775f2c3d0a5528840df8826cdf91 SHA512 518eedb52cfcf725c13114c433f848b97f711e94fa9c71685916fb8cb20e5bfc431f648b0ec710ef9ebed2bc8ddd8722ca1c9865d7a1b29537b719e167ed5f60
|
||||
DIST yubikey-manager-3.1.1.tar.gz 116632 BLAKE2B 252c419280143fa6f44daf3de8ec27bbdc3218e4552e39799e1daca5b46939c4042ae1d43abeab110fe1abaf2e87d94c270442ee6fce05e26927add5b34e9f66 SHA512 8229d5442ddf89fe90abb0153aa005cb0d149a84634b994dc283f7cbac2f72d4b913c238c277c6aa07f431aed8905008aeb11e594e730be71c9ca88150a6ef68
|
||||
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
inherit readme.gentoo-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="Python library and command line tool for configuring a YubiKey"
|
||||
HOMEPAGE="https://developers.yubico.com/yubikey-manager/"
|
||||
# Per https://github.com/Yubico/yubikey-manager/issues/217, Yubico is
|
||||
# the official source for tarballs, not Github
|
||||
SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7)
|
||||
>=dev-python/fido2-0.7.0[${PYTHON_USEDEP}]
|
||||
<dev-python/fido2-0.8.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/pyscard[${PYTHON_USEDEP}]
|
||||
dev-python/pyusb[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
>=sys-auth/ykpers-1.19.0
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${RDEPEND}
|
||||
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' 'python2_7')
|
||||
)
|
||||
"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOC_CONTENTS
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
DOC_CONTENTS="
|
||||
The 'openpgp' command may require the package 'app-crypt/ccid'
|
||||
to be installed on the system. Furthermore, make sure that pcscd
|
||||
daemon is running and has correct access permissions to USB
|
||||
devices.
|
||||
"
|
||||
readme.gentoo_create_doc
|
||||
|
||||
doman "${S}"/man/ykman.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
DIST devmanual-0_pre20141116.tar.gz 169936 BLAKE2B 9b01004750b9fce226fa6a965292d3ffaff0923f877da611743e39ee19077ea7fe0d21ff138853d3f79e4d4941026c30fcabf63c8903572ed7ba5d50d32c8dd5 SHA512 6af3f9a262bdb2ceb61ab195691dff4a850b22e8d1226e20ae3257c566b6cc913f756c8b90a40e8aa78b1242e78d24c4209a1d9cdb0706ae9b64c653544a028f
|
||||
DIST devmanual-0_pre20200203.tar.xz 163740 BLAKE2B 39d8173bc524213e7a6e81def4f1631ea0d2503540551982d07ef58f414b8a052e8a3a0d2426b5864e06fb24f1745af4dea57e418fcc5e52c558dc1da9ff4530 SHA512 f3fce9ba557515b89c5a875dc1e4e968eb3097776842026403e41ebe972c2e4e764303c729c5835466faaa2675fa361fe7e0512d7a8222d7d8b1202a9049f98e
|
||||
DIST devmanual-0_pre20200207.tar.xz 163940 BLAKE2B c6cf856a8f6c80b500466e27cc4106c070cff2dcf8c89d58c9ca90d03cb34a1e6a2048cb99364993f224f3497309fc24207dc44f9c14ece37c49aa602480dac0 SHA512 f6a88312e2030bf4d9fcf64bf1f38397087cb151aa41cd0c254cfc6251e4d5b291e3b361094a7c1d5fdb16e40c1702c0f0b7460ba230bfb217ad733f400c9089
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST FAudio-19.06.tar.gz 899089 BLAKE2B a59ad9613bcfa71e1fc8be1f2d389f56b8f96430c354b7c7148d1e1e084102b6d8559cd258f3ab6969a4ac93e55ea2397b18dc417857e9ee0f022ea0dae65c0e SHA512 ba3ee18b47d8d85dc39e777c420522349f9873cf1528dd6c266f7254fe27cdb5bb6ab5bcbeab870938b509bfd006590d2380908b7d1e3fd679d2a434ce82eca6
|
||||
DIST FAudio-19.09.tar.gz 901659 BLAKE2B 8bb99c67b6da2660e71c7a8a70f83130738a07e7f4ddd2001fb857c81a593935506a8c1fe6d24bfd064537ea4a5a603973c32d839228d7b3f45c9c300ba15147 SHA512 127f975c68e2b449fa7cadae0723925f35ca7a2841ea3fd85037febe964331de4b2e3031ab09c292ee5f40d90902dcf78c75cc3fe7fbe4d6f37a822b4d9eb966
|
||||
DIST FAudio-20.02.tar.gz 908051 BLAKE2B 7f9323e7528949680b39469b3549adbef9acafe6f293c643676117648fd6871639fa8c7a47fdc0e1232c0533c0af9e89953415a0935fa4ad7b831aa8a8243f30 SHA512 69995fa1fb9ea41182e47f8143252db517adf4e9dc4a0556c9032af5c867259cc7edc81196b10ef043e6118a2e3687b34368f3ac8ffe9294398c5143b9928476
|
||||
|
@ -0,0 +1,97 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# shellcheck disable=SC2034
|
||||
EAPI=7
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||
|
||||
inherit cmake-multilib virtualx
|
||||
|
||||
FAUDIO_PN="FAudio"
|
||||
FAUDIO_PV="${PV}"
|
||||
FAUDIO_P="${FAUDIO_PN}-${FAUDIO_PV}"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/FNA-XNA/${FAUDIO_PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/FNA-XNA/${FAUDIO_PN}/archive/${FAUDIO_PV}.tar.gz -> ${FAUDIO_P}.tar.gz"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
S="${WORKDIR}/${FAUDIO_P}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="FAudio - Accuracy-focused XAudio reimplementation for open platforms"
|
||||
HOMEPAGE="https://fna-xna.github.io/"
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="+abi_x86_32 +abi_x86_64 debug dumpvoices ffmpeg xnasong test utils"
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=media-libs/libsdl2-2.0.9[sound,${MULTILIB_USEDEP}]
|
||||
ffmpeg? ( media-video/ffmpeg:=[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
"
|
||||
|
||||
multilib_src_configure() {
|
||||
local mycmakeargs=(
|
||||
"-DCMAKE_INSTALL_BINDIR=bin"
|
||||
"-DCMAKE_INSTALL_INCLUDEDIR=include/${FAUDIO_PN}"
|
||||
"-DCMAKE_INSTALL_LIBDIR=$(get_libdir)"
|
||||
"-DCMAKE_INSTALL_PREFIX=${EPREFIX}/usr"
|
||||
"-DCMAKE_BUILD_TYPE=$(usex debug Debug Release)"
|
||||
"-DFORCE_ENABLE_DEBUGCONFIGURATION=$(usex debug ON OFF)"
|
||||
"-DBUILD_TESTS=$(usex test ON OFF)"
|
||||
"-DBUILD_UTILS=$(usex utils ON OFF)"
|
||||
"-DDUMP_VOICES=$(usex dumpvoices ON OFF)"
|
||||
"-DFFMPEG=$(usex ffmpeg ON OFF)"
|
||||
"-DXNASONG=$(usex xnasong ON OFF)"
|
||||
)
|
||||
if use ffmpeg; then
|
||||
mycmakeargs+=( "-DFFmpeg_LIBRARY_DIRS=${EPREFIX}/usr/$(get_libdir)" )
|
||||
fi
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cmake-multilib_src_configure
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
cmake-utils_src_make
|
||||
emake -C "${BUILD_DIR}" all
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
# FIXME: do we want to install the FAudio tools?
|
||||
cmake-utils_src_install
|
||||
|
||||
sed -e "s@%LIB%@$(get_libdir)@g" -e "s@%PREFIX%@${EPREFIX}/usr@g" \
|
||||
"${FILESDIR}/faudio.pc" > "${T}/faudio.pc" \
|
||||
|| die "sed failed"
|
||||
insinto "/usr/$(get_libdir)/pkgconfig"
|
||||
doins "${T}/faudio.pc"
|
||||
|
||||
if use test; then
|
||||
mkdir -p "${T}/$(get_libdir)" || die
|
||||
cp "${BUILD_DIR}/faudio_tests" "${T}/$(get_libdir)/" || die "cp failed"
|
||||
fi
|
||||
}
|
||||
|
||||
faudio_test() {
|
||||
XDG_RUNTIME_DIR="/run/user/0" virtx "${T}/$(get_libdir)/faudio_tests"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use test || return
|
||||
|
||||
# FIXME: FAudio tests are broken and also don't appear to work
|
||||
# in the Portage sandbox.
|
||||
multilib_foreach_abi faudio_test
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
DIST upwork-5.2.3.771_i386.rpm 53358346 BLAKE2B 0297075a639219dbf012d8b66e0dcdf57e0aaaf06a93c7f5c4a72efa7b386b2e0ae0eff5b228f6b3b9d80a6e6fe3e58c3351d71b735c2d6b7b8804c4f4b242f2 SHA512 88a45bfd05509d9c41fed01f52d4a71cc4a3ffdd5061c0b189eda714a45f97a326f7f9c9eac4aeee719ab5a253c62f8b7ec75724baab1e3b6f9e2bc047e00e78
|
||||
DIST upwork-5.2.3.771_x86_64.rpm 52236890 BLAKE2B 8e47381334e94f749bccd928d39ff5de03fc8b073f0c2ca9e4343675607ea758aa9d375be30f6c5196df6e290c0e316cd7d6b1e3afd587f1ff7f66c0ebe4af55 SHA512 315b3bbc2db7eaf01aac92f27ee284ef9197303e4df76603ab0e714f3796390d152500edf67acad82c01eb3b93d6d9888977ff52bd74d97b09c251b76180e69f
|
||||
DIST upwork-5.3.3.860_i386.rpm 74067471 BLAKE2B 6b2092a851e1f35dfa0dc180f225d26aeb5a04edd30eeaca3125480b94fb8504d2005c42a0b86c293c7367c538ef9103bce2a2bb45f5257cb003fd7cd25eb851 SHA512 7dbbbbf7a4254d1213942d836cf944c94b5b6dd7905435c75b1f0225dd362f4bdb3c7ea0716b2fd04fb926d965fd56d21c41f713cf26f2ad6cb240e5f2643394
|
||||
DIST upwork-5.3.3.860_x86_64.rpm 72487294 BLAKE2B 56dfedc12b5d0661f01d34238256a372b9e6d760c33ba13474996e4c24050cc9931e592cba91df0719c33c6785e6fe8d63add54986bc86cafad55379a35d9358 SHA512 a3d1c6b36a23743a1b953b7cb956107baacd39984bc9289eff349539235a7e95d0aa80880985522b985dd37de68e284a17b750561ce091166b4186d01c437aba
|
||||
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue