зеркало из
https://github.com/iharh/notes.git
synced 2025-10-30 21:26:09 +02:00
m
Этот коммит содержится в:
родитель
8230d1839a
Коммит
5bb78394c2
@ -232,3 +232,62 @@ package() {
|
||||
sudo install -Dm755 discord.png "${pkgdir}/usr/share/icons/discord.png"
|
||||
sudo cp -R ./* "${pkgdir}/usr/share/discord/"
|
||||
}
|
||||
|
||||
|
||||
|
||||
name="pipewire-bundle"
|
||||
url="https://github.com/oklopfer/debs/raw/master/empty.tar.xz"
|
||||
makedepends=("libconfig++9v5" "libffado2" "libopenfec1" "libroc0.3" "libxml++2.6-2v5" "libcanberra-pulse")
|
||||
pkgdesc="Pipewire bundled with its necessary packages, from Debian source"
|
||||
maintainer="Oren Klopfer <oren@taumoda.com>"
|
||||
compatible=("ubuntu:devel" "ubuntu:noble")
|
||||
pkgver="1.0.1-2"
|
||||
base_url="http://ftp.debian.org/debian/pool/main/p/pipewire"
|
||||
bundle_packages=(
|
||||
"libspa-0.2-modules_${pkgver}_${CARCH}"
|
||||
"libspa-0.2-bluetooth_${pkgver}_${CARCH}"
|
||||
"libpipewire-0.3-common_${pkgver}_all"
|
||||
"libpipewire-0.3-0_${pkgver}_${CARCH}"
|
||||
"libpipewire-0.3-modules_${pkgver}_${CARCH}"
|
||||
"libpipewire-0.3-modules-x11_${pkgver}_${CARCH}"
|
||||
"pipewire-bin_${pkgver}_${CARCH}"
|
||||
"pipewire_${pkgver}_${CARCH}"
|
||||
"pipewire-audio_${pkgver}_all"
|
||||
"pipewire-alsa_${pkgver}_${CARCH}"
|
||||
"pipewire-jack_${pkgver}_${CARCH}"
|
||||
"pipewire-pulse_${pkgver}_${CARCH}"
|
||||
"pipewire-v4l2_${pkgver}_${CARCH}"
|
||||
"gstreamer1.0-pipewire_${pkgver}_${CARCH}"
|
||||
)
|
||||
regnames=()
|
||||
for package in "${bundle_packages[@]}"; do
|
||||
regnames+=("${package%%_*}")
|
||||
done
|
||||
|
||||
build() {
|
||||
sudo mkdir -p "${pkgdir}/etc/apt/preferences.d"
|
||||
for package in "${regnames[@]}"; do
|
||||
sudo touch "${pkgdir}/etc/apt/preferences.d/${package}.pref"
|
||||
echo "Package: ${package}
|
||||
Pin: release o=Ubuntu
|
||||
Pin-Priority: 1" | sudo tee "${pkgdir}/etc/apt/preferences.d/${package}.pref" > /dev/null
|
||||
done
|
||||
}
|
||||
|
||||
prepare() {
|
||||
local idx=0
|
||||
for package in "${bundle_packages[@]}"; do
|
||||
wget -q "${base_url}/${package}.deb" -O "${idx}_${name}.deb"
|
||||
((idx++))
|
||||
done
|
||||
}
|
||||
|
||||
package() {
|
||||
sudo apt-get install --allow-downgrades -f ./[0-9]*"${name}".deb -y
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
for package in "${regnames[@]}"; do
|
||||
sudo apt-mark auto "${package}" > /dev/null
|
||||
done
|
||||
}
|
||||
|
||||
@ -1,3 +1,43 @@
|
||||
[+] INFO: Installing pipewire-bundle
|
||||
[*] WARNING: Prompts are disabled
|
||||
(pipewire-bundle) Do you want to view/edit the pacscript? [y/N] N
|
||||
[+] INFO: Sourcing pacscript
|
||||
[+] INFO: Retrieving packages
|
||||
Initializing download: https://github.com/oklopfer/debs/raw/master/empty.tar.xz
|
||||
File size: 164 byte(s) (164 bytes)
|
||||
Opening output file empty.tar.xz
|
||||
Starting download
|
||||
|
||||
[100%] [.........................................................................................................................................................................] [ 819.0B/s]
|
||||
|
||||
Downloaded 164 byte(s) in 0 second(s). (0.80 KB/s)
|
||||
[+] INFO: Extracting empty.tar.xz
|
||||
[*] WARNING: Could not enter into the downloaded archive
|
||||
[+] INFO: Running functions
|
||||
[>] Running prepare
|
||||
[>] Running build
|
||||
[>] Running package
|
||||
Reading package lists...
|
||||
Building dependency tree...
|
||||
Reading state information...
|
||||
Some packages could not be installed. This may mean that you have
|
||||
requested an impossible situation or if you are using the unstable
|
||||
distribution that some required packages have not yet been created
|
||||
or been moved out of Incoming.
|
||||
The following information may help to resolve the situation:
|
||||
|
||||
The following packages have unmet dependencies:
|
||||
rhino-core : Depends: unicorn-desktop but it is not installable
|
||||
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
|
||||
[!] ERROR: Could not package pipewire-bundle properly
|
||||
dpkg: warning: ignoring request to remove pipewire-bundle which isn't installed
|
||||
[+] INFO: Cleaning up
|
||||
[!] ERROR: Failed to install dependency
|
||||
Looking for updates…
|
||||
|
||||
|
||||
|
||||
|
||||
?
|
||||
https://gitlab.freedesktop.org/pipewire
|
||||
https://gitlab.freedesktop.org/pipewire/pipewire
|
||||
|
||||
Загрузка…
x
Ссылка в новой задаче
Block a user