Merge branch 'master' of ssh://git.xwing.info/home/git/portage

This commit is contained in:
Guillaume Castagnino 2021-05-05 08:40:20 +02:00
commit 0c6a410aed
11 changed files with 10 additions and 206 deletions

View File

@ -1,2 +1,2 @@
EBUILD rawtherapee-9999.ebuild 1776 BLAKE2B 0e030e6bf15bb6acd358d1907ae5a41268341da2ff49a347362589fb06776884b25b5f90b6a720a11842a69e1d1de91a5f22c98219e8b5017273eec364921a03 SHA512 d0edb0ea2ac073b9f4e49905bbe9e2af7bbfe5b325ab60f3f212b8551e97eb868d589855827207aa910d431726fa74807b94c635fc77fe3f1a5b7f61cc5f41f3
MISC metadata.xml 252 BLAKE2B 2216a17dfaf52dbb2ae2287aa3249d2a83f4857d131f3ad0ceefc614892380a819d4d53aaecde3201449248a5c9e5cac41da2636ac66f4602c761cd51ba00f03 SHA512 093c258696feb257f41feb890649a640b60a9f0dbd0fcabbb6d6ad43e6c3ca8645f9bb4aa90417a269cf018695c184518a6d06e7c93757e7969bcc9e092b0a11
EBUILD rawtherapee-9999.ebuild 1787 BLAKE2B 659410a2eb3029022dde0c696ae204801e7f16aff21f724eb7e43e9e93cd7d99537678a75d5aacee86e893e3170fdd6b8e9659e99c47a228b9968355729c1f13 SHA512 6f88dfdd37c7093d0c1d45a1b4e37af3165d2ad3a6abd1499cbb20c55795fd0537b6fb5454f4200ae9d155e8255a58554ab207c971d86d4bf759b292a555e6d3
MISC metadata.xml 317 BLAKE2B 509fa3a82295928a916475a64c2bed491499118db8ff0e9fd67dbbb48251be920eba4e4a221281baf2c714a06589b4f8563e37dbc4557a83e2aebf037cbde9d2 SHA512 fde64a110c55cf8e721aa2fe20916d8592c47a612085d206774ee94e01e19425eae540bb7665f64c01fe528355c956947b201fc6dde168f2e7af7071dc90e84d

View File

@ -5,4 +5,7 @@
<email>casta@xwing.info</email>
<name>Guillaume Castagnino</name>
</maintainer>
<use>
<flag name="lto">Enable LTO during build</flag>
</use>
</pkgmetadata>

View File

@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -13,7 +13,7 @@ EGIT_BRANCH="dev"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE="openmp tcmalloc"
IUSE="lto openmp tcmalloc"
RDEPEND="
dev-libs/expat
@ -56,7 +56,7 @@ src_configure() {
-DCACHE_NAME_SUFFIX=""
-DWITH_SYSTEM_KLT="off"
-DENABLE_TCMALLOC=$(usex tcmalloc)
-DWITH_LTO="ON"
-DWITH_LTO=$(usex lto)
)
# lots of speed improvement, rawtherapee devs advice to use it.

View File

@ -1,3 +0,0 @@
DIST libopenaptx-0.2.0.tar.gz 27760 BLAKE2B 93c4232c9d70f79d560b8e44a6bf8d76422201e7c93cb7f679fa4e1e5a7207d8fd063c078f829b55958ad7c4a85447742765253a5cb6a2d7006c3495f5cf7540 SHA512 90251af1fbf6430e447515e18f4815310d696bbb68b0aa00e008675efe622f44777623a5f3a880e57291e5a89485bf5613b61ef99e6c47c15b56fe057ad67d3d
EBUILD libopenaptx-0.2.0.ebuild 539 BLAKE2B c73b2a4b5d567b8e6b6894d62bf959d5339c5dd98ca4a8e7488a8c9ef9ab4c458f86f0cd9a288086a5eb535dc8377607bc2392ed8678b4478ce49a4e77a6bc6f SHA512 d498ec60219ad9bec84494c36e3aaf81ce398a16029f3b307bcd95df42d62ee91cdedeabf4a598f7d06051b1c0bd7da8c98825f37ca9fa7f9d71fa21ac6b66a4
MISC metadata.xml 252 BLAKE2B 2216a17dfaf52dbb2ae2287aa3249d2a83f4857d131f3ad0ceefc614892380a819d4d53aaecde3201449248a5c9e5cac41da2636ac66f4602c761cd51ba00f03 SHA512 093c258696feb257f41feb890649a640b60a9f0dbd0fcabbb6d6ad43e6c3ca8645f9bb4aa90417a269cf018695c184518a6d06e7c93757e7969bcc9e092b0a11

View File

