Removed tvheadend

This commit is contained in:
Torsten Kurbad
2025-10-01 16:01:01 +02:00
parent 062704968a
commit ef8349d83f
17 changed files with 726 additions and 263 deletions
+3
View File
@@ -0,0 +1,3 @@
DIST redis-6.2.0.tgz 379865 BLAKE2B 3ed8776d1e53e3a1b08e5d18511ccf3ed1f896d0ae28b54ce47615d58ca4c9cbc29c00b2a10301cd7e9fd533f54335bbf3878f8f59ddff82ad2b16da03d45e77 SHA512 fd4d79cd4f7a3d25c865ae52daea4e6d9e805f55c3b7004633ac23ed6724a30b85ed3034bddee86c42146b39215309cb9c96f5659b248e6b859295cdf10e02f1
EBUILD pecl-redis-6.2.0.ebuild 1425 BLAKE2B e025a961acf4c518dcf7b3553b03b6a3c933fdfb7592931e801420abc4053140ad58b3dfb9e7fbb749b19a04b33f1462bc0ac033033b057c039e7d9f89945c74 SHA512 14a0f6fe2d5774960ddb875c0e3334c38f43031aaaf7f2d0051624584e2dc7959c4410468c8e67a78ef26e54d7e565f2b6ec919dcc27889f3d17ead71f158324
MISC metadata.xml 384 BLAKE2B 4a1a6b326526bb3f5b9d9d57158d6abbfe3c65b1cfc11980ce849d5f7278558ee0daf580aefc521939aae175cd8e2cb990e046fce8faf6774348b24fa6465ef8 SHA512 851e1fb9f6612105640028262a4821f0da5b1ee5949fdd99067e821ce1d22c41888ee53e102becc93c918a605c2b8dbb2d493cd7cad516530912fec652011364
+12
View File
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>php-bugs@gentoo.org</email>
<name>PHP</name>
</maintainer>
<use>
<flag name="igbinary">Enables igbinary serialisation support</flag>
<flag name="json">Enables json serializer support</flag>
</use>
</pkgmetadata>
@@ -0,0 +1,60 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PHP_EXT_NAME="redis"
USE_PHP="php8-1 php8-2 php8-3 php8-4"
PHP_EXT_NEEDED_USE="json(+)?,session(-)?"
MY_P="${PN/pecl-/}-${PV/_rc/RC}"
PHP_EXT_PECL_FILENAME="${MY_P}.tgz"
PHP_EXT_S="${WORKDIR}/${MY_P}"
inherit php-ext-pecl-r3
DESCRIPTION="PHP extension for interfacing with Redis"
LICENSE="PHP-3.01"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64"
IUSE="igbinary +json lz4 +session zstd"
DEPEND="
igbinary? ( >=dev-php/igbinary-3.0.1-r1[php_targets_php8-2(-)?,php_targets_php8-3(-)?] )
lz4? ( app-arch/lz4:= )
zstd? ( app-arch/zstd:= )
"
RDEPEND="${DEPEND}
!dev-php/pecl-redis:7"
# The test suite requires network access.
RESTRICT=test
S="${WORKDIR}/${MY_P}"
src_configure() {
local PHP_EXT_ECONF_ARGS=(
--enable-redis
--disable-redis-lzf
--disable-redis-msgpack
$(use_enable igbinary redis-igbinary)
$(use_enable json redis-json)
$(use_enable lz4 redis-lz4)
$(use_with lz4 liblz4)
$(use_enable session redis-session)
$(use_enable zstd redis-zstd)
$(use_with zstd libzstd)
)
php-ext-source-r3_src_configure
}
src_test() {
local slot
for slot in $(php_get_slots); do
php_init_slot_env "${slot}"
# Run tests for Redis class
${PHPCLI} -d extension=modules/redis.so \
tests/TestRedis.php \
--class Redis \
--host ${PECL_REDIS_HOST} || die 'test suite failed'
done
}