Bump and add fixed ebuilds
This commit is contained in:
82
app-emulation/86Box/86Box-5.1.ebuild
Normal file
82
app-emulation/86Box/86Box-5.1.ebuild
Normal file
@@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake flag-o-matic
|
||||
|
||||
DESCRIPTION="Emulator of x86-based machines based on PCem"
|
||||
HOMEPAGE="https://github.com/86Box/86Box"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="discord experimental +fluidsynth +munt new-dynarec +openal +qt6 +threads vde vnc"
|
||||
|
||||
DEPEND="
|
||||
app-emulation/faudio
|
||||
dev-libs/libevdev
|
||||
dev-libs/libserialport
|
||||
media-libs/freetype:2=
|
||||
media-libs/libpng:=
|
||||
media-libs/libsdl2
|
||||
media-libs/libsndfile
|
||||
media-libs/openal
|
||||
media-libs/rtmidi
|
||||
net-libs/libslirp
|
||||
sys-libs/zlib
|
||||
fluidsynth? ( media-sound/fluidsynth:= )
|
||||
munt? ( media-libs/munt-mt32emu )
|
||||
openal? ( media-libs/openal )
|
||||
qt6? (
|
||||
dev-libs/wayland
|
||||
dev-qt/qtbase:6=[gui,network,opengl,widgets]
|
||||
x11-libs/libX11
|
||||
x11-libs/libXi
|
||||
x11-libs/libxkbcommon
|
||||
)
|
||||
vnc? ( net-libs/libvncserver )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
qt6? ( dev-qt/qttranslations:6 )
|
||||
vde? ( net-misc/vde )
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
qt6? ( kde-frameworks/extra-cmake-modules )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
# LTO needs to be filtered
|
||||
# See https://bugs.gentoo.org/854507
|
||||
filter-lto
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
local mycmakeargs=(
|
||||
-DCPPTHREADS="$(usex threads)"
|
||||
-DDEV_BRANCH="$(usex experimental)"
|
||||
-DDISCORD="$(usex discord)"
|
||||
-DDYNAREC="ON"
|
||||
-DFLUIDSYNTH="$(usex fluidsynth)"
|
||||
-DHAS_VDE="$(usex vde "${EPREFIX}/usr/$(get_libdir)/libvdeplug.so" "HAS_VDE-NOTFOUND")"
|
||||
-DMINITRACE="OFF"
|
||||
-DMUNT="$(usex munt)"
|
||||
-DMUNT_EXTERNAL="$(usex munt)"
|
||||
-DNEW_DYNAREC="$(usex new-dynarec)"
|
||||
-DOPENAL="$(usex openal)"
|
||||
-DPREFER_STATIC="OFF"
|
||||
-DQT="$(usex qt6)"
|
||||
-DRELEASE="ON"
|
||||
-DRTMIDI="ON"
|
||||
$(usex qt6 '-DUSE_QT6=ON' '')
|
||||
-DVNC="$(usex vnc)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "In order to use 86Box, you will need some roms for various emulated systems."
|
||||
elog "See https://github.com/86Box/roms for more information."
|
||||
}
|
||||
3
app-emulation/86Box/Manifest
Normal file
3
app-emulation/86Box/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
DIST 86Box-5.1.tar.gz 13904013 BLAKE2B ef703622b18b465d66586a7f684a3a0f38d40e5179cd14b9bf8f2d39bafc36a8145e84bd6306b08eecdca03603ee2bc4d356f0bf501668667e496650949c5dd9 SHA512 5c68a21621da58a37a5e9f8199b2cabf0b3483303a44a53221c746f76a80d248d26b56499b771bd18670a16c3942ed6f3f92db95211a37677bda19becb75f70b
|
||||
EBUILD 86Box-5.1.ebuild 1999 BLAKE2B a57b096b319cefa6d0afad377a72f79776c038369faf522ee66c27943dc0c02b8b2376348d4fb22b19e027b99d5dce74868b8aa0a566ec3eed05bf301f6cfbb0 SHA512 cc0b33d80c9ae09d9811784e2fea2fdfdbbd0f9de833c9f8481bf4ad3e6bab0e72512809675a431a93fb3f39edfc69410fc5ddf59ee39d9e34814e3e0490e29a
|
||||
MISC metadata.xml 1208 BLAKE2B 2c0335cdbf10a3114fe99520d9d59c5a9c80d510f5c075d6b006e0401131a1da1e7ecd499845d8f97911004323decca58188bd94acac7ad7403ef92fe7b727ed SHA512 196309d65772b42c50ae280300a82f0bdeb046c5b8cb70128d981e645ee0bee75f995c44f4d40bc6ec6d841e3389e5e66153c49bfd79918d40ed7e93ffc56128
|
||||
25
app-emulation/86Box/metadata.xml
Normal file
25
app-emulation/86Box/metadata.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>conikost@gentoo.org</email>
|
||||
<name>Conrad Kostecki</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
86Box is a low level x86 emulator that runs older operating systems and software
|
||||
designed for IBM PC systems and compatibles from 1981 through
|
||||
fairly recent system designs based on the PCI bus.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="discord">Enable Discord integration</flag>
|
||||
<flag name="experimental">Enable hardware from devbranch, which may be unstable or unusable.</flag>
|
||||
<flag name="fluidsynth">Enable MIDI support through <pkg>media-sound/fluidsynth</pkg>.</flag>
|
||||
<flag name="munt">Enable MIDI MT-32 support through <pkg>media-libs/munt-mt32emu</pkg>.</flag>
|
||||
<flag name="new-dynarec">Enable new dynamic recompiler from PCem 15, which should provide an even better emulation speed.</flag>
|
||||
<flag name="vde">Enable virtual networking through <pkg>net-misc/vde</pkg>.</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/86Box/86Box/issues</bugs-to>
|
||||
<remote-id type="github">86Box/86Box</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,8 +1,9 @@
|
||||
AUX 001_opencbm-0.4.99.98-ncurses6-1.patch 698 BLAKE2B 3d126aca22c4c1aa7cf6df35c41f1d32c8117aebcbc0fd10c7bd007dbb5752155b703b6a4585ba0a1ac5c3744e95b4b5e412c0d7834c5fcf4aa74d758b3f198d SHA512 a4b017a8bcbd698c01c9e695758826a4768bd316634a585f746460ec35bcffe67a76cd3e8f2ebcabf2eddbbb5e5dc5db2533f8d4881b1030b314253fc22264dd
|
||||
AUX 002_opencbm-0.4.99.104-gcc15-1.patch 946 BLAKE2B 2bf8446bc1f9615a91c6fedc8a2e7e4c2f9b378cf64a07daf3f89e73f628742ffc5e77a02b652d280fa3de83d141c325c2b6be0060b67290e7c697817f26382d SHA512 39f48d657c434c655196a12bbed9b8325440b0e7b4344af18fab5025c8068974e29105060e7c0ca1c09d924f1824cb29e1e8f5266e26fe27513ff87d33959c27
|
||||
AUX Makefile 1089 BLAKE2B b011c132af72138147a558303c787efe2f584adf3697f681a0ca594e9220ec3d384cceece1172550cfe96c8f267b34c4f1e32d9b3999590a82b02667c72e800c SHA512 f16d7cfc2fd8dcbef211cef44ed03c3c0edb0a047be82b1116f999d6cbee765e5ded884181077e39a2074d001113fc88a5bae2a819b4e314d33bd30719dd909a
|
||||
DIST nibtools-20241120-source.tar.gz 119413 BLAKE2B c59a515147113865d3f75e1af2c54d9e08d93c95c389bbe9be71b0afb1079e3901cade612a6471af745826b5cd406694accc6d460e2e509b40d32f327f5f7b35 SHA512 5a8e34a379bf8ceeae80ba40a948b8c0577432122229ec3205e1829e8dfc041dfabead9e69919b15272a029ec82a91ef30025889ca0a6509ba28b1ec380a14c6
|
||||
DIST opencbm-0.4.99.104-source.tar.gz 13417312 BLAKE2B 1ba6e88c8765a161d6cb7a1c313c2db6cc885c616ac110c0833f59c93e2b2081e67ce730a7ead123a59b83133ddc2edf448de694c72ca582c3a155a463175027 SHA512 1c5c09ed2fd37a6db152eb9739739edee8b2200a4e02b219e982337eeb935cdac1125f59f235b5c3d1203bcd0701c2e9e35da9de921797f1617014f723de0faa
|
||||
EBUILD opencbm-0.4.99.104.ebuild 3360 BLAKE2B 48cfe65252d46ea862f88c9bf660d1da1ea4a97a729e164faed861a7e609f7f6f7cc33c57b2a3ad048047f142beac9dbf1545a469731cc474836815de615467a SHA512 b3b1e288737b9ab4e64d786b87cdba5d1db82a717a05794dbef398a80980a422d946ffcf57c0e3c4c4d6b0748e21f83db68ed9ac15f8e179a65aecf2652d4daa
|
||||
EBUILD opencbm-9999.ebuild 3360 BLAKE2B 48cfe65252d46ea862f88c9bf660d1da1ea4a97a729e164faed861a7e609f7f6f7cc33c57b2a3ad048047f142beac9dbf1545a469731cc474836815de615467a SHA512 b3b1e288737b9ab4e64d786b87cdba5d1db82a717a05794dbef398a80980a422d946ffcf57c0e3c4c4d6b0748e21f83db68ed9ac15f8e179a65aecf2652d4daa
|
||||
EBUILD opencbm-0.4.99.104.ebuild 3419 BLAKE2B 777d181cf7c5d82b27381dcd488d28b97b28f780f4c403c8c004f7728a7ce0071bf357bf0386d9e134c03ab8be898b27a5a7e90f971a8509079b45adc8443eb1 SHA512 f3505277bf1d11cb5684443368b2495e1e7ed3ab28a42f7dc8b1e043462eaa99ba675808b6243328132f5998bc1379489ea34ad4f782ab0c75251d31e659f7ba
|
||||
EBUILD opencbm-9999.ebuild 3419 BLAKE2B 777d181cf7c5d82b27381dcd488d28b97b28f780f4c403c8c004f7728a7ce0071bf357bf0386d9e134c03ab8be898b27a5a7e90f971a8509079b45adc8443eb1 SHA512 f3505277bf1d11cb5684443368b2495e1e7ed3ab28a42f7dc8b1e043462eaa99ba675808b6243328132f5998bc1379489ea34ad4f782ab0c75251d31e659f7ba
|
||||
MISC ChangeLog 1266 BLAKE2B c0347d5e0361182d79816ff25a52e2d52c52cf932adab716503f8a738da6c0643d08f4d14b9315ea6a9f2bf8e056c1da91a2a2515684f85a8f204e16731a7a7e SHA512 d3cea999760ee90a45148f31963a532ce3ff6db7122b11b8b06ca094f3d936309a2c8cc90e15fc7af86bda40952b28667db403b30c26c0189a083f9bc447b466
|
||||
MISC metadata.xml 493 BLAKE2B 7d4be69e09b1fa78bdd2fba1313bfe2527facc3ce1d37d6f5ca6a81e96f560c49b86d66ff5ad965375b61ab0f212e732f70a1965d57dbf5e10946b973915c7ec SHA512 ad6dc1300e43923807aef874ee3b862fdbdccc611cbd89732e5dc46d0a116da6c81e478afb673d1ff14ed6d0887353941a08835da600a7b18162469eb1e42daa
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
From 32ab8d11421b96fea8e1cedd59ed56b5d0291850 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Thierer <mthierer@gmail.com>
|
||||
Date: Sat, 24 May 2025 20:50:50 +0200
|
||||
Subject: [PATCH] gcc 15 build fix
|
||||
|
||||
https://gcc.gnu.org/gcc-15/porting_to.html
|
||||
---
|
||||
opencbm/LINUX/config.make | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/opencbm/LINUX/config.make b/opencbm/LINUX/config.make
|
||||
index 307aae6b..36bf5713 100644
|
||||
--- a/opencbm/LINUX/config.make
|
||||
+++ b/opencbm/LINUX/config.make
|
||||
@@ -60,7 +60,7 @@ CFLAGS_OC_DEBUG = -O2 -D_FORTIFY_SOURCE=2
|
||||
else
|
||||
CFLAGS_OC_DEBUG = -ggdb -O0
|
||||
endif
|
||||
-CFLAGS = $(CFLAGS_OC_DEBUG) -Wall -I../include -I../include/LINUX -DPREFIX=\"$(PREFIX)\" -DOPENCBM_CONFIG_FILE=\"$(OPENCBM_CONFIG_FILE)\"
|
||||
+CFLAGS = $(CFLAGS_OC_DEBUG) -std=c99 -Wall -I../include -I../include/LINUX -DPREFIX=\"$(PREFIX)\" -DOPENCBM_CONFIG_FILE=\"$(OPENCBM_CONFIG_FILE)\"
|
||||
CFLAGS += -fstack-protector
|
||||
CFLAGS += $(USER_CFLAGS)
|
||||
|
||||
@@ -38,6 +38,7 @@ src_prepare() {
|
||||
touch `find . -name '*.?65' -type f`
|
||||
# add debian patches no demo & doc & no kernel
|
||||
eapply "${FILESDIR}/001_opencbm-0.4.99.98-ncurses6-1.patch"
|
||||
eapply "${FILESDIR}/002_opencbm-0.4.99.104-gcc15-1.patch"
|
||||
# sed correct path
|
||||
sed -e 's,^PREFIX.*,PREFIX = /usr,' \
|
||||
-e 's,/man/man1,/share/man/man1,g' \
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
DIST 1password-8.10.82-amd64.tar.gz 209510006 BLAKE2B 590b9a10dd22f10e97e98df581aa74a56afccbbb1ac11d8e4eba502cffd8fcb4a683657cc174917dc0bf31b45a6e1d8cd95a7ef79f0c60670dc74b0c13fbc0e9 SHA512 0a4598a8aead7fb2897ae030f6111d64eb51d1c654703c2d7efacf5ae1be39843243ce39365bd45abe6d64c710ff9c22a00e7b81482e70b498106bf85f057a54
|
||||
DIST 1password-8.10.82-arm64.tar.gz 208016578 BLAKE2B ceb8a04d3e526ef43144d9b51188737ae223c1cc5043b57043b5f6bc6c1de20d9bec71d8f8d4ac172b7e5d2ca982987fc386818be2af219a053c621ab0cee622 SHA512 1411860433637454becd37174db6e62ce7694907cd41eac54d6581987c4b866f11d58aa5467f63208c6955f4df6dbad477c2586d39e47d8aafebc7c0a8e83833
|
||||
EBUILD 1password-8.10.82.ebuild 2351 BLAKE2B b3ce72b2e3cdd2f02fd777dd2010f137fbe5962a0037fb8edc96135d2c706e48d2102325e665b1f130d2d5d0270d237b30c1b2986f57217fa64d0706c7e5dcd8 SHA512 6955334cb65e3d9e58654a1415e0b3a5292fd2028119d4783a547a709faac631febf5e48a3be3dadefae0c610221eb8d970f161c5ce3adc2753b1bdff1d8016a
|
||||
DIST 1password-8.11.0-amd64.tar.gz 210520606 BLAKE2B eb802483786584de7977452082d4ba862e2c41877b3bcf937adfa1cb2db41fde5f24f418a83cd1e6dd8aedc1574f8da4886cd9be1f4383022514eac944dafd5a SHA512 934fc1dc46489f7b1246c4b57a5c8809daabbf71197b4b81551370f31be529ce4173e9ea7d84c646f9a28425fec551fbc6f6f554699536e934c03f8ad7250bda
|
||||
DIST 1password-8.11.0-arm64.tar.gz 209038221 BLAKE2B 51dd38f4cff091f269df5f0061138ab2588232dce52557493610abf549c00e17219f2f7259d0983c832013b7c7cf5892608729ce569a295e1c1ed2d92b1cac6d SHA512 d7a089d20bd06de8ddc5a032a8906e90a81552860ad43bd5656275f0e06188d14ea51b8b3a11a1fec4d0ac85ffefc769c3210933bacc6b21c968de9187c7ef44
|
||||
EBUILD 1password-8.11.0.ebuild 2351 BLAKE2B b3ce72b2e3cdd2f02fd777dd2010f137fbe5962a0037fb8edc96135d2c706e48d2102325e665b1f130d2d5d0270d237b30c1b2986f57217fa64d0706c7e5dcd8 SHA512 6955334cb65e3d9e58654a1415e0b3a5292fd2028119d4783a547a709faac631febf5e48a3be3dadefae0c610221eb8d970f161c5ce3adc2753b1bdff1d8016a
|
||||
|
||||
@@ -3,6 +3,6 @@ AUX irtrans-server.initd 577 BLAKE2B 3b1507c90cc241016eabde61566bcae96302c452a88
|
||||
AUX irtrans-server.service 218 BLAKE2B 3eb1d695da2e0f1baaba6a2abb6aef6864ecb11f20230e5b7ec4e5f54cf3d7bbee62a647a6ec98ea47f9f594308e826e53f365af92410f29f1d305c5ec520d91 SHA512 e16002a3b31b9015a42c9edd75e462108199ad46c74e7b83ed1bc39e5c08497388ce099798b0e73acfaf59078e62df938b021ca076abaa346e423446378f6ccb
|
||||
DIST irserver-6.10.23.tar.gz 864840 BLAKE2B a046fc394f6a39b261d448f0e67816f5cacd8bbe6b075650e50318bb5042b29d7972c14eac0923d36afaafd000c32682e8b68be238b57fd5cc1f4e4c22205651 SHA512 81934293ffb7e5d34ff04276612f9e7fe20b4fc401a63cda64da360fb8a7c48f94a57631c1c19d2fd7e75d2e1e3fe34c08319a743d444a38febf1fb4f9c0767d
|
||||
DIST irserver-src-6.10.23.tar.gz 532755 BLAKE2B 6550ecacf007fe4a69c523c181feb1a96e3309c86d9d2040af05bd02d00391c3c37e7ef4c9f829db37b97dc590c88baf746544a5996e44b4fdc8088ea2ea9589 SHA512 ef453381ae4802a40a76c27a685c6892d1d0f6a88ef2975868e901eb06b5e70ba6e6f40333c4ea45a83f2b4419a49b9b16d08f23f303e1911d856f8b6afc2d85
|
||||
EBUILD irtrans-irserver-6.10.23.ebuild 1879 BLAKE2B b7b2863ab4fe59391803a06836d1f18c3c7107128d0d30addfe98740f9378a7ecf810f2566e855bd9590100b2f091221c2e4c7e50e07876e294e9c3adaf97fe4 SHA512 b60b4f6ce52a8c40e6057fa9efe9704be3eb87b37d1398922c1db7773d9aa5e65aca6988f5a652cb330aebb7da8a3a98390b90f5b040b382d9b47b571d17ead9
|
||||
EBUILD irtrans-irserver-6.10.23.ebuild 1890 BLAKE2B 4ee92dc7c96cd98b3620dab56319cb5332ee9fec78fe381c4f36f13ebf3072be3c8f422ca830d891b39e028b9d33e99abae44aebda4a2d179a84d4099d0b71f9 SHA512 2cba88c45b5da5336f61d62f09cb9ef6f96dc9b4540f5e42e12f730b4ccd9b7b4de4ba5773632aa406f9ef13ecd782fa5ce91e86e148b68d709e5861e4ab870e
|
||||
MISC ChangeLog 6002 BLAKE2B f828d1c5a823915aa4779055c15b98795d726daf353e6594a8038b1654ce4e06096f7884e77703e7bc0097f02311ccfec27d2526405f8e3e13aa4b5dd088160d SHA512 9fc36a1b10d95a7594332861ee0fd2dd230ba919a7fefa4abc3ab7076af60e4b501ec19b92eabe9e1f89ad5283859893450bc9759ecc81469b67e067fc3ac644
|
||||
MISC metadata.xml 408 BLAKE2B 66a3e2838d5c5f95c7463733cd13b1230ef3ca005ec0c5dac797561be30f950da98dfa41eeb4d43cf97500c9a2e0d04c57b0b084d60107072a988dd7c4d16ded SHA512 9cac3e4a07c425e87274de776e03d243e462341168235cd3991ef4706aa1a902cf6591ae8e965b9c4ed370fc2ebef3ca805a9c761d05c4b994ae8667198b267c
|
||||
|
||||
@@ -28,7 +28,7 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
append-flags -DLINUX -DMEDIACENTER
|
||||
append-flags -DLINUX -DMEDIACENTER -std=gnu10
|
||||
append-ldflags --static
|
||||
|
||||
# Set sane defaults (arm target has no -D flags added)
|
||||
|
||||
@@ -1,2 +1,16 @@
|
||||
DIST rpi-imager-1.9.5.tar.xz 62486944 BLAKE2B 095a2ec1af6bdfd246713045fbf8b334c8971c485154a8a1d7ea4d28488e1c37a91b01327d4ba0b70c5f541c8833819dc10e62a6a5ee93d003b06db793172c43 SHA512 75695d7f52843db1d09958d3e0843d2c6633c7a6584ccf8731d5c53b69a173278c62cf8f39b5cea6d45bfbb78c5fbf13dc21d475f5a90c1ffa6c7cbd24846f3c
|
||||
EBUILD rpi-imager-1.9.5.ebuild 436 BLAKE2B 8430b793a9acf2e5b7696bb6f39173bfc013917c23e02e0b2f5c39e4e76d5d4915ee969014aaefd90929c932cd6e94ad6cb6ef040d1aa9fa1b5d21933515d3d3 SHA512 aa4b79270de41cb1aee487647c7c2503e18450c89c896380a6fa90ecc69b4d1fc78df2725f3b83793528558497b0801f972d99cb4061f1eddf65b7c150164575
|
||||
DIST rpi-imager-1.9.6.tar.xz 773452 BLAKE2B 48009d651c5dcaea9b1fa0a17684d3b2edce38c95075a8687bd82bf8f000e33be57d543ae5e7d9edc9668635fdc99f843673cc44373cab6cbcfe014dc26e47aa SHA512 6efc96954109b7109e65b40ccd807b52bc532219414c84d5ae74ba655352b5ee29daaa14d3337a0050e5badcbd8738ad9946528b115d5158a8b2d109ad96aa1c
|
||||
DIST rpi-imager-2.0.0.tar.xz 41857224 BLAKE2B 6de0272ce9933ecd7644ee480c72910eefd88ebc7ff30e6d8cfe27cd1362d886b6600c8ff6da6be4d9794acdd5409938863e29168a22c470bad00d5519c29584 SHA512 19a8395256e15aceff1f29a066c85d14590089123bde488072b2771f7de4366e4683233becff81704a73ff551dcf16f9d8123189de2c8fd0da028bd10a8b5333
|
||||
DIST rpi-imager-2.0.1.tar.gz 4766104 BLAKE2B d517d8cb7c74b14876aa68776a286fe80a0c399d643600d433b33f4b8a95f8555f772b45db9dc76440191c75a9790a1c957ddbb038a2edde81bb7c8cb832d557 SHA512 f3b615c272b9fbfa5c82c5be17eaef9dedad908227a06e4c7bf93f1f49fd7570cef068bf9eec21eda23e0d34bd88a54c512f6a1e275978734611b40e526a0b6b
|
||||
DIST rpi-imager-2.0.2.tar.gz 21340442 BLAKE2B 23dbfb1afaee82c4fc6cdbc20b01f7fb5ec3bd272788edb966669d701cf78bb01fc637bb6bd705fb44c9664cc2f159a608b7b192693874cc0f2f092cdd0034b8 SHA512 7a7bfd8f1e64dc34a496ad8d62b13db3c9b6cbb964ae69124bd22dcf67f4455b45991fff1bd5327aef7bd882879693d607075d127055a4f3532977101fac0309
|
||||
DIST rpi-imager-2.0.3.tar.gz 21474674 BLAKE2B d22a9bf7dd1c2126350463823882ebc17b8bdf2bdb0071650b90f351c3ec286c6ce26d00094194cf1d54c22f4bad15eeeb232b5acca6588c2581d86bd0802668 SHA512 7294be0c7549c9170e137f121b393b234eb55d28947e5c3ece9d6cedf00c71592660745c7b9d9b38278cdba67535143d9215cfeee61a95b56b7eeaa7583cd535
|
||||
DIST rpi-imager-2.0.4.tar.gz 21518732 BLAKE2B a228312cfd84a8c122c0f8405a5876107d6c8c25aef10dc6a311b7d3846a43b317e1e309904e4100fa3fb37ab2edd930fce98797dcac9bfc1c41ed0554d3d33e SHA512 dbe1b9d1f3f9e90a32b661d75e085eba0a26ad74640daab25a255b31c5b13f7214c2bfa6cc52d40a79caa9c00779951f1e7a7eed9607ec1fb917d46552a0ca38
|
||||
DIST rpi-imager-2.0.5.tar.gz 6363109 BLAKE2B c31d7d849e9c04b02400d66a59c8009314c6b875fa5e8f0afcbad07288b844184ea1beb6d26e9dd26349e882b2ae88af9721ba20cb481de26fcd9a3e890a7472 SHA512 12cbd14bbb950ccdc85fd9bbda57ed75f7b371ab63807d727b07eb546191d20abd4485c80984c8e399413e748353e92aa9cd3b8e28faaada35d08007ac966678
|
||||
DIST rpi-imager-2.0.6.tar.gz 6363905 BLAKE2B f38d38504e33959a6b2706216a38519dfae688f9176accc056a18bae6bd98291680ef6aaa39ceb28ed558b774f71db586f3addd7b759a64524b64158edc029e0 SHA512 68915eb26fda0d44fb858c8747f7070b162eae22ac20d5d522ac254834421646a03871b0798608040d11e1fd4b1c847d6a1ca94b1614f26e34594956e97930ba
|
||||
EBUILD rpi-imager-1.9.6.ebuild 436 BLAKE2B 8430b793a9acf2e5b7696bb6f39173bfc013917c23e02e0b2f5c39e4e76d5d4915ee969014aaefd90929c932cd6e94ad6cb6ef040d1aa9fa1b5d21933515d3d3 SHA512 aa4b79270de41cb1aee487647c7c2503e18450c89c896380a6fa90ecc69b4d1fc78df2725f3b83793528558497b0801f972d99cb4061f1eddf65b7c150164575
|
||||
EBUILD rpi-imager-2.0.0.ebuild 390 BLAKE2B 2139338dfb761b4948f2bd1b5696bd38596fd1b49467aa93fe53dbcfa94a1811d2db1788c489f00e952b1089641ee0e51bb2aa90bbabfc3cca39ed21e9ec65b6 SHA512 e75afcb7b118c5e580daadb6f97a8f01ac38f32968f7adc5d9b44390331e98b1abaefee2874bd12ae04fd0810f6754e943e0805fa7ca8f9d1b199a83af83e388
|
||||
EBUILD rpi-imager-2.0.1.ebuild 382 BLAKE2B f3d7a67a12d1b32cbe1955fad943e679578ed519e786519fad97db592ddfd696a4cf8e7f245d38378f83210986508d1dabdaf65452819a2e5bf11c00c0cdebaa SHA512 f28f0d912279bb55ee7891757991136c16fd676daa18eb6e6a34e256a29a56e52fc62e247efd927dd997f5840a2bd47416e20ad4a1f0bbdf5a948fe1a4b7f5d9
|
||||
EBUILD rpi-imager-2.0.2.ebuild 382 BLAKE2B f3d7a67a12d1b32cbe1955fad943e679578ed519e786519fad97db592ddfd696a4cf8e7f245d38378f83210986508d1dabdaf65452819a2e5bf11c00c0cdebaa SHA512 f28f0d912279bb55ee7891757991136c16fd676daa18eb6e6a34e256a29a56e52fc62e247efd927dd997f5840a2bd47416e20ad4a1f0bbdf5a948fe1a4b7f5d9
|
||||
EBUILD rpi-imager-2.0.3.ebuild 382 BLAKE2B f3d7a67a12d1b32cbe1955fad943e679578ed519e786519fad97db592ddfd696a4cf8e7f245d38378f83210986508d1dabdaf65452819a2e5bf11c00c0cdebaa SHA512 f28f0d912279bb55ee7891757991136c16fd676daa18eb6e6a34e256a29a56e52fc62e247efd927dd997f5840a2bd47416e20ad4a1f0bbdf5a948fe1a4b7f5d9
|
||||
EBUILD rpi-imager-2.0.4.ebuild 382 BLAKE2B f3d7a67a12d1b32cbe1955fad943e679578ed519e786519fad97db592ddfd696a4cf8e7f245d38378f83210986508d1dabdaf65452819a2e5bf11c00c0cdebaa SHA512 f28f0d912279bb55ee7891757991136c16fd676daa18eb6e6a34e256a29a56e52fc62e247efd927dd997f5840a2bd47416e20ad4a1f0bbdf5a948fe1a4b7f5d9
|
||||
EBUILD rpi-imager-2.0.5.ebuild 382 BLAKE2B f3d7a67a12d1b32cbe1955fad943e679578ed519e786519fad97db592ddfd696a4cf8e7f245d38378f83210986508d1dabdaf65452819a2e5bf11c00c0cdebaa SHA512 f28f0d912279bb55ee7891757991136c16fd676daa18eb6e6a34e256a29a56e52fc62e247efd927dd997f5840a2bd47416e20ad4a1f0bbdf5a948fe1a4b7f5d9
|
||||
EBUILD rpi-imager-2.0.6.ebuild 382 BLAKE2B f3d7a67a12d1b32cbe1955fad943e679578ed519e786519fad97db592ddfd696a4cf8e7f245d38378f83210986508d1dabdaf65452819a2e5bf11c00c0cdebaa SHA512 f28f0d912279bb55ee7891757991136c16fd676daa18eb6e6a34e256a29a56e52fc62e247efd927dd997f5840a2bd47416e20ad4a1f0bbdf5a948fe1a4b7f5d9
|
||||
|
||||
18
dev-embedded/rpi-imager/rpi-imager-2.0.0.ebuild
Normal file
18
dev-embedded/rpi-imager/rpi-imager-2.0.0.ebuild
Normal file
@@ -0,0 +1,18 @@
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Raspberry Pi Imaging Utility"
|
||||
HOMEPAGE=https://www.raspberrypi.com/software/
|
||||
SRC_URI="https://github.com/raspberrypi/${PN}/releases/download/v${PV}/${PN}_${PV}.tar.xz -> ${P}.tar.xz"
|
||||
LICENSE=Apache-2.0
|
||||
SLOT=0
|
||||
KEYWORDS="amd64 aarch64"
|
||||
S=$WORKDIR/$PN/src
|
||||
RESTRICT=network-sandbox
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtbase:6
|
||||
dev-qt/qtdeclarative:6
|
||||
dev-qt/qtsvg:6
|
||||
"
|
||||
18
dev-embedded/rpi-imager/rpi-imager-2.0.1.ebuild
Normal file
18
dev-embedded/rpi-imager/rpi-imager-2.0.1.ebuild
Normal file
@@ -0,0 +1,18 @@
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Raspberry Pi Imaging Utility"
|
||||
HOMEPAGE=https://www.raspberrypi.com/software/
|
||||
SRC_URI="https://github.com/raspberrypi/rpi-imager/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE=Apache-2.0
|
||||
SLOT=0
|
||||
KEYWORDS="amd64 aarch64"
|
||||
S=$WORKDIR/$P/src
|
||||
RESTRICT=network-sandbox
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtbase:6
|
||||
dev-qt/qtdeclarative:6
|
||||
dev-qt/qtsvg:6
|
||||
"
|
||||
18
dev-embedded/rpi-imager/rpi-imager-2.0.2.ebuild
Normal file
18
dev-embedded/rpi-imager/rpi-imager-2.0.2.ebuild
Normal file
@@ -0,0 +1,18 @@
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Raspberry Pi Imaging Utility"
|
||||
HOMEPAGE=https://www.raspberrypi.com/software/
|
||||
SRC_URI="https://github.com/raspberrypi/rpi-imager/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE=Apache-2.0
|
||||
SLOT=0
|
||||
KEYWORDS="amd64 aarch64"
|
||||
S=$WORKDIR/$P/src
|
||||
RESTRICT=network-sandbox
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtbase:6
|
||||
dev-qt/qtdeclarative:6
|
||||
dev-qt/qtsvg:6
|
||||
"
|
||||
18
dev-embedded/rpi-imager/rpi-imager-2.0.3.ebuild
Normal file
18
dev-embedded/rpi-imager/rpi-imager-2.0.3.ebuild
Normal file
@@ -0,0 +1,18 @@
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Raspberry Pi Imaging Utility"
|
||||
HOMEPAGE=https://www.raspberrypi.com/software/
|
||||
SRC_URI="https://github.com/raspberrypi/rpi-imager/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE=Apache-2.0
|
||||
SLOT=0
|
||||
KEYWORDS="amd64 aarch64"
|
||||
S=$WORKDIR/$P/src
|
||||
RESTRICT=network-sandbox
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtbase:6
|
||||
dev-qt/qtdeclarative:6
|
||||
dev-qt/qtsvg:6
|
||||
"
|
||||
18
dev-embedded/rpi-imager/rpi-imager-2.0.4.ebuild
Normal file
18
dev-embedded/rpi-imager/rpi-imager-2.0.4.ebuild
Normal file
@@ -0,0 +1,18 @@
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Raspberry Pi Imaging Utility"
|
||||
HOMEPAGE=https://www.raspberrypi.com/software/
|
||||
SRC_URI="https://github.com/raspberrypi/rpi-imager/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE=Apache-2.0
|
||||
SLOT=0
|
||||
KEYWORDS="amd64 aarch64"
|
||||
S=$WORKDIR/$P/src
|
||||
RESTRICT=network-sandbox
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtbase:6
|
||||
dev-qt/qtdeclarative:6
|
||||
dev-qt/qtsvg:6
|
||||
"
|
||||
18
dev-embedded/rpi-imager/rpi-imager-2.0.5.ebuild
Normal file
18
dev-embedded/rpi-imager/rpi-imager-2.0.5.ebuild
Normal file
@@ -0,0 +1,18 @@
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Raspberry Pi Imaging Utility"
|
||||
HOMEPAGE=https://www.raspberrypi.com/software/
|
||||
SRC_URI="https://github.com/raspberrypi/rpi-imager/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE=Apache-2.0
|
||||
SLOT=0
|
||||
KEYWORDS="amd64 aarch64"
|
||||
S=$WORKDIR/$P/src
|
||||
RESTRICT=network-sandbox
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtbase:6
|
||||
dev-qt/qtdeclarative:6
|
||||
dev-qt/qtsvg:6
|
||||
"
|
||||
18
dev-embedded/rpi-imager/rpi-imager-2.0.6.ebuild
Normal file
18
dev-embedded/rpi-imager/rpi-imager-2.0.6.ebuild
Normal file
@@ -0,0 +1,18 @@
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Raspberry Pi Imaging Utility"
|
||||
HOMEPAGE=https://www.raspberrypi.com/software/
|
||||
SRC_URI="https://github.com/raspberrypi/rpi-imager/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE=Apache-2.0
|
||||
SLOT=0
|
||||
KEYWORDS="amd64 aarch64"
|
||||
S=$WORKDIR/$P/src
|
||||
RESTRICT=network-sandbox
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtbase:6
|
||||
dev-qt/qtdeclarative:6
|
||||
dev-qt/qtsvg:6
|
||||
"
|
||||
10
dev-libs/openssl-compat/Manifest
Normal file
10
dev-libs/openssl-compat/Manifest
Normal file
@@ -0,0 +1,10 @@
|
||||
AUX gentoo.config-0.9.8 4125 BLAKE2B f1fbef2b61df1ac9d0ea5d36e5ced1c40ed098a221db6b975edd22585f787dd22e708b2b89bbb4bfab81be3b0234d4daceda1726ee27195a7aac1ba461f4dff2 SHA512 83259e0e3689bfb80de403379ff942b488a8d716e841ca22dfe47aeefeaf8dfab8e06a32af3c5e392def723acf50ea659f62ee16ba7dd81ca54ea79b9e474f07
|
||||
AUX openssl-0.9.7d-mit_krb5.patch 710 BLAKE2B f7bbfe6f0401c376473b156ea96c9fd1aa7953da20cee03c46fe1145eab6174191f311971481371e763b0e9e549b13986e1bfeda456ea74875f20f091be1423c SHA512 4dfe5b9464913deb94ea2381ec0b7ca9556e08e60e559867b3eb3ea08955848311c82efc8fad7a9f62d0c4131ead13da3dbe17cb056ff1481fce99ac52de838b
|
||||
AUX openssl-0.9.8e-bsd-sparc64.patch 1484 BLAKE2B 6cfba6ee4fa849e6d7799fbe749abf3763f22df3d5698b9120e89f0a74912462e7b14e457040071c2b46432210e9827ccc4e399eda54a5375b0f045d7e0b67ef SHA512 dbbfae5ce19a4247a6b1ca4a45ca6c15904e13e6bf603447cb5d9820292ceb411792e29db0001c5869e3c4cb0a8afe7fb64d35f007052efc68098301c2e81def
|
||||
AUX openssl-0.9.8h-ldflags.patch 1151 BLAKE2B b215e46c380e571f153445f902803cf5d03d44f6f8b95a677c08bdf542e6d199c58f1f4699eb7dbd9de8bdc02b697a7971a9a06157d96c3dbd4295090a778723 SHA512 7f98c5ad310710aeceefd6fac440682bf2baaf41ce17de535add54af88c45fa0689e6e6c26bafb4fe2290fd3b6d80c51d85ffda1e276a73a3d66a319585aab11
|
||||
AUX openssl-0.9.8m-binutils.patch 684 BLAKE2B 35650e98595910d2e6b6fc846b49fecbb2a8e4a8b647bbec009a829ae4af8afdc7e7edac7a1eec8f13af1ad69b7036ca6af28bfd9509e6bba58f2b3906d6bdd5 SHA512 5e8a20111bd4809e7375c7323dab2c2edd6a131d1ec2377ee99c5e06ceb7b4b000e9606ba6d0e68cd67d8e001cc8194e11e301eace0feb066d5f3c5b331b5f04
|
||||
AUX openssl-0.9.8z_p8-perl-5.26.patch 310 BLAKE2B 29c46391d127cd2b1cb3943f1bb162a8b931e455f35f9e045372102d1461e3e3fd4cf4e4f544ec06a0b46a573d2009c8decf22678df03707c2487bade64f27b5 SHA512 b8e745ff90e447b000ace9cfd5f746c1bc8f3bb8249064d1d2f1072a1a628f5a89c405c7f384c73f0310f2a2f7af672950a9b7adbc583b1ee94b41d911b8a708
|
||||
AUX openssl-0.9.8z_p8-termios.patch 256 BLAKE2B 3bb6e5c17e3d730a57b66c605ab9b25d5dc20e1b5d4edb1c5fda6427435e49823557340c529983c9b1946a988e30d710c8aa8b438d61ad0cbe4d9d7114f76f7b SHA512 03466045b95e498de0980582298b0dc6c077f62ea44f19a75fc4ace6e196fc6eed636a5717ef5f7c5e431bdaca496fd206e92fee5ca467e8f5e5e300a8957d14
|
||||
DIST openssl-0.9.8zh.tar.gz 3818524 BLAKE2B 610bb4858900983cf4519fa8b63f1e03b3845e39e68884fd8bebd738cd5cd6c2c75513643af49bf9e2294adc446a6516480fe9b62de55d9b6379bf9e7c5cd364 SHA512 b97fa2468211f86c0719c68ad1781eff84f772c479ed5193d6da14bac086b4ca706e7d851209d9df3f0962943b5e5333ab0def00110fb2e517caa73c0c6674c6
|
||||
EBUILD openssl-compat-0.9.8z_p8-r4.ebuild 5057 BLAKE2B 4b7fdd9457eea94f1d2dface9c05ea238f0902b03cc88d28a18ae1088a3b0041ba4cf8444f38922987e687e98f7fa2abfe93d849300fb5b6fa619ab060c79eda SHA512 edb5c1894a74122017fa4fcdb1cab251b44fcda17fed35ae6adfb2814f3175c6ffab41430bd0b6675a754441a27c4301bb439747ccc9e487ba8d5abbe9f956bd
|
||||
MISC metadata.xml 603 BLAKE2B f1c25e5f210e667f8358785732efac28723175621ffba74868537dc603685a7be2d809ffe7c5e04af304905845e27b7f2301168d199e61a449ff3c1b813bd744 SHA512 08d3b791543f2e5db3f066ce29875436367e8d413cbdb277bccf9ee609c5ebb58dcb2958d140446ffb3eca507ae3dc73531f028ce30233e0399d82611b3a89db
|
||||
144
dev-libs/openssl-compat/files/gentoo.config-0.9.8
Normal file
144
dev-libs/openssl-compat/files/gentoo.config-0.9.8
Normal file
@@ -0,0 +1,144 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
#
|
||||
# Openssl doesn't play along nicely with cross-compiling
|
||||
# like autotools based projects, so let's teach it new tricks.
|
||||
#
|
||||
# Review the bundled 'config' script to see why kind of targets
|
||||
# we can pass to the 'Configure' script.
|
||||
|
||||
|
||||
# Testing routines
|
||||
if [[ $1 == "test" ]] ; then
|
||||
for c in \
|
||||
"arm-gentoo-linux-uclibc |linux-generic32 -DL_ENDIAN" \
|
||||
"armv5b-linux-gnu |linux-generic32 -DB_ENDIAN" \
|
||||
"x86_64-pc-linux-gnu |linux-x86_64" \
|
||||
"alphaev56-unknown-linux-gnu |linux-alpha+bwx-gcc" \
|
||||
"i686-pc-linux-gnu |linux-elf" \
|
||||
"whatever-gentoo-freebsdX.Y |BSD-generic32" \
|
||||
"i686-gentoo-freebsdX.Y |BSD-x86-elf" \
|
||||
"sparc64-alpha-freebsdX.Y |BSD-sparc64" \
|
||||
"ia64-gentoo-freebsd5.99234 |BSD-ia64" \
|
||||
"x86_64-gentoo-freebsdX.Y |BSD-x86_64" \
|
||||
"hppa64-aldsF-linux-gnu5.3 |linux-generic32 -DB_ENDIAN" \
|
||||
"powerpc-gentOO-linux-uclibc |linux-ppc" \
|
||||
"powerpc64-unk-linux-gnu |linux-ppc64" \
|
||||
"x86_64-apple-darwinX |darwin64-x86_64-cc" \
|
||||
"powerpc64-apple-darwinX |darwin64-ppc-cc" \
|
||||
"i686-apple-darwinX |darwin-i386-cc" \
|
||||
"i386-apple-darwinX |darwin-i386-cc" \
|
||||
"powerpc-apple-darwinX |darwin-ppc-cc" \
|
||||
"i586-pc-winnt |winnt-parity" \
|
||||
;do
|
||||
CHOST=${c/|*}
|
||||
ret_want=${c/*|}
|
||||
ret_got=$(CHOST=${CHOST} "$0")
|
||||
|
||||
if [[ ${ret_want} == "${ret_got}" ]] ; then
|
||||
echo "PASS: ${CHOST}"
|
||||
else
|
||||
echo "FAIL: ${CHOST}"
|
||||
echo -e "\twanted: ${ret_want}"
|
||||
echo -e "\twe got: ${ret_got}"
|
||||
fi
|
||||
done
|
||||
exit 0
|
||||
fi
|
||||
[[ -z ${CHOST} && -n $1 ]] && CHOST=$1
|
||||
|
||||
|
||||
# Detect the operating system
|
||||
case ${CHOST} in
|
||||
*-aix*) system="aix";;
|
||||
*-darwin*) system="darwin";;
|
||||
*-freebsd*) system="BSD";;
|
||||
*-hpux*) system="hpux";;
|
||||
*-linux*) system="linux";;
|
||||
*-solaris*) system="solaris";;
|
||||
*-winnt*) system="winnt";;
|
||||
*) exit 0;;
|
||||
esac
|
||||
|
||||
|
||||
# Compiler munging
|
||||
compiler="gcc"
|
||||
if [[ ${CC} == "ccc" ]] ; then
|
||||
compiler=${CC}
|
||||
fi
|
||||
|
||||
|
||||
# Detect target arch
|
||||
machine=""
|
||||
chost_machine=${CHOST%%-*}
|
||||
case ${system} in
|
||||
linux)
|
||||
case ${chost_machine} in
|
||||
alphaev56*) machine=alpha+bwx-${compiler};;
|
||||
alphaev[678]*)machine=alpha+bwx-${compiler};;
|
||||
alpha*) machine=alpha-${compiler};;
|
||||
arm*b*) machine="generic32 -DB_ENDIAN";;
|
||||
arm*) machine="generic32 -DL_ENDIAN";;
|
||||
# hppa64*) machine=parisc64;;
|
||||
hppa*) machine="generic32 -DB_ENDIAN";;
|
||||
i[0-9]86*) machine=elf;;
|
||||
ia64*) machine=ia64;;
|
||||
m68*) machine="generic32 -DB_ENDIAN";;
|
||||
mips*el*) machine="generic32 -DL_ENDIAN";;
|
||||
mips*) machine="generic32 -DB_ENDIAN";;
|
||||
powerpc64*) machine=ppc64;;
|
||||
powerpc*) machine=ppc;;
|
||||
# sh64*) machine=elf;;
|
||||
sh*b*) machine="generic32 -DB_ENDIAN";;
|
||||
sh*) machine="generic32 -DL_ENDIAN";;
|
||||
sparc*v7*) machine="generic32 -DB_ENDIAN";;
|
||||
sparc64*) machine=sparcv9;;
|
||||
sparc*) machine=sparcv8;;
|
||||
s390x*) machine="generic64 -DB_ENDIAN";;
|
||||
s390*) machine="generic32 -DB_ENDIAN";;
|
||||
x86_64*) machine=x86_64;;
|
||||
esac
|
||||
;;
|
||||
BSD)
|
||||
case ${chost_machine} in
|
||||
alpha*) machine=generic64;;
|
||||
i[6-9]86*) machine=x86-elf;;
|
||||
ia64*) machine=ia64;;
|
||||
sparc64*) machine=sparc64;;
|
||||
x86_64*) machine=x86_64;;
|
||||
*) machine=generic32;;
|
||||
esac
|
||||
;;
|
||||
aix)
|
||||
machine=${compiler}
|
||||
;;
|
||||
darwin)
|
||||
case ${chost_machine} in
|
||||
powerpc64) machine=ppc-cc; system=${system}64;;
|
||||
powerpc) machine=ppc-cc;;
|
||||
i?86*) machine=i386-cc;;
|
||||
x86_64) machine=x86_64-cc; system=${system}64;;
|
||||
esac
|
||||
;;
|
||||
hpux)
|
||||
case ${chost_machine} in
|
||||
ia64) machine=ia64-${compiler} ;;
|
||||
esac
|
||||
;;
|
||||
solaris)
|
||||
case ${chost_machine} in
|
||||
i386) machine=x86-${compiler} ;;
|
||||
x86_64*) machine=x86_64-${compiler}; system=${system}64;;
|
||||
sparcv9*) machine=sparcv9-${compiler}; system=${system}64;;
|
||||
sparc*) machine=sparcv8-${compiler};;
|
||||
esac
|
||||
;;
|
||||
winnt)
|
||||
machine=parity
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
# If we have something, show it
|
||||
[[ -n ${machine} ]] && echo ${system}-${machine}
|
||||
@@ -0,0 +1,25 @@
|
||||
--- a/Configure
|
||||
+++ b/Configure
|
||||
@@ -365,7 +365,7 @@
|
||||
# -DMD32_REG_T=int doesn't actually belong in sparc64 target, it
|
||||
# simply *happens* to work around a compiler bug in gcc 3.3.3,
|
||||
# triggered by RIPEMD160 code.
|
||||
-"BSD-sparc64", "gcc:-DB_ENDIAN -DTERMIOS -O3 -DMD32_REG_T=int -Wall::${BSDthreads}:::SIXTY_FOUR_BIT_LONG RC2_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC2 BF_PTR:::des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
|
||||
+"BSD-sparc64", "gcc:-DB_ENDIAN -DTERMIOS -O3 -DMD32_REG_T=int -Wall::${BSDthreads}:ULTRASPARC::SIXTY_FOUR_BIT_LONG RC2_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC2 BF_PTR:::des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
|
||||
"BSD-ia64", "gcc:-DL_ENDIAN -DTERMIOS -O3 -Wall::${BSDthreads}:::SIXTY_FOUR_BIT_LONG RC4_CHUNK:${ia64_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
|
||||
"BSD-x86_64", "gcc:-DL_ENDIAN -DTERMIOS -O3 -DMD32_REG_T=int -Wall::${BSDthreads}:::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
|
||||
|
||||
|
||||
the -B flag is a no-op nowadays
|
||||
|
||||
--- a/crypto/des/Makefile
|
||||
+++ b/crypto/des/Makefile
|
||||
@@ -62,7 +62,7 @@
|
||||
$(CC) $(CFLAGS) -o des des.o cbc3_enc.o $(LIB)
|
||||
|
||||
des_enc-sparc.S: asm/des_enc.m4
|
||||
- m4 -B 8192 asm/des_enc.m4 > des_enc-sparc.S
|
||||
+ m4 asm/des_enc.m4 > des_enc-sparc.S
|
||||
|
||||
# ELF
|
||||
dx86-elf.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
|
||||
29
dev-libs/openssl-compat/files/openssl-0.9.8h-ldflags.patch
Normal file
29
dev-libs/openssl-compat/files/openssl-0.9.8h-ldflags.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
http://bugs.gentoo.org/181438
|
||||
http://bugs.gentoo.org/327421
|
||||
https://rt.openssl.org/Ticket/Display.html?id=3332&user=guest&pass=guest
|
||||
|
||||
make sure we respect LDFLAGS
|
||||
|
||||
also make sure we don't add useless -rpath flags to the system libdir
|
||||
|
||||
--- openssl-0.9.8h/Makefile.org
|
||||
+++ openssl-0.9.8h/Makefile.org
|
||||
@@ -180,6 +181,7 @@
|
||||
MAKEDEPEND='$$$${TOP}/util/domd $$$${TOP} -MD ${MAKEDEPPROG}' \
|
||||
DEPFLAG='-DOPENSSL_NO_DEPRECATED ${DEPFLAG}' \
|
||||
MAKEDEPPROG='${MAKEDEPPROG}' \
|
||||
+ LDFLAGS='${LDFLAGS}' \
|
||||
SHARED_LDFLAGS='${SHARED_LDFLAGS}' \
|
||||
KRB5_INCLUDES='${KRB5_INCLUDES}' LIBKRB5='${LIBKRB5}' \
|
||||
EXE_EXT='${EXE_EXT}' SHARED_LIBS='${SHARED_LIBS}' \
|
||||
--- openssl-0.9.8h/Makefile.shared
|
||||
+++ openssl-0.9.8h/Makefile.shared
|
||||
@@ -153,7 +153,7 @@
|
||||
NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \
|
||||
SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-Bsymbolic -Wl,-soname=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX"
|
||||
|
||||
-DO_GNU_APP=LDFLAGS="$(CFLAGS) -Wl,-rpath,$(LIBRPATH)"
|
||||
+DO_GNU_APP=LDFLAGS="$(LDFLAGS) $(CFLAGS)"
|
||||
|
||||
#This is rather special. It's a special target with which one can link
|
||||
#applications without bothering with any features that have anything to
|
||||
24
dev-libs/openssl-compat/files/openssl-0.9.8m-binutils.patch
Normal file
24
dev-libs/openssl-compat/files/openssl-0.9.8m-binutils.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
http://bugs.gentoo.org/289130
|
||||
|
||||
Ripped from Fedora
|
||||
|
||||
--- openssl-1.0.0-beta4/crypto/sha/asm/sha1-x86_64.pl.binutils 2009-11-12 15:17:29.000000000 +0100
|
||||
+++ openssl-1.0.0-beta4/crypto/sha/asm/sha1-x86_64.pl 2009-11-12 17:24:18.000000000 +0100
|
||||
@@ -150,7 +150,7 @@ ___
|
||||
sub BODY_20_39 {
|
||||
my ($i,$a,$b,$c,$d,$e,$f)=@_;
|
||||
my $j=$i+1;
|
||||
-my $K=($i<40)?0x6ed9eba1:0xca62c1d6;
|
||||
+my $K=($i<40)?0x6ed9eba1:-0x359d3e2a;
|
||||
$code.=<<___ if ($i<79);
|
||||
lea $K($xi,$e),$f
|
||||
mov `4*($j%16)`(%rsp),$xi
|
||||
@@ -187,7 +187,7 @@ sub BODY_40_59 {
|
||||
my ($i,$a,$b,$c,$d,$e,$f)=@_;
|
||||
my $j=$i+1;
|
||||
$code.=<<___;
|
||||
- lea 0x8f1bbcdc($xi,$e),$f
|
||||
+ lea -0x70e44324($xi,$e),$f
|
||||
mov `4*($j%16)`(%rsp),$xi
|
||||
mov $b,$t0
|
||||
mov $b,$t1
|
||||
@@ -0,0 +1,13 @@
|
||||
https://bugs.gentoo.org/639876
|
||||
|
||||
--- a/crypto/des/asm/des-586.pl
|
||||
+++ b/crypto/des/asm/des-586.pl
|
||||
@@ -4,7 +4,7 @@
|
||||
# Svend Olaf Mikkelsen <svolaf@inet.uni-c.dk>
|
||||
#
|
||||
|
||||
-push(@INC,"perlasm","../../perlasm");
|
||||
+push(@INC,".","perlasm","../../perlasm");
|
||||
require "x86asm.pl";
|
||||
require "cbc.pl";
|
||||
require "desboth.pl";
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/crypto/ui/ui_openssl.c
|
||||
+++ b/crypto/ui/ui_openssl.c
|
||||
@@ -186,7 +186,7 @@
|
||||
# undef SGTTY
|
||||
#endif
|
||||
|
||||
-#if defined(linux) && !defined(TERMIO)
|
||||
+#if defined(linux) && !defined(TERMIO) && !defined(TERMIOS)
|
||||
# undef TERMIOS
|
||||
# define TERMIO
|
||||
# undef SGTTY
|
||||
16
dev-libs/openssl-compat/metadata.xml
Normal file
16
dev-libs/openssl-compat/metadata.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>chewi@gentoo.org</email>
|
||||
<name>James Le Cuirot</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="bindist">Disable/Restrict EC algorithms (as they seem to be patented) -- note: changes the ABI</flag>
|
||||
<flag name="tls-compression">Enable support for discouraged TLS compression</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="cpe">cpe:/a:openssl:openssl</remote-id>
|
||||
<remote-id type="github">openssl/openssl</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
172
dev-libs/openssl-compat/openssl-compat-0.9.8z_p8-r4.ebuild
Normal file
172
dev-libs/openssl-compat/openssl-compat-0.9.8z_p8-r4.ebuild
Normal file
@@ -0,0 +1,172 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# this ebuild is only for the libcrypto.so.0.9.8 and libssl.so.0.9.8 SONAME for ABI compat
|
||||
|
||||
EAPI="8"
|
||||
|
||||
inherit flag-o-matic toolchain-funcs multilib-minimal
|
||||
|
||||
#PLEVEL=$(printf "\\$(printf '%03o' $((${PV##*_p} + 96)))")
|
||||
PLEVEL='h' # _p8 -> tr '[1-9]' '[a-i]' -> 'h'
|
||||
MY_PV=${PV/_p*/${PLEVEL}}
|
||||
MY_P=openssl-${MY_PV}
|
||||
DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1"
|
||||
HOMEPAGE="https://www.openssl.org/"
|
||||
SRC_URI="mirror://openssl/source/${MY_P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="openssl"
|
||||
SLOT="0.9.8"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="bindist gmp kerberos cpu_flags_x86_sse2 test tls-compression"
|
||||
RESTRICT="!bindist? ( bindist )
|
||||
test"
|
||||
|
||||
RDEPEND="
|
||||
gmp? ( >=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}] )
|
||||
tls-compression? ( virtual/zlib:=[${MULTILIB_USEDEP}] )
|
||||
kerberos? ( >=app-crypt/mit-krb5-1.11.4[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-lang/perl-5
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
sys-devel/bc
|
||||
)
|
||||
"
|
||||
|
||||
# Do not install any docs
|
||||
DOCS=()
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/openssl-0.9.8e-bsd-sparc64.patch
|
||||
"${FILESDIR}"/openssl-0.9.8h-ldflags.patch #181438
|
||||
"${FILESDIR}"/openssl-0.9.8m-binutils.patch #289130
|
||||
"${FILESDIR}"/openssl-0.9.8z_p8-perl-5.26.patch
|
||||
"${FILESDIR}"/openssl-0.9.8z_p8-termios.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# disable fips in the build
|
||||
# make sure the man pages are suffixed #302165
|
||||
# don't bother building man pages if they're disabled
|
||||
sed -i \
|
||||
-e '/DIRS/s: fips : :g' \
|
||||
-e '/^MANSUFFIX/s:=.*:=ssl:' \
|
||||
-e '/^MAKEDEPPROG/s:=.*:=$(CC):' \
|
||||
-e $(has noman FEATURES \
|
||||
&& echo '/^install:/s:install_docs::' \
|
||||
|| echo '/^MANDIR=/s:=.*:=/usr/share/man:') \
|
||||
Makefile{,.org} \
|
||||
|| die
|
||||
# show the actual commands in the log
|
||||
sed -i '/^SET_X/s:=.*:=set -x:' Makefile.shared || die
|
||||
# update the enginedir path.
|
||||
# punt broken config we don't care about as it fails sanity check.
|
||||
# force TERMIOS because glibc no longer has TERMIO.
|
||||
sed -i \
|
||||
-e '/^"debug-ben-debug-64"/d' \
|
||||
-e "/foo.*engines/s|/lib/engines|/$(get_libdir)/engines|" \
|
||||
-e 's/-DTERMIO\b/-DTERMIOS/g' \
|
||||
Configure || die
|
||||
|
||||
# since we're forcing $(CC) as makedep anyway, just fix
|
||||
# the conditional as always-on
|
||||
# helps clang (#417795), and versioned gcc (#499818)
|
||||
sed -i 's/expr.*MAKEDEPEND.*;/true;/' util/domd || die
|
||||
|
||||
# quiet out unknown driver argument warnings since openssl
|
||||
# doesn't have well-split CFLAGS and we're making it even worse
|
||||
# and 'make depend' uses -Werror for added fun (#417795 again)
|
||||
[[ ${CC} == *clang* ]] && append-flags -Qunused-arguments
|
||||
|
||||
# allow openssl to be cross-compiled
|
||||
cp "${FILESDIR}"/gentoo.config-0.9.8 gentoo.config || die "cp cross-compile failed"
|
||||
chmod a+rx gentoo.config || die
|
||||
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags -Wa,--noexecstack
|
||||
|
||||
sed -i '1s,^:$,#!/usr/bin/perl,' Configure || die #141906
|
||||
sed -i '/^"debug-bodo/d' Configure || die # 0.9.8za shipped broken
|
||||
./config --test-sanity || die "I AM NOT SANE"
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
unset APPS #197996
|
||||
unset SCRIPTS #312551
|
||||
|
||||
tc-export CC AR RANLIB
|
||||
|
||||
# Clean out patent-or-otherwise-encumbered code
|
||||
# Camellia: Royalty Free https://en.wikipedia.org/wiki/Camellia_(cipher)
|
||||
# IDEA: Expired https://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm
|
||||
# EC: ????????? ??/??/2015 https://en.wikipedia.org/wiki/Elliptic_Curve_Cryptography
|
||||
# MDC2: Expired https://en.wikipedia.org/wiki/MDC-2
|
||||
# RC5: 5,724,428 03/03/2015 https://en.wikipedia.org/wiki/RC5
|
||||
|
||||
use_ssl() { use $1 && echo "enable-${2:-$1} ${*:3}" || echo "no-${2:-$1}" ; }
|
||||
echoit() { echo "$@" ; "$@" ; }
|
||||
|
||||
local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal")
|
||||
|
||||
local sslout=$(./gentoo.config)
|
||||
einfo "Use configuration ${sslout:-(openssl knows best)}"
|
||||
local config="Configure"
|
||||
[[ -z ${sslout} ]] && config="config"
|
||||
|
||||
echoit \
|
||||
./${config} \
|
||||
${sslout} \
|
||||
$(use cpu_flags_x86_sse2 || echo "no-sse2") \
|
||||
enable-camellia \
|
||||
$(use_ssl !bindist ec) \
|
||||
enable-idea \
|
||||
enable-mdc2 \
|
||||
$(use_ssl !bindist rc5) \
|
||||
enable-tlsext \
|
||||
$(use_ssl gmp gmp -lgmp) \
|
||||
$(use_ssl kerberos krb5 --with-krb5-flavor=${krb5}) \
|
||||
$(use_ssl tls-compression zlib) \
|
||||
--prefix=/usr \
|
||||
--openssldir=/etc/ssl \
|
||||
shared threads \
|
||||
|| die "Configure failed"
|
||||
|
||||
# Clean out hardcoded flags that openssl uses
|
||||
local CFLAG=$(grep ^CFLAG= Makefile | LC_ALL=C sed \
|
||||
-e 's:^CFLAG=::' \
|
||||
-e 's:-fomit-frame-pointer ::g' \
|
||||
-e 's:-O[0-9] ::g' \
|
||||
-e 's:-march=[-a-z0-9]* ::g' \
|
||||
-e 's:-mcpu=[-a-z0-9]* ::g' \
|
||||
-e 's:-m[a-z0-9]* ::g' \
|
||||
)
|
||||
sed -i \
|
||||
-e "/^LIBDIR=/s|=.*|=$(get_libdir)|" \
|
||||
-e "/^CFLAG/s|=.*|=${CFLAG} ${CFLAGS}|" \
|
||||
-e "/^SHARED_LDFLAGS=/s|$| ${LDFLAGS}|" \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
# depend is needed to use $confopts
|
||||
emake -j1 depend
|
||||
emake -j1 build_libs
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
emake -j1 test
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
dolib.so lib{crypto,ssl}.so.0.9.8
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
DIST qtconnectivity-5.15.17-gentoo-kde-1.tar.xz 3784 BLAKE2B d34339bdc677b8d2390014cee37b213efefb51d053c5c727945240660d10532bb847e1b1cda0a6f542271a7844f78b8ef9b0c6bee4b8c4d1f9a738276310c073 SHA512 6aa31049a283bd47708b28358b19b8f881cf5ec1f6a696be0f53a1710e0f5bc814d0b2199130bef8efcf00754a6aabf166da73d78aa60b97254ebdd2d287a43c
|
||||
DIST qtconnectivity-everywhere-opensource-src-5.15.17.tar.xz 2822676 BLAKE2B 74525157ef1657d9400dcefc75bfa5b25b5ef1afac1cec89d4eae770f95488ce4036abb5c1b6851061e53f9d60dbb4e859e5f1d0085bdd1295815be6460967e1 SHA512 6f974d7a4fa91037df42f017bc68c6a4ab97824e18e18a252fed906ce404d6f0925260ba06e6bf4831c48a02de7c3c00efce4638111700adbd3840151f087e19
|
||||
EBUILD qtbluetooth-5.15.17.ebuild 692 BLAKE2B 86b2c4c3bd8873f259b7bdac7b30cc1c255604f6127d4a7bfc6f3847fd3064d409cb867e2951187edf15c48716a851747da3a4a5e48628a2dbb27d7aafd673a0 SHA512 c9a1a869996141743c017daae0cb2f2fd095b6f16ac1f9436ece7e22fe2f5720b3bef02bdaa6fd62a3b1c4818db9366c0874586bafe085391840a11d45a583f8
|
||||
DIST qtconnectivity-5.15.18-gentoo-kde-1.tar.xz 3008 BLAKE2B 9582d0515cfe57bb6444f37c19475c04cf2c384d384b7d8732d0b36da726c66310ad3fea72feebd2b9af4542696cb494261233b6c8078e746862177cef890632 SHA512 cec75e3f3195b1b2eae02b2e9fbcd024afbef0a34d7f1d1edc3cc9c372e8d595c7289186abd273c43fc389675d35822cb6fbc515f97d22c6fc3036661012ab5a
|
||||
DIST qtconnectivity-everywhere-opensource-src-5.15.18.tar.xz 2807316 BLAKE2B 6e321ad64af9c33b1ddcbcd2cc23edaf2f871d47f1fab7d2685a83938c56fba2155b6d7a1b794d6e0be7655e16f7084786de71965ad4462ce970122bfd650704 SHA512 26f194965090dc44547b46a7ee73d3dc30d3817f213b809f2e2fb9596b2184e5fa276e600d706675ad0f19b0b421c0fc8e52afbc0b6a16eeff00c4c459027dca
|
||||
EBUILD qtbluetooth-5.15.18.ebuild 692 BLAKE2B 86b2c4c3bd8873f259b7bdac7b30cc1c255604f6127d4a7bfc6f3847fd3064d409cb867e2951187edf15c48716a851747da3a4a5e48628a2dbb27d7aafd673a0 SHA512 c9a1a869996141743c017daae0cb2f2fd095b6f16ac1f9436ece7e22fe2f5720b3bef02bdaa6fd62a3b1c4818db9366c0874586bafe085391840a11d45a583f8
|
||||
MISC metadata.xml 562 BLAKE2B 89a71be78fc40c86d01afd963f8a8519410086f36b572707e8029ea58e900d7e9563eb1b94fec26c2e078395bfa9ef20149fd8c0b2a5d6c3699198890215ebe7 SHA512 85467596f68320b2cd8440f9587f88992d36915b906a5b9139b29e07a9db9ca31853ae7c379bf90e9178e407ab3e526187ed761cd8cfa155658491ef68bbcf30
|
||||
|
||||
3
dev-qt/qtcharts/Manifest
Normal file
3
dev-qt/qtcharts/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
DIST qtcharts-everywhere-opensource-src-5.15.18.tar.xz 4232420 BLAKE2B d05d19ed6d2293ce492df9f0b0123e39e78b4938f8baf96f7ad5fb2f1b7ef2d65bd15158cc0f2096ff8b7f7668c6ba7e13de4c233194a5fd2acff01b09745d84 SHA512 9c4b0d0c7456604048742f0628ecf049217acbb8a4a23c925ef6ce5c47eaf9fbcf6b1aecdcd1113679c9edf8a1635f3ca585acb31fd548f3ab577c5f4e54f3f2
|
||||
EBUILD qtcharts-5.15.18.ebuild 571 BLAKE2B a17532ff7f4fa495264723a4f9a952a73e451627bb4846bda6c30f86b7f3326bbc540583a9cb1f52665ce00754d51b66824ee7074441f69a64b4ed8d1ff23d5b SHA512 3adfd4dc9ba0c45c11a25414f28f73181ab6d9cb74556504bbb34e1e804b743207719f111f660f04813e6d29f66c1b98ad140440a6b5073d3144f144885fd976
|
||||
MISC metadata.xml 613 BLAKE2B 693aba98343908132ab23149d09ca0e9a99c3af498ac177469d63fb87a5f782b31f92a70941c33bd9f5d82cd0dccb2a2fe7ddf9321f9644401b0603cd99fd21e SHA512 33ee8e1edf4e713a4081af40e7d1b17ae1dcfa390bb6b2dc908d4c1e0ad010b588f65ce1f592bbccaeda21fbab70aaa777d6809ad75e15238c27f40421a78e77
|
||||
21
dev-qt/qtcharts/metadata.xml
Normal file
21
dev-qt/qtcharts/metadata.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>qt@gentoo.org</email>
|
||||
<name>Gentoo Qt Project</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="qml">Build QML/QtQuick bindings and imports</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<bugs-to>https://bugreports.qt.io/</bugs-to>
|
||||
<doc>https://doc.qt.io/</doc>
|
||||
<remote-id type="github">qt/qtcharts</remote-id>
|
||||
</upstream>
|
||||
<slots>
|
||||
<subslots>
|
||||
Must only be used by packages that are known to use private parts of the Qt API.
|
||||
</subslots>
|
||||
</slots>
|
||||
</pkgmetadata>
|
||||
@@ -1,25 +1,26 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Hardware sensor access library for the Qt5 framework"
|
||||
DESCRIPTION="Chart component library for the Qt5 framework"
|
||||
LICENSE="GPL-3"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv x86"
|
||||
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
# TODO: simulator
|
||||
IUSE="qml"
|
||||
|
||||
RDEPEND="
|
||||
DEPEND="
|
||||
=dev-qt/qtcore-${QT5_PV}*
|
||||
=dev-qt/qtdbus-${QT5_PV}*
|
||||
=dev-qt/qtgui-${QT5_PV}*
|
||||
=dev-qt/qtwidgets-${QT5_PV}*
|
||||
qml? ( =dev-qt/qtdeclarative-${QT5_PV}* )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
qt_use_disable_mod qml quick \
|
||||
@@ -1,3 +1,3 @@
|
||||
DIST qtgamepad-everywhere-opensource-src-5.15.17.tar.xz 382748 BLAKE2B 286eb370b7be4f77627de9fc98d7ca19a058651c511fa1a4da71b8af189f20b3bea52d4d177c103cba8fc1e1a0602f38eb3cfa86d8340b3660db44b1e1fe9acf SHA512 cdf9d4ffb965e70e1c2b5bf8cc9a59997dffd49c66d86bf15b957fa45dffe2c7e82ae0d44b231a14cd17ed6a515dbc5e2cf14ace38b4d1724d76923fb4a734fa
|
||||
EBUILD qtgamepad-5.15.17.ebuild 723 BLAKE2B 6e4dec6030921df33431b2638096959cc9b6c5b51ec98a34fb135274408fe26f6d4c553169394afd977f5e99ddce0bd6792af52eab130836f755bf7a76f8a133 SHA512 595c1f674d58c5473d60d68a13e9777d12d920ed96a5d5b4264a6929c83cad01c9c57dbd44641ca6eac33719f27a49649b979adf9dfe522034714f6cc458f09b
|
||||
DIST qtgamepad-everywhere-opensource-src-5.15.18.tar.xz 366792 BLAKE2B 4badfbe020e4525ee2c807861409833ad4bfd8908aa2c6924aa0fda106f8d4c84d5f8074e89fba4e4bfcd1796fa4f2f7c1e3f5e0ce21b6bbde591dc0eaa4b0f0 SHA512 03d07b4fe07adfad7dc8c3844f16c6f18f023417cefca52b5f833e95d4db47b7b228268d0d2547bc7a77dbc7a7e3174408c026f56126052ef30fbe7c7345014e
|
||||
EBUILD qtgamepad-5.15.18.ebuild 723 BLAKE2B 6e4dec6030921df33431b2638096959cc9b6c5b51ec98a34fb135274408fe26f6d4c553169394afd977f5e99ddce0bd6792af52eab130836f755bf7a76f8a133 SHA512 595c1f674d58c5473d60d68a13e9777d12d920ed96a5d5b4264a6929c83cad01c9c57dbd44641ca6eac33719f27a49649b979adf9dfe522034714f6cc458f09b
|
||||
MISC metadata.xml 613 BLAKE2B 02cac703ee9a9083829e963e9bc97424b58a36949b8237157976d9628f9623f806dee434e5eea3b63a1f2a4ac06509a3d0f0cd094590f12cb3b97ee09f9d6cf1 SHA512 9304973708ee729dc06cef8ac5b206a21ada747ca4efb36e2fc21007da61bfaf43947319be20b0ce73411f5eda2d13a4b226503c12b1d094d5f9180e84579432
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
DIST qtlocation-5.15.11-patchset.tar.xz 4796 BLAKE2B dcfa75bd3fb2e9069e1a530c27e2b4e9ac921fcf0ccb712f0894375b575ba25103948c6e5b85b56a8f9c9f2d7edf7df8e38501e93356e69f060b577a04c2d221 SHA512 14bd2864abc6f446dc4fbac03548cb42305685b46db757d856360780144095a021130bc0ebf1d07a516dc7991dc0cfbf733bd0ef6be58237bc15822c21af1d0b
|
||||
DIST qtlocation-everywhere-opensource-src-5.15.16.tar.xz 6548480 BLAKE2B 9f6d66d22f4ad45935e3e76e275866b236cd842b7a17a3a9e6553f75dcf3048cd70e0b046d5d08c57d4c9d7ea73f723b210d044f44bf494cafbbff590b0703e5 SHA512 321a8e68f731a97c7ef0209d6db0ff4891dd14dc43e14f5c4c5ac763069c7f17298fbc6410326df9265ccd631372cdba662fc82e26a324936d371c8572e19a48
|
||||
DIST qtlocation-everywhere-opensource-src-5.15.17.tar.xz 6550288 BLAKE2B 3c83702a55a0dc1dc000a918f0b4d5b8694c1f51454db79bd01f25e9aec72531195286f4114cee68245a4b18e9de13ec192412f092d35b45caac10227a83a092 SHA512 0f4a317948f46b58497d5d08a91c887c80f74e256d899816d5ec73120dd1931ae6129f6a16bd93b6fc2285141956e0f2c6e6ddebe5c536423fbb6314f4558473
|
||||
DIST qtlocation-mapboxgl-5.15.16-35d56672.tar.gz 3726302 BLAKE2B f51c0589a06fab35ba85b3bf4ca8a1904cda5aec47b17fdf747da527d02be623a76b1af5883b33267fab825a4b5d0863ea0220f2907e98e286b40d4a0bbc82e5 SHA512 5c2ff6ab7e4382d87546a802c5603bdcec3deb7fbb836fc981292c67660514caaa6118e164d2e099d0304710035572706562ec84e4aba5ce36b01cade8b0993e
|
||||
DIST qtlocation-mapboxgl-5.15.17-35d56672.tar.gz 3726302 BLAKE2B f51c0589a06fab35ba85b3bf4ca8a1904cda5aec47b17fdf747da527d02be623a76b1af5883b33267fab825a4b5d0863ea0220f2907e98e286b40d4a0bbc82e5 SHA512 5c2ff6ab7e4382d87546a802c5603bdcec3deb7fbb836fc981292c67660514caaa6118e164d2e099d0304710035572706562ec84e4aba5ce36b01cade8b0993e
|
||||
EBUILD qtlocation-5.15.16-r1.ebuild 1629 BLAKE2B 93af70522115073f42fcc8b073cd515c547f4be99a98bd8352fee740690fbbd0c5cba351f54ec0038dfc0c21bacd78f7bcba0a8d9cb02145a2748d4a5f371de6 SHA512 b21a9278eac1accf942ae82bb066991d5aacf59e43412a47e68b88a6b9bb0abf59347c310ca8988e248242b701a496862108e489da00ad7b537b6e6459aa61d3
|
||||
EBUILD qtlocation-5.15.17.ebuild 1629 BLAKE2B 93af70522115073f42fcc8b073cd515c547f4be99a98bd8352fee740690fbbd0c5cba351f54ec0038dfc0c21bacd78f7bcba0a8d9cb02145a2748d4a5f371de6 SHA512 b21a9278eac1accf942ae82bb066991d5aacf59e43412a47e68b88a6b9bb0abf59347c310ca8988e248242b701a496862108e489da00ad7b537b6e6459aa61d3
|
||||
DIST qtlocation-everywhere-opensource-src-5.15.18.tar.xz 6534556 BLAKE2B 5b8e7cc45c640ab9c753cb54e22574f2246f807802fac2c4376360e343b863c800b640edeea2569ad8af6b2fd56110eafd82792b111258f8997943f080003f13 SHA512 587e1cc8c8f46ab09ea79c4142dbecc52466dafa94c4bfa61264eba4f202fb5e2979d1ae6ba5fb924376d75764f28b58c7bcc03ab29edef2524aa872adb3c936
|
||||
DIST qtlocation-mapboxgl-5.15.18-35d56672.tar.gz 3726302 BLAKE2B f51c0589a06fab35ba85b3bf4ca8a1904cda5aec47b17fdf747da527d02be623a76b1af5883b33267fab825a4b5d0863ea0220f2907e98e286b40d4a0bbc82e5 SHA512 5c2ff6ab7e4382d87546a802c5603bdcec3deb7fbb836fc981292c67660514caaa6118e164d2e099d0304710035572706562ec84e4aba5ce36b01cade8b0993e
|
||||
EBUILD qtlocation-5.15.18.ebuild 1629 BLAKE2B 93af70522115073f42fcc8b073cd515c547f4be99a98bd8352fee740690fbbd0c5cba351f54ec0038dfc0c21bacd78f7bcba0a8d9cb02145a2748d4a5f371de6 SHA512 b21a9278eac1accf942ae82bb066991d5aacf59e43412a47e68b88a6b9bb0abf59347c310ca8988e248242b701a496862108e489da00ad7b537b6e6459aa61d3
|
||||
MISC metadata.xml 535 BLAKE2B 061ed9abebe579a38a262451a5e72d112adbcf4693078042f3b55be8d16b7bd430198edb732cd127deccf8c67d444b9951dd7ac8e2d0fef7de02913a3a8ba644 SHA512 823b03655b8bbb923d38d4f8358898beb2e2fa34d36e2d8d843e164027d58eb044a3e661b8dfc12cda123f15fd07d0987874b81543c47e46c670c25fa35dde87
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PATCHSET="${PN}-5.15.11-patchset"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Location (places, maps, navigation) library for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
MAPBOXGL_COMMIT=35d566724c48180c9a372c2ed50a253871a51574
|
||||
SRC_URI+=" https://invent.kde.org/qt/qt/${PN}-mapboxgl/-/archive/${MAPBOXGL_COMMIT}/${PN}-mapboxgl-${MAPBOXGL_COMMIT}.tar.gz -> ${PN}-mapboxgl-${PV}-${MAPBOXGL_COMMIT:0:8}.tar.gz
|
||||
https://dev.gentoo.org/~asturm/distfiles/${PATCHSET}.tar.xz"
|
||||
KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/icu:=
|
||||
=dev-qt/qtcore-${QT5_PV}*
|
||||
=dev-qt/qtdeclarative-${QT5_PV}*
|
||||
=dev-qt/qtgui-${QT5_PV}*
|
||||
=dev-qt/qtnetwork-${QT5_PV}*
|
||||
=dev-qt/qtpositioning-${QT5_PV}*[qml]
|
||||
=dev-qt/qtsql-${QT5_PV}*
|
||||
sys-libs/zlib
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
=dev-qt/qtconcurrent-${QT5_PV}*
|
||||
"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/3rdparty/clipper
|
||||
src/3rdparty/poly2tri
|
||||
src/3rdparty/clip2tri
|
||||
src/3rdparty/mapbox-gl-native
|
||||
src/location
|
||||
src/imports/location
|
||||
src/imports/locationlabs
|
||||
src/plugins/geoservices
|
||||
)
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
|
||||
PATCHES=( "${WORKDIR}/${PATCHSET}" )
|
||||
|
||||
src_prepare() {
|
||||
rm -rf src/3rdparty/mapbox-gl-native/* || die
|
||||
mv "${WORKDIR}"/${PN}-mapboxgl-${MAPBOXGL_COMMIT}/* src/3rdparty/mapbox-gl-native || die
|
||||
qt5-build_src_prepare
|
||||
}
|
||||
fi
|
||||
|
||||
src_configure() {
|
||||
# src/plugins/geoservices requires files that are only generated when
|
||||
# qmake is run in the root directory. Bug 633776.
|
||||
qt5_configure_oos_quirk qtlocation-config.pri src/location
|
||||
qt5-build_src_configure
|
||||
}
|
||||
@@ -1,5 +1,3 @@
|
||||
DIST qtsensors-everywhere-opensource-src-5.15.16.tar.xz 2051048 BLAKE2B 85fa8c67639751676ffa1ccd5ad1a89efbaed56f4bd39e99fd88bd25924d8cfc08d67a4f8f20878bac82a91f5768d60b5576e3799fc80221f2f6f7e7ac9994be SHA512 2bd63e07a996f5377bda885e7218fc218fc981bf2a637b3d939ae5913bbffe2a797716b0aaa63e61c7e1384f07712de8683787590649a8f01a424b7f4526502b
|
||||
DIST qtsensors-everywhere-opensource-src-5.15.17.tar.xz 2052824 BLAKE2B cf20931983d0c18cc88fd4f61701dec6c9cb22c024d054ca8dc80e8dd7ab583eac5ac6150681ea21f90ba0f3cd239753e2942bcde5b88498c17e902cf9bcaa46 SHA512 e3431f735d06d304b8312a273c6b12b39cba98a9e94897156921a3f6f45bccef2bb232db4872ea6c3bef5c636f07bf8c8cb9404a7b32b6643d7748d900b16adb
|
||||
EBUILD qtsensors-5.15.16.ebuild 559 BLAKE2B 411fcb30161c3700e93390c31ebc2b030ed91cfea3980da4eb860867d82180b73beea77a09b2c17956dff0ddd63ae4ba86bab6ff7318fa301bb3a9fceaf8caf1 SHA512 285fe9deab6c60bc5c151478fcb8fce78b55dc88af04b5216015f1e24ae4a2d991bef97757f1301da625263af625fe06121048a4f41bf46baa2ba596c1a1de8e
|
||||
EBUILD qtsensors-5.15.17.ebuild 559 BLAKE2B 411fcb30161c3700e93390c31ebc2b030ed91cfea3980da4eb860867d82180b73beea77a09b2c17956dff0ddd63ae4ba86bab6ff7318fa301bb3a9fceaf8caf1 SHA512 285fe9deab6c60bc5c151478fcb8fce78b55dc88af04b5216015f1e24ae4a2d991bef97757f1301da625263af625fe06121048a4f41bf46baa2ba596c1a1de8e
|
||||
DIST qtsensors-everywhere-opensource-src-5.15.18.tar.xz 2037808 BLAKE2B 393d1ca643b9a1143dc510c9e6e156127eaf48afe0d42193e95534520467897b6c055d05ca10a778fdc6df6f82d9cae14a4255971ed98494bed814e474015e1f SHA512 cecc4a7d6eeb64d1bd7c1d9d6c23926bca5168ed50ef5197094b296a61e024b62a5aaed6bfa97c84da2d342faf14d15c473646c5c400973be7172e4617824d94
|
||||
EBUILD qtsensors-5.15.18.ebuild 559 BLAKE2B 411fcb30161c3700e93390c31ebc2b030ed91cfea3980da4eb860867d82180b73beea77a09b2c17956dff0ddd63ae4ba86bab6ff7318fa301bb3a9fceaf8caf1 SHA512 285fe9deab6c60bc5c151478fcb8fce78b55dc88af04b5216015f1e24ae4a2d991bef97757f1301da625263af625fe06121048a4f41bf46baa2ba596c1a1de8e
|
||||
MISC metadata.xml 594 BLAKE2B 93f6b9de5266ef5bba3342d149afd04d4fdb27cac760d91b7dfb866d81ff4d4e86a3de1a512815444aa825350dad45923437f5caa7fea7cf6066667f2328d00e SHA512 68d91bcb4c8904a65021a81b01474081565e55c6776d29b54a70318282ce604f8e29e75f3d7574aedf9397ec72b2c6bd1e81ed4e630a4ecf553e070baebd9d64
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
DIST qtvirtualkeyboard-everywhere-opensource-src-5.15.17.tar.xz 10947852 BLAKE2B e3474c453d00389746d4c79bff468b30efc943e5ed10fc0e4e7c93e0aa3d74a9a4322d453af68b361e9d627a9c381f68d2fd108c011e39aeca2af9dfa1b33ff2 SHA512 abb603b8ab993c30d213ce20cab52271350354683cd0291d90a7aa9ae8cc25e6226c35295f589d2cf17819931a43ec8b4586f63348667cba16870061509fbd3d
|
||||
EBUILD qtvirtualkeyboard-5.15.17.ebuild 1214 BLAKE2B a2d1b8ccf58d8236afd410c626b28d6ef7cbbbd678620335d0f9f1f0f623d36c5185e5d7cb469d5e48a0759135a045c83afe88c409a764d87c97de88d5513ad3 SHA512 a5ee55fa5a05d94e62e6c5ee5d5abb10f3243985f9d04d9b57df175864ef2c73fb82ba0ece7bf2710e4ad4ad47c8da190a7f085f291e6f5f5786df681c76b08d
|
||||
DIST qtvirtualkeyboard-everywhere-opensource-src-5.15.18.tar.xz 10938608 BLAKE2B 9bef8ca0e645516290a8c44ed035e4f14acbf800ef33989fd6ece9f45b0077a5dc622cb74723ce1e76fd36d4de18a2d855d19ac5abbdd861c8bd6940cf3742aa SHA512 f7dd1365e45b7ed5f5f942abc6e4a1ea964955d9836bcfabed2c6de9669bcc47693c09370dd917e244bcaefe68cdcb06a985c798dcd612aafb03c1ebfca5b536
|
||||
EBUILD qtvirtualkeyboard-5.15.18.ebuild 1214 BLAKE2B a2d1b8ccf58d8236afd410c626b28d6ef7cbbbd678620335d0f9f1f0f623d36c5185e5d7cb469d5e48a0759135a045c83afe88c409a764d87c97de88d5513ad3 SHA512 a5ee55fa5a05d94e62e6c5ee5d5abb10f3243985f9d04d9b57df175864ef2c73fb82ba0ece7bf2710e4ad4ad47c8da190a7f085f291e6f5f5786df681c76b08d
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
AUX qt5-webengine-icu-78.patch 3588 BLAKE2B ff6077c4b53e8b3c4094aa69930bfee4aea6387c07b0095f47f5b927da7533136bada0f395ffe5112618aa78665b3efe91d00ed09833497fe902250c86dae4ca SHA512 e532d0995ca4fe16ae6aaece42e4dd8b2736aa1690aee8295e191b05424162ecbed065496a0a3d6d403cd0d21fd1a320b0cdceb93432f2b3ae6bbae9df4b6e28
|
||||
AUX qt5-webengine-ninja-1.12.patch 512 BLAKE2B 9bd8a09d818f0fbe911182e1ae0b57f45c85f7087bc8cbca7bb52215b1e300b2ac81117742e0a345de302d0fa8d99bee6ac0761f574c83fe387d660941b082bc SHA512 e8ab97a38c8ed6cce288e4416fb2fe4c2412c89478b173c5265e894a084b955f1877fbd48e54b28b2b6c717e3cde08f03d6d98a4d8ec3ecc858dc7e38c80a06b
|
||||
AUX qtwebengine-5.15.13_p20240510-gcc15.patch 1308 BLAKE2B d206c6df9b88f706ade2f501548d880692ac032dd4767a279faf90e546eca9390f7a4c89f2fd23cc7d9e865bc27b0da398c60de2440ba1cd0a10cb5ccfb86e28 SHA512 fb5162c3ea8865fc81762c5571ddc63efac89dbcb6029a1b749a07f5944cf9007d92a24b764459301a1292ccbc057bee415f5dd86c75ae2a53981bad31e4e148
|
||||
AUX qtwebengine-5.15.14_p20240510-gcc15-cstdint.patch 5506 BLAKE2B 2e31854e3beef5f25300a9b12158e9eabb674d54c07b563a4a7ffafe5c06dabdd808a776d4155f23ee7f0a917970d614f9060428ba8613d6cf15228bfc9d6b4c SHA512 e536d79f8841816858b5bd92adba6a862bce7149cc66c010885b82c8c92502a81e3fdb0038b21eafbdf046432a3b2c4c95b0352a608c0a99d0868813d56f00aa
|
||||
@@ -8,5 +9,5 @@ AUX qtwebengine-5.15.16_p20241115-py3.13-pipes.patch 848 BLAKE2B 7696eaf565511ad
|
||||
AUX qtwebengine-5.15.17-py3.13-pipes.patch 848 BLAKE2B 7696eaf565511adcac5e74f7788633d1e83a88079548f1069c840da40e3ec5fef5fbfa0c019234a40dde14f6f43249792ad1bfc3d2ee8e5669d7fde7234a7ad2 SHA512 79588891105d8dce27e273d4113c31352c6b1035762ea6b1211be5f58299d9e2852b0b98bad34492d9af85e3ae1ca87407ffbf190159d64b0c6d7ba49e842bf8
|
||||
AUX qtwebengine-5.15.2_p20210521-clang-libc++.patch 358 BLAKE2B a03de632ac4e01cf56c52af3a3bd5ff5bcfd525c67bf2e5d960904a9f3b53e1fa18f0e0df380c0cf84f17914fb313a028e26efaefe6ab5057f0d9a9cf2f6f0fd SHA512 6dc3864064d6084e70d4696fda744701c293ee62e9c9088e3247988ffb8085f30c632e94ac19aef715cbd211b21dfcb98691d5809e21cffd9f04bbb8b04cf0da
|
||||
DIST qtwebengine-5.15.14_p20240510-patchset.tar.xz 20780 BLAKE2B 516d4c628c4b027ab3a7159da006a57173be91de3eb4b7f308029953d4fd19fb3e790ca38e79d17fef75d8d9b392676650acb9285d5913f9ebecaa4136575c47 SHA512 492979d118d6bd9165ee194724e38b627d19c89dbe1daa6b2f55e4a8fc7676748a1eacb9623ee05e09140c2c4a2ac82ddafaef5c45630a117ce0ed14b240a474
|
||||
DIST qtwebengine-everywhere-opensource-src-5.15.17.tar.xz 319707540 BLAKE2B cab83868e938dea46ccb89dc75694c800723857a458e23e28032729dff6dc0701c06af2d983dee5675ce43a7e028421044dbfa0733984264a2195f4530024552 SHA512 f3f8a6e9b43e9a58a0b44777fd3333a621365f7cfe323207dfafdefe41f572a58b03ae9c00ab57cbd554d9d71c09d071b93841557099205d4b6dc474921bbfdf
|
||||
EBUILD qtwebengine-5.15.17.ebuild 8143 BLAKE2B 869eb1f18cf28280d178a4723b133b876d67770ea13d1d49d4a0beb1bfe07f53f44ac95ddc8f9d4535300bb815618a02de90282c85c774697a7163e97b56633e SHA512 800b5b84a6601573119048a303bbfcb056675e6675d22d8b0bf46c8049fb8de8b6f0f95e027ac3870e875f5fc6833c31fee96f89c512ab9113dd9e5fd28394eb
|
||||
DIST qtwebengine-everywhere-opensource-src-5.15.18.tar.xz 319649100 BLAKE2B 61bc11d0932e714400ca19f6ae8c8aa32bb1d4667020481c6b8fb1cc46021cd7bec3f6af476378ffbb1e26318a02a810e1bc339fbf645968a8ffd1d98760aa0c SHA512 731e9b01746efa0696bc89299fa4847157077bd21567a9d3358006d6bb7dddbadea5c085f9dfae12279e41619b4751d1d0009bfd0ee4f9ceab3bd1a567831ed2
|
||||
EBUILD qtwebengine-5.15.18.ebuild 8200 BLAKE2B 976ef7d8ee0af723841d63c7099015259084ce6ca53507decf279df9e02c01a7234b147334ffb573923acfe3f6fa85c5621b1629bcfc2d055820dbdb9ac4ccfb SHA512 7e74b86a483071229b63a4fbb261570da9382f83b39ca102abdd7f3d77696732ca9494304f74c368688b5dc9bc183e22285dc80eb54f5ab2af2598b619f26135
|
||||
|
||||
79
dev-qt/qtwebengine/files/qt5-webengine-icu-78.patch
Normal file
79
dev-qt/qtwebengine/files/qt5-webengine-icu-78.patch
Normal file
@@ -0,0 +1,79 @@
|
||||
https://unicode-org.github.io/icu-docs/apidoc/dev/icu4c/uchar_8h_source.html
|
||||
https://github.com/unicode-org/icu/blame/main/icu4c/source/common/unicode/uchar.h
|
||||
/usr/include/unicode/uchar.h
|
||||
|
||||
ICU78 adds LineBreak U_LB_UNAMBIGUOUS_HYPHEN = 48,/*[HH]*/.
|
||||
U_LB_COUNT goes from 48 to 49.
|
||||
|
||||
kBreakAllLineBreakClassTable is expected to be square with
|
||||
the same number of bits across as the lines down for every
|
||||
U_LB_COUNT LineBreak. This table should have U_LB_COUNT=49
|
||||
bit columns and 49 rows with a bunch of 1 bits sprinkled
|
||||
all over and should expand each time a new LineBreak is
|
||||
added. Rather than fiddling with the BA_LB_COUNT math or
|
||||
keep extending the table with zeros across and down as they
|
||||
did here:
|
||||
|
||||
https://src.opensuse.org/nodejs/nodejs-electron/src/commit/ee8e43b84d0e17b17d817943357e74dee3e5474ae7e6eaff93c60926bfc3780a/text_break_iterator-icu74-breakAllLineBreakClassTable-should-be-consistent.patch
|
||||
|
||||
we just hard set the table to 40 lines to support 0XX-39RI.
|
||||
ShouldBreakAfterBreakAll for LineBreak >= 40EB always
|
||||
return 0/false which is what the recent table patches were
|
||||
doing anyways. Look at the columns RI to VI and lines
|
||||
[RI]-[VI]. It's all zeros so everyone gave up extending
|
||||
this table with cleverly placed 1's years ago and just came
|
||||
up with Whatever Works (TM) patches. LineBreak support >=
|
||||
39RI running with 0 may be less than optimal. Here's
|
||||
another patch.
|
||||
|
||||
https://bugs.gentoo.org/917635
|
||||
|
||||
The original table code and patches since are all garbage
|
||||
anyways. Noone seems to understand what this table does. I
|
||||
don't either but I do know its limits and proper shape and
|
||||
that it's not required to have lines and columns added for
|
||||
each new LineBreak unless you want perfect support for new
|
||||
LineBreak.
|
||||
|
||||
The NodeJS patch adds a 6th array column which won't
|
||||
compile on earlier ICU versions where U_LB_COUNT is small.
|
||||
|
||||
static const unsigned char kBreakAllLineBreakClassTable[][BA_LB_COUNT / 8 + 1] = {
|
||||
|
||||
This line is written wrong. It creates an extra byte
|
||||
column when BA_LB_COUNT is divisible by 8. Our example of
|
||||
40 LineBreak can be stored in 40/8=5 column bytes yet this
|
||||
sets the column count to 40/8+1=6. This would be correct
|
||||
though with the size of this code I don't see a problem
|
||||
allocating 40 extra bytes.
|
||||
|
||||
static const unsigned char kBreakAllLineBreakClassTable[][(BA_LB_COUNT-1) / 8 + 1] = {
|
||||
|
||||
severach@aur
|
||||
https://aur.archlinux.org/packages/qt5-webengine
|
||||
|
||||
$ notepadqq
|
||||
Cannot mix incompatible Qt library (5.15.17) with this library (5.15.18)
|
||||
|
||||
If you have trouble with an application not working, look
|
||||
through this list for packages with old versions.
|
||||
|
||||
pacman -Qs qt5-
|
||||
|
||||
local/qt5-base 5.15.18+kde+r109-2 (qt5)
|
||||
* A cross-platform application and UI framework
|
||||
local/qt5-webchannel 5.15.17+kde+r3-1 (qt5)
|
||||
* Provides access to QObject or QML objects from HTML clients for seamless integration of Qt applications with HTML/JavaScript clients
|
||||
|
||||
diff -pNaru3 a/src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator.cc b/src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator.cc
|
||||
--- a/src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator.cc 2025-11-11 01:42:16.454081862 -0500
|
||||
+++ b/src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator.cc 2025-11-11 01:49:41.838185933 -0500
|
||||
@@ -163,7 +163,7 @@ static const unsigned char kAsciiLineBre
|
||||
// clang-format on
|
||||
|
||||
#if U_ICU_VERSION_MAJOR_NUM >= 74
|
||||
-#define BA_LB_COUNT (U_LB_COUNT - 8)
|
||||
+#define BA_LB_COUNT (40) /* (U_LB_COUNT - 8) */
|
||||
#elif U_ICU_VERSION_MAJOR_NUM >= 58
|
||||
#define BA_LB_COUNT (U_LB_COUNT - 3)
|
||||
#else
|
||||
@@ -18,7 +18,7 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
S="${WORKDIR}/${P}"
|
||||
QT5_BUILD_DIR="${S}_build"
|
||||
else
|
||||
SRC_URI="https://download.qt.io/official_releases/qt/5.15/${PV}/submodules/${PN}-everywhere-opensource-src-${PV}.tar.xz"
|
||||
SRC_URI="https://download.qt.io/archive/qt/5.15/${PV}/submodules/${PN}-everywhere-opensource-src-${PV}.tar.xz"
|
||||
S="${WORKDIR}/${PN}-everywhere-src-${PV}"
|
||||
QT5_BUILD_DIR="${S}_build"
|
||||
fi
|
||||
@@ -107,8 +107,9 @@ PATCHES=(
|
||||
"${FILESDIR}/${PN}-5.15.14_p20240510-re2.patch" # bug 913923
|
||||
"${FILESDIR}/${PN}-5.15.14_p20240510-gcc15-cstdint.patch"
|
||||
"${FILESDIR}/${PN}-5.15.14_p20240510-gcc15-template-id-cdtor.patch"
|
||||
"${FILESDIR}/${P}-py3.13-pipes.patch" # thx to Fedora
|
||||
"${FILESDIR}/${PN}-5.15.17-py3.13-pipes.patch" # thx to Fedora
|
||||
"${FILESDIR}/qt5-webengine-ninja-1.12.patch" # thx to Fedora
|
||||
"${FILESDIR}/qt5-webengine-icu-78.patch" # thx to Fedora
|
||||
)
|
||||
|
||||
python_check_deps() {
|
||||
@@ -12,11 +12,6 @@ AUX no_pdf_image_plugin.diff 854 BLAKE2B d63627aaf83d6752a65f5660a80682a18c4ad13
|
||||
AUX offlineasm_ruby_3.2.diff 1275 BLAKE2B 48e944220dca9527272a05f6517b66fb217e2505b0bf32c160c5ac5069e7fc1ab88dd2bbb3edcad71871753e44ea62c2f846d1489e15c5f62a1ede8af0935f11 SHA512 82004434b5f063363be3be7e550395065af7395009a148e6c0936f797889df6aa93754210a7c7bffbfdfeaa922a07bcd00437d0b90a59356be7f1fa7d8c193da
|
||||
AUX path_max.diff 598 BLAKE2B 676a26a4b97996e62eaea6ef3cd6481b0a64e062c5ef346f1938f6ae9dd5b37ac264b55ed338f413b230a79258982828305b00eff905b6cc78c219225a235e29 SHA512 d8908f53a66fa5a36660145ed0de4648465f7aa90bdf20554f9cf53f4ef2b02669c0a08f2ff0627215e62dcfa31f61cae206b3bd94ca737c2c30b6db2e7c36ca
|
||||
AUX python_3.9.diff 645 BLAKE2B bdad9cf9feec2b46459249affcf60ad8086dd0200cc5a3bd6eca2aabab6777d21ec526245affcaa85be77d1dd44dc123d33a19656c85bbf1901dca81a1e4cf9f SHA512 cd90c52141ff70381cc5c5f627713428dee20f33ceed66f428cc30a3a8f3c63263e26528f81de6c9bb970c6951121f48b92c681d799ee0bc651fe6f04aa0a543
|
||||
AUX qtwebkit-5.212.0_pre20200309-bison-3.7.patch 1613 BLAKE2B 0d2d173b5575ed5e1c52a07c5ceb14210bfb0a91e50a064df1e293451d64708822eb54d65947413efb13711d4c0c8e01441869248a4461446bd2bc122f07746b SHA512 cf21eff51e1026f4e506724a512b9925d4619909f5924bf01055244817ec9594e9d3ce105b510cd28ecce4772d122d1393fb7273501e20e16749f43282a3200b
|
||||
AUX qtwebkit-5.212.0_pre20200309-glib-2.68.patch 887 BLAKE2B 1a191fd47693d70bc6ddbafcc8031bdd511c3be63121c1014471a93ebf3f1326a922277c42520a878192e0db4bb679cc007f27451ffac1aecdd86032b9d383c2 SHA512 7948ab8d40e954bfcafaceb69ea51991f45a684d8875d542bdf39af46266f5c312581662ea591a8199aa5e3583a6e3612e175f73a75b66ffd094e304aa7d67a9
|
||||
AUX qtwebkit-5.212.0_pre20200309-icu-68.patch 4981 BLAKE2B c031aa8ec816749fa35e3876d007a02d60a3a5ff0fc57a2774a13fc23559b39cc5bfeec6fedd96cb36d7eed5d1b388049d190673afbe5b0fd2f0343f8afd5344 SHA512 b1cf2a5c07e4876e74913687417ffd751e6dcb3fa783c545ba50064d31c9a4bb1515ce9c26b399f2b9b53b588791e4e6f571ad7cfe631087ecd3709bce675a9e
|
||||
AUX qtwebkit-5.212.0_pre20200309-includes.patch 500 BLAKE2B 1b0f577679ab410126c09257215ee08708abc68fd89113c9c6f0849a76433e8487190a1890eb6bc46493f45da11b0c0bfbdc136a27c4c1d5af4ee10cf7e34b88 SHA512 0152a36c2d1193eb082dc5a71d07485764d6962f930d887bf665e9d18280a88e57c3ef07c84e04030589453829fa227faeb7fbc91a7f1c7f3b54151bedd50ddd
|
||||
AUX qtwebkit-5.212.0_pre20200309-python-3.9.patch 1100 BLAKE2B 2b44f8614a81141fd372d97cec2661b712e3cc68a01d5ed83d89c778eacc218a95a3273b7f464bbcd5380806859a40598cc166a8473fb30e76ca7e6b002b460f SHA512 9bcb07cfa61684d154f9b80b231c32423a8b80820445372634ef620c11a9267e98ae0318e143e6358f0668b10f90a44b163f0eeeee5476a0b5fbd31af5c4bf9a
|
||||
AUX reduce_exports.diff 946 BLAKE2B ac87fb790c16fe876b89e289a132e933e79da475a942f3e5d7473e22ea6f04062c4f5aefbb442a950dcd70dd717f86ba8b8b8e304aac949aab7a7cb29cec9eab SHA512 9240c6a9b30262715561960018ba40daf9efe19053b8b0b4817f10976ac6d837e7a32977a0c173ff7f8ed5281d3581cd7f79b3b1a2a5aa6be760a7594eb14574
|
||||
AUX series 271 BLAKE2B 647b81e820e5210edeaa5b6a01717ca22c70756862e9e073de9b7c23c4b3cd182adc858c37523f74a8f25d78a51522bdb4fa2b70a3f0c3d9a3f5d0af22d8c547 SHA512 c249c957d42beb5e3c811ac3e853ca3a0f3b05ede3e39ec4aa350df42a7d2fb83c7b45d7fa3c7a33e6ff789fd6851540074f286057b0bc1a9662159eb1d194f2
|
||||
AUX support_riscv64.diff 2131 BLAKE2B ea74709d35758e4c5662bfadef1b6e091788457e675783c7010e1e62fcfab59cc9b001b25ac373a50280fe9041423c2d7fd7d618d9e4a52a2800467bc8490b58 SHA512 0e07fb0b3dc39df14e9591706949ca0ae44d7c6433461673e9bebe927e5ec0529e1064ffc2d5e3b2a5f88a2d7016dd8f020eee6ae860bfee559f45662236c5c2
|
||||
|
||||
@@ -1,165 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
if [[ ${PV} = *9999 ]]; then
|
||||
EGIT_BRANCH="qtwebkit-5.212"
|
||||
EGIT_REPO_URI="https://github.com/qtwebkit/qtwebkit.git"
|
||||
inherit git-r3
|
||||
else
|
||||
#MY_P="${PN}-${PV/_pre20200309/-alpha4}" # present as upgrade over previous snapshot
|
||||
MY_PV="2022-09-07" # present as upgrade over previous snapshot
|
||||
MY_P="${PN}-${MY_PV}" # present as upgrade over previous snapshot
|
||||
#SRC_URI="https://github.com/annulen/webkit/releases/download/${MY_P}/${MY_P}.tar.xz"
|
||||
SRC_URI="https://github.com/movableink/webkit/releases/download/${MY_PV}/${MY_P}-src.tar.xz -> ${P}.tar.xz"
|
||||
KEYWORDS="amd64 arm arm64 ppc64 x86"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
USE_RUBY="ruby27 ruby30 ruby31 ruby32"
|
||||
inherit check-reqs cmake flag-o-matic python-any-r1 qmake-utils ruby-single toolchain-funcs
|
||||
|
||||
DESCRIPTION="WebKit rendering library for the Qt5 framework (deprecated)"
|
||||
HOMEPAGE="https://www.qt.io/"
|
||||
|
||||
LICENSE="BSD LGPL-2+"
|
||||
SLOT="5/5.212"
|
||||
IUSE="geolocation gles2-only +gstreamer +hyphen +jit multimedia nsplugin opengl orientation +printsupport qml X"
|
||||
|
||||
REQUIRED_USE="
|
||||
nsplugin? ( X )
|
||||
qml? ( opengl )
|
||||
?? ( gstreamer multimedia )
|
||||
"
|
||||
|
||||
# Dependencies found at Source/cmake/OptionsQt.cmake
|
||||
QT_MIN_VER="5.12.3:5"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
${RUBY_DEPS}
|
||||
dev-lang/perl
|
||||
dev-util/gperf
|
||||
>=sys-devel/bison-2.4.3
|
||||
sys-devel/flex
|
||||
sys-devel/dwz
|
||||
media-libs/woff2
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DEPEND="
|
||||
dev-db/sqlite:3
|
||||
dev-libs/icu:=
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
>=dev-qt/qtcore-${QT_MIN_VER}
|
||||
>=dev-qt/qtgui-${QT_MIN_VER}
|
||||
>=dev-qt/qtnetwork-${QT_MIN_VER}
|
||||
>=dev-qt/qtwidgets-${QT_MIN_VER}=
|
||||
media-libs/libpng:0=
|
||||
media-libs/woff2
|
||||
virtual/jpeg:0
|
||||
geolocation? ( >=dev-qt/qtpositioning-${QT_MIN_VER} )
|
||||
gstreamer? (
|
||||
dev-libs/glib:2
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-bad:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)
|
||||
hyphen? ( dev-libs/hyphen )
|
||||
multimedia? ( >=dev-qt/qtmultimedia-${QT_MIN_VER}[widgets] )
|
||||
opengl? (
|
||||
>=dev-qt/qtgui-${QT_MIN_VER}[gles2-only=]
|
||||
>=dev-qt/qtopengl-${QT_MIN_VER}[gles2-only=]
|
||||
)
|
||||
orientation? ( >=dev-qt/qtsensors-${QT_MIN_VER} )
|
||||
printsupport? ( >=dev-qt/qtprintsupport-${QT_MIN_VER} )
|
||||
qml? (
|
||||
>=dev-qt/qtdeclarative-${QT_MIN_VER}
|
||||
>=dev-qt/qtwebchannel-${QT_MIN_VER}[qml]
|
||||
)
|
||||
media-libs/libwebp:=
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXrender
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
CHECKREQS_DISK_BUILD="16G" # bug 417307
|
||||
|
||||
#PATCHES=(
|
||||
# #"${FILESDIR}/${P}-bison-3.7.patch" # bug 736499
|
||||
# "${FILESDIR}/${P}-icu-68.patch" # bug 753260
|
||||
# "${FILESDIR}/${P}-python-3.9.patch" # bug 766303
|
||||
# "${FILESDIR}/${P}-glib-2.68.patch" # bug 777759
|
||||
#)
|
||||
|
||||
_check_reqs() {
|
||||
if [[ ${MERGE_TYPE} != binary ]] && is-flagq "-g*" && ! is-flagq "-g*0"; then
|
||||
einfo "Checking for sufficient disk space to build ${PN} with debugging flags"
|
||||
check-reqs_$1
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
_check_reqs pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
_check_reqs pkg_setup
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
mkdir -p ${S}
|
||||
cd ${S}
|
||||
unpack ${P}.tar.xz
|
||||
}
|
||||
|
||||
|
||||
src_configure() {
|
||||
# Respect CC, otherwise fails on prefix, bug #395875
|
||||
tc-export CC
|
||||
|
||||
# Multiple rendering bugs on youtube, github, etc without this, bug #547224
|
||||
append-flags $(test-flags -fno-strict-aliasing)
|
||||
|
||||
local mycmakeargs=(
|
||||
-DPORT=Qt
|
||||
-DENABLE_API_TESTS=OFF
|
||||
-DENABLE_TOOLS=OFF
|
||||
-DENABLE_GEOLOCATION=$(usex geolocation)
|
||||
-DUSE_GSTREAMER=$(usex gstreamer)
|
||||
-DUSE_LIBHYPHEN=$(usex hyphen)
|
||||
-DENABLE_JIT=$(usex jit)
|
||||
-DUSE_QT_MULTIMEDIA=$(usex multimedia)
|
||||
-DENABLE_NETSCAPE_PLUGIN_API=$(usex nsplugin)
|
||||
-DENABLE_OPENGL=$(usex opengl)
|
||||
-DENABLE_PRINT_SUPPORT=$(usex printsupport)
|
||||
-DENABLE_DEVICE_ORIENTATION=$(usex orientation)
|
||||
-DENABLE_WEBKIT2=$(usex qml)
|
||||
-DENABLE_X11_TARGET=$(usex X)
|
||||
)
|
||||
|
||||
if has_version "virtual/rubygems[ruby_targets_ruby27]"; then
|
||||
mycmakeargs+=( -DRUBY_EXECUTABLE=$(type -P ruby27) )
|
||||
elif has_version "virtual/rubygems[ruby_targets_ruby26]"; then
|
||||
mycmakeargs+=( -DRUBY_EXECUTABLE=$(type -P ruby26) )
|
||||
else
|
||||
mycmakeargs+=( -DRUBY_EXECUTABLE=$(type -P ruby25) )
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
# bug 572056
|
||||
if [[ ! -f ${ED}$(qt5_get_libdir)/libQt5WebKit.so ]]; then
|
||||
eerror "${CATEGORY}/${PF} could not build due to a broken ruby environment."
|
||||
die 'Check "eselect ruby" and ensure you have a working ruby in your $PATH'
|
||||
fi
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
DIST smartgit-linux-24_1_4.tar.gz 114330306 BLAKE2B 69c2478aadee9c490bd8942189d9d61239038ff043c17d9c2c7e4b6647f1d3e7be603de9af350b58ef93082835aa33310d1e7c9f90c336ec5a92eaf3241e40a7 SHA512 61cb57c5fcca51206b43e7e57995dc972e063b4ade438106712e1cb3b1086b14cdbde47e83d3e162b7bf8a57e7a07c2f4cfb6cd03b450b29a7909a0c8bceffbe
|
||||
EBUILD smartgit-24.1.4.ebuild 1828 BLAKE2B 27fa71b604b1e4ab81a9b89ae5fc095fc3c7787d29ab6360e1f0ecda240b1ff36ca65c5f013ae2189007dfe0fbc7a6ea71bf0a597cf587bc36ae52951989b86b SHA512 be19fa12af72025f36067f76e252ba745f0604e10f79c98c70ad8cf5cafd62ba71f630ccaf2aa317e949255994e2e1592d29036744e56140d7a4657f8bc971ec
|
||||
EBUILD smartgit-24.1.4.ebuild 1840 BLAKE2B 055edde71b2f1066041ee14315834b27a5f5f5c1d2e8b0f0cbe9ccec08602f93797392a2365d100a60edbb86673760a840e417de776827837eab7d6211ac6a6f SHA512 a885d8e1158e9a28635189e582c1839f2ebb4eafc4bc6759f0cf8d4c2df214b713d0e98b30f64252e6f10872adfdb70272a6dd1691b860fa5b258a5c7efe8ad2
|
||||
MISC metadata.xml 349 BLAKE2B 03f788b099a1848be49f82e53cdbabde80b226276df7632eb4589660503ee06953f21251609e5444b9a593f97b102d4d1eab3c3cf38fe65c8cf92e6d1d537ee5 SHA512 2ec7de32f08bc98067071da34fb86cadfc57f6eb640d15ebbf8774bf874eb2849ef27af19c583c907135995da45beb0d669cf71d49a3a0fd9e80981a79d55553
|
||||
|
||||
@@ -37,6 +37,7 @@ pkg_setup() {
|
||||
src_install() {
|
||||
local rdir="/opt/${PN}" X
|
||||
insinto ${rdir}
|
||||
rm -rf jre
|
||||
doins -r *
|
||||
chmod +x "${ED}"${rdir}/bin/smartgit.sh || die
|
||||
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
AUX xpipe.desktop 368 BLAKE2B a3c312fbdb61ad2f7e5c84347c71cdea177964d4c5b4813d07ae42f82f97bfd933135cc80e2f9fd251507624f20c41c0480edeecb221fe0ad62941de9aa14bc8 SHA512 7ce02dfe011ab9af05c1a64bcfcfa6b4f3454781bb32c93202e87792661f3b25f6910cee9398d07fbbc0b407b09bedc4b07a249f2f4f781039e8ea6116901d24
|
||||
AUX xpipe.png 87256 BLAKE2B 5e7114dca107f92efbce24e93b94fce0671d3f8369ac06619954cb4303cea3a41d433d6a140ca6c2dbf027c0a5471748b3d321658bc465ac8f37004281c0d5d7 SHA512 cf4a50d133cb59392a33b7f3b71e11229cdb97cdea2ec4d8470a6fea981605ca79cf2365345eab15fd2875e21375ca7dbf0a5c8a07b0418086a2b4c98aaac61b
|
||||
DIST xpipe-portable-linux-1.7.16-x86_64.tar.gz 154180398 BLAKE2B 37317d118f0c7319165f04c00cff80d53aa25f843465ff889010a47735e1e2b3a8b088a3413711519f36b113e5a165e2c48efcc6cc48bbe85b97696d62f82fd2 SHA512 221dd792703bae1b9195e4812065969d5006e1673de132607f4394cfb97ffcbf958d35e7fb86e3fb9198ecbf60c7291351b47efe10bf328f267319ef697745f4
|
||||
DIST xpipe-portable-linux-16.5-x86_64.tar.gz 198639815 BLAKE2B 6d703157b126c0d38388a87205f9dd07bd3ddc8686b39886c1fcc30a98028d1313a2a4163e40def5895328f7c9e595c6b0ad6683641004b3eccbf14a33636b39 SHA512 f3ed8f65589e8d6debfefbea64a63b5dcbdb2b33637859c3d9f331bb35fc49fc5cc4eca620916f04457adcd22966772274bf7ba8229ee4b293670a344d50695d
|
||||
DIST xpipe-portable-linux-8.3-x86_64.tar.gz 152796358 BLAKE2B 9bd62f7f9184a5327ddd4840420dd906db74c92bcc2be622432ea2874bca46cb9174fc044c6abfae27f2f8ce0c0973ee62860bcc11fdd59c019e2ee543089db9 SHA512 9b99acb386b4205a7f18635ac9df56d210d6a7020cfb8c588e72c23eadc3f9f362f9cb2bfb6f289ff09202a382c6ad684dbb6e9ea92c1c0aefbac4c26b2f9cc9
|
||||
EBUILD xpipe-1.7.16.ebuild 1112 BLAKE2B e225bd643780482b15ba79f4ed579d843c3d929f1a52a88c42303297943a9c8ad3e8f2460cef8c2061465bfb6bf5112bb4bf8dd0d7857b6a47f83e30ee1fb4f9 SHA512 dbfc9b0032242e7f3e70e7910969e39e8eed119d1b704c272b7dd5faf61e84c82c682c35188a0fb8f40ed09e5971f57886e7e8a42c875e7019d1a25a7e05ee7b
|
||||
EBUILD xpipe-16.5.ebuild 1142 BLAKE2B 55689585d19f04567115f1e59eccaa67bf3f722bb1f6e9d0cb592981b25f53e0f3b7adc11de5f1c069ac675b1afc73a2d4e30878f0111cd211d66fbabdded3a0 SHA512 4151c94f67b5fe6770800d9ba49baf35a6006752de5afa42fbb8d353aab261b61b00284e0e5c9e383222123a630d4a730895c8896931cd38f330022cb22d70bf
|
||||
EBUILD xpipe-8.3.ebuild 1142 BLAKE2B 55689585d19f04567115f1e59eccaa67bf3f722bb1f6e9d0cb592981b25f53e0f3b7adc11de5f1c069ac675b1afc73a2d4e30878f0111cd211d66fbabdded3a0 SHA512 4151c94f67b5fe6770800d9ba49baf35a6006752de5afa42fbb8d353aab261b61b00284e0e5c9e383222123a630d4a730895c8896931cd38f330022cb22d70bf
|
||||
DIST xpipe-portable-linux-17.1-x86_64.tar.gz 198807630 BLAKE2B 32151e0cf639a23c55317557ef867428e593635b2d0e5aaa41a7b51dd63d572d0d9881171eb55f25a0aede2bcf1a613507afbfab040caa3390bcfe10f9b36e35 SHA512 d7b1aeeb47ca1f6aca5ba9a0904cd52831f8598c1ca06a8faa12ae05aa0e60a0fe9f936cb41a6dac2673c1ea00d61f06bbdfae303bb27e499f67bda7fcf1f7af
|
||||
EBUILD xpipe-17.1.ebuild 1140 BLAKE2B 47b853ff77e11fbcf22b3805b3903443103bcb93a14d106480a3f7f984692e18e6fe326570221a16ec46479369c907f4ee2175edaac0be6cb6129133fc89f385 SHA512 723b5c1201b43c35b81f58187f0a184afff351e4e4ecef187afaf14a32d69d1f936bcf738050c95cd57d7c575d77f15ab825b0563c1c98749753e7b9bd86fe70
|
||||
|
||||
@@ -30,14 +30,14 @@ src_install() {
|
||||
dodir /opt
|
||||
cp -a xpipe "${ED}"/opt || die
|
||||
|
||||
dosym ../../opt/xpipe/cli/bin/xpipe usr/bin/xpipe
|
||||
dosym ../../opt/xpipe/bin/xpipe usr/bin/xpipe
|
||||
|
||||
dosym ../../opt/xpipe/cli/xpipe_completion etc/bash_completion.d/xpipe
|
||||
# dosym ../../opt/xpipe/cli/xpipe_completion etc/bash_completion.d/xpipe
|
||||
|
||||
domenu ${FILESDIR}/${PN}.desktop
|
||||
doicon ${FILESDIR}/${PN}.png
|
||||
|
||||
doman xpipe/cli/man/*
|
||||
# doman xpipe/cli/man/*
|
||||
|
||||
}
|
||||
|
||||
|
||||
213
eclass/xlibre-meson.eclass
Normal file
213
eclass/xlibre-meson.eclass
Normal file
@@ -0,0 +1,213 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: xlibre-meson.eclass
|
||||
# @MAINTAINER:
|
||||
# maintainer-needed@example.com
|
||||
# @AUTHOR:
|
||||
# Author: Matt Turner <mattst88@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 8
|
||||
# @PROVIDES: meson meson-multilib
|
||||
# @BLURB: Reduces code duplication in the X11 ebuilds.
|
||||
# @DESCRIPTION:
|
||||
# This eclass makes trivial X ebuilds possible for apps, drivers,
|
||||
# and more. Many things that would normally be done in various functions
|
||||
# can be accessed by setting variables instead, such as patching,
|
||||
# passing options to meson and installing docs.
|
||||
#
|
||||
# All you need to do in a basic ebuild is inherit this eclass and set
|
||||
# DESCRIPTION, KEYWORDS and RDEPEND/DEPEND. If your package is hosted
|
||||
# with the other X packages, you don't need to set SRC_URI. Pretty much
|
||||
# everything else should be automatic.
|
||||
|
||||
case ${EAPI} in
|
||||
8) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
if [[ -z ${_XLIBRE_MESON_ECLASS} ]]; then
|
||||
_XLIBRE_MESON_ECLASS=1
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
fi
|
||||
|
||||
# @ECLASS_VARIABLE: XLIBRE_MULTILIB
|
||||
# @PRE_INHERIT
|
||||
# @DESCRIPTION:
|
||||
# If set to 'yes', multilib support for package will be enabled. Set
|
||||
# before inheriting this eclass.
|
||||
: "${XLIBRE_MULTILIB:="no"}"
|
||||
|
||||
[[ ${XLIBRE_MULTILIB} == yes ]] && inherit meson-multilib || inherit meson
|
||||
|
||||
# @ECLASS_VARIABLE: XLIBRE_BASE_INDIVIDUAL_URI
|
||||
# @PRE_INHERIT
|
||||
# @DESCRIPTION:
|
||||
# Set up SRC_URI for individual releases. If set to an empty
|
||||
# string, no SRC_URI will be provided by the eclass.
|
||||
: "${XLIBRE_BASE_INDIVIDUAL_URI="https://github.com/X11Libre"}"
|
||||
|
||||
# @ECLASS_VARIABLE: XLIBRE_MODULE
|
||||
# @PRE_INHERIT
|
||||
# @DESCRIPTION:
|
||||
# The subdirectory to download source from. Possible settings are app,
|
||||
# doc, data, util, driver, font, lib, proto, xserver. Set above the
|
||||
# inherit to override the default autoconfigured module.
|
||||
: "${XLIBRE_MODULE:="auto"}"
|
||||
if [[ ${XLIBRE_MODULE} == auto ]]; then
|
||||
case "${CATEGORY}/${P}" in
|
||||
app-doc/*) XLIBRE_MODULE=doc/ ;;
|
||||
media-fonts/*) XLIBRE_MODULE=font/ ;;
|
||||
x11-apps/*|x11-wm/*) XLIBRE_MODULE=app/ ;;
|
||||
x11-misc/*|x11-themes/*) XLIBRE_MODULE=util/ ;;
|
||||
x11-base/*) XLIBRE_MODULE= ;;
|
||||
x11-drivers/*) XLIBRE_MODULE= ;;
|
||||
x11-libs/*) XLIBRE_MODULE=lib/ ;;
|
||||
*) XLIBRE_MODULE= ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# @ECLASS_VARIABLE: XLIBRE_PACKAGE_NAME
|
||||
# @PRE_INHERIT
|
||||
# @DESCRIPTION:
|
||||
# For git checkout the git repository might differ from package name.
|
||||
# This variable can be used for proper directory specification
|
||||
: "${XLIBRE_PACKAGE_NAME:=${PN}}"
|
||||
case "${CATEGORY}/${P}" in
|
||||
x11-base/xlibre-server-*) XLIBRE_PACKAGE_NAME=xserver ;;
|
||||
esac
|
||||
|
||||
HOMEPAGE="https://github.com/X11Libre/${XLIBRE_MODULE}${XLIBRE_PACKAGE_NAME}"
|
||||
|
||||
# @ECLASS_VARIABLE: XLIBRE_TARBALL_SUFFIX
|
||||
# @PRE_INHERIT
|
||||
# @DESCRIPTION:
|
||||
# Most XLibre projects provide tarballs as tar.xz. This eclass defaults to tar.gz.
|
||||
: "${XLIBRE_TARBALL_SUFFIX:="gz"}"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
: "${EGIT_REPO_URI:="https://github.com/X11Libre/${XLIBRE_MODULE}${XLIBRE_PACKAGE_NAME}.git"}"
|
||||
elif [[ -n ${XLIBRE_BASE_INDIVIDUAL_URI} ]]; then
|
||||
SRC_URI="${XLIBRE_BASE_INDIVIDUAL_URI}/${XLIBRE_PACKAGE_NAME}/archive/refs/tags/xlibre-${XLIBRE_PACKAGE_NAME}-${PV}.tar.${XLIBRE_TARBALL_SUFFIX}"
|
||||
S="${WORKDIR}/${XLIBRE_PACKAGE_NAME}-xlibre-${XLIBRE_PACKAGE_NAME}-${PV}"
|
||||
fi
|
||||
|
||||
: "${SLOT:=0}"
|
||||
|
||||
# Set the license for the package. This can be overridden by setting
|
||||
# LICENSE after the inherit. Nearly all XLibre X packages are under
|
||||
# the MIT license.
|
||||
: "${LICENSE:=MIT}"
|
||||
|
||||
if [[ ${PN} == xf86-video-* || ${PN} == xf86-input-* ]]; then
|
||||
DEPEND+=" x11-base/xorg-proto"
|
||||
DEPEND+=" >=x11-base/xlibre-server-1.20:=[xorg]"
|
||||
RDEPEND+=" >=x11-base/xlibre-server-1.20:=[xorg]"
|
||||
if [[ ${PN} == xf86-video-* ]]; then
|
||||
DEPEND+=" >=x11-libs/libpciaccess-0.14"
|
||||
RDEPEND+=" >=x11-libs/libpciaccess-0.14"
|
||||
fi
|
||||
fi
|
||||
BDEPEND+=" virtual/pkgconfig"
|
||||
|
||||
# @ECLASS_VARIABLE: XLIBRE_DOC
|
||||
# @PRE_INHERIT
|
||||
# @DESCRIPTION:
|
||||
# Controls the installation of man3 developer documentation. Possible values
|
||||
# are the name of the useflag or "no". Default value is "no".
|
||||
: "${XLIBRE_DOC:="no"}"
|
||||
|
||||
case ${XLIBRE_DOC} in
|
||||
no)
|
||||
;;
|
||||
*)
|
||||
IUSE+=" ${XLIBRE_DOC}"
|
||||
;;
|
||||
esac
|
||||
|
||||
debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: DEPEND=${DEPEND}"
|
||||
debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: RDEPEND=${RDEPEND}"
|
||||
debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: PDEPEND=${PDEPEND}"
|
||||
debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: BDEPEND=${BDEPEND}"
|
||||
|
||||
# @FUNCTION: xlibre-meson_src_unpack
|
||||
# @DESCRIPTION:
|
||||
# Simply unpack source code.
|
||||
xlibre-meson_src_unpack() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
git-r3_src_unpack
|
||||
else
|
||||
unpack ${A}
|
||||
fi
|
||||
}
|
||||
|
||||
# @FUNCTION: xlibre-meson_flags_setup
|
||||
# @INTERNAL
|
||||
# @DESCRIPTION:
|
||||
# Set up CFLAGS for a debug build
|
||||
xlibre-meson_flags_setup() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
# Hardened flags break module autoloading et al (also fixes #778494)
|
||||
if [[ ${PN} == xlibre-server || ${PN} == xf86-video-* || ${PN} == xf86-input-* ]]; then
|
||||
filter-flags -fno-plt
|
||||
append-ldflags -Wl,-z,lazy
|
||||
fi
|
||||
}
|
||||
|
||||
# @VARIABLE: XLIBRE_CONFIGURE_OPTIONS
|
||||
# @DEFAULT_UNSET
|
||||
# @DESCRIPTION:
|
||||
# Array of an additional options to pass to meson setup.
|
||||
|
||||
# @FUNCTION: xlibre-meson_src_configure
|
||||
# @DESCRIPTION:
|
||||
# Perform any necessary pre-configuration steps, then run configure
|
||||
xlibre-meson_src_configure() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
xlibre-meson_flags_setup
|
||||
|
||||
local emesonargs=(
|
||||
-Ddefault_library=shared
|
||||
"${XLIBRE_CONFIGURE_OPTIONS[@]}"
|
||||
)
|
||||
|
||||
if [[ ${XLIBRE_MULTILIB} == yes ]]; then
|
||||
meson-multilib_src_configure "$@"
|
||||
else
|
||||
meson_src_configure "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
# @FUNCTION: xlibre-meson_src_install
|
||||
# @DESCRIPTION:
|
||||
# Install a built package to ${ED}, performing any necessary steps.
|
||||
xlibre-meson_src_install() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
if [[ ${XLIBRE_MULTILIB} == yes ]]; then
|
||||
meson-multilib_src_install "$@"
|
||||
else
|
||||
meson_src_install "$@"
|
||||
fi
|
||||
|
||||
# Many X11 libraries unconditionally install developer documentation
|
||||
if ! in_iuse doc && [[ -d "${ED}"/usr/share/man/man3 ]]; then
|
||||
eqawarn "ebuild should set XLIBRE_DOC=doc since package installs man3 documentation"
|
||||
fi
|
||||
|
||||
if in_iuse doc && ! use doc; then
|
||||
rm -rf "${ED}"/usr/share/man/man3 || die
|
||||
find "${ED}"/usr -type d -empty -delete || die
|
||||
fi
|
||||
}
|
||||
|
||||
fi
|
||||
|
||||
EXPORT_FUNCTIONS src_unpack src_configure src_install
|
||||
534
eclass/xlibre.eclass
Normal file
534
eclass/xlibre.eclass
Normal file
@@ -0,0 +1,534 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: xlibre.eclass
|
||||
# @MAINTAINER:
|
||||
# maintainer-needed@example.com
|
||||
# @AUTHOR:
|
||||
# Author: Tomáš Chvátal <scarabeus@gentoo.org>
|
||||
# Author: Donnie Berkholz <dberkholz@gentoo.org>
|
||||
# Author: Matt Turner <mattst88@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 8
|
||||
# @PROVIDES: multilib-minimal
|
||||
# @BLURB: Reduces code duplication in the modularized X11 ebuilds.
|
||||
# @DESCRIPTION:
|
||||
# This eclass makes trivial X ebuilds possible for apps, drivers,
|
||||
# and more. Many things that would normally be done in various functions
|
||||
# can be accessed by setting variables instead, such as patching,
|
||||
# running eautoreconf, passing options to configure and installing docs.
|
||||
# This eclass is based on xorg-3.eclass from gentoo upstream.
|
||||
#
|
||||
# All you need to do in a basic ebuild is inherit this eclass and set
|
||||
# DESCRIPTION, KEYWORDS and RDEPEND/DEPEND. If your package is hosted
|
||||
# with the other X packages, you don't need to set SRC_URI. Pretty much
|
||||
# everything else should be automatic.
|
||||
|
||||
case ${EAPI} in
|
||||
8) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
if [[ -z ${_XLIBRE_ECLASS} ]]; then
|
||||
_XLIBRE_ECLASS=1
|
||||
|
||||
GIT_ECLASS=""
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
GIT_ECLASS="git-r3"
|
||||
: "${XLIBRE_EAUTORECONF:="yes"}"
|
||||
fi
|
||||
|
||||
# If we're a font package, but not the font.alias one
|
||||
FONT_ECLASS=""
|
||||
if [[ ${CATEGORY} = media-fonts ]]; then
|
||||
case ${PN} in
|
||||
font-alias|font-util)
|
||||
;;
|
||||
font*)
|
||||
# Activate font code in the rest of the eclass
|
||||
FONT="yes"
|
||||
FONT_ECLASS="font"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# @ECLASS_VARIABLE: XLIBRE_MULTILIB
|
||||
# @PRE_INHERIT
|
||||
# @DESCRIPTION:
|
||||
# If set to 'yes', the multilib support for package will be enabled. Set
|
||||
# before inheriting this eclass.
|
||||
: "${XLIBRE_MULTILIB:="no"}"
|
||||
|
||||
# we need to inherit autotools first to get the deps
|
||||
AUTOTOOLS_AUTO_DEPEND=no
|
||||
inherit autotools libtool multilib toolchain-funcs flag-o-matic \
|
||||
${FONT_ECLASS} ${GIT_ECLASS}
|
||||
unset FONT_ECLASS GIT_ECLASS
|
||||
|
||||
[[ ${XLIBRE_MULTILIB} == yes ]] && inherit multilib-minimal
|
||||
|
||||
# @ECLASS_VARIABLE: XLIBRE_EAUTORECONF
|
||||
# @PRE_INHERIT
|
||||
# @DESCRIPTION:
|
||||
# If set to 'yes' and configure.ac exists, eautoreconf will run. Set
|
||||
# before inheriting this eclass.
|
||||
: "${XLIBRE_EAUTORECONF:="no"}"
|
||||
|
||||
# @ECLASS_VARIABLE: XLIBRE_BASE_INDIVIDUAL_URI
|
||||
# @PRE_INHERIT
|
||||
# @DESCRIPTION:
|
||||
# Set up SRC_URI for individual modular releases. If set to an empty
|
||||
# string, no SRC_URI will be provided by the eclass.
|
||||
: "${XLIBRE_BASE_INDIVIDUAL_URI="https://github.com/X11Libre"}"
|
||||
|
||||
# @ECLASS_VARIABLE: XLIBRE_MODULE
|
||||
# @PRE_INHERIT
|
||||
# @DESCRIPTION:
|
||||
# The subdirectory to download source from. Possible settings are app,
|
||||
# doc, data, util, driver, font, lib, proto, xserver. Set above the
|
||||
# inherit to override the default autoconfigured module.
|
||||
: "${XLIBRE_MODULE:="auto"}"
|
||||
if [[ ${XLIBRE_MODULE} == auto ]]; then
|
||||
case "${CATEGORY}/${P}" in
|
||||
app-doc/*) XLIBRE_MODULE=doc/ ;;
|
||||
media-fonts/*) XLIBRE_MODULE=font/ ;;
|
||||
x11-apps/*|x11-wm/*) XLIBRE_MODULE=app/ ;;
|
||||
x11-misc/*|x11-themes/*) XLIBRE_MODULE=util/ ;;
|
||||
x11-base/*) XLIBRE_MODULE= ;;
|
||||
x11-drivers/*) XLIBRE_MODULE= ;;
|
||||
x11-libs/*) XLIBRE_MODULE=lib/ ;;
|
||||
*) XLIBRE_MODULE= ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# @ECLASS_VARIABLE: XLIBRE_PACKAGE_NAME
|
||||
# @PRE_INHERIT
|
||||
# @DESCRIPTION:
|
||||
# For git checkout the git repository might differ from package name.
|
||||
# This variable can be used for proper directory specification
|
||||
: "${XLIBRE_PACKAGE_NAME:=${PN}}"
|
||||
case "${CATEGORY}/${P}" in
|
||||
x11-base/xlibre-server-*) XLIBRE_PACKAGE_NAME=xserver ;;
|
||||
esac
|
||||
|
||||
HOMEPAGE="https://github.com/X11Libre/${XLIBRE_MODULE}${XLIBRE_PACKAGE_NAME}"
|
||||
|
||||
# @ECLASS_VARIABLE: XLIBRE_TARBALL_SUFFIX
|
||||
# @PRE_INHERIT
|
||||
# @DESCRIPTION:
|
||||
# Most Xlibre projects provide tarballs as tar.gz. This eclass defaults to gz.
|
||||
: "${XLIBRE_TARBALL_SUFFIX:="gz"}"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
: "${EGIT_REPO_URI:="https://github.com/X11Libre/${XLIBRE_MODULE}${XLIBRE_PACKAGE_NAME}.git"}"
|
||||
elif [[ -n ${XLIBRE_BASE_INDIVIDUAL_URI} ]]; then
|
||||
SRC_URI="${XLIBRE_BASE_INDIVIDUAL_URI}/${XLIBRE_PACKAGE_NAME}/archive/refs/tags/xlibre-${XLIBRE_PACKAGE_NAME}-${PV}.tar.${XLIBRE_TARBALL_SUFFIX}"
|
||||
S="${WORKDIR}/${XLIBRE_PACKAGE_NAME}-xlibre-${XLIBRE_PACKAGE_NAME}-${PV}"
|
||||
fi
|
||||
|
||||
: "${SLOT:=0}"
|
||||
|
||||
# Set the license for the package. This can be overridden by setting
|
||||
# LICENSE after the inherit. Nearly all FreeDesktop-hosted X packages
|
||||
# are under the MIT license. (This is what Red Hat does in their rpms)
|
||||
: "${LICENSE:=MIT}"
|
||||
|
||||
# Set up autotools shared dependencies
|
||||
# Remember that all versions here MUST be stable
|
||||
EAUTORECONF_DEPEND+=" ${AUTOTOOLS_DEPEND}"
|
||||
if [[ ${PN} != util-macros ]] ; then
|
||||
EAUTORECONF_DEPEND+=" >=x11-misc/util-macros-1.18"
|
||||
# Required even by xlibre-server
|
||||
[[ ${PN} == "font-util" ]] || EAUTORECONF_DEPEND+=" >=media-fonts/font-util-1.2.0"
|
||||
fi
|
||||
if [[ ${XLIBRE_EAUTORECONF} == no ]] ; then
|
||||
BDEPEND+=" ${LIBTOOL_DEPEND}"
|
||||
else
|
||||
BDEPEND+=" ${EAUTORECONF_DEPEND}"
|
||||
fi
|
||||
unset EAUTORECONF_DEPEND
|
||||
|
||||
# @ECLASS_VARIABLE: FONT_DIR
|
||||
# @PRE_INHERIT
|
||||
# @DESCRIPTION:
|
||||
# If you're creating a font package and the suffix of PN is not equal to
|
||||
# the subdirectory of /usr/share/fonts/ it should install into, set
|
||||
# FONT_DIR to that directory or directories. Set before inheriting this
|
||||
# eclass.
|
||||
|
||||
if [[ ${FONT} == yes ]]; then
|
||||
RDEPEND+=" media-fonts/encodings
|
||||
>=x11-apps/mkfontscale-1.2.0"
|
||||
PDEPEND+=" media-fonts/font-alias"
|
||||
DEPEND+=" >=media-fonts/font-util-1.2.0
|
||||
>=x11-apps/mkfontscale-1.2.0"
|
||||
BDEPEND+=" x11-apps/bdftopcf"
|
||||
|
||||
[[ -z ${FONT_DIR} ]] && FONT_DIR=${PN##*-}
|
||||
|
||||
# Fix case of font directories
|
||||
FONT_DIR=${FONT_DIR/ttf/TTF}
|
||||
FONT_DIR=${FONT_DIR/otf/OTF}
|
||||
FONT_DIR=${FONT_DIR/type1/Type1}
|
||||
FONT_DIR=${FONT_DIR/speedo/Speedo}
|
||||
fi
|
||||
BDEPEND+=" virtual/pkgconfig"
|
||||
|
||||
# @ECLASS_VARIABLE: XLIBRE_DRI
|
||||
# @PRE_INHERIT
|
||||
# @DESCRIPTION:
|
||||
# Possible values are "always" or the value of the useflag DRI capabilities
|
||||
# are required for. Default value is "no"
|
||||
#
|
||||
# Eg. XLIBRE_DRI="opengl" will pull all dri dependent deps for opengl useflag
|
||||
: "${XLIBRE_DRI:="no"}"
|
||||
|
||||
DRI_COMMON_DEPEND="
|
||||
x11-base/xlibre-server[-minimal]
|
||||
x11-libs/libdrm
|
||||
"
|
||||
case ${XLIBRE_DRI} in
|
||||
no)
|
||||
;;
|
||||
always)
|
||||
COMMON_DEPEND+=" ${DRI_COMMON_DEPEND}"
|
||||
;;
|
||||
*)
|
||||
COMMON_DEPEND+=" ${XLIBRE_DRI}? ( ${DRI_COMMON_DEPEND} )"
|
||||
IUSE+=" ${XLIBRE_DRI}"
|
||||
;;
|
||||
esac
|
||||
unset DRI_COMMON_DEPEND
|
||||
|
||||
if [[ ${PN} == xf86-video-* || ${PN} == xf86-input-* ]]; then
|
||||
DEPEND+=" x11-base/xorg-proto"
|
||||
RDEPEND+=" x11-base/xlibre-server:="
|
||||
COMMON_DEPEND+=" >=x11-base/xlibre-server-1.20[xorg]"
|
||||
[[ ${PN} == xf86-video-* ]] && COMMON_DEPEND+=" >=x11-libs/libpciaccess-0.14"
|
||||
fi
|
||||
|
||||
|
||||
# @ECLASS_VARIABLE: XLIBRE_DOC
|
||||
# @PRE_INHERIT
|
||||
# @DESCRIPTION:
|
||||
# Possible values are "always" or the value of the useflag doc packages
|
||||
# are required for. Default value is "no"
|
||||
#
|
||||
# Eg. XLIBRE_DOC="manual" will pull all doc dependent deps for manual useflag
|
||||
: "${XLIBRE_DOC:="no"}"
|
||||
|
||||
DOC_DEPEND="
|
||||
doc? (
|
||||
|| ( app-text/asciidoc dev-ruby/asciidoctor )
|
||||
app-text/xmlto
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
app-text/docbook-xml-dtd:4.2
|
||||
app-text/docbook-xml-dtd:4.3
|
||||
)
|
||||
"
|
||||
case ${XLIBRE_DOC} in
|
||||
no)
|
||||
;;
|
||||
always)
|
||||
BDEPEND+=" ${DOC_DEPEND}"
|
||||
;;
|
||||
*)
|
||||
BDEPEND+=" ${XLIBRE_DOC}? ( ${DOC_DEPEND} )"
|
||||
IUSE+=" ${XLIBRE_DOC}"
|
||||
;;
|
||||
esac
|
||||
unset DOC_DEPEND
|
||||
|
||||
DEPEND+=" ${COMMON_DEPEND}"
|
||||
RDEPEND+=" ${COMMON_DEPEND}"
|
||||
unset COMMON_DEPEND
|
||||
|
||||
debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: DEPEND=${DEPEND}"
|
||||
debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: RDEPEND=${RDEPEND}"
|
||||
debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: PDEPEND=${PDEPEND}"
|
||||
debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: BDEPEND=${BDEPEND}"
|
||||
|
||||
# @FUNCTION: xlibre_pkg_setup
|
||||
# @DESCRIPTION:
|
||||
# Setup prefix compat
|
||||
xlibre_pkg_setup() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
[[ ${FONT} == yes ]] && font_pkg_setup "$@"
|
||||
}
|
||||
|
||||
# @FUNCTION: xlibre_src_unpack
|
||||
# @DESCRIPTION:
|
||||
# Simply unpack source code.
|
||||
xlibre_src_unpack() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
git-r3_src_unpack
|
||||
else
|
||||
unpack ${A}
|
||||
fi
|
||||
|
||||
[[ -n ${FONT} ]] && einfo "Detected font directory: ${FONT_DIR}"
|
||||
}
|
||||
|
||||
# @FUNCTION: xlibre_reconf_source
|
||||
# @DESCRIPTION:
|
||||
# Run eautoreconf if necessary, and run elibtoolize.
|
||||
xlibre_reconf_source() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
if [[ ${XLIBRE_EAUTORECONF} != no ]] ; then
|
||||
eautoreconf
|
||||
else
|
||||
elibtoolize --patch-only
|
||||
fi
|
||||
}
|
||||
|
||||
# @FUNCTION: xlibre_src_prepare
|
||||
# @DESCRIPTION:
|
||||
# Prepare a package after unpacking, performing all X-related tasks.
|
||||
xlibre_src_prepare() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
default
|
||||
xlibre_reconf_source
|
||||
}
|
||||
|
||||
# @FUNCTION: xlibre_font_configure
|
||||
# @DESCRIPTION:
|
||||
# If a font package, perform any necessary configuration steps
|
||||
xlibre_font_configure() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
# Pass --with-fontrootdir to override pkgconf SYSROOT behavior.
|
||||
# https://bugs.gentoo.org/815520
|
||||
if grep -q -s "with-fontrootdir" "${ECONF_SOURCE:-.}"/configure; then
|
||||
FONT_OPTIONS+=( --with-fontrootdir="${EPREFIX}"/usr/share/fonts )
|
||||
fi
|
||||
|
||||
if has nls ${IUSE//+} && ! use nls; then
|
||||
if ! grep -q -s "disable-all-encodings" ${ECONF_SOURCE:-.}/configure; then
|
||||
die "--disable-all-encodings option not available in configure"
|
||||
fi
|
||||
FONT_OPTIONS+=( --disable-all-encodings --enable-iso8859-1 )
|
||||
fi
|
||||
}
|
||||
|
||||
# @FUNCTION: xlibre_flags_setup
|
||||
# @DESCRIPTION:
|
||||
# Set up CFLAGS for a debug build
|
||||
xlibre_flags_setup() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
# Hardened flags break module autoloading et al (also fixes #778494)
|
||||
if [[ ${PN} == xlibre-server || ${PN} == xf86-video-* || ${PN} == xf86-input-* ]]; then
|
||||
filter-flags -fno-plt
|
||||
append-ldflags -Wl,-z,lazy
|
||||
fi
|
||||
|
||||
# Quite few libraries fail on runtime without these:
|
||||
if has static-libs ${IUSE//+}; then
|
||||
filter-flags -Wl,-Bdirect
|
||||
filter-ldflags -Bdirect
|
||||
filter-ldflags -Wl,-Bdirect
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf "${econfargs[@]}"
|
||||
}
|
||||
|
||||
# @VARIABLE: XLIBRE_CONFIGURE_OPTIONS
|
||||
# @DESCRIPTION:
|
||||
# Array of an additional options to pass to configure.
|
||||
# @DEFAULT_UNSET
|
||||
|
||||
# @FUNCTION: xlibre_src_configure
|
||||
# @DESCRIPTION:
|
||||
# Perform any necessary pre-configuration steps, then run configure
|
||||
xlibre_src_configure() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
xlibre_flags_setup
|
||||
|
||||
local xorgconfadd=("${XLIBRE_CONFIGURE_OPTIONS[@]}")
|
||||
|
||||
local FONT_OPTIONS=()
|
||||
[[ -n "${FONT}" ]] && xlibre_font_configure
|
||||
|
||||
# Check if package supports disabling of dep tracking
|
||||
# Fixes warnings like:
|
||||
# WARNING: unrecognized options: --disable-dependency-tracking
|
||||
if grep -q -s "disable-dependency-tracking" ${ECONF_SOURCE:-.}/configure; then
|
||||
local dep_track="--disable-dependency-tracking"
|
||||
fi
|
||||
|
||||
# Check if package supports disabling of selective -Werror=...
|
||||
if grep -q -s "disable-selective-werror" ${ECONF_SOURCE:-.}/configure; then
|
||||
local selective_werror="--disable-selective-werror"
|
||||
fi
|
||||
|
||||
# Check if package supports disabling of static libraries
|
||||
if grep -q -s "able-static" ${ECONF_SOURCE:-.}/configure; then
|
||||
local no_static="--disable-static"
|
||||
fi
|
||||
|
||||
local econfargs=(
|
||||
${dep_track}
|
||||
${selective_werror}
|
||||
${no_static}
|
||||
"${FONT_OPTIONS[@]}"
|
||||
"${xorgconfadd[@]}"
|
||||
)
|
||||
|
||||
# Handle static-libs found in IUSE, disable them by default
|
||||
if in_iuse static-libs; then
|
||||
econfargs+=(
|
||||
--enable-shared
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
fi
|
||||
|
||||
if [[ ${XLIBRE_MULTILIB} == yes ]]; then
|
||||
multilib-minimal_src_configure "$@"
|
||||
else
|
||||
econf "${econfargs[@]}" "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake "$@"
|
||||
}
|
||||
|
||||
# @FUNCTION: xlibre_src_compile
|
||||
# @DESCRIPTION:
|
||||
# Compile a package, performing all X-related tasks.
|
||||
xlibre_src_compile() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
if [[ ${XLIBRE_MULTILIB} == yes ]]; then
|
||||
multilib-minimal_src_compile "$@"
|
||||
else
|
||||
emake "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" "${install_args[@]}" "$@" install
|
||||
}
|
||||
|
||||
# @FUNCTION: xlibre_src_install
|
||||
# @DESCRIPTION:
|
||||
# Install a built package to ${D}, performing any necessary steps.
|
||||
xlibre_src_install() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
local install_args=( docdir="${EPREFIX}/usr/share/doc/${PF}" )
|
||||
|
||||
if [[ ${XLIBRE_MULTILIB} == yes ]]; then
|
||||
multilib-minimal_src_install "$@"
|
||||
else
|
||||
emake DESTDIR="${D}" "${install_args[@]}" "$@" install
|
||||
einstalldocs
|
||||
fi
|
||||
|
||||
# Many X11 libraries unconditionally install developer documentation
|
||||
if [[ -d "${D}"/usr/share/man/man3 ]]; then
|
||||
! in_iuse doc && eqawarn "QA Notice: ebuild should set XLIBRE_DOC=doc since package installs library documentation"
|
||||
fi
|
||||
|
||||
if in_iuse doc && ! use doc; then
|
||||
rm -rf "${D}"/usr/share/man/man3
|
||||
rmdir "${D}"/usr{/share{/man,},} 2>/dev/null
|
||||
fi
|
||||
|
||||
# Don't install libtool archives (even for modules)
|
||||
find "${D}" -type f -name '*.la' -delete || die
|
||||
|
||||
if [[ -n ${FONT} ]] ; then
|
||||
if [[ -n ${FONT_OPENTYPE_COMPAT} ]] && in_iuse opentype-compat && use opentype-compat ; then
|
||||
font_wrap_opentype_compat
|
||||
fi
|
||||
|
||||
remove_font_metadata
|
||||
fi
|
||||
}
|
||||
|
||||
# @FUNCTION: xlibre_pkg_postinst
|
||||
# @DESCRIPTION:
|
||||
# Run X-specific post-installation tasks on the live filesystem. The
|
||||
# only task right now is some setup for font packages.
|
||||
xlibre_pkg_postinst() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
if [[ -n ${FONT} ]]; then
|
||||
create_fonts_scale
|
||||
create_fonts_dir
|
||||
font_pkg_postinst "$@"
|
||||
|
||||
ewarn "Installed fonts changed. Run 'xset fp rehash' if you are using non-fontconfig applications."
|
||||
fi
|
||||
}
|
||||
|
||||
# @FUNCTION: xlibre_pkg_postrm
|
||||
# @DESCRIPTION:
|
||||
# Run X-specific post-removal tasks on the live filesystem. The only
|
||||
# task right now is some cleanup for font packages.
|
||||
xlibre_pkg_postrm() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
if [[ -n ${FONT} ]]; then
|
||||
# if we're doing an upgrade, postinst will do
|
||||
if [[ -z ${REPLACED_BY_VERSION} ]]; then
|
||||
create_fonts_scale
|
||||
create_fonts_dir
|
||||
font_pkg_postrm "$@"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# @FUNCTION: remove_font_metadata
|
||||
# @DESCRIPTION:
|
||||
# Don't let the package install generated font files that may overlap
|
||||
# with other packages. Instead, they're generated in pkg_postinst().
|
||||
remove_font_metadata() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
if [[ ${FONT_DIR} != Speedo && ${FONT_DIR} != CID ]]; then
|
||||
einfo "Removing font metadata"
|
||||
rm -rf "${ED}"/usr/share/fonts/${FONT_DIR}/fonts.{scale,dir,cache-1}
|
||||
fi
|
||||
}
|
||||
|
||||
# @FUNCTION: create_fonts_scale
|
||||
# @DESCRIPTION:
|
||||
# Create fonts.scale file, used by the old server-side fonts subsystem.
|
||||
create_fonts_scale() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
if [[ ${FONT_DIR} != Speedo && ${FONT_DIR} != CID ]]; then
|
||||
ebegin "Generating fonts.scale"
|
||||
mkfontscale \
|
||||
-a "${EROOT}/usr/share/fonts/encodings/encodings.dir" \
|
||||
-- "${EROOT}/usr/share/fonts/${FONT_DIR}"
|
||||
eend $?
|
||||
fi
|
||||
}
|
||||
|
||||
# @FUNCTION: create_fonts_dir
|
||||
# @DESCRIPTION:
|
||||
# Create fonts.dir file, used by the old server-side fonts subsystem.
|
||||
create_fonts_dir() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
ebegin "Generating fonts.dir"
|
||||
mkfontdir \
|
||||
-e "${EROOT}"/usr/share/fonts/encodings \
|
||||
-e "${EROOT}"/usr/share/fonts/encodings/large \
|
||||
-- "${EROOT}/usr/share/fonts/${FONT_DIR}"
|
||||
eend $?
|
||||
}
|
||||
|
||||
fi
|
||||
|
||||
EXPORT_FUNCTIONS src_prepare src_configure src_unpack src_compile src_install pkg_postinst pkg_postrm
|
||||
@@ -1,8 +1,8 @@
|
||||
DIST emby-theater-deb_3.0.16_amd64.deb 158365396 BLAKE2B d18dfb93c3123bbf1f872373c771368630530b193d00c4a544b21f0aa52ed9afaf3cafbfef3861d569659c82c7ffa73f844ed680025537671415e9340c5fdfa3 SHA512 764850425b2144c562518230e17f26c40e9fd18dea2b1ad76595fcdcf87ce36248b847cbd01b313a83844cd5ebbbab244389a43af16c453dd77fdc6ae8d1e60c
|
||||
DIST emby-theater-deb_3.0.19_amd64.deb 181344742 BLAKE2B 97dc9fcff926b5d708bf4d4420d1dc546292668674468675a7202796aa2c705b25e5e671138ed3b8a7988fb6cfa8c52fd24cd983702d25ea7fbc3881c1107703 SHA512 983b94a64196743d4df3e681f92afdbf66a380e9359342f1670a45b76d1d81bdd4a94d4312b78e76e3c76807d91c6a404d1cfabb791f94615c4e428124ad122b
|
||||
DIST emby-theater-deb_3.0.21_amd64.deb 179091472 BLAKE2B 01ad30dd9676ab28b9209aa814528e613a136790486abc3c686aa77c00583046c559b0859008a3307b57737aa480a70a515cb97b21bb4f4203afc24a1bdc7eac SHA512 5abc64cf9bb2d4dbc79f0331025dd59d6d025a475bc5c51bb5fc0f399c04720bd30cf2a368816a4cde9ac2fd67b988d60697c90e96743dd59c9af6d22bbbae42
|
||||
DIST emby-theater-rpm_3.0.21_x86_64.rpm 172723601 BLAKE2B b0ca861041b24ec55cdb64fd5203eb696df989bf3fb0baa7b8307d6e706c0450ce613c889b5d31649b4408b70cd7e298cc05dde83f06dad88282c17e3807ba6c SHA512 59cb114d0cb0eb0156eebc08ac2242e94c2098c9e3ced2a6a54d1ea1b4977510960d3a9c288a3cd2d820e45d9358ee88069aaea0c031bba81622b258f7ed2a84
|
||||
EBUILD emby-theater-3.0.16.ebuild 892 BLAKE2B 83b15b70603f663118f6919de86b55716e1765b505f817231c3c75d4fc864fe795de246eb93783ffb0b89a92f3096771c3ddc6a2284f77a36aa11c1e2362eba3 SHA512 c7a577a96d73579fca30e5a79d75bb43b225420406edc2775e78db6625fa76850a62de5d39482084592fd5c8acd49c74abf961e18577365c80812a85544392a5
|
||||
EBUILD emby-theater-3.0.19.ebuild 906 BLAKE2B 1b38a1c2ba88cb1e0cbcb3b3836fe30ef0699c1fc688905a91efda4e17ecfcf077930b76c77aad0b40365607dcbd378dd363bddc06bc3720b9c1ec58907aad57 SHA512 2d00ca44d2dfaf9ec766ac20590853b03a989cdd3cd26f033f7de3e6b4ee75ecf8caf9b967dd9274b8bcf5110058adcce3b649fb5a91861933c6cb5cb719eda3
|
||||
EBUILD emby-theater-3.0.21.ebuild 906 BLAKE2B 1b38a1c2ba88cb1e0cbcb3b3836fe30ef0699c1fc688905a91efda4e17ecfcf077930b76c77aad0b40365607dcbd378dd363bddc06bc3720b9c1ec58907aad57 SHA512 2d00ca44d2dfaf9ec766ac20590853b03a989cdd3cd26f033f7de3e6b4ee75ecf8caf9b967dd9274b8bcf5110058adcce3b649fb5a91861933c6cb5cb719eda3
|
||||
EBUILD emby-theater-3.0.21.ebuild 1011 BLAKE2B f785862e283bf0671f054ffc80707ddc269d234998b3076299fac1eb415cf21f55c504c651eb8e78ff884093bf64552314bd6b1c36b8558eb7dd8b56d53e9879 SHA512 6589c40df5876b02c89ab49e10b4c37e3e82cbaf77974ac509389cae7f7442d4222254353c8516ae7f6d554989f2497ce25e39b55f05bca7b1bd29f4f8e27c7a
|
||||
MISC ChangeLog 232 BLAKE2B 97f45ae7b44117389c08ae608ceb94623a9e07f129893aa88805f75852a4bce04def7ecdf032d4f3b496d6c9e4ef839003c9338b9e309093666a15dd53eb443b SHA512 58b5da39520681326acf4f27bbb51471afe7370388c99e180f8c7263033dae193cae7225cd47c01dbfe91bc82760da550b94daf9c3f6a0d9b7198891183340e4
|
||||
MISC metadata.xml 408 BLAKE2B 66a3e2838d5c5f95c7463733cd13b1230ef3ca005ec0c5dac797561be30f950da98dfa41eeb4d43cf97500c9a2e0d04c57b0b084d60107072a988dd7c4d16ded SHA512 9cac3e4a07c425e87274de776e03d243e462341168235cd3991ef4706aa1a902cf6591ae8e965b9c4ed370fc2ebef3ca805a9c761d05c4b994ae8667198b267c
|
||||
|
||||
@@ -3,14 +3,15 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit xdg unpacker
|
||||
inherit xdg rpm
|
||||
|
||||
MY_PV="${PV}-1"
|
||||
|
||||
DESCRIPTION="An Electron app for Emby"
|
||||
HOMEPAGE="https://github.com/MediaBrowser/emby-theater-electron/"
|
||||
#SRC_URI="https://github.com/MediaBrowser/${PN}-electron/releases/download/${PV}/${PN}_${PV}_amd64.deb"
|
||||
SRC_URI="https://github.com/MediaBrowser/${PN}-electron/releases/download/${PV}/${PN}-deb_${PV}_amd64.deb"
|
||||
#SRC_URI="https://github.com/MediaBrowser/${PN}-electron/releases/download/${PV}/${PN}-deb_${PV}_amd64.deb"
|
||||
SRC_URI="https://github.com/MediaBrowser/${PN}-electron/releases/download/${PV}/${PN}-rpm_${PV}_x86_64.rpm"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
@@ -36,5 +37,5 @@ src_install() {
|
||||
fperms +x /opt/emby-theater/electron/emby-theater
|
||||
fperms +x /opt/emby-theater/bin/mpv
|
||||
fperms +x /usr/bin/emby-theater
|
||||
rm -r "${ED}"/usr/share/doc/ || die
|
||||
#rm -r "${ED}"/usr/share/doc/ || die
|
||||
}
|
||||
|
||||
14
media-video/vlc/Manifest
Normal file
14
media-video/vlc/Manifest
Normal file
@@ -0,0 +1,14 @@
|
||||
AUX vlc-2.1.0-fix-libtremor-libs.patch 453 BLAKE2B 526934642617384224faee8d26c0a7fa4dec9891f718816e44fd08970a5477cdc7ae34510b26af9971fe5d20b25c96595901117c804c7679341e1e8cd5309a14 SHA512 6c25995a518aeb1d501fa217d897962e1e81f66a4f28b6bb164dde3afe7f91772bb608f946d802857fa9a272cab1f88d3990d582be89ab8e37b1a8b6681798ae
|
||||
AUX vlc-3.0.11.1-configure_lua_version.patch 1598 BLAKE2B 589c90d0c805ff516b7957e9b9fc6931674bc23a8aac15eb27351e9bae00aa55bffb3e62a87813714d8f0d64effa16c06680f10d00ecbe4207d5b26d37c4e5ac SHA512 0f24f54add360164417e01b2899ead07cc9f37cdc872387c7a9c350890f55c6fbec35f99e1e85a96309d7154359ffb99bc2ab7c8151adb080bb1531f88d987e6
|
||||
AUX vlc-3.0.18-drop-minizip-dep.patch 1024 BLAKE2B f00df51fe46743b760785151fdc4b770347331b80fcb4208860b4cf99555504e634959384c236a3539c9235547d5eb54c0a1b18e0183b0864e0c4fc070359e15 SHA512 5911e0e64d07fd23a67b142adaec684c581125f06295a64dee9aade31e780b6010538007c7477ea9ef69e4e7b4aeb1cc30891dd22bf273c18407f694111a66f8
|
||||
AUX vlc-3.0.22-gettext-version.patch 519 BLAKE2B fd9edb06bf05e12d5190f7553b1ee49686724f6ad26653660b51231903ec85c64b6bd44e8ef718ca1141e124321b0b764d2d37c7679176b55de8cd3522da0456 SHA512 e2801418e8e5fed0b550314c0601d51d3aa212374b9aa1508e59fbc4394258033edd6a2eae7ddad5700b0ec774c7f3101ea52af1cab3740930e8ade6b4add1a9
|
||||
AUX vlc-3.0.22-no-vlc-cache-gen.patch 1280 BLAKE2B 27d209ca17c39d96502482cc046b13289092b7ee3ce9c93d9e59f6be78c960a3709446b620cb5c2015326e666f3819593941dacfae01cfa14750960cdddb449e SHA512 89e862aedf93a31b206a36f00234b44f99c832b53eae078f7bb5bb3924803bcbae1ac22078af51a6ce2b732b1afd3111657beffc7622a34077a28b1c8403fba4
|
||||
AUX vlc-3.0.6-fdk-aac-2.0.0.patch 3436 BLAKE2B 022201ed10fef189feeb36f44ab4194ab7994e4fdd8bad922070b54688d34d051fac28177a0e648d55670e0b9f0c6b45f9a05650476b0ae12ebfe759dd561e28 SHA512 68964adda04cd88e80b586984f1af0cfdccff5dbf8529070d5ab985b23402dfb7380b5d39eacfea433c1ba03434139e4f394c1c25d6b426489883d3a42cb7b5b
|
||||
AUX vlc-4.0.0_pre20260215-force-x11.patch 358 BLAKE2B d9af5723cfdfb28db5d06c481b468aea51356304e2454094048ef16915928b4668d0bbb0a3cb62fc5ea018b6efde6c489931ae4d10e998984e489fc24727e7e6 SHA512 9f1e8f9cdd81486fb3d3d58cfc6a9ee8c45223385d11c832e78186acc519df978904221ac9a40767fabeef9177d05504cab35887577a32acdfbb459abbf2377f
|
||||
AUX vlc-9999-configure-lua-version.patch 1840 BLAKE2B 1b9f11c05ed58e12616732c73a8418917870515f9612467b2839e8414f553ba3d0d9ede4c38e15957cc9b271aecae9364961103dafd72b80c6088a826f18777b SHA512 fa6350a02a92b65e5cc1c7b8e65e14045ca279d9d6f3f1ae255ab2a8ac88b3b3ff16102aa7e91e51e65e2500712bd7fccbdc987e760a5753581098afb1259eb9
|
||||
AUX vlc-9999-fix-libtremor-libs.patch 480 BLAKE2B 86102dc088705f546185023b2f941520b5435f852e0b0e7cdb8763e15df645cdc794087c188fb17ee331be7ba4d953311276583886e3fe0f93d6de32e63e3207 SHA512 93893a0accecc3470f33e505ef2ce86aeb5f2a3a6524adc7de354366bb8e51def2d67957be4ea705ff20c1510e7274691e587e70740d4b3657b35f5c91de7280
|
||||
AUX vlc-9999-gettext-version.patch 515 BLAKE2B fe8fc2a55deb9763a00bc5860707d2ed83d70f24185ccc3e677ad948caee51ac929be7b70903d9105f1ba5f43a51c944db13c0f607fca3593db3dec9d2c19d13 SHA512 90240a1feb096a1ac31bcded761a9b1908d1d4ad088883cc2f868dc5cdcabfc697755943562f96942f2df5fd13aa44c3ff9489594a9028d5464c947256b49154
|
||||
AUX vlc-9999-no-vlc-cache-gen.patch 1285 BLAKE2B b7913368dc1b27865b6b45280d9787e434906dd8cb96455eea975e9f2fbd174fc473ef5b50cae426029b956dd0ca41244f85f059d0b299e41f635d987e587dd1 SHA512 cab11059fbbf66e5da40aec149de2af1ee8f1bbfc6b83d22ae61ff57d058a8c1b09d92141e0b03f1f2e7acec77e89626e232e6a6da7a378d0baf4cc9bd5f3f84
|
||||
DIST vlc-3.0.23.tar.xz 26486988 BLAKE2B 4cf4371f244b04b87903662e2cf5d4992cad0a7ded5c6fcb22c190de5804758eff921f570bb0e803aed3e6fe3c1712b52eb3c2fbcb8017dcfe9c734238095c42 SHA512 557e4ac76a17158877a4a86f27c9a5bc189b7ac559687552117dc8b44961d1172cf93bf8e1eb70fecb05999bdfc3f69ab79b55126c71486fe3a8cdfbf92e6df6
|
||||
EBUILD vlc-3.0.23.ebuild 13676 BLAKE2B 9c727c5455060bd434ba48417d3a174d1547c16a44af8ae505de4a82e681416a2cc86285599647383eef3fd1746552131eb0a20d733f6cc4f4e5de1e61ac9560 SHA512 44b41fe10be174b977f3e539dc2f27ba2dba0633f3fa496d54af84d3ab51a7e240c692b3a3c6588e24b9dbd4ebe09754cc6d70c62bb123caed4b4142133a2597
|
||||
MISC metadata.xml 4635 BLAKE2B e304d82656693cd47045c3a964c2b71c30c8bedecf7b7705a1e22f5d8266b0caacb024d32e725dc85ba805e5123a268c86ebf3ac28c42951ce1ce74ed9ca09c0 SHA512 498bd1050d069b84fbd9e424f54dab10bb1bdeb12bd62b84b9975c9698c785392c2169c76bbac795ae379a7268b0eb41575c8fe5980f7189626a63a7f810c876
|
||||
11
media-video/vlc/files/vlc-2.1.0-fix-libtremor-libs.patch
Normal file
11
media-video/vlc/files/vlc-2.1.0-fix-libtremor-libs.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/modules/codec/Makefile.am
|
||||
+++ b/modules/codec/Makefile.am
|
||||
@@ -215,7 +215,7 @@
|
||||
libtremor_plugin_la_SOURCES = codec/vorbis.c
|
||||
libtremor_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DMODULE_NAME_IS_tremor
|
||||
libtremor_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)'
|
||||
-libtremor_plugin_la_LIBADD = -lvorbisdec -logg
|
||||
+libtremor_plugin_la_LIBADD = $(VORBIS_LIBS) $(OGG_LIBS)
|
||||
EXTRA_LTLIBRARIES += libtremor_plugin.la
|
||||
codec_LTLIBRARIES += $(LTLIBtremor)
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
Only look for one single version of Lua: the one pointed to by the
|
||||
pkgconfig package 'lua'. The wrapper set up by lua eclasses will take care
|
||||
of the rest.
|
||||
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1676,37 +1676,10 @@
|
||||
[disable LUA scripting support (default enabled)])])
|
||||
if test "${enable_lua}" != "no"
|
||||
then
|
||||
- PKG_CHECK_MODULES(LUA, lua5.2,
|
||||
+ PKG_CHECK_MODULES(LUA, lua,
|
||||
[ have_lua=yes ],
|
||||
- [
|
||||
- AC_MSG_WARN([${LUA_PKG_ERRORS}, trying lua 5.1 instead])
|
||||
-
|
||||
- PKG_CHECK_MODULES(LUA, lua5.1,
|
||||
- [ have_lua=yes ],
|
||||
- [
|
||||
- AC_MSG_WARN([${LUA_PKG_ERRORS}, trying lua >= 5.1 instead])
|
||||
- PKG_CHECK_MODULES(LUA, lua >= 5.1,
|
||||
- [ have_lua=yes ],
|
||||
- [
|
||||
- AC_MSG_WARN([${LUA_PKG_ERRORS}, trying manual detection instead])
|
||||
- have_lua=yes
|
||||
- AC_CHECK_HEADERS([lua.h lauxlib.h lualib.h],
|
||||
- [],
|
||||
- [ have_lua=no ] )
|
||||
- AC_CHECK_LIB( lua5.2 , luaL_newstate,
|
||||
- [LUA_LIBS="-llua5.2"],
|
||||
- AC_CHECK_LIB( lua5.1 , luaL_newstate,
|
||||
- [LUA_LIBS="-llua5.1"],
|
||||
- AC_CHECK_LIB( lua51 , luaL_newstate,
|
||||
- [LUA_LIBS="-llua51"],
|
||||
- AC_CHECK_LIB( lua , luaL_newstate,
|
||||
- [LUA_LIBS="-llua"],
|
||||
- [ have_lua=no
|
||||
- ], [-lm])
|
||||
- )))
|
||||
- ])
|
||||
- ])
|
||||
- ])
|
||||
+ [ have_lua=no ]
|
||||
+ )
|
||||
if test "x${have_lua}" != "xyes" ; then
|
||||
AC_MSG_ERROR([Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error.])
|
||||
fi
|
||||
38
media-video/vlc/files/vlc-3.0.18-drop-minizip-dep.patch
Normal file
38
media-video/vlc/files/vlc-3.0.18-drop-minizip-dep.patch
Normal file
@@ -0,0 +1,38 @@
|
||||
Nothing uses this.
|
||||
|
||||
From 6cd8ac42e8c296eb1c9e154b3e99dab8bffcad0a Mon Sep 17 00:00:00 2001
|
||||
From: Steve Lhomme <robux4@ycbcr.xyz>
|
||||
Date: Thu, 12 Apr 2018 13:24:38 +0200
|
||||
Subject: [PATCH] configure: remove minizip check not referenced anywhere
|
||||
|
||||
(cherry picked from commit d22de99eb8c46786ca2feb4abca2e4f25ceeb0a8)
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -890,23 +890,14 @@ AS_IF([test -n "${PKG_CONFIG}" ],[
|
||||
|
||||
|
||||
dnl
|
||||
-dnl Check for zlib.h and -lz along with system -lminizip if available
|
||||
+dnl Check for zlib.h and -lz if available
|
||||
dnl
|
||||
AC_CHECK_HEADERS(zlib.h, [ have_zlib=yes ], [ have_zlib=no ])
|
||||
AM_CONDITIONAL(HAVE_ZLIB, [ test "${have_zlib}" = "yes" ])
|
||||
if test "${have_zlib}" = "yes"
|
||||
then
|
||||
VLC_ADD_LIBS([sap],[-lz])
|
||||
- PKG_CHECK_MODULES([MINIZIP], [minizip] , [ have_minizip=yes ], [
|
||||
- AC_CHECK_HEADERS([unzip.h], [
|
||||
- have_minizip=yes
|
||||
- MINIZIP_LIBS="-lminizip -lz"
|
||||
- ], [
|
||||
- have_minizip=no
|
||||
- ])
|
||||
- ])
|
||||
fi
|
||||
-AM_CONDITIONAL(HAVE_MINIZIP, [ test "${have_minizip}" = "yes" ])
|
||||
|
||||
|
||||
dnl
|
||||
--
|
||||
2.41.0
|
||||
|
||||
23
media-video/vlc/files/vlc-3.0.22-gettext-version.patch
Normal file
23
media-video/vlc/files/vlc-3.0.22-gettext-version.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
Fix gettext version mismatch errors
|
||||
https://bugs.gentoo.org/766549
|
||||
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index ada8110..bf1868e 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -564,7 +564,7 @@ AS_IF([test "${enable_shared}" = "no" -a "${enable_vlc}" != "no"], [
|
||||
dnl
|
||||
dnl Gettext stuff
|
||||
dnl
|
||||
-AM_GNU_GETTEXT_VERSION([0.19.8])
|
||||
+AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8])
|
||||
AM_GNU_GETTEXT([external], [need-formatstring-macros])
|
||||
|
||||
dnl
|
||||
--
|
||||
2.51.0
|
||||
|
||||
39
media-video/vlc/files/vlc-3.0.22-no-vlc-cache-gen.patch
Normal file
39
media-video/vlc/files/vlc-3.0.22-no-vlc-cache-gen.patch
Normal file
@@ -0,0 +1,39 @@
|
||||
Disable vlc-cache-gen, to run it later manually from pkg_postinst
|
||||
https://bugs.gentoo.org/564842
|
||||
https://bugs.gentoo.org/608256
|
||||
|
||||
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
||||
---
|
||||
Makefile.am | 2 +-
|
||||
bin/Makefile.am | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index eb00a3c..9f9891c 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -163,7 +163,7 @@ if BUILD_VLC
|
||||
# Installing plugins cache
|
||||
###############################################################################
|
||||
install-exec-hook:
|
||||
- if test "$(build)" = "$(host)"; then \
|
||||
+ if test "$(build)" = "nothanks"; then \
|
||||
PATH="$(DESTDIR)$(bindir):$$PATH" \
|
||||
LD_LIBRARY_PATH="$(DESTDIR)$(libdir):$$LD_LIBRARY_PATH" \
|
||||
DYLD_LIBRARY_PATH="$(DESTDIR)$(libdir):$$DYLD_LIBRARY_PATH" \
|
||||
diff --git a/bin/Makefile.am b/bin/Makefile.am
|
||||
index 4de299d..e9794b5 100644
|
||||
--- a/bin/Makefile.am
|
||||
+++ b/bin/Makefile.am
|
||||
@@ -144,7 +144,7 @@ endif
|
||||
|
||||
../modules/plugins.dat: vlc-cache-gen$(EXEEXT)
|
||||
$(AM_V_at)rm -f ../modules/plugins.dat
|
||||
- $(AM_V_GEN)if test "$(build)" = "$(host)"; then \
|
||||
+ $(AM_V_GEN)if test "$(build)" = "nothanks"; then \
|
||||
./vlc-cache-gen$(EXEEXT) `realpath ../modules` ; \
|
||||
else \
|
||||
echo "Cross-compilation: cache generation skipped!" ; \
|
||||
--
|
||||
2.51.0
|
||||
|
||||
84
media-video/vlc/files/vlc-3.0.6-fdk-aac-2.0.0.patch
Normal file
84
media-video/vlc/files/vlc-3.0.6-fdk-aac-2.0.0.patch
Normal file
@@ -0,0 +1,84 @@
|
||||
From 6ea9b13fe82fae2b25b7371c6c36d6296db28ccb Mon Sep 17 00:00:00 2001
|
||||
From: Antonio Larrosa <antonio.larrosa@gmail.com>
|
||||
Date: Thu, 14 Feb 2019 10:09:30 +0100
|
||||
Subject: [PATCH] Fix building vlc with libfdk-aac v2
|
||||
|
||||
When flushing the encoder, we now need to provide non-null buffer
|
||||
parameters for everything, even if they are unused.
|
||||
|
||||
The encoderDelay parameter has been replaced by two, nDelay and
|
||||
nDelayCore.
|
||||
|
||||
This is based on:
|
||||
https://git.libav.org/?p=libav.git;a=commitdiff_plain;h=141c960e21d2860e354f9b90df136184dd00a9a8;hp=c8bca9fe466f810fd484e2c6db7ef7bc83b5a943
|
||||
|
||||
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
|
||||
---
|
||||
modules/codec/fdkaac.c | 27 +++++++++++++++++++++------
|
||||
1 file changed, 21 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/modules/codec/fdkaac.c b/modules/codec/fdkaac.c
|
||||
index e0b3088c4a..3ac7b756a3 100644
|
||||
--- a/modules/codec/fdkaac.c
|
||||
+++ b/modules/codec/fdkaac.c
|
||||
@@ -92,6 +92,11 @@ static void CloseEncoder(vlc_object_t *);
|
||||
#define SIGNALING_COMPATIBLE 1
|
||||
#define SIGNALING_HIERARCHICAL 2
|
||||
|
||||
+#define FDKENC_VER_AT_LEAST(vl0, vl1) \
|
||||
+ (defined(AACENCODER_LIB_VL0) && \
|
||||
+ ((AACENCODER_LIB_VL0 > vl0) || \
|
||||
+ (AACENCODER_LIB_VL0 == vl0 && AACENCODER_LIB_VL1 >= vl1)))
|
||||
+
|
||||
static const int pi_aot_values[] = { PROFILE_AAC_LC, PROFILE_AAC_HE, PROFILE_AAC_HE_v2, PROFILE_AAC_LD, PROFILE_AAC_ELD };
|
||||
static const char *const ppsz_aot_descriptions[] =
|
||||
{ N_("AAC-LC"), N_("HE-AAC"), N_("HE-AAC-v2"), N_("AAC-LD"), N_("AAC-ELD") };
|
||||
@@ -288,7 +293,11 @@ static int OpenEncoder(vlc_object_t *p_this)
|
||||
p_sys->i_maxoutputsize = 768*p_enc->fmt_in.audio.i_channels;
|
||||
p_enc->fmt_in.audio.i_bitspersample = 16;
|
||||
p_sys->i_frame_size = info.frameLength;
|
||||
+#if FDKENC_VER_AT_LEAST(4, 0)
|
||||
+ p_sys->i_encoderdelay = info.nDelay;
|
||||
+#else
|
||||
p_sys->i_encoderdelay = info.encoderDelay;
|
||||
+#endif
|
||||
|
||||
p_enc->fmt_out.i_extra = info.confSize;
|
||||
if (p_enc->fmt_out.i_extra) {
|
||||
@@ -351,21 +360,27 @@ static block_t *EncodeAudio(encoder_t *p_enc, block_t *p_aout_buf)
|
||||
int out_identifier = OUT_BITSTREAM_DATA;
|
||||
int out_size, out_elem_size;
|
||||
void *in_ptr, *out_ptr;
|
||||
+ uint8_t dummy_buf[1];
|
||||
|
||||
if (unlikely(i_samples == 0)) {
|
||||
// this forces the encoder to purge whatever is left in the internal buffer
|
||||
+ /* Must be a non-null pointer, even if it's a dummy. We could use
|
||||
+ * the address of anything else on the stack as well. */
|
||||
+ in_ptr = dummy_buf;
|
||||
+ in_size = 0;
|
||||
+
|
||||
in_args.numInSamples = -1;
|
||||
} else {
|
||||
in_ptr = p_buffer + (i_samples - i_samples_left)*p_enc->fmt_in.audio.i_channels;
|
||||
in_size = 2*p_enc->fmt_in.audio.i_channels*i_samples_left;
|
||||
- in_elem_size = 2;
|
||||
in_args.numInSamples = p_enc->fmt_in.audio.i_channels*i_samples_left;
|
||||
- in_buf.numBufs = 1;
|
||||
- in_buf.bufs = &in_ptr;
|
||||
- in_buf.bufferIdentifiers = &in_identifier;
|
||||
- in_buf.bufSizes = &in_size;
|
||||
- in_buf.bufElSizes = &in_elem_size;
|
||||
}
|
||||
+ in_elem_size = 2;
|
||||
+ in_buf.numBufs = 1;
|
||||
+ in_buf.bufs = &in_ptr;
|
||||
+ in_buf.bufferIdentifiers = &in_identifier;
|
||||
+ in_buf.bufSizes = &in_size;
|
||||
+ in_buf.bufElSizes = &in_elem_size;
|
||||
block_t *p_block;
|
||||
p_block = block_Alloc(p_sys->i_maxoutputsize);
|
||||
p_block->i_buffer = p_sys->i_maxoutputsize;
|
||||
--
|
||||
2.11.0
|
||||
|
||||
11
media-video/vlc/files/vlc-4.0.0_pre20260215-force-x11.patch
Normal file
11
media-video/vlc/files/vlc-4.0.0_pre20260215-force-x11.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/share/vlc.desktop.in
|
||||
+++ b/share/vlc.desktop.in
|
||||
@@ -117,7 +117,7 @@
|
||||
Name[zh_CN]=VLC 媒体播放器
|
||||
GenericName[zh_CN]=媒体播放器
|
||||
Comment[zh_CN]=读取、捕获、广播您的多媒体流
|
||||
-Exec=@bindir@/vlc --started-from-file %U
|
||||
+Exec=env QT_QPA_PLATFORM=xcb @bindir@/vlc --started-from-file %U
|
||||
TryExec=@bindir@/vlc
|
||||
Icon=vlc
|
||||
Terminal=false
|
||||
50
media-video/vlc/files/vlc-9999-configure-lua-version.patch
Normal file
50
media-video/vlc/files/vlc-9999-configure-lua-version.patch
Normal file
@@ -0,0 +1,50 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1847,43 +1847,10 @@ AC_ARG_ENABLE([lua],
|
||||
[disable LUA scripting support (default enabled)]))
|
||||
if test "${enable_lua}" != "no"
|
||||
then
|
||||
- PKG_CHECK_MODULES(LUA, lua5.2, [ have_lua=yes ], [:])
|
||||
-
|
||||
- AS_IF([test "${have_lua}" != "yes"], [
|
||||
- AC_MSG_WARN([${LUA_PKG_ERRORS}, trying lua 5.1 instead])
|
||||
- PKG_CHECK_MODULES(LUA, lua5.1, [ have_lua=yes ], [:]) ])
|
||||
-
|
||||
- AS_IF([test "${have_lua}" != "yes"], [
|
||||
- AC_MSG_WARN([${LUA_PKG_ERRORS}, trying lua >= 5.1 instead])
|
||||
- PKG_CHECK_MODULES(LUA, lua >= 5.1, [ have_lua=yes ], [:]) ])
|
||||
-
|
||||
- AS_IF([test "${have_lua}" != "yes"], [
|
||||
- AC_MSG_WARN([${LUA_PKG_ERRORS}, trying manual detection instead])
|
||||
- have_lua_lib=no
|
||||
- AC_CHECK_LIB( lua5.2 , luaL_newstate, [
|
||||
- LUA_LIBS="-llua5.2"
|
||||
- have_lua_lib=yes], [])
|
||||
-
|
||||
- AS_IF([test "${have_lua_lib}" != "yes"], [
|
||||
- AC_CHECK_LIB( lua5.1 , luaL_newstate, [
|
||||
- LUA_LIBS="-llua5.1"
|
||||
- have_lua_lib=yes], [] ) ])
|
||||
-
|
||||
- AS_IF([test "${have_lua_lib}" != "yes"], [
|
||||
- AC_CHECK_LIB( lua51 , luaL_newstate, [
|
||||
- LUA_LIBS="-llua51"
|
||||
- have_lua_lib=yes], [] ) ])
|
||||
-
|
||||
- AS_IF([test "${have_lua_lib}" != "yes"], [
|
||||
- AC_CHECK_LIB( lua , luaL_newstate,
|
||||
- [LUA_LIBS="-llua"
|
||||
- have_lua_lib=yes],
|
||||
- [ have_lua=no ], [-lm] ) ])
|
||||
-
|
||||
- dnl If we found any lib, check that we have the headers too
|
||||
- AS_IF([test "${have_lua_lib}" = "yes"], [
|
||||
- AC_CHECK_HEADERS([lua.h lauxlib.h lualib.h], [ have_lua=yes ], []) ])
|
||||
- ])
|
||||
+ PKG_CHECK_MODULES(LUA, lua,
|
||||
+ [ have_lua=yes ],
|
||||
+ [ have_lua=no ]
|
||||
+ )
|
||||
|
||||
if test "${have_lua}" != "yes" ; then
|
||||
AC_MSG_ERROR([Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error.])
|
||||
11
media-video/vlc/files/vlc-9999-fix-libtremor-libs.patch
Normal file
11
media-video/vlc/files/vlc-9999-fix-libtremor-libs.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/modules/codec/Makefile.am
|
||||
+++ b/modules/codec/Makefile.am
|
||||
@@ -332,7 +332,7 @@ codec_LTLIBRARIES += $(LTLIBdaala)
|
||||
libtremor_plugin_la_SOURCES = codec/vorbis.c
|
||||
libtremor_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DPLUGIN_TREMOR
|
||||
libtremor_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)'
|
||||
-libtremor_plugin_la_LIBADD = -lvorbisdec -logg
|
||||
+libtremor_plugin_la_LIBADD = $(VORBIS_LIBS) $(OGG_LIBS)
|
||||
EXTRA_LTLIBRARIES += libtremor_plugin.la
|
||||
codec_LTLIBRARIES += $(LTLIBtremor)
|
||||
|
||||
23
media-video/vlc/files/vlc-9999-gettext-version.patch
Normal file
23
media-video/vlc/files/vlc-9999-gettext-version.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
Fix gettext version mismatch errors
|
||||
https://bugs.gentoo.org/766549
|
||||
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index ada8110..bf1868e 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -564,7 +564,7 @@ AS_IF([test "${enable_shared}" = "no" -a "${enable_vlc}" != "no"], [
|
||||
dnl
|
||||
dnl Gettext stuff
|
||||
dnl
|
||||
-AM_GNU_GETTEXT_VERSION([0.21])
|
||||
+AM_GNU_GETTEXT_REQUIRE_VERSION([0.21])
|
||||
AM_GNU_GETTEXT([external], [need-formatstring-macros])
|
||||
|
||||
dnl
|
||||
--
|
||||
2.51.0
|
||||
|
||||
39
media-video/vlc/files/vlc-9999-no-vlc-cache-gen.patch
Normal file
39
media-video/vlc/files/vlc-9999-no-vlc-cache-gen.patch
Normal file
@@ -0,0 +1,39 @@
|
||||
Disable vlc-cache-gen, to run it later manually from pkg_postinst
|
||||
https://bugs.gentoo.org/564842
|
||||
https://bugs.gentoo.org/608256
|
||||
|
||||
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
||||
---
|
||||
Makefile.am | 2 +-
|
||||
bin/Makefile.am | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index eb00a3c..9f9891c 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -163,7 +163,7 @@ if BUILD_VLC
|
||||
# Installing plugins cache
|
||||
###############################################################################
|
||||
install-exec-hook:
|
||||
- if test "$(build)" = "$(host)"; then \
|
||||
+ if test "$(build)" = "nothanks"; then \
|
||||
PATH="$(DESTDIR)$(bindir):$$PATH" \
|
||||
LD_LIBRARY_PATH="$(DESTDIR)$(libdir):$$LD_LIBRARY_PATH" \
|
||||
DYLD_LIBRARY_PATH="$(DESTDIR)$(libdir):$$DYLD_LIBRARY_PATH" \
|
||||
diff --git a/bin/Makefile.am b/bin/Makefile.am
|
||||
index 4de299d..e9794b5 100644
|
||||
--- a/bin/Makefile.am
|
||||
+++ b/bin/Makefile.am
|
||||
@@ -144,7 +144,7 @@ endif
|
||||
|
||||
../modules/plugins.dat: vlc-cache-gen$(EXEEXT)
|
||||
$(AM_V_at)rm -f ../modules/plugins.dat
|
||||
- $(AM_V_GEN)if test "$(build)" = "$(host)"; then \
|
||||
+ $(AM_V_GEN)if test "$(build)" = "nothanks"; then \
|
||||
./vlc-cache-gen$(EXEEXT) `cd "../modules" ; pwd -P` ; \
|
||||
else \
|
||||
echo "Cross-compilation: cache generation skipped!" ; \
|
||||
--
|
||||
2.51.0
|
||||
|
||||
56
media-video/vlc/metadata.xml
Normal file
56
media-video/vlc/metadata.xml
Normal file
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>media-video@gentoo.org</email>
|
||||
<name>Gentoo Video project</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="aom">Enable AV1 encoding/decoding support using <pkg>media-libs/libaom</pkg></flag>
|
||||
<flag name="archive">Enable support for libarchive stream extractor</flag>
|
||||
<flag name="aribsub">Enable support for decoding ARIB STD-B24 subtitles</flag>
|
||||
<flag name="bluray">Enable libbluray for Blu-ray disc support</flag>
|
||||
<flag name="chromaprint">Enable libchromaprint for Chromaprint based audio fingerprinter support</flag>
|
||||
<flag name="chromecast">Enable experimental support for Google Chromecast</flag>
|
||||
<flag name="dav1d">Enable support for <pkg>media-libs/dav1d</pkg> AV1 decoder</flag>
|
||||
<flag name="dc1394">Enable IIDC cameras support</flag>
|
||||
<flag name="directx">Enable Win32 DirectX, D3D11va and DxVA2 support</flag>
|
||||
<flag name="dvbpsi">Enable support for Mpeg-TS files (.ts, .m2ts, .mts) via <pkg>media-libs/libdvbpsi</pkg></flag>
|
||||
<flag name="encode">Enable streaming-output support and videolan manager to control multiple streams from within one instance</flag>
|
||||
<flag name="faad">Enable AAC audio decoding library support via <pkg>media-libs/faad2</pkg></flag>
|
||||
<flag name="fdk">Enable the Fraunhofer AAC codec library</flag>
|
||||
<flag name="fluidsynth">Enable Fluidsynth MIDI software synthesis (with external sound fonts)</flag>
|
||||
<flag name="gcrypt">Enable cryptography support via libgcrypt</flag>
|
||||
<flag name="gme">Enable support for <pkg>media-libs/game-music-emu</pkg> for playing various video game music formats</flag>
|
||||
<flag name="gstreamer">Enable GStreamer based decoding support (currently supports only video decoding)</flag>
|
||||
<flag name="kate">Adds support for Ogg Kate subtitles via libkate</flag>
|
||||
<flag name="libdrm">Enable kernel mode setting video output plugin via <pkg>x11-libs/libdrm</pkg></flag>
|
||||
<flag name="libplacebo">Enable support for GPU accelerated video rendering with <pkg>media-libs/libplacebo</pkg></flag>
|
||||
<flag name="libtiger">Enable Ogg Kate subtitles rendering using libtiger</flag>
|
||||
<flag name="linsys">Enable support for Linux Linear Systems Ltd. SDI and HD-SDI input cards</flag>
|
||||
<flag name="live">Enable live555 streaming media support (client support for rtsp)</flag>
|
||||
<flag name="loudness">Enable loudness normalisation according to the EBU R128 standard using <pkg>media-libs/libebur128</pkg></flag>
|
||||
<flag name="lua">Enable Lua scripting support, needed for including support for Jamendo (online music platform) and similar things</flag>
|
||||
<flag name="macosx-notifications">Enable Mac OS X notifications module (formerly growl)</flag>
|
||||
<flag name="matroska">Enable matroska support using reference libraries (fallback on other existing matroska support if disabled, i.e., matroska enabled FFmpeg)</flag>
|
||||
<flag name="mpeg">Add libmpeg2 support for mpeg-1 and mpeg-2 video streams</flag>
|
||||
<flag name="nfs">Enable support for nfs protocol via <pkg>net-fs/libnfs</pkg></flag>
|
||||
<flag name="omxil">Enable OpenMAX Integration Layer codec module</flag>
|
||||
<flag name="optimisememory">Enable optimisation for memory rather than performance</flag>
|
||||
<flag name="projectm">Enable the projectM visualization plugin</flag>
|
||||
<flag name="run-as-root">Allows vlc to start for root. Don't enable this unless you have a very specific (e.g. embedded) need for it!</flag>
|
||||
<flag name="sdl-image">Enable sdl image video decoder (depends on sdl)</flag>
|
||||
<flag name="sftp">Enable libssh2 to support SFTP file transfer</flag>
|
||||
<flag name="shout">Enable libshout output</flag>
|
||||
<flag name="skins">Enable support for the skins2 interface</flag>
|
||||
<flag name="soxr">Enable SoX Resampler support via <pkg>media-libs/soxr</pkg></flag>
|
||||
<flag name="srt">Enable support for Secure Reliable Transport (SRT) via <pkg>net-libs/srt</pkg></flag>
|
||||
<flag name="tremor">Enable tremor, a fixed-point version of the Ogg Vorbis decoder</flag>
|
||||
<flag name="twolame">Enable twolame support (MPEG Audio Layer 2 encoder)</flag>
|
||||
<flag name="upnp">Enable support for the Intel SDK stack based UPnP discovery module instead of CyberLink</flag>
|
||||
<flag name="X">Enable support for e.g. fullscreen mode via X and the X C-language binding. It does not build a graphical interface</flag>
|
||||
<flag name="x265">Support X265 Encoder</flag>
|
||||
<flag name="zeroconf">Enable support for zero-configuration networking via avahi</flag>
|
||||
<flag name="zvbi">Enable support for teletext subtitles via the zvbi library</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
513
media-video/vlc/vlc-3.0.23.ebuild
Normal file
513
media-video/vlc/vlc-3.0.23.ebuild
Normal file
@@ -0,0 +1,513 @@
|
||||
# Copyright 2000-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LUA_COMPAT=( lua5-{1..2} )
|
||||
|
||||
MY_PV="${PV/_/-}"
|
||||
MY_PV="${MY_PV/-beta/-test}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
if [[ ${PV%.9999} != ${PV} ]] ; then
|
||||
EGIT_BRANCH="${PV%.9999}.x"
|
||||
fi
|
||||
EGIT_REPO_URI="https://code.videolan.org/videolan/vlc.git"
|
||||
inherit git-r3
|
||||
else
|
||||
COMMIT=
|
||||
if [[ -n ${COMMIT} ]] ; then
|
||||
SRC_URI="https://code.videolan.org/videolan/vlc/-/archive/${COMMIT}.tar.gz -> ${P}-${COMMIT:0:8}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
else
|
||||
if [[ ${MY_P} == ${P} ]] ; then
|
||||
SRC_URI="https://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.xz"
|
||||
else
|
||||
SRC_URI="https://download.videolan.org/videolan/testing/${MY_PV}/${MY_P}.tar.xz"
|
||||
fi
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
KEYWORDS="amd64 ~arm arm64 ~loong ppc ppc64 ~riscv -sparc x86"
|
||||
fi
|
||||
inherit autotools flag-o-matic lua-single toolchain-funcs virtualx xdg
|
||||
|
||||
DESCRIPTION="Media player and framework with support for most multimedia files and streaming"
|
||||
HOMEPAGE="https://www.videolan.org/vlc/"
|
||||
|
||||
LICENSE="LGPL-2.1 GPL-2"
|
||||
SLOT="0/5-9" # vlc - vlccore
|
||||
|
||||
IUSE="a52 alsa aom archive aribsub bidi bluray cddb chromaprint chromecast dav1d dbus
|
||||
dc1394 debug directx dts +dvbpsi dvd +encode faad fdk +ffmpeg flac fluidsynth
|
||||
fontconfig +gcrypt gme keyring gstreamer +gui ieee1394 jack jpeg kate
|
||||
libass libcaca libnotify +libsamplerate libtiger linsys lirc live lua
|
||||
macosx-notifications mad matroska modplug mp3 mpeg mtp musepack ncurses nfs ogg
|
||||
omxil optimisememory opus png projectm pulseaudio run-as-root samba sdl-image
|
||||
sftp shout sid skins soxr speex srt ssl svg taglib theora tremor truetype twolame
|
||||
udev upnp vaapi v4l vdpau vnc vpx wayland +X x264 x265 xml zeroconf zvbi
|
||||
cpu_flags_arm_neon cpu_flags_ppc_altivec cpu_flags_x86_mmx cpu_flags_x86_sse
|
||||
"
|
||||
REQUIRED_USE="
|
||||
chromecast? ( encode )
|
||||
directx? ( ffmpeg )
|
||||
fontconfig? ( truetype )
|
||||
libcaca? ( X )
|
||||
libtiger? ( kate )
|
||||
lua? ( ${LUA_REQUIRED_USE} )
|
||||
skins? ( archive gui truetype X xml )
|
||||
ssl? ( gcrypt )
|
||||
vaapi? ( ffmpeg X )
|
||||
vdpau? ( ffmpeg X )
|
||||
"
|
||||
# live+snapshots need bison+flex
|
||||
BDEPEND="
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
lua? ( ${LUA_DEPS} )
|
||||
amd64? ( dev-lang/yasm )
|
||||
wayland? ( dev-util/wayland-scanner )
|
||||
x86? ( dev-lang/yasm )
|
||||
"
|
||||
# depends on abseil-cpp via protobuf targets
|
||||
RDEPEND="
|
||||
media-libs/libvorbis
|
||||
net-dns/libidn:=
|
||||
virtual/zlib:=
|
||||
virtual/libintl
|
||||
virtual/opengl
|
||||
a52? ( media-libs/a52dec )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
aom? ( media-libs/libaom:= )
|
||||
archive? ( app-arch/libarchive:= )
|
||||
aribsub? ( media-libs/aribb24 )
|
||||
bidi? (
|
||||
dev-libs/fribidi
|
||||
media-libs/freetype:2[harfbuzz]
|
||||
media-libs/harfbuzz:=
|
||||
virtual/ttf-fonts
|
||||
)
|
||||
bluray? ( >=media-libs/libbluray-1.3.0:= )
|
||||
cddb? ( media-libs/libcddb )
|
||||
chromaprint? ( media-libs/chromaprint:= )
|
||||
chromecast? (
|
||||
dev-cpp/abseil-cpp:=
|
||||
>=dev-libs/protobuf-2.5.0:=
|
||||
>=net-libs/libmicrodns-0.1.2:=
|
||||
)
|
||||
dav1d? ( media-libs/dav1d:= )
|
||||
dbus? ( sys-apps/dbus )
|
||||
dc1394? (
|
||||
media-libs/libdc1394:2
|
||||
sys-libs/libraw1394
|
||||
)
|
||||
dts? ( media-libs/libdca )
|
||||
dvbpsi? ( >=media-libs/libdvbpsi-1.2.0:= )
|
||||
dvd? (
|
||||
>=media-libs/libdvdnav-6.1.1:=
|
||||
>=media-libs/libdvdread-6.1.2:=
|
||||
)
|
||||
faad? ( media-libs/faad2 )
|
||||
fdk? ( media-libs/fdk-aac:= )
|
||||
ffmpeg? ( >=media-video/ffmpeg-3.1.3:=[vaapi?,vdpau?] )
|
||||
flac? (
|
||||
media-libs/flac:=
|
||||
media-libs/libogg
|
||||
)
|
||||
fluidsynth? ( media-sound/fluidsynth:= )
|
||||
fontconfig? ( media-libs/fontconfig:1.0 )
|
||||
gcrypt? (
|
||||
dev-libs/libgcrypt:=
|
||||
dev-libs/libgpg-error
|
||||
)
|
||||
gme? ( media-libs/game-music-emu )
|
||||
keyring? ( app-crypt/libsecret )
|
||||
gstreamer? ( >=media-libs/gst-plugins-base-1.4.5:1.0 )
|
||||
gui? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwidgets:5
|
||||
X? (
|
||||
dev-qt/qtx11extras:5
|
||||
x11-libs/libX11
|
||||
)
|
||||
)
|
||||
ieee1394? (
|
||||
sys-libs/libavc1394
|
||||
sys-libs/libraw1394
|
||||
)
|
||||
jack? ( virtual/jack )
|
||||
jpeg? ( media-libs/libjpeg-turbo:0 )
|
||||
kate? ( media-libs/libkate )
|
||||
libass? (
|
||||
media-libs/fontconfig:1.0
|
||||
media-libs/libass:=
|
||||
)
|
||||
libcaca? ( media-libs/libcaca )
|
||||
libnotify? (
|
||||
dev-libs/glib:2
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify
|
||||
)
|
||||
libsamplerate? ( media-libs/libsamplerate )
|
||||
libtiger? ( media-libs/libtiger )
|
||||
linsys? ( media-libs/zvbi )
|
||||
lirc? ( app-misc/lirc )
|
||||
live? ( media-plugins/live:= )
|
||||
lua? ( ${LUA_DEPS} )
|
||||
mad? ( media-libs/libmad )
|
||||
matroska? (
|
||||
>=dev-libs/libebml-1.4.2:=
|
||||
media-libs/libmatroska:=
|
||||
)
|
||||
modplug? ( >=media-libs/libmodplug-0.8.9.0 )
|
||||
mp3? ( media-sound/mpg123-base )
|
||||
mpeg? ( media-libs/libmpeg2 )
|
||||
mtp? ( media-libs/libmtp:= )
|
||||
musepack? ( media-sound/musepack-tools )
|
||||
ncurses? ( sys-libs/ncurses:=[unicode(+)] )
|
||||
nfs? ( >=net-fs/libnfs-0.10.0:= )
|
||||
ogg? ( media-libs/libogg )
|
||||
opus? ( >=media-libs/opus-1.0.3 )
|
||||
png? ( media-libs/libpng:0= )
|
||||
projectm? (
|
||||
media-fonts/dejavu
|
||||
>=media-libs/libprojectm-3.1.12:0=
|
||||
)
|
||||
pulseaudio? ( media-libs/libpulse )
|
||||
samba? ( >=net-fs/samba-4.0.0:0[client,-debug(-)] )
|
||||
sdl-image? ( media-libs/sdl-image )
|
||||
sftp? ( net-libs/libssh2 )
|
||||
shout? ( media-libs/libshout )
|
||||
sid? ( media-libs/libsidplay:2 )
|
||||
skins? (
|
||||
x11-libs/libXext
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXpm
|
||||
)
|
||||
soxr? ( >=media-libs/soxr-0.1.2 )
|
||||
speex? (
|
||||
>=media-libs/speex-1.2.0
|
||||
media-libs/speexdsp
|
||||
)
|
||||
srt? ( >=net-libs/srt-1.4.2:= )
|
||||
ssl? ( net-libs/gnutls:= )
|
||||
svg? (
|
||||
gnome-base/librsvg:2
|
||||
x11-libs/cairo
|
||||
)
|
||||
taglib? ( media-libs/taglib:= )
|
||||
theora? ( media-libs/libtheora:= )
|
||||
tremor? ( media-libs/tremor )
|
||||
truetype? (
|
||||
media-libs/freetype:2
|
||||
virtual/ttf-fonts
|
||||
!fontconfig? ( media-fonts/dejavu )
|
||||
)
|
||||
twolame? ( media-sound/twolame )
|
||||
udev? ( virtual/udev )
|
||||
upnp? ( net-libs/libupnp:=[ipv6(+)] )
|
||||
v4l? ( media-libs/libv4l:= )
|
||||
vaapi? ( media-libs/libva:=[drm(+),wayland?,X?] )
|
||||
vdpau? ( x11-libs/libvdpau )
|
||||
vnc? ( net-libs/libvncserver )
|
||||
vpx? ( media-libs/libvpx:= )
|
||||
wayland? (
|
||||
>=dev-libs/wayland-1.15
|
||||
dev-libs/wayland-protocols
|
||||
)
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/xcb-util
|
||||
x11-libs/xcb-util-keysyms
|
||||
)
|
||||
x264? ( >=media-libs/x264-0.0.20190214:= )
|
||||
x265? ( media-libs/x265:= )
|
||||
xml? ( dev-libs/libxml2:2= )
|
||||
zeroconf? ( net-dns/avahi[dbus] )
|
||||
zvbi? ( media-libs/zvbi )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-base/xorg-proto )
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS THANKS NEWS README doc/fortunes.txt )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.0.22-gettext-version.patch # bug 766549
|
||||
"${FILESDIR}"/${PN}-3.0.22-no-vlc-cache-gen.patch # bugs 564842, 608256
|
||||
"${FILESDIR}"/${PN}-2.1.0-fix-libtremor-libs.patch # build system
|
||||
"${FILESDIR}"/${PN}-3.0.6-fdk-aac-2.0.0.patch # bug 672290
|
||||
"${FILESDIR}"/${PN}-3.0.11.1-configure_lua_version.patch
|
||||
"${FILESDIR}"/${PN}-3.0.18-drop-minizip-dep.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
if use lua; then
|
||||
lua-single_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# bug 608256
|
||||
xdg_environment_reset
|
||||
|
||||
# Bootstrap when we are on a git checkout.
|
||||
if [[ ${PV} == *9999* || ${PV} == *_p[0-9]* ]] ; then
|
||||
./bootstrap
|
||||
fi
|
||||
|
||||
# Make it build with libtool 1.5
|
||||
rm m4/lt* m4/libtool.m4 || die
|
||||
|
||||
# We are not in a real git checkout due to the absence of a .git directory.
|
||||
touch src/revision.txt || die
|
||||
|
||||
# Don't use --started-from-file when not using dbus.
|
||||
if ! use dbus ; then
|
||||
sed -i 's/ --started-from-file//' share/vlc.desktop.in || die
|
||||
fi
|
||||
|
||||
sed -i 's/gstvideopool.h/video.h/' modules/codec/gstreamer/gstvlcvideopool.h
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# live+snapshots need bison+flex
|
||||
unset LEX YACC
|
||||
|
||||
local -x BUILDCC="$(tc-getBUILD_CC)"
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-aa
|
||||
--disable-amf-frc # DirectX specific
|
||||
--disable-freerdp # bug 921096
|
||||
--disable-optimizations
|
||||
--disable-postproc # bug 961436
|
||||
--disable-rpath
|
||||
--disable-update-check
|
||||
--enable-fast-install
|
||||
--enable-screen
|
||||
--enable-vcd
|
||||
--enable-vlc
|
||||
--enable-vorbis
|
||||
$(use_enable a52) # not officially supported anymore (avcodec takes priority)
|
||||
$(use_enable alsa)
|
||||
$(use_enable aom)
|
||||
$(use_enable archive)
|
||||
$(use_enable aribsub)
|
||||
$(use_enable bidi fribidi)
|
||||
$(use_enable bidi harfbuzz)
|
||||
$(use_enable bluray)
|
||||
$(use_enable cddb libcddb)
|
||||
$(use_enable chromaprint)
|
||||
$(use_enable chromecast)
|
||||
$(use_enable chromecast microdns)
|
||||
$(use_enable cpu_flags_arm_neon neon)
|
||||
$(use_enable cpu_flags_ppc_altivec altivec)
|
||||
$(use_enable cpu_flags_x86_mmx mmx)
|
||||
$(use_enable cpu_flags_x86_sse sse)
|
||||
$(use_enable dav1d)
|
||||
$(use_enable dbus)
|
||||
$(use_enable dbus kwallet)
|
||||
$(use_enable dc1394)
|
||||
$(use_enable debug)
|
||||
$(use_enable directx)
|
||||
$(use_enable directx d3d11va)
|
||||
$(use_enable directx dxva2)
|
||||
$(use_enable dts dca) # not officially supported anymore (avcodec takes priority)
|
||||
$(use_enable dvbpsi)
|
||||
$(use_enable dvd dvdnav)
|
||||
$(use_enable dvd dvdread)
|
||||
$(use_enable encode sout)
|
||||
$(use_enable encode vlm)
|
||||
$(use_enable faad)
|
||||
$(use_enable fdk fdkaac)
|
||||
$(use_enable ffmpeg avcodec)
|
||||
$(use_enable ffmpeg avformat)
|
||||
$(use_enable ffmpeg swscale)
|
||||
$(use_enable flac)
|
||||
$(use_enable fluidsynth)
|
||||
$(use_enable fontconfig)
|
||||
$(use_enable gcrypt libgcrypt)
|
||||
$(use_enable gme)
|
||||
$(use_enable keyring secret)
|
||||
$(use_enable gstreamer gst-decode)
|
||||
$(use_enable gui qt)
|
||||
$(use_enable ieee1394 dv1394)
|
||||
$(use_enable jack)
|
||||
$(use_enable jpeg)
|
||||
$(use_enable kate)
|
||||
$(use_enable libass)
|
||||
$(use_enable libcaca caca)
|
||||
$(use_enable libnotify notify)
|
||||
$(use_enable libsamplerate samplerate)
|
||||
$(use_enable libtiger tiger)
|
||||
$(use_enable linsys)
|
||||
$(use_enable lirc)
|
||||
$(use_enable live live555)
|
||||
$(use_enable lua)
|
||||
$(use_enable macosx-notifications osx-notifications)
|
||||
$(use_enable mad)
|
||||
$(use_enable matroska)
|
||||
$(use_enable modplug mod)
|
||||
$(use_enable mp3 mpg123)
|
||||
$(use_enable mpeg libmpeg2) # not officially supported anymore (avcodec takes priority)
|
||||
$(use_enable mtp)
|
||||
$(use_enable musepack mpc)
|
||||
$(use_enable ncurses)
|
||||
$(use_enable nfs)
|
||||
$(use_enable ogg)
|
||||
$(use_enable omxil)
|
||||
$(use_enable omxil omxil-vout)
|
||||
$(use_enable optimisememory optimize-memory)
|
||||
$(use_enable opus)
|
||||
$(use_enable png)
|
||||
$(use_enable projectm)
|
||||
$(use_enable pulseaudio pulse)
|
||||
$(use_enable run-as-root)
|
||||
$(use_enable samba smbclient)
|
||||
$(use_enable sdl-image)
|
||||
$(use_enable sftp)
|
||||
$(use_enable shout)
|
||||
$(use_enable sid)
|
||||
$(use_enable skins skins2)
|
||||
$(use_enable soxr)
|
||||
$(use_enable speex)
|
||||
$(use_enable srt)
|
||||
$(use_enable ssl gnutls)
|
||||
$(use_enable svg)
|
||||
$(use_enable svg svgdec)
|
||||
$(use_enable taglib)
|
||||
$(use_enable theora)
|
||||
$(use_enable tremor)
|
||||
$(use_enable twolame)
|
||||
$(use_enable udev)
|
||||
$(use_enable upnp)
|
||||
$(use_enable v4l v4l2)
|
||||
$(use_enable vaapi libva)
|
||||
$(use_enable vdpau)
|
||||
$(use_enable vnc)
|
||||
$(use_enable vpx)
|
||||
$(use_enable wayland)
|
||||
$(use_with X x)
|
||||
$(use_enable X xcb)
|
||||
$(use_enable X xvideo)
|
||||
$(use_enable x264)
|
||||
$(use_enable x264 x26410b)
|
||||
$(use_enable x265)
|
||||
$(use_enable xml libxml2)
|
||||
$(use_enable zeroconf avahi)
|
||||
$(use_enable zvbi)
|
||||
$(use_enable !zvbi telx)
|
||||
--with-kde-solid="${EPREFIX}"/usr/share/solid/actions
|
||||
--disable-asdcp
|
||||
--disable-coverage
|
||||
--disable-cprof
|
||||
--disable-crystalhd
|
||||
--disable-decklink
|
||||
--disable-gles2
|
||||
--disable-goom
|
||||
--disable-kai
|
||||
--disable-kva
|
||||
--disable-libplacebo
|
||||
--disable-maintainer-mode
|
||||
--disable-merge-ffmpeg
|
||||
--disable-mfx
|
||||
--disable-mmal
|
||||
--disable-opencv
|
||||
--disable-opensles
|
||||
--disable-oss
|
||||
--disable-rpi-omxil
|
||||
--disable-schroedinger
|
||||
--disable-shine
|
||||
--disable-sndio
|
||||
--disable-spatialaudio
|
||||
--disable-vsxu
|
||||
--disable-wasapi
|
||||
--disable-wma-fixed
|
||||
)
|
||||
# ^ We don't have these disabled libraries in the Portage tree yet.
|
||||
|
||||
# https://code.videolan.org/videolan/vlc/-/issues/17626 (bug #861143)
|
||||
append-flags -fno-strict-aliasing
|
||||
filter-lto
|
||||
|
||||
# Compatibility fix for Samba 4.
|
||||
use samba && append-cppflags "-I${ESYSROOT}/usr/include/samba-4.0"
|
||||
|
||||
if use x86; then
|
||||
# We need to disable -fstack-check if use >=gcc 4.8.0. bug #499996
|
||||
append-cflags $(test-flags-CC -fno-stack-check)
|
||||
# Bug 569774
|
||||
replace-flags -Os -O2
|
||||
fi
|
||||
|
||||
# FIXME: Needs libresid-builder from libsidplay:2 which is in another directory...
|
||||
append-ldflags "-L${ESYSROOT}/usr/$(get_libdir)/sidplay/builders/"
|
||||
|
||||
if use riscv; then
|
||||
# bug #803473
|
||||
append-libs -latomic
|
||||
fi
|
||||
|
||||
if use truetype || use bidi; then
|
||||
myeconfargs+=( --enable-freetype )
|
||||
else
|
||||
myeconfargs+=( --disable-freetype )
|
||||
fi
|
||||
|
||||
if use truetype || use projectm; then
|
||||
local dejavu="${EPREFIX}/usr/share/fonts/dejavu/"
|
||||
myeconfargs+=(
|
||||
--with-default-font=${dejavu}/DejaVuSans.ttf
|
||||
--with-default-font-family=Sans
|
||||
--with-default-monospace-font=${dejavu}/DejaVuSansMono.ttf
|
||||
--with-default-monospace-font-family=Monospace
|
||||
)
|
||||
fi
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
|
||||
# _FORTIFY_SOURCE is set to 2 in config.h, which is also the default value on Gentoo.
|
||||
# Other values may break the build (bug 523144), so definition should not be removed.
|
||||
# To prevent redefinition warnings, we undefine _FORTIFY_SOURCE at the start of config.h
|
||||
sed -i '1i#undef _FORTIFY_SOURCE' config.h || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx emake check-TESTS
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z "${ROOT}" ]] && [[ -x "${EROOT}/usr/$(get_libdir)/vlc/vlc-cache-gen" ]] ; then
|
||||
einfo "Running ${EPREFIX}/usr/$(get_libdir)/vlc/vlc-cache-gen on ${EROOT}/usr/$(get_libdir)/vlc/plugins/"
|
||||
"${EPREFIX}/usr/$(get_libdir)/vlc/vlc-cache-gen" "${EROOT}/usr/$(get_libdir)/vlc/plugins/"
|
||||
else
|
||||
ewarn "We cannot run vlc-cache-gen (most likely ROOT != /)"
|
||||
ewarn "Please run ${EPREFIX}/usr/$(get_libdir)/vlc/vlc-cache-gen manually"
|
||||
ewarn "If you do not do it, vlc will take a long time to load."
|
||||
fi
|
||||
|
||||
xdg_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if [[ -e "${EROOT}"/usr/$(get_libdir)/vlc/plugins/plugins.dat ]]; then
|
||||
rm "${EROOT}"/usr/$(get_libdir)/vlc/plugins/plugins.dat || die "Failed to rm plugins.dat"
|
||||
fi
|
||||
|
||||
xdg_pkg_postrm
|
||||
}
|
||||
15
metadata/md5-cache/net-fs/ncpfs-modules-9999
Normal file
15
metadata/md5-cache/net-fs/ncpfs-modules-9999
Normal file
@@ -0,0 +1,15 @@
|
||||
BDEPEND=>=dev-vcs/git-1.8.2.1[curl]
|
||||
DEFINED_PHASES=compile install postinst postrm preinst setup unpack
|
||||
DEPEND=kernel_linux? ( sys-apps/kmod[tools] dist-kernel? ( virtual/dist-kernel:= ) ) kernel_linux? ( virtual/linux-sources virtual/libelf )
|
||||
DESCRIPTION=ncpfs kernel module for Linux 4.18+
|
||||
EAPI=7
|
||||
HOMEPAGE=https://github.com/EnzephaloN/ncpfs-module
|
||||
INHERIT=git-r3 linux-info linux-mod
|
||||
IUSE=dist-kernel
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=GPL-2
|
||||
PROPERTIES=live
|
||||
RDEPEND=kernel_linux? ( sys-apps/kmod[tools] dist-kernel? ( virtual/dist-kernel:= ) )
|
||||
SLOT=0
|
||||
_eclasses_=git-r3 875eb471682d3e1f18da124be97dcc81 toolchain-funcs a0b29008c671a362b505f96fa80ce9c0 linux-info efd923656513c879204fec6638eadee5 multilib b2a329026f2e404e9e371097dda47f96 multiprocessing 1e32df7deee68372153dca65f4a7c21f linux-mod 000f3723e8e062061ee523106e69f84a
|
||||
_md5_=b01619f1fd634e59fd4128c02bc5e197
|
||||
@@ -1 +1 @@
|
||||
EBUILD ncpfs-modules-9999.ebuild 1493 BLAKE2B a9ad1d939acf6705080c537c8164e1233e2a02218847bb2f021041045749077e4a07adbf9b1be2cb97dc7299b653a51fd7d40a34ff773031f2b3f596c8f2bfad SHA512 7cd5fa79f3d2d7976aaf6c2d5a64165cdb05b7f50a31687bb58840850493afeea525054f13d2c02299d04e5da612e4d2cbcb1d2327402eae582b478f3d481c81
|
||||
EBUILD ncpfs-modules-9999.ebuild 1558 BLAKE2B 0720aa739a5d10961dc4dd0a320d246baf48825c43b6e8b5828f4bde964f1d937709b7d70a43fad67db63c3605e5ec5081ae0c5121cead1034f29d98613a1ac6 SHA512 80ef36b5443d0871961103a3fe4a36d38188c35b7082b519cf00ea0ebbb2c75d81edffbd79c5fc175ca9f1bd8c0ee70cc21ca55b48c0fc9cbdcb7c05881c9eeb
|
||||
|
||||
@@ -56,7 +56,10 @@ src_unpack() {
|
||||
if kernel_is gt 6 12 0; then
|
||||
EGIT_BRANCH="kernel_6.12"
|
||||
fi
|
||||
if kernel_is gt 6 13 0; then
|
||||
if kernel_is gt 6 14 0; then
|
||||
EGIT_BRANCH="kernel_6.14"
|
||||
fi
|
||||
if kernel_is gt 6 16 0; then
|
||||
EGIT_BRANCH="master"
|
||||
fi
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
DIST teams-for-linux_2.0.17_amd64.deb 92068572 BLAKE2B 1e8711191034ece5c8224573a6460ed63cbf0ba4a555161a69792113df8aae20f6624384d9301de67b40cf9323be345d4bd37a6fdd5eb1963a8d019faf7a7ffc SHA512 9c05bedfe8efdd37e6fbe310dc14baffc31237a1b640a268f7c9d693bd85c55e7cd5b91cf6bf1f0ade579c5bf6a0b83fc285f15eec4a1d8ca9b8bbe5c5a1a9c3
|
||||
EBUILD teams-for-linux-2.0.17.ebuild 3387 BLAKE2B 0e9031d17f3f3cab3fa8de3570c17fba700d66e35dd4d99df9054a3e7a2482d57e54c47a1d6ab08122d1fed7316a38802b28774d97d8ccebd11bbbb823d68b3f SHA512 f4a873cb21f097675309cf106edd2ff4b08dce10051cd71f5b5b4c0941bcf627b58de2983d5f59f7186cbd25d923a2ab4994f9526f2ccfd5240d9fe93f1ee462
|
||||
DIST teams-for-linux_2.7.2_amd64.deb 105475620 BLAKE2B 87f0c8e15c11f5d58136b7358fff279e3048530d003db2c8dd058d640a082abf9f72cb5982991b71ed7b9496289942f8c5eec0c2ebebdbe3f62c6c310e462b7d SHA512 ce0ef3fd4de75bd95e4d75c87d0716ec67c6ea8403e5766be01f4fd99b9d2bad4ec19954b521253cafd0947a60c24583f732172c4e4ba78681e1ff0dbdd627bf
|
||||
EBUILD teams-for-linux-2.7.2.ebuild 3387 BLAKE2B 0e9031d17f3f3cab3fa8de3570c17fba700d66e35dd4d99df9054a3e7a2482d57e54c47a1d6ab08122d1fed7316a38802b28774d97d8ccebd11bbbb823d68b3f SHA512 f4a873cb21f097675309cf106edd2ff4b08dce10051cd71f5b5b4c0941bcf627b58de2983d5f59f7186cbd25d923a2ab4994f9526f2ccfd5240d9fe93f1ee462
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
DIST RASClient-20.2.25889_x86_64.tar.bz2 33777916 BLAKE2B 6ccef1c6469c75cf89bd6b9247b1fbe945ad8d48d183a3e2be0fed396e1fd1ec8be75f461649db43d7454326e0d02f086ccbe84b12aeabcfaab2064ce5952a55 SHA512 94285ae84e1296e846f91c207ebb3daa48738e65b501fa780d8f1862073fc055aa5c7ea2365001d589bc39559848640692cd314f2efbbfaabd9a32b28994b027
|
||||
DIST RASClient-sso-20.2.25889_x86_64.tar.bz2 9643 BLAKE2B 9334960baaba9312ca788bfe2d1779e327ab34d043825ae6081369e25da72624e3d76c97bfba1185183ae76bd375c5f8734762b41d23a4f284eb70050fba87d9 SHA512 d9a51a7b3ab6b9f73f69c6c09ddfd5bab98f0f9358a5203d9bc14de10223095d75e580f63cfcd8bce09c530b377569d0dd8d8b2bde5801932d3750e49d70e98a
|
||||
EBUILD rasclient-20.2.0.25889.ebuild 2002 BLAKE2B 83a3c776dd6bc7e24a351a4a0805b16c1d140996b03ccdd895d732b65e34a2f56e92746f8334d1497e7cf582b043a21325fb3b1b5adb09c9fc78432f408ee102 SHA512 c795faab8d827f210fbd3aa314fd08f8689ffed7f1c7033a66294dd366bc497ac3cedfee56bede47cd261805bcae9ba6391ebadbe9259996a85f117862790fb8
|
||||
DIST RASClient-21.0.26247_x86_64.tar.bz2 30403412 BLAKE2B eef1a7340c5db4fd795d6749eddfe67901bac30d484332a8265fa6c1a5591316a5309f6fb428a29e85e8a2252bce88c7eadd54a1f7615d5c2a7aa8d4368b9d6c SHA512 a31b79cfd46a6e33e8490c21e1f8def00a4fb6ad214b1d781b79d778cfc204838046be1b7b4cceaf66139b749abd0cc9e7c271fdd3c91ab83d97f8e41ec5a078
|
||||
DIST RASClient-sso-21.0.26247_x86_64.tar.bz2 9586 BLAKE2B 9a49e5411b93c72badae08d161c159c616d1d59f30a59dad3a5a4f041678aa7e7d7b36d38e90533e45312218136bb454041d5a1eb054c64fa9aa201690b5e31a SHA512 1880bdf607a40dcb29bcd7a780080866e5bcbfc256f0eaf5c11e87fcda99801ea78acb505522f0e73c3ab2775ee34caad839bff37da93c480b898d07b23941f5
|
||||
EBUILD rasclient-21.0.0.26247.ebuild 2002 BLAKE2B 83a3c776dd6bc7e24a351a4a0805b16c1d140996b03ccdd895d732b65e34a2f56e92746f8334d1497e7cf582b043a21325fb3b1b5adb09c9fc78432f408ee102 SHA512 c795faab8d827f210fbd3aa314fd08f8689ffed7f1c7033a66294dd366bc497ac3cedfee56bede47cd261805bcae9ba6391ebadbe9259996a85f117862790fb8
|
||||
MISC ChangeLog 385 BLAKE2B ebe7cc81e97a7c49bd6dc63e83c4701deb3fa3cc665ae2c0c231e7d4dc79ce3a490e325dd57f962fa74b097fa3fb076ebafd6b0a3fc57d985fe6e16fc4cfc7a5 SHA512 eefdb08d4f09532d35752696b1ac758520ae01f5dca8f44fc63dbd1c7cfb3d83f7f03a32db69c051517ac36b16b9298727fc95d85b188ea336760652fb92305f
|
||||
MISC metadata.xml 408 BLAKE2B 66a3e2838d5c5f95c7463733cd13b1230ef3ca005ec0c5dac797561be30f950da98dfa41eeb4d43cf97500c9a2e0d04c57b0b084d60107072a988dd7c4d16ded SHA512 9cac3e4a07c425e87274de776e03d243e462341168235cd3991ef4706aa1a902cf6591ae8e965b9c4ed370fc2ebef3ca805a9c761d05c4b994ae8667198b267c
|
||||
|
||||
4
net-print/samsung-unified-driver/Manifest
Normal file
4
net-print/samsung-unified-driver/Manifest
Normal file
@@ -0,0 +1,4 @@
|
||||
AUX 1.00.39-libsane-smfp.rules 10589 BLAKE2B 8ff211edc8456ea754d5b73c66e93527f6054ec6fa11929d2a37eefd0ea445429a743f1c8cd51515e3b66109413646771e35709b8b56ce5e044bceb26551dcd9 SHA512 8c9ef2977777a6d9ab5ae96e2e9623a2eace7ce22f14082bb57f30ec9f828d6d9e70cc78a15b71c59d756c8e832cc0a5c85cdee715fc959fa4bfbc2d6ab1bbb0
|
||||
DIST uld_V1.00.39_01.17.tar.gz 15443851 BLAKE2B 2018adf0c929f996d9d03f2d0cb254b09e00f1bb57eb5dbab2b7387c13037aa8957a6e360d0872769549d421de8504ab1e060bd21926f262e2d8642dd508de1d SHA512 8667c1aedd19188db2db461dba3c8ec09b1d7dd7994df7f348ed0819e39e5d5f68a59a4e70f90586b71f6f4e27953e25f50b768c94ae84d52c6bac8e415c3bd8
|
||||
EBUILD samsung-unified-driver-1.00.39.ebuild 2808 BLAKE2B 1053b5402a0fe5c2befda891557626fc77cd4bf48bb46b3dd1e96e3f8f869bfed4bac55ecb86a108ebf80cb56d1111f76308fa7bdb1337fb085fa54bde386c6c SHA512 fa9232ca63584eef334e122de0f8065991c986c8479dffa3b28b750316a0396d2e6c6b9c68de82fadd67c0f7f9575a6a9c94a9db4146ef21e54e642fc290f95d
|
||||
MISC metadata.xml 326 BLAKE2B 90e4611381b261a3eb1d3393c72c32346e6d2122b11e96d339947484c3996bec2af482dfe46724f402083b8ab990d3a1c04818b046d2b92646a60a3c2a0de50e SHA512 66478a485752d2728c800da61c12b22a7225c429ab11b01ab1ded6dfff9f77a75740d9bf2c5f6c680ec3450761bf24b773b3fabb0c67a8af4ccfa815895e0c4b
|
||||
@@ -0,0 +1,107 @@
|
||||
# This file is a part of net-print/samsung-unified-driver package and is based
|
||||
# on udev rules shipped by Samsung, but assigns permissions and ownership in
|
||||
# the SANE way.
|
||||
#
|
||||
ACTION!="add", GOTO="libsane_smfp_rules_end"
|
||||
ENV{DEVTYPE}=="usb_device", GOTO="libsane_smfp_rules_begin"
|
||||
SUBSYSTEM=="usb|usb_device", GOTO="libsane_smfp_rules_begin"
|
||||
GOTO="libsane_smfp_rules_end"
|
||||
|
||||
LABEL="libsane_smfp_rules_begin"
|
||||
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3425", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="341c", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="342a", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="343d", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3456", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="345a", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3427", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="343a", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3428", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="343b", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3455", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3421", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3439", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3444", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="343f", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="344e", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3431", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="345c", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="344d", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3462", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3464", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3461", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3460", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="340e", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3435", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="340f", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3441", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="344f", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3413", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="341b", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="342e", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3426", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="342b", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3433", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3440", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3434", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="345b", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3457", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="341f", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3453", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="344b", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3409", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3412", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3419", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="342c", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="343c", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3432", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="342d", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3430", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="342f", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3446", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="341a", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3437", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3442", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3466", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="340d", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="341d", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3420", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3429", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3443", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3438", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="344c", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="345d", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3463", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3465", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3450", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3468", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3469", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3467", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="346b", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="346a", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="346e", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3471", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3472", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="347d", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="347c", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="347e", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3481", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3482", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3331", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3332", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3483", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3484", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3485", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3478", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3325", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3327", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="346f", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3477", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3324", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3326", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3486", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3487", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3489", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
||||
|
||||
LABEL="libsane_smfp_rules_end"
|
||||
11
net-print/samsung-unified-driver/metadata.xml
Normal file
11
net-print/samsung-unified-driver/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>itumaykin+gentoo@gmail.com</email>
|
||||
<name>Coacher</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="network">Enable network printing support</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,113 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit linux-info udev vcs-snapshot
|
||||
|
||||
EXTRA_PV=01.17
|
||||
MY_P=uld_V${PV}_${EXTRA_PV}
|
||||
|
||||
DESCRIPTION="Samsung Unified Linux Driver for printers and MFDs"
|
||||
HOMEPAGE="http://www.samsung.com"
|
||||
SRC_URI="https://ftp.hp.com/pub/softlib/software13/printers/SS/SL-M4580FX/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Samsung-EULA"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE="cups network scanner"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
RDEPEND="
|
||||
cups? (
|
||||
net-print/cups
|
||||
!net-print/splix
|
||||
)
|
||||
scanner? (
|
||||
media-gfx/sane-backends
|
||||
dev-libs/libxml2:2
|
||||
virtual/libusb:0
|
||||
)
|
||||
network? ( virtual/libusb )
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
network? ( cups )
|
||||
|| ( cups scanner )
|
||||
"
|
||||
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
pkg_pretend() {
|
||||
if use scanner && ! has_version ${CATEGORY}/${PN}[scanner]; then
|
||||
if ! linux_config_exists || linux_chkconfig_present USB_PRINTER; then
|
||||
ewarn "Samsung USB MFDs are normally managed via libusb."
|
||||
ewarn "In this case, you need to either disable the USB_PRINTER"
|
||||
ewarn "support in your kernel, or blacklist the 'usblp' module."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use cups; then
|
||||
QA_SONAME="usr/$(get_libdir)/libscmssc.so"
|
||||
QA_FLAGS_IGNORED+=" usr/$(get_libdir)/libscmssc.so"
|
||||
QA_FLAGS_IGNORED+=" usr/libexec/cups/filter/pstosecps"
|
||||
QA_FLAGS_IGNORED+=" usr/libexec/cups/filter/rastertospl"
|
||||
fi
|
||||
if use scanner; then
|
||||
QA_FLAGS_IGNORED+=" usr/$(get_libdir)/sane/libsane-smfp.so.1.0.1"
|
||||
fi
|
||||
if use network; then
|
||||
QA_FLAGS_IGNORED+=" usr/libexec/cups/backend/smfpnetdiscovery"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local MY_ARCH="x86_64"
|
||||
use x86 && MY_ARCH="i386"
|
||||
|
||||
# Printer support.
|
||||
if use cups; then
|
||||
# libscmssc.so is required by rastertospl.
|
||||
dolib.so ${MY_ARCH}/libscmssc.so
|
||||
|
||||
exeinto /usr/libexec/cups/filter
|
||||
doexe ${MY_ARCH}/{pstosecps,rastertospl}
|
||||
|
||||
dodir /usr/share/cups/model/samsung
|
||||
insinto /usr/share/cups/model/samsung
|
||||
doins noarch/share/ppd/*.ppd
|
||||
gzip -9 "${ED}"/usr/share/cups/model/samsung/*.ppd || die
|
||||
|
||||
dodir /usr/share/cups/profiles/samsung
|
||||
insinto /usr/share/cups/profiles/samsung
|
||||
doins noarch/share/ppd/cms/*.cts
|
||||
fi
|
||||
|
||||
# Scanner support.
|
||||
if use scanner; then
|
||||
insinto /etc/sane.d
|
||||
doins noarch/etc/smfp.conf
|
||||
|
||||
dodir /opt/samsung/scanner/share
|
||||
insinto /opt/samsung/scanner/share
|
||||
doins noarch/oem.conf
|
||||
|
||||
exeinto /usr/$(get_libdir)/sane
|
||||
doexe ${MY_ARCH}/libsane-smfp.so.1.0.1
|
||||
|
||||
dosym libsane-smfp.so.1.0.1 /usr/$(get_libdir)/sane/libsane-smfp.so
|
||||
dosym libsane-smfp.so.1.0.1 /usr/$(get_libdir)/sane/libsane-smfp.so.1
|
||||
|
||||
udev_newrules "${FILESDIR}/${PV}-libsane-smfp.rules" 40-libsane-smfp.rules
|
||||
insinto /etc/sane.d/dll.d
|
||||
echo smfp > "${ED}"/etc/sane.d/dll.d/samsung.conf
|
||||
fi
|
||||
|
||||
# Network support.
|
||||
if use network; then
|
||||
exeinto /usr/libexec/cups/backend
|
||||
doexe ${MY_ARCH}/smfpnetdiscovery
|
||||
fi
|
||||
}
|
||||
4
sys-apps/dc3dd/Manifest
Normal file
4
sys-apps/dc3dd/Manifest
Normal file
@@ -0,0 +1,4 @@
|
||||
AUX dcfldd-1.9.1-miscompile.patch 1897 BLAKE2B 3f8fc6e328042537bd6f34070d21b510a8829411d13ac9dc86f8017abe6b1d2e6aa10d6793c163fb866344de465c98d282502d122a5776f7cf1e64314a01f43f SHA512 f67f78fb4afe046b0cae03567f42ee1701f2f3ef7222ab1daee866257eafa85b08a025eb68cf33f7286c2d46a651c62c82a9e13ae12a5fdd58d817618d927690
|
||||
DIST dc3dd-7.3.1.zip 5058325 BLAKE2B 9bbd7fdaf988dcdf2054eb4e6bfc414db176637690c2b377b9074f1f0e88bba4f450fa3327a519359337487b05ee6dd8dcd02df97937472ad0dcea8054429ab0 SHA512 493d9165ffc61fe9401701578ba9645a106e4fb81968cd341d17d41f4e86358bb5c8f8add28966a0650164bf898eb61587d24d4046ac4b542a1e498aff9512f7
|
||||
EBUILD dc3dd-7.3.1.ebuild 1141 BLAKE2B fe6cb199b5a6677f7c6d213e7a560ecd806efe9619103c5aab1ca97691676636134873a59c104ad098c551437c50c073e34a7dc92a89f3a52e861d7685e308f7 SHA512 643cced63f7fd7f731272430554f7b45209bde75f5aa36feba33997b459e0741596242b0b2e573f850089202d531b5cb10acc2776b91cde1e016eaa6a5b8cfb8
|
||||
MISC metadata.xml 406 BLAKE2B 4b3f919fe88a08eafae29fa536a35c8776adde46ac0243cf1191eef5a2523a96a7f6bedee749b0bc9ba2a32aab79bcaf781497b2f92fe0a7afa6c3b645dca10f SHA512 19bb9687b9bd30914b6f6f1554eaae34dcd48415c022c6b90df7cec8fb85d010dad1edcc4a9299343afe1577ffcb30a23c3cc536eb933ef8066f6b7de112af2f
|
||||
45
sys-apps/dc3dd/dc3dd-7.3.1.ebuild
Normal file
45
sys-apps/dc3dd/dc3dd-7.3.1.ebuild
Normal file
@@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="A patch to the GNU dd program, this version has several features intended for forensic acquisition of data"
|
||||
HOMEPAGE="https://sourceforge.net/projects/dc3dd/"
|
||||
SRC_URI="https://sourceforge.net/projects/${PN}/files/dc3dd/${PV}/dc3dd-${PV}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~riscv x86"
|
||||
|
||||
DEPEND="virtual/pkgconfig"
|
||||
|
||||
DOCS=(
|
||||
AUTHORS
|
||||
CONTRIBUTING.md
|
||||
ChangeLog
|
||||
NEWS
|
||||
README.md
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --with-bash-completion
|
||||
}
|
||||
|
||||
#src_test() {
|
||||
# # Just in case upstream add tests in future
|
||||
# default
|
||||
#
|
||||
# # Smoke test for Gentoo bug #930996
|
||||
# # Inspired by https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114698#c0
|
||||
# expected_sha256sum="$(sha256sum <<<TestInput | awk '{print $1}')"
|
||||
# actual_sha256sum="$(src/dcfldd hash=sha256 2>&1 <<<TestInput \
|
||||
# | grep -F sha256 | awk '{print $3}')"
|
||||
# [[ ${actual_sha256sum} = ${expected_sha256sum} ]] \
|
||||
# || die "dcfldd produced \"${actual_sha256sum}\" instead of expected \"${expected_sha256sum}\"."
|
||||
#}
|
||||
44
sys-apps/dc3dd/files/dcfldd-1.9.1-miscompile.patch
Normal file
44
sys-apps/dc3dd/files/dcfldd-1.9.1-miscompile.patch
Normal file
@@ -0,0 +1,44 @@
|
||||
From 393d5c41284292f72f2dd2a3c8e246e972ac718c Mon Sep 17 00:00:00 2001
|
||||
From: Sam James <sam@gentoo.org>
|
||||
Date: Thu, 11 Apr 2024 21:39:36 +0100
|
||||
Subject: [PATCH] sha2: fix aliasing violation
|
||||
|
||||
`&context->buffer` is `uint8_t*`, but we try to access it as `sha2_word64*`, which
|
||||
is an aliasing violation (undefined behaviour).
|
||||
|
||||
Use memcpy instead to avoid being miscompiled by e.g. >= GCC 12. This is
|
||||
just as fast with any modern compiler.
|
||||
|
||||
Bug: https://gcc.gnu.org/PR114698
|
||||
Bug: https://github.com/NetBSD/pkgsrc/issues/122
|
||||
Bug: https://github.com/archiecobbs/libnbcompat/issues/4
|
||||
Bug: https://bugs.launchpad.net/ubuntu-power-systems/+bug/2033405
|
||||
Signed-off-by: Sam James <sam@gentoo.org>
|
||||
---
|
||||
src/sha2.c | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/sha2.c b/src/sha2.c
|
||||
index bea1708..3925b97 100644
|
||||
--- a/src/sha2.c
|
||||
+++ b/src/sha2.c
|
||||
@@ -604,7 +604,7 @@ void SHA256_Final(SHA256_CTX* context, sha2_byte digest[]) {
|
||||
*context->buffer = 0x80;
|
||||
}
|
||||
/* Set the bit count: */
|
||||
- *(sha2_word64*)&context->buffer[SHA256_SHORT_BLOCK_LENGTH] = context->bitcount;
|
||||
+ memcpy(&context->buffer[SHA256_SHORT_BLOCK_LENGTH], &context->bitcount, sizeof(context->bitcount));
|
||||
|
||||
/* Final transform: */
|
||||
SHA256_Transform(context, (sha2_word32*)context->buffer);
|
||||
@@ -921,8 +921,8 @@ void SHA512_Last(SHA512_CTX* context) {
|
||||
*context->buffer = 0x80;
|
||||
}
|
||||
/* Store the length of input data (in bits): */
|
||||
- *(sha2_word64*)&context->buffer[SHA512_SHORT_BLOCK_LENGTH] = context->bitcount[1];
|
||||
- *(sha2_word64*)&context->buffer[SHA512_SHORT_BLOCK_LENGTH+8] = context->bitcount[0];
|
||||
+ memcpy(&context->buffer[SHA512_SHORT_BLOCK_LENGTH], &context->bitcount[1], sizeof(context->bitcount[1]));
|
||||
+ memcpy(&context->buffer[SHA512_SHORT_BLOCK_LENGTH+8], &context->bitcount[0], sizeof(context->bitcount[0]));
|
||||
|
||||
/* Final transform: */
|
||||
SHA512_Transform(context, (sha2_word64*)context->buffer);
|
||||
12
sys-apps/dc3dd/metadata.xml
Normal file
12
sys-apps/dc3dd/metadata.xml
Normal 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="person">
|
||||
<email>sping@gentoo.org</email>
|
||||
<name>Sebastian Pipping</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">resurrecting-open-source-projects/dcfldd</remote-id>
|
||||
<remote-id type="sourceforge">dcfldd</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
6
sys-apps/xdg-desktop-portal/Manifest
Normal file
6
sys-apps/xdg-desktop-portal/Manifest
Normal file
@@ -0,0 +1,6 @@
|
||||
AUX default-portals.conf 22 BLAKE2B 06a584551d11a4b2d51bf236eb657cda2360e8b324574a936c9d6f03a2d4c041ce72b6cc8a00740e4773ce654ad1867a818215c1bf610007a9dcd4b7b6b65149 SHA512 29af734e44797d4812165fa7d0be36b9047b1b9cfa12aad3628bb95ee3dbb9ff4efbd8023fb43a63d01c7e8879d58c6634710b47416929d3a7a5ca376ae18451
|
||||
AUX xdg-desktop-portal-1.21.0-optional-gstreamer.patch 3589 BLAKE2B 7a579e2e858f22662d3a9ce264c80cfb9e721e44d436e1a5c86dd04d82052c80ea14a59cd202a8c9ac443e40acc9fefacda0a331abd1da8315d5b1c8b60c127f SHA512 f39139bfc3384902d83eaad9b9dc1efe143243e367936f6c73c49fa90b3deb265113c775ffdfb948519a7fa96370a6c8e69af87c218fe870f115715257abacb6
|
||||
AUX xdg-desktop-portal-1.21.0-sandbox-disable-failing-tests.patch 493 BLAKE2B 3082c0c446095c4a4c9ef98435824496b3011226a9a864f092ee06ada2dbee2f479e7cc373e26730b98f585eabc7c322bbc9675ad3c963dd2d8dcc1d3dadf5d3 SHA512 1f7c57f7977f045c72bfdee83e6ead2d62737b47093a48fc63d82014b16367c33bada4334593e4ec2618198298789bad0a9a29660a85f78586a121534868e8d6
|
||||
AUX xdg-desktop-portal.initd 289 BLAKE2B 50a0a56b43004a903f98cf57caed06786d2f6b1db5f743c1420dd6ac5207a5c785851c38a7f6844cc9536ec9d5d8faad7a927123c201bed8c16ad123fd1de773 SHA512 c2b2b687c3f6e1cbcadf609194c764cdd9bfa72818a5efb25376ddd2ed16e86a7a35ec0a0117569074735e57840c9595a635a9b694364aeaef8076b873b9dafd
|
||||
DIST xdg-desktop-portal-1.21.0.tar.xz 1185184 BLAKE2B 11cd4b0991d7886482ef0245c268b598fb4c9e3b9d714d4e62fca51331bd981376dcde2abab9ddc3a9ad2c06e03ae7d2cf70e89d80902e93614aadd5c747bfea SHA512 6b9657643c455046f8a31f7c69f69a8fa3f3470fa8086a4b6be0fb44dc719954416f63140acc9eec4f018e86153dbab6bedcdaf3360f4d71f173ed3fe1249c9d
|
||||
EBUILD xdg-desktop-portal-1.21.0.ebuild 4098 BLAKE2B 0043978661a53b14bcf435fb9eb63bd7fa5e70fa7ca4cea430090eadd7a5323483d7a81b18417ef39aa621df17414a529a051a91455fe2137139f02cc954ddbe SHA512 5b79b8b6fd99087090736b6f709ede6731fb857d18478add293d0019753a55795f2700a42c9ea16cf919ef5758007dd450a52c98e312141da1d584af07bc5cc9
|
||||
2
sys-apps/xdg-desktop-portal/files/default-portals.conf
Normal file
2
sys-apps/xdg-desktop-portal/files/default-portals.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
[preferred]
|
||||
default=*
|
||||
@@ -0,0 +1,96 @@
|
||||
https://bugs.gentoo.org/951611
|
||||
https://bugs.gentoo.org/951609
|
||||
https://github.com/flatpak/xdg-desktop-portal/issues/1650
|
||||
https://github.com/flint2/gentoo/blob/7c8a4b4deb84826f20a7c8af1a0f125cd4942b4a/sys-apps/xdg-desktop-portal/files/xdg-desktop-portal-1.20.0-disable-gstreamer.patch
|
||||
|
||||
gstreamer is searched for unconditionally, but we don't have gstreamer-pbutils
|
||||
packaged yet, so that's a problem. Make it conditional for now (as it ought
|
||||
to be upstream either way if they're going to have an option for it).
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -112,7 +112,7 @@ gio_unix_dep = dependency('gio-unix-2.0')
|
||||
json_glib_dep = dependency('json-glib-1.0')
|
||||
fuse3_dep = dependency('fuse3', version: '>= 3.10.0')
|
||||
gdk_pixbuf_dep = dependency('gdk-pixbuf-2.0')
|
||||
-gst_pbutils_dep = dependency('gstreamer-pbutils-1.0')
|
||||
+gst_pbutils_dep = dependency('gstreamer-pbutils-1.0', required: get_option('sandboxed-sound-validation'))
|
||||
geoclue_dep = dependency(
|
||||
'libgeoclue-2.0',
|
||||
version: '>= 2.5.2',
|
||||
@@ -122,8 +122,8 @@ pipewire_dep = dependency('libpipewire-0.3', version: '>= 0.2.90')
|
||||
libsystemd_dep = dependency('libsystemd', required: get_option('systemd'))
|
||||
gudev_dep = dependency('gudev-1.0', required: get_option('gudev'))
|
||||
umockdev_dep = dependency('umockdev-1.0', required: get_option('tests'))
|
||||
-
|
||||
-gst_inspect = find_program('gst-inspect-1.0', required: false)
|
||||
+gst_inspect = find_program('gst-inspect-1.0', required: get_option('sandboxed-sound-validation'))
|
||||
+have_gst_inspect = gst_inspect.found()
|
||||
if gst_inspect.found()
|
||||
have_wav_parse = run_command(
|
||||
gst_inspect, 'wavparse', '--exists',
|
||||
@@ -224,7 +225,7 @@ enable_tests = get_option('tests') \
|
||||
.require(python.found() and python.language_version().version_compare('>=3.9'),
|
||||
error_message: 'Python version >=3.9 is required') \
|
||||
.require(umockdev_dep.found()) \
|
||||
- .require(have_wav_parse,
|
||||
+ .require(not have_wav_parse and not get_option('sandboxed-sound-validation').allowed(),
|
||||
error_message: 'gst-inspect and the wavparse plugins are required') \
|
||||
.allowed()
|
||||
|
||||
--- a/src/meson.build
|
||||
+++ b/src/meson.build
|
||||
@@ -206,14 +206,16 @@ if bwrap.found()
|
||||
validate_sound_c_args += '-DHELPER="@0@"'.format(bwrap.full_path())
|
||||
endif
|
||||
|
||||
-xdp_validate_sound = executable(
|
||||
- 'xdg-desktop-portal-validate-sound',
|
||||
- 'validate-sound.c',
|
||||
- dependencies: [gst_pbutils_dep],
|
||||
- c_args: validate_sound_c_args,
|
||||
- install: true,
|
||||
- install_dir: libexecdir,
|
||||
-)
|
||||
+if gst_inspect.found()
|
||||
+ xdp_validate_sound = executable(
|
||||
+ 'xdg-desktop-portal-validate-sound',
|
||||
+ 'validate-sound.c',
|
||||
+ dependencies: [gst_pbutils_dep],
|
||||
+ c_args: validate_sound_c_args,
|
||||
+ install: true,
|
||||
+ install_dir: libexecdir,
|
||||
+ )
|
||||
+endif
|
||||
|
||||
configure_file(
|
||||
input: 'xdg-desktop-portal-rewrite-launchers.service.in',
|
||||
--- a/tests/meson.build
|
||||
+++ b/tests/meson.build
|
||||
@@ -94,7 +94,6 @@ pytest_files = [
|
||||
'test_inhibit.py',
|
||||
'test_inputcapture.py',
|
||||
'test_location.py',
|
||||
- 'test_notification.py',
|
||||
'test_openuri.py',
|
||||
'test_permission_store.py',
|
||||
'test_print.py',
|
||||
@@ -122,7 +121,6 @@ template_files = [
|
||||
'templates/__init__.py',
|
||||
'templates/inputcapture.py',
|
||||
'templates/lockdown.py',
|
||||
- 'templates/notification.py',
|
||||
'templates/print.py',
|
||||
'templates/remotedesktop.py',
|
||||
'templates/screenshot.py',
|
||||
@@ -131,6 +129,11 @@ template_files = [
|
||||
'templates/wallpaper.py',
|
||||
]
|
||||
|
||||
+if have_gst_inspect
|
||||
+ template_files += ['templates/notification.py']
|
||||
+ pytest_files += ['test_notification.py']
|
||||
+endif
|
||||
+
|
||||
foreach pytest_file : pytest_files
|
||||
testname = pytest_file.replace('.py', '').replace('test_', '')
|
||||
test(
|
||||
@@ -0,0 +1,18 @@
|
||||
diff --git a/tests/meson.build b/tests/meson.build
|
||||
index 377d48a..8a6ebe0 100644
|
||||
--- a/tests/meson.build
|
||||
+++ b/tests/meson.build
|
||||
@@ -87,13 +87,11 @@ pytest_files = [
|
||||
'test_clipboard.py',
|
||||
'test_documents.py',
|
||||
'test_document_fuse.py',
|
||||
- 'test_dynamiclauncher.py',
|
||||
'test_email.py',
|
||||
'test_filechooser.py',
|
||||
'test_globalshortcuts.py',
|
||||
'test_inhibit.py',
|
||||
'test_inputcapture.py',
|
||||
- 'test_location.py',
|
||||
'test_openuri.py',
|
||||
'test_permission_store.py',
|
||||
'test_print.py',
|
||||
11
sys-apps/xdg-desktop-portal/files/xdg-desktop-portal.initd
Normal file
11
sys-apps/xdg-desktop-portal/files/xdg-desktop-portal.initd
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License, v2 or later
|
||||
|
||||
depend() {
|
||||
need dbus
|
||||
}
|
||||
|
||||
DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"
|
||||
supervisor=supervise-daemon
|
||||
command="/usr/libexec/xdg-desktop-portal"
|
||||
131
sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.21.0.ebuild
Normal file
131
sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.21.0.ebuild
Normal file
@@ -0,0 +1,131 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit meson python-any-r1 systemd
|
||||
|
||||
DESCRIPTION="Desktop integration portal"
|
||||
HOMEPAGE="https://flatpak.github.io/xdg-desktop-portal/ https://github.com/flatpak/xdg-desktop-portal"
|
||||
SRC_URI="https://github.com/flatpak/${PN}/releases/download/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv x86"
|
||||
IUSE="geolocation flatpak seccomp systemd test udev"
|
||||
RESTRICT="!test? ( test ) sandbox"
|
||||
# Upstream expect flatpak to be used w/ seccomp and flatpak needs bwrap anyway
|
||||
REQUIRED_USE="flatpak? ( seccomp )"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.72:2
|
||||
dev-libs/json-glib
|
||||
>=media-video/pipewire-0.3:=
|
||||
>=sys-fs/fuse-3.10.0:3=[suid]
|
||||
x11-libs/gdk-pixbuf
|
||||
geolocation? ( >=app-misc/geoclue-2.5.3:2.0 )
|
||||
flatpak? ( sys-apps/flatpak )
|
||||
seccomp? ( sys-apps/bubblewrap )
|
||||
systemd? ( sys-apps/systemd )
|
||||
udev? ( dev-libs/libgudev )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
sys-apps/dbus
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-util/gdbus-codegen-2.80.5-r1
|
||||
dev-python/docutils
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
${PYTHON_DEPS}
|
||||
dev-util/umockdev
|
||||
media-libs/gstreamer
|
||||
media-libs/gst-plugins-good
|
||||
$(python_gen_any_dep '
|
||||
>=dev-python/pytest-3[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
dev-python/python-dbusmock[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# Needed until gstreamer-rs (for gstreamer-pbutils) is packaged
|
||||
"${FILESDIR}/${PN}-1.21.0-optional-gstreamer.patch"
|
||||
# These tests require connections to pipewire, internet, /dev/fuse
|
||||
"${FILESDIR}/${PN}-1.21.0-sandbox-disable-failing-tests.patch"
|
||||
)
|
||||
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version ">=dev-python/pytest-3[${PYTHON_USEDEP}]" &&
|
||||
python_has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]" &&
|
||||
python_has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# gst-plugin-scanner writes to /proc/self/task/*/comm for thread naming
|
||||
addpredict /proc/self/task
|
||||
|
||||
local emesonargs=(
|
||||
-Ddbus-service-dir="${EPREFIX}/usr/share/dbus-1/services"
|
||||
-Dsystemd-user-unit-dir="$(systemd_get_userunitdir)"
|
||||
$(meson_feature flatpak flatpak-interfaces)
|
||||
$(meson_feature geolocation geoclue)
|
||||
$(meson_feature udev gudev)
|
||||
$(meson_feature seccomp sandboxed-image-validation)
|
||||
# Needs gstreamer-pbutils (part of gstreamer-rs)?
|
||||
# Not yet packaged
|
||||
#$(meson_feature seccomp sandboxed-sound-validation)
|
||||
-Dsandboxed-sound-validation=disabled
|
||||
$(meson_feature systemd)
|
||||
# Requires flatpak
|
||||
-Ddocumentation=disabled
|
||||
# -Dxmlto-flags=
|
||||
-Ddatarootdir="${EPREFIX}/usr/share"
|
||||
-Dman-pages=enabled
|
||||
-Dinstalled-tests=false
|
||||
$(meson_feature test tests)
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
# Install a default to avoid breakage: >=1.18.0 assumes that DEs/WMs
|
||||
# will install their own, but we want some fallback in case they don't
|
||||
# (so will probably keep this forever). DEs need time to catch up even
|
||||
# if they will eventually provide one anyway. See bug #915356.
|
||||
#
|
||||
# TODO: Add some docs on wiki for users to add their own preference
|
||||
# for minimalist WMs etc.
|
||||
insinto /usr/share/xdg-desktop-portal
|
||||
newins "${FILESDIR}"/default-portals.conf portals.conf
|
||||
exeinto /etc/user/init.d
|
||||
newexe "${FILESDIR}"/xdg-desktop-portal.initd xdg-desktop-portal
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! has_version gui-libs/xdg-desktop-portal-lxqt && ! has_version gui-libs/xdg-desktop-portal-wlr && \
|
||||
! has_version kde-plasma/xdg-desktop-portal-kde && ! has_version sys-apps/xdg-desktop-portal-gnome && \
|
||||
! has_version sys-apps/xdg-desktop-portal-gtk && ! has_version sys-apps/xdg-desktop-portal-xapp; then
|
||||
elog "${PN} is not usable without any of the following XDP"
|
||||
elog "implementations installed:"
|
||||
elog " gui-libs/xdg-desktop-portal-lxqt"
|
||||
elog " gui-libs/xdg-desktop-portal-wlr"
|
||||
elog " kde-plasma/xdg-desktop-portal-kde"
|
||||
elog " sys-apps/xdg-desktop-portal-gnome"
|
||||
elog " sys-apps/xdg-desktop-portal-gtk"
|
||||
elog " sys-apps/xdg-desktop-portal-xapp"
|
||||
fi
|
||||
}
|
||||
3
sys-block/ms-sys/Manifest
Normal file
3
sys-block/ms-sys/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
DIST ms-sys-2.8.0.tar.gz 85216 BLAKE2B 09ccb455cbf189595d393b04c263c5cbf523b565599b741eff27a4c488e9971a07072dc48da4fc727e9e9ddf0fb2ed3584975038fa4a944ea9454f78eaa2d894 SHA512 f8f43bea86bbaf2ea511f1f4b8d5dac34ead9b1e3453aa1e26e41d1b1e9f010e4c92c4a14417f01b7fd3fe22b446471b7d57b8ddd4a2330a64d6f566e66d871c
|
||||
EBUILD ms-sys-2.8.0.ebuild 799 BLAKE2B 5f0546bc256aefbf8984a84334ea0ab3419a7c661eab2de5c15af5529caaa57d351ce667339b371ae6fff4c229fc9acf2e75a1ea82b4f2e6a394a3f397fddd9e SHA512 1eccd526574fa2e1f091cc3379e647c1b7f707b938c6e4d8ebef1724a99586e0ed424af4df6458595341affb0aa6975962064f8988bbded8aa8c1c5986c6b99d
|
||||
MISC metadata.xml 304 BLAKE2B 664a680cf4696848e156b5e2541ff9aaa65279a4d7517f58df11b8a8f7182740cca13a568e3a126063858620f0a8ee3644cdb8808b3078fd7281dc1e15629cf4 SHA512 5361de62d946f44d10f67ecd5830d69c34f8ec9bbac9a423c3cdc4129f9a249359ef5420201cf3b9c1c45fb115643361ab0d772773ae1351198b790f3c5d6171
|
||||
9
sys-block/ms-sys/metadata.xml
Normal file
9
sys-block/ms-sys/metadata.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">ms-sys</remote-id>
|
||||
<bugs-to>https://sourceforge.net/p/ms-sys/bugs/</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
40
sys-block/ms-sys/ms-sys-2.8.0.ebuild
Normal file
40
sys-block/ms-sys/ms-sys-2.8.0.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A command-line program for writing Microsoft compatible boot records"
|
||||
HOMEPAGE="http://ms-sys.sourceforge.net"
|
||||
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
BDEPEND="sys-devel/gettext"
|
||||
RDEPEND="virtual/libintl"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# don't compress man-pages by default
|
||||
sed '/gzip --no-name -f/d' -i Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local nls=""
|
||||
if ! has sv ${LINGUAS-sv} ; then
|
||||
nls='NLS_FILES='
|
||||
fi
|
||||
|
||||
emake DESTDIR="${D}" MANDIR="/usr/share/man" \
|
||||
PREFIX="/usr" ${nls} install
|
||||
|
||||
dodoc CHANGELOG CONTRIBUTORS FAQ README TODO
|
||||
}
|
||||
4
x11-drivers/xf86-video-intel/Manifest
Normal file
4
x11-drivers/xf86-video-intel/Manifest
Normal file
@@ -0,0 +1,4 @@
|
||||
DIST xf86-video-intel-2.99.917_p20230201.tar.bz2 1250201 BLAKE2B f41aa429079b60b06a4f78289c5d94de9203c55756bcc3f1ff016a9226e7fa01b3559305ea3328acbc88063c8a5a96289a0ba9954e011c4eaeb7ac5d8fc3e240 SHA512 5f37bfead71ca5a671640919c357912d15b809fe8f55f572119927b218e58bbd75f3ec4370a80d74d454debb09c678105b3120f8d7eced3f9ed858878ba9128c
|
||||
EBUILD xf86-video-intel-2.99.917_p20230201.ebuild 2198 BLAKE2B adc5371353311b2afe6210e9bfc4ffcd10262ce176011e36316f2907c3b0e91982f3bbdb71511277adec6d0859de94ebdfc0a0ff2f1a1b46899ecbe56341c84d SHA512 4c7b3874372c7ce68f82c3b4229d6d628223f47b1695e8be68f0254d15d8c24d987ea82b52eb0ce14ef98efd8efcc95fe10ad016d1abd5ccb35b0460d53f2a2a
|
||||
EBUILD xf86-video-intel-9999.ebuild 2065 BLAKE2B 8ea6aa15c6b92afe4316e377068aa881b61f93411a0ecd65c0b60095526e713209415cfd059b91b755bff620dbcf11bf3a4de626fd112602053370c007d7d166 SHA512 f896c8a29ab3771a53d9f73d96119382c95729fcdbe216164b6bd4bc5a6ce435c8d6cd7ac71e81fec3cd2ec2cd1b5c060d418ad8d31ef1203e31d813e5cc4d11
|
||||
MISC metadata.xml 684 BLAKE2B 38aa4bdc4d0cef985f16a1580083839a7866b6a423ca0046f12142f187ac32009ce4163bf86f0688e6c9566f5822c9e8dd801224ba06a1ea39f08ebfce97f077 SHA512 fa9a5cf8cfa205f89019c298a6064efc2800b265a60f55c461d7e34faa0129978404507e4ce96ac629a6ea20a9e9b6eb29103b565f9758ce7b0f9e7656794fba
|
||||
17
x11-drivers/xf86-video-intel/metadata.xml
Normal file
17
x11-drivers/xf86-video-intel/metadata.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>x11@gentoo.org</email>
|
||||
<name>X11</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="sna">Enable SandyBridge's New Acceleration (useful on all chipsets, not just SandyBridge)</flag>
|
||||
<flag name="tools">Build the intel-virtual-output tool</flag>
|
||||
<flag name="uxa">Enable UMA Acceleration Architecture</flag>
|
||||
<flag name="xvmc">Enables X-Video Motion Compensation support</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="freedesktop-gitlab">xorg/driver/xf86-video-intel</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
XORG_DRI=dri
|
||||
XORG_EAUTORECONF=yes
|
||||
inherit linux-info xorg-3 flag-o-matic
|
||||
|
||||
if [[ ${PV} != 9999* ]]; then
|
||||
KEYWORDS="amd64 x86"
|
||||
COMMIT_ID="b74b67f0f321875492968f7097b9d6e82a66d7df"
|
||||
SRC_URI="https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/-/archive/${COMMIT_ID}/${P}.tar.bz2"
|
||||
S="${WORKDIR}/${PN}-${COMMIT_ID}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="X.Org driver for Intel cards"
|
||||
|
||||
IUSE="debug +sna tools +udev uxa valgrind xvmc"
|
||||
|
||||
REQUIRED_USE="
|
||||
|| ( sna uxa )
|
||||
uxa? ( dri )
|
||||
"
|
||||
RDEPEND="
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXScrnSaver
|
||||
>=x11-libs/pixman-0.27.1
|
||||
>=x11-libs/libdrm-2.4.52[video_cards_intel]
|
||||
>=x11-base/xorg-server-1.18
|
||||
tools? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libxshmfence
|
||||
x11-libs/libXtst
|
||||
)
|
||||
udev? (
|
||||
virtual/libudev:=
|
||||
)
|
||||
xvmc? (
|
||||
>=x11-libs/libXvMC-1.0.12-r1
|
||||
>=x11-libs/libxcb-1.5
|
||||
x11-libs/xcb-util
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
x11-base/xorg-proto
|
||||
valgrind? ( dev-debug/valgrind )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
xorg-3_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# bug #582910
|
||||
replace-flags -Os -O2
|
||||
# Uses the 'flatten' attribute which explodes with LTO (bug #864379)
|
||||
filter-lto
|
||||
|
||||
local XORG_CONFIGURE_OPTIONS=(
|
||||
--disable-dri1
|
||||
--disable-dri2
|
||||
$(use_enable debug)
|
||||
$(use_enable dri)
|
||||
$(use_enable dri dri3)
|
||||
$(usex dri "--with-default-dri=3" "")
|
||||
$(use_enable sna)
|
||||
$(use_enable tools)
|
||||
$(use_enable udev)
|
||||
$(use_enable uxa)
|
||||
$(use_enable valgrind)
|
||||
$(use_enable xvmc)
|
||||
)
|
||||
xorg-3_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if linux_config_exists && \
|
||||
kernel_is -lt 4 3 && ! linux_chkconfig_present DRM_I915_KMS; then
|
||||
echo
|
||||
ewarn "This driver requires KMS support in your kernel"
|
||||
ewarn " Device Drivers --->"
|
||||
ewarn " Graphics support --->"
|
||||
ewarn " Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->"
|
||||
ewarn " <*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->"
|
||||
ewarn " i915 driver"
|
||||
ewarn " [*] Enable modesetting on intel by default"
|
||||
echo
|
||||
fi
|
||||
}
|
||||
98
x11-drivers/xf86-video-intel/xf86-video-intel-9999.ebuild
Normal file
98
x11-drivers/xf86-video-intel/xf86-video-intel-9999.ebuild
Normal file
@@ -0,0 +1,98 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
XLIBRE_DRI=dri
|
||||
XLIBRE_EAUTORECONF=yes
|
||||
|
||||
inherit linux-info xlibre flag-o-matic
|
||||
|
||||
if [[ ${PV} != 9999* ]]; then
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="XLibre driver for Intel cards"
|
||||
HOMEPAGE="https://github.com/X11Libre/xf86-video-intel"
|
||||
|
||||
IUSE="debug +sna tools +udev uxa valgrind xvmc"
|
||||
|
||||
REQUIRED_USE="
|
||||
|| ( sna uxa )
|
||||
uxa? ( dri )
|
||||
"
|
||||
RDEPEND="
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXScrnSaver
|
||||
>=x11-libs/pixman-0.27.1
|
||||
>=x11-libs/libdrm-2.4.52[video_cards_intel]
|
||||
x11-base/xlibre-server:=
|
||||
tools? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libxshmfence
|
||||
x11-libs/libXtst
|
||||
)
|
||||
udev? (
|
||||
virtual/libudev:=
|
||||
)
|
||||
xvmc? (
|
||||
>=x11-libs/libXvMC-1.0.12-r1
|
||||
>=x11-libs/libxcb-1.5
|
||||
x11-libs/xcb-util
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
x11-base/xorg-proto
|
||||
valgrind? ( dev-debug/valgrind )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
xlibre_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# bug #582910
|
||||
replace-flags -Os -O2
|
||||
# Uses the 'flatten' attribute which explodes with LTO (bug #864379)
|
||||
filter-lto
|
||||
|
||||
local XLIBRE_CONFIGURE_OPTIONS=(
|
||||
--disable-dri1
|
||||
--disable-dri2
|
||||
$(use_enable debug)
|
||||
$(use_enable dri)
|
||||
$(use_enable dri dri3)
|
||||
$(usex dri "--with-default-dri=3" "")
|
||||
$(use_enable sna)
|
||||
$(use_enable tools)
|
||||
$(use_enable udev)
|
||||
$(use_enable uxa)
|
||||
$(use_enable valgrind)
|
||||
$(use_enable xvmc)
|
||||
)
|
||||
xlibre_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if linux_config_exists && \
|
||||
kernel_is -lt 4 3 && ! linux_chkconfig_present DRM_I915_KMS; then
|
||||
echo
|
||||
ewarn "This driver requires KMS support in your kernel"
|
||||
ewarn " Device Drivers --->"
|
||||
ewarn " Graphics support --->"
|
||||
ewarn " Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->"
|
||||
ewarn " <*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->"
|
||||
ewarn " i915 driver"
|
||||
ewarn " [*] Enable modesetting on intel by default"
|
||||
echo
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user