@ -1,23 +0,0 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit multilib
DESCRIPTION="Open Source implementation of Audio Processing Technology codec (aptX)"
HOMEPAGE="https://github.com/pali/libopenaptx"
SRC_URI="https://github.com/pali/libopenaptx/releases/download/${PV}/${P}.tar.gz"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
src_install() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr LIBDIR="$(get_libdir)" install
}

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>casta@xwing.info</email>
<name>Guillaume Castagnino</name>
</maintainer>
</pkgmetadata>

View File

@ -1,3 +1,3 @@
DIST ocenaudio-3.10.4.tar.xz 16291464 BLAKE2B 1588bd7b28f2cea2ffbcd8c64c825249f2bea35aaf96f28b9a9487a2ef11c6d4bc536d871476f0d7f641660a6c24ed389d32a30fd855506b8fbe2d03b65907d2 SHA512 b99e8a91a72a52dcd4f3a1e15edd8277c45d32448220e17cdbfb4dd6438a9d6500427ada2ce0f248b44706c23231916242b8bc0f7202e838f0e3957c542e08e9
EBUILD ocenaudio-3.10.4.ebuild 944 BLAKE2B 57c76f0854bd46bf6985553b55eab9acf29b71a9365561e084b52850a2efaf1ec7acbbaf0726d1afab93581e49a0d54d01c589d788333d2fca44e6c3a80674a0 SHA512 c2f849551b97b53161367672b3fe5f8478b526f5b01113d2c78519398f21eaa477b3b14e7117dfa41e3e20aae52d4fafd59aae863366a53529d68c64ba6fe69b
DIST ocenaudio-3.10.5.tar.xz 16296948 BLAKE2B 0de7767e04a81918ef71f157595a4ff9dd6f46e2dfc051fb8a6a27be1462f44bd0e1aa04ca6694b3f2518a5b417b5caebd6139e876aa466505270434325fdcc4 SHA512 eded6790621c2bc018ebf95a0389fec8579a4bf2ae6e9aed6983621a561d38eca608404dae380003ba580f8f3464dd51d4ce634ec1a96299c7920cc01e9d7e36
EBUILD ocenaudio-3.10.5.ebuild 944 BLAKE2B 57c76f0854bd46bf6985553b55eab9acf29b71a9365561e084b52850a2efaf1ec7acbbaf0726d1afab93581e49a0d54d01c589d788333d2fca44e6c3a80674a0 SHA512 c2f849551b97b53161367672b3fe5f8478b526f5b01113d2c78519398f21eaa477b3b14e7117dfa41e3e20aae52d4fafd59aae863366a53529d68c64ba6fe69b
MISC metadata.xml 252 BLAKE2B 2216a17dfaf52dbb2ae2287aa3249d2a83f4857d131f3ad0ceefc614892380a819d4d53aaecde3201449248a5c9e5cac41da2636ac66f4602c761cd51ba00f03 SHA512 093c258696feb257f41feb890649a640b60a9f0dbd0fcabbb6d6ad43e6c3ca8645f9bb4aa90417a269cf018695c184518a6d06e7c93757e7969bcc9e092b0a11

View File

@ -1,2 +0,0 @@
EBUILD pipewire-9999.ebuild 3636 BLAKE2B ec1473a56783ce9af2b168654743b96721e118e90310e887105f494ebd419739ce21507c94f55d8f785631ca7a50731a270e45a7535299e8a7ba7ac0d710c098 SHA512 1598ae3b317b4dfa34541d94933ad75e28d9942098bfe6db1533d9da0b33ebf85d696b0581de92a10d91abe858e2647539fd8b28ef5eba84a1c5c2348cff3c42
MISC metadata.xml 823 BLAKE2B e2bfad2125f6f580b7ab8ac0a47db10246e25ac5124a98b615aa874a9b941be646fceb17b1714497652e0db60b0d4329ba32c44396fec510d805ba2d2fd4895b SHA512 6a8d9f757a79f77dfa543fa17d054290e2fc95db19430d7ba8b3a7ea61ea32411f94bb2ee87f7e60ebd5b5ab06f437568939d9f9822a5fd1862e5086ef9d0fa0

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>gnome@gentoo.org</email>
<name>Gentoo GNOME Desktop</name>
</maintainer>
<maintainer type="person">
<email>asturm@gentoo.org</email>
<name>Andreas Sturmlechner</name>
</maintainer>
<upstream>
<remote-id type="github">PipeWire/pipewire</remote-id>
</upstream>
<use>
<flag name="aptx">Enable SPA aptx plugin</flag>
<flag name="hsphfpd">Enable SPA hsphfpd plugin integration</flag>
<flag name="jack">Enable SPA JACK plugin and emulation to be able to run JACK applications on top of PipeWire</flag>
<flag name="rtkit">Enable rtkit daemon support</flag>
<flag name="vulkan">Enable vulkan spa plugin integration</flag>
</use>
</pkgmetadata>

