Adding python3.10, podman

This commit is contained in:
Gerardo J. Puerta
2022-03-24 12:06:13 +01:00
parent 7d47d45fe6
commit 63bf96895a
72 changed files with 6362 additions and 0 deletions

View File

@ -0,0 +1,3 @@
AUX libfreeaptx-0.1.1-fix-version.patch 571 BLAKE2B 0fa43bf3b7180b5ec90e3cb2fc633959d5b484954bd50f468903a6c0c9b0646fe77be1618b68746692b57224e46270e538133ccfeb3f320ff71780bc5cd4297d SHA512 b8d3bcadeba8534979c02e55ad129bfce147e920e2e881f99ac9d579095fb944b6e88351a74dc410d141e0a6b89f17c15ddc21019e63cc3cf362a20d5e9b37b6
DIST libfreeaptx-0.1.1.tar.gz 27902 BLAKE2B 0aa015b0317db7f6dd61ae667cc1b7b10c7f7457d057144c1457572a214891848b81512960eb8643138c638a0f691b53a7bbcb36ad434ac29335d92b108a43fa SHA512 53dd7f348120fea0425b365f26668925dd435a8a3a0c5e98476764a452c7d729f2a3556e953c557d0ccaaa65391265c8c3c61fc29377cf60079fa0bed2cc20b1
EBUILD libfreeaptx-0.1.1.ebuild 1276 BLAKE2B 277b820bf63d151223720dd62e032fc91c7c14bb168fcdcd77a19572dd1bd0aaed51848a3e111c83ddea16aff84bed367289fd9b2c18e55e3764485d254fc891 SHA512 f5d286e2adce9d418ff30be5ad0f57a1a53ff35595a5ff14c945955413c2b08fd96e8de1aa616b89eafdeeb9b4b235efd6a8f3aa3287781459c0b4b31a3503de

View File

@ -0,0 +1,20 @@
Report the correct version rather than the old libopenaptx version (left over from the fork point).
https://github.com/iamthehorker/libfreeaptx/commit/c176b7de9c2017d0fc1877659cea3bb6c330aafa.patch
From: Hunter <wardlawhunter@gmail.com>
Date: Mon, 9 Aug 2021 23:51:49 -0400
Subject: [PATCH] Fixed libfreeaptx reporting wrong version number
--- a/freeaptx.h
+++ b/freeaptx.h
@@ -22,8 +22,8 @@
#define freeaptx_H
#define freeaptx_MAJOR 0
-#define freeaptx_MINOR 2
-#define freeaptx_PATCH 0
+#define freeaptx_MINOR 1
+#define freeaptx_PATCH 1
#include <stddef.h>

View File

@ -0,0 +1,60 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic multilib-minimal toolchain-funcs
DESCRIPTION="Reverse-engineered aptX and aptX HD library (fork of libopenaptx)"
HOMEPAGE="https://github.com/iamthehorker/libfreeaptx"
if [[ ${PV} == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/iamthehorker/${PN}"
else
SRC_URI="https://github.com/iamthehorker/libfreeaptx/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
# SRC_URI="https://github.com/iamthehorker/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 arm arm64 ppc ~ppc64 ~riscv x86"
fi
LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="cpu_flags_x86_avx2"
PATCHES=(
"${FILESDIR}"/${P}-fix-version.patch
)
src_prepare() {
default
# custom Makefiles
multilib_copy_sources
}
multilib_src_compile() {
tc-export CC AR
use cpu_flags_x86_avx2 && append-cflags "-mavx2"
emake \
PREFIX="${EPREFIX}"/usr \
LIBDIR=$(get_libdir) \
CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}" \
ARFLAGS="${ARFLAGS} -rcs" \
all
}
multilib_src_install() {
emake \
PREFIX="${EPREFIX}"/usr \
DESTDIR="${D}" \
LIBDIR="$(get_libdir)" \
CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}" \
ARFLAGS="${ARFLAGS} -rcs" \
install
}