View File

@ -1,141 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pipewire/pipewire.git"
EGIT_BRANCH="master"
inherit git-r3
else
SRC_URI="https://github.com/PipeWire/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
fi
DESCRIPTION="Multimedia processing graphs"
HOMEPAGE="https://pipewire.org/"
LICENSE="LGPL-2.1+"
SLOT="0/0.3"
# ldacBT not packaged for ldac support
IUSE="alsa aac aptx bluetooth debug doc ffmpeg gstreamer hsphfpd jack rtkit sdl sndfile systemd test vulkan X"
REQUIRED_USE="
aac? ( bluetooth )
aptx? ( bluetooth )
hsphfpd? ( bluetooth )
"
BDEPEND="
app-doc/xmltoman
doc? (
app-doc/doxygen
media-gfx/graphviz
)
"
RDEPEND="
>=media-libs/alsa-lib-1.1.7
sys-apps/dbus
sys-auth/realtime-base
virtual/libudev
bluetooth? (
media-libs/sbc
net-wireless/bluez:=
aptx? ( media-libs/libopenaptx )
aac? ( media-libs/fdk-aac )
)
ffmpeg? ( media-video/ffmpeg:= )
gstreamer? (
>=dev-libs/glib-2.32.0:2
>=media-libs/gstreamer-1.10.0:1.0
media-libs/gst-plugins-base:1.0
)
hsphfpd? ( net-wireless/hsphfpd )
jack? ( >=media-sound/jack2-1.9.10:2 )
sdl? ( media-libs/libsdl2 )
sndfile? ( >=media-libs/libsndfile-1.0.20 )
rtkit? ( sys-auth/rtkit )
systemd? ( sys-apps/systemd )
vulkan? ( media-libs/vulkan-loader )
X? ( x11-libs/libX11 )
"
DEPEND="${RDEPEND}
vulkan? ( dev-util/vulkan-headers )
"
DOCS=( {README,INSTALL}.md NEWS )
RESTRICT="!test? ( test )"
src_prepare() {
spa_use() {
if ! in_iuse ${1} || ! use ${1}; then
sed -e "/^add-spa-lib.*${1}/s/^/#${2-$1}-disabled-by-USE-no-${1}\:/" \
-e "/^load-module.*${1}/s/^/#${2-$1}-disabled-by-USE-no-${1}\:/" \
-i src/daemon/pipewire.conf.in || die
fi
}
default
spa_use libcamera
spa_use rtkit
spa_use bluetooth bluez5
spa_use jack
spa_use vulkan
}
src_configure() {
local emesonargs=(
-Dexamples=enabled # contains required pipewire-media-session
-Dman=enabled
-Dspa-plugins=enabled
--buildtype=$(usex debug debugoptimized plain)
# alsa plugin and jack emulation
-Dpipewire-alsa=enabled
$(meson_feature jack pipewire-jack)
# spa-plugins
# we install alsa support unconditionally
$(meson_feature bluetooth bluez5)
$(meson_feature $(usex bluetooth !hsphfpd bluetooth) bluez5-backend-hsp-native)
$(meson_feature $(usex bluetooth !hsphfpd bluetooth) bluez5-backend-hfp-native)
$(meson_feature hsphfpd bluez5-backend-hsphfpd)
-Dbluez5-backend-ofono=disabled
# bluetooth codecs
$(meson_feature aac bluez5-codec-aac)
$(meson_feature aptx bluez5-codec-aptx)
$(meson_feature ffmpeg)
$(meson_feature jack)
$(meson_feature vulkan)
# libcamera is not packaged
# misc
$(meson_feature doc docs)
$(meson_feature gstreamer)
$(meson_feature gstreamer gstreamer-device-provider)
$(meson_feature sdl sdl2)
$(meson_feature sndfile)
$(meson_feature systemd)
$(meson_feature test test)
$(meson_feature test tests)
)
meson_src_configure
}
src_install() {
meson_src_install
dosym ../../../usr/share/alsa/alsa.conf.d/50-pipewire.conf /etc/alsa/conf.d/50-pipewire.conf
if use alsa; then
dosym ../../../usr/share/alsa/alsa.conf.d/99-pipewire-default.conf /etc/alsa/conf.d/99-pipewire-default.conf
fi
}
pkg_postinst() {
if use jack; then
elog "Please note that even though the libraries for JACK emulation have"
elog "been installed, this ebuild is not yet wired up to replace a JACK server."
elog
fi
elog "Read INSTALL.md for information about ALSA plugin or JACK emulation."
}