Add TOML configuration files for various packages
- Introduced build configurations for graphene, gst-plugins-bad, gst-plugins-base, gstreamer, gtk4, iso-codes, jbig2dec, libepoxy, libsoup3, libtheora, libxpm, lynx, md4c, openjpeg2, poppler-data, python-attrs, python-automat, python-constantly, python-hyperlink, python-incremental, python-twisted, python-versioneer, python-zope-interface, qpdf, sdl12-compat, tinysparql, unixodbc, vmaf, xcb-util-cursor, xcb-util-image, xcb-util-renderutil, xcb-util-wm, xcb-util, xdg-utils. - Each package includes build type, dependencies, runtime requirements, and source URLs. - Added necessary post-install scripts and configurations where applicable.
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
skip-tests = true
|
||||
|
||||
[dependencies]
|
||||
runtime = [
|
||||
"glibc",
|
||||
@@ -14,9 +17,12 @@ homepage = "https://www.gnu.org/software/libtool/"
|
||||
license = "GPL-2.0-or-Later"
|
||||
name = "libtool"
|
||||
version = "2.5.4"
|
||||
revision = 2
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "f81f5860666b0bc7d84baddefa60d1cb9fa6fceb2398cc3baca6afaa60266675"
|
||||
url = "https://mirrors.kernel.org/gnu/libtool/libtool-$version.tar.xz"
|
||||
|
||||
[alternatives]
|
||||
provides = [ "libltdl" ]
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2022 Laurent Bercot for Alpine Linux
|
||||
# Distributed under the terms of the ISC License.
|
||||
|
||||
description="coldplug trigger for mdevd"
|
||||
|
||||
depend() {
|
||||
need mdevd
|
||||
before checkfs fsck
|
||||
keyword -containers -vserver -lxc
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Scanning hardware for mdevd"
|
||||
mdevd-coldplug -O4
|
||||
eend $?
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2022 Laurent Bercot for Alpine Linux
|
||||
# Distributed under the terms of the ISC License.
|
||||
|
||||
description="a netlink-listening device manager similar to mdev"
|
||||
extra_started_commands="reload"
|
||||
description_reload="Reload mdevd's configuration file"
|
||||
command="/usr/bin/mdevd"
|
||||
command_args="-O4" # send handled events to nlgrp 4 for libudev-zero
|
||||
command_background="yes"
|
||||
pidfile="/run/mdevd.pid"
|
||||
|
||||
depend() {
|
||||
provide dev
|
||||
need sysfs dev-mount
|
||||
before checkfs fsck
|
||||
keyword -containers -lxc -vserver
|
||||
}
|
||||
|
||||
reload() {
|
||||
kill -1 `cat "$pidfile"`
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
configure = [
|
||||
"--with-pkgconfig",
|
||||
"--disable-allstatic",
|
||||
]
|
||||
post_install = [ "install -Dm 755 ../mdevd.initd $DESTDIR/etc/init.d/mdevd", "install -Dm 755 ../mdevd-init.initd $DESTDIR/etc/init.d/mdevd-init" ]
|
||||
|
||||
[dependencies]
|
||||
runtime = [
|
||||
"glibc",
|
||||
"skalibs",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "kernel event manager compatible with mdev"
|
||||
homepage = "https://skarnet.org/software/mdevd/"
|
||||
license = "ISC"
|
||||
name = "mdevd"
|
||||
version = "0.1.8.1"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "93d2bba7299ff3b1b9f249928c2e84e23a5af3d829ebd9677ea44535c585aa82"
|
||||
url = "https://skarnet.org/software/mdevd/mdevd-$version.tar.gz"
|
||||
post_extract = [
|
||||
"cd \"src/mdevd\" && sed -i -e 's|else symlink(node, \"root\") ;|else (void)symlink(node, \"root\") ;|' -e '/\\*strchr(ud->devname, '\\''\\\\n'\\'') = 0 ;/c\\ {\\\n char *p = strchr((char *)ud->devname, '\\''\\\\n'\\'') ;\\\n if (p) *p = 0 ;\\\n }' mdevd.c"
|
||||
]
|
||||
|
||||
[[manual_sources]]
|
||||
files = [ "mdevd-init.initd", "mdevd.initd" ]
|
||||
@@ -0,0 +1,25 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
configure = [
|
||||
"--enable-pkgconfig",
|
||||
"--with-sysdep-devurandom=yes",
|
||||
"--with-sysdep-posixspawnearlyreturn=no",
|
||||
"--with-sysdep-procselfexe=/proc/self/exe",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
runtime = ["glibc"]
|
||||
|
||||
[package]
|
||||
description = "Set of general-purpose C programming libraries for skarnet.org software"
|
||||
homepage = "https://skarnet.org/software/skalibs/"
|
||||
license = "ISC"
|
||||
name = "skalibs"
|
||||
version = "2.14.5.1"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "fa359c70439b480400a0a2ef68026a2736b315025a9d95df69d34601fb938f0f"
|
||||
url = "https://skarnet.org/software/skalibs/skalibs-$version.tar.gz"
|
||||
+428
-7
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,55 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|
||||
Date: Thu, 8 Jun 2023 21:05:22 +0200
|
||||
Subject: [PATCH] HACK: Install fixes
|
||||
|
||||
- Move example services to docs, see
|
||||
https://bugs.archlinux.org/task/47822
|
||||
- Don't mkdir rundir
|
||||
- Install header symlink for compat with mdnsresponder
|
||||
---
|
||||
avahi-compat-libdns_sd/Makefile.am | 3 +++
|
||||
avahi-daemon/Makefile.am | 5 +++--
|
||||
2 files changed, 6 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/avahi-compat-libdns_sd/Makefile.am b/avahi-compat-libdns_sd/Makefile.am
|
||||
index ecca1e97a6e4..a53bc4202cd0 100644
|
||||
--- a/avahi-compat-libdns_sd/Makefile.am
|
||||
+++ b/avahi-compat-libdns_sd/Makefile.am
|
||||
@@ -27,6 +27,9 @@ avahi_compat_libdns_sddir=$(includedir)/avahi-compat-libdns_sd
|
||||
|
||||
avahi_compat_libdns_sd_HEADERS = dns_sd.h
|
||||
|
||||
+install-data-local:
|
||||
+ $(LN_S) avahi-compat-libdns_sd/dns_sd.h "$(DESTDIR)$(includedir)/dns_sd.h"
|
||||
+
|
||||
lib_LTLIBRARIES = libdns_sd.la
|
||||
|
||||
if ENABLE_TESTS
|
||||
diff --git a/avahi-daemon/Makefile.am b/avahi-daemon/Makefile.am
|
||||
index d352d5e52e5d..1f8b6d80ddb9 100644
|
||||
--- a/avahi-daemon/Makefile.am
|
||||
+++ b/avahi-daemon/Makefile.am
|
||||
@@ -27,6 +27,7 @@ pkgsysconfdir=$(sysconfdir)/avahi
|
||||
servicedir=$(pkgsysconfdir)/services
|
||||
introspectiondir=$(datadir)/dbus-1/interfaces
|
||||
dbussystemservicesdir=$(datadir)/dbus-1/system-services
|
||||
+pkgdocdir=$(datadir)/doc/avahi
|
||||
|
||||
AM_CFLAGS+= \
|
||||
-DAVAHI_DAEMON_RUNTIME_DIR=\"$(runstatedir)/avahi-daemon/\" \
|
||||
@@ -68,7 +69,7 @@ pkgsysconf_DATA = \
|
||||
avahi-daemon.conf \
|
||||
hosts
|
||||
|
||||
-dist_service_DATA = \
|
||||
+dist_pkgdoc_DATA = \
|
||||
ssh.service \
|
||||
sftp-ssh.service
|
||||
|
||||
@@ -168,4 +169,4 @@ xmllint:
|
||||
done
|
||||
|
||||
install-data-local:
|
||||
- test -z "$(runstatedir)" || $(MKDIR_P) "$(DESTDIR)$(runstatedir)"
|
||||
+ $(MKDIR_P) "$(DESTDIR)$(servicedir)"
|
||||
@@ -0,0 +1,74 @@
|
||||
Patch-Source: https://salsa.debian.org/utopia-team/avahi/-/blob/b1a3a539ac0b6d79a7a0b87dccbb99028e10ec63/debian/patches/Fetch-build-db-from-upstream-git.patch
|
||||
this is needed when building python
|
||||
--
|
||||
From: Andreas Henriksson <andreas@fatal.se>
|
||||
Date: Sat, 26 Oct 2019 15:49:35 +0200
|
||||
Subject: Fetch build-db from upstream git
|
||||
|
||||
Fetch the build-db file from:
|
||||
https://raw.githubusercontent.com/lathiat/avahi/master/service-type-database/build-db
|
||||
|
||||
This file is missing dist tarball, likely caused by changes in:
|
||||
https://github.com/lathiat/avahi/pull/134
|
||||
|
||||
Carry it as a patch for now.
|
||||
---
|
||||
service-type-database/build-db | 49 ++++++++++++++++++++++++++++++++++++++++++
|
||||
1 file changed, 49 insertions(+)
|
||||
create mode 100755 service-type-database/build-db
|
||||
|
||||
diff --git a/service-type-database/build-db b/service-type-database/build-db
|
||||
new file mode 100755
|
||||
index 0000000..78ee892
|
||||
--- /dev/null
|
||||
+++ b/service-type-database/build-db
|
||||
@@ -0,0 +1,49 @@
|
||||
+#!/usr/bin/env python
|
||||
+# -*-python-*-
|
||||
+# This file is part of avahi.
|
||||
+#
|
||||
+# avahi is free software; you can redistribute it and/or modify it
|
||||
+# under the terms of the GNU Lesser General Public License as
|
||||
+# published by the Free Software Foundation; either version 2 of the
|
||||
+# License, or (at your option) any later version.
|
||||
+#
|
||||
+# avahi is distributed in the hope that it will be useful, but WITHOUT
|
||||
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
|
||||
+# License for more details.
|
||||
+#
|
||||
+# You should have received a copy of the GNU Lesser General Public
|
||||
+# License along with avahi; if not, write to the Free Software
|
||||
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
+# USA.
|
||||
+
|
||||
+try:
|
||||
+ import anydbm as dbm
|
||||
+except ImportError:
|
||||
+ import dbm
|
||||
+
|
||||
+import sys
|
||||
+
|
||||
+if len(sys.argv) > 1:
|
||||
+ infn = sys.argv[1]
|
||||
+else:
|
||||
+ infn = "service-types"
|
||||
+
|
||||
+if len(sys.argv) > 2:
|
||||
+ outfn = sys.argv[2]
|
||||
+else:
|
||||
+ outfn = infn + ".db"
|
||||
+
|
||||
+db = dbm.open(outfn, "n")
|
||||
+
|
||||
+for ln in open(infn, "r"):
|
||||
+ ln = ln.strip(" \r\n\t")
|
||||
+
|
||||
+ if ln == "" or ln.startswith("#"):
|
||||
+ continue
|
||||
+
|
||||
+ t, n = ln.split(":", 1)
|
||||
+
|
||||
+ db[t.strip()] = n.strip()
|
||||
+
|
||||
+db.close()
|
||||
@@ -0,0 +1,62 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
configure = [
|
||||
"--with-dbus-sys=/usr/share/dbus-1/system.d",
|
||||
'--with-distro=gentoo',
|
||||
"--disable-python",
|
||||
"--disable-qt5",
|
||||
"--enable-compat-libdns_sd",
|
||||
"--with-autoipd-group=avahi",
|
||||
"--with-autoipd-user=avahi",
|
||||
"--with-avahi-priv-access-group=network",
|
||||
"--disable-mono",
|
||||
"--disable-gtk3"
|
||||
]
|
||||
keep = [ "etc/avahi/**", "usr/lib/avahi/service-types.db" ]
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"doxygen",
|
||||
"gobject-introspection",
|
||||
"graphviz",
|
||||
"libevent",
|
||||
"python-dbus",
|
||||
"python-gobject",
|
||||
"xmltoman",
|
||||
]
|
||||
optional = [
|
||||
"libevent",
|
||||
"python-dbus",
|
||||
"python-gobject",
|
||||
"python-twisted",
|
||||
]
|
||||
runtime = [
|
||||
"sh",
|
||||
"dbus",
|
||||
"expat",
|
||||
"gdbm",
|
||||
"glib2",
|
||||
"glibc",
|
||||
"libcap",
|
||||
"libdaemon",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "multicast/unicast DNS-SD framework"
|
||||
homepage = "https://www.avahi.org/"
|
||||
license = "LGPL-2.1-or-later"
|
||||
name = "avahi"
|
||||
version = "0.8"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "060309d7a333d38d951bc27598c677af1796934dbd98e1024e7ad8de798fedda"
|
||||
url = "https://github.com/avahi/avahi/releases/download/v$version/avahi-$version.tar.gz"
|
||||
# alpine and arch patches
|
||||
patches = [ "Fetch-build-db-from-upstream-git.patch", "0001-HACK-Install-fixes.patch" ]
|
||||
post_extract = [ "autoreconf -fiv" ]
|
||||
|
||||
[[manual_sources]]
|
||||
files = [ "preinstall.sh", "Fetch-build-db-from-upstream-git.patch", "0001-HACK-Install-fixes.patch" ]
|
||||
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
# thanks alpine
|
||||
|
||||
groupadd -r -g 86 avahi 2>/dev/null || :
|
||||
useradd -r -u 86 \
|
||||
-d /dev/null \
|
||||
-s /usr/bin/nologin \
|
||||
-g avahi \
|
||||
-c "Avahi System User" \
|
||||
-M \
|
||||
avahi 2>/dev/null || :
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/tools/hciattach.h b/tools/hciattach.h
|
||||
index dfa4c1e..c21dbda 100644
|
||||
--- a/tools/hciattach.h
|
||||
+++ b/tools/hciattach.h
|
||||
@@ -41,7 +41,7 @@
|
||||
#define HCI_UART_VND_DETECT 5
|
||||
|
||||
#ifndef FIRMWARE_DIR
|
||||
-#define FIRMWARE_DIR "/etc/firmware"
|
||||
+#define FIRMWARE_DIR "/lib/firmware"
|
||||
#endif
|
||||
|
||||
int read_hci_event(int fd, unsigned char *buf, int size);
|
||||
@@ -0,0 +1,12 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
name="Bluetooth"
|
||||
command="/usr/lib/bluetooth/bluetoothd"
|
||||
pidfile="/run/bluetoothd.pid"
|
||||
command_background=true
|
||||
|
||||
depend() {
|
||||
after coldplug
|
||||
need dbus localmount hostname
|
||||
}
|
||||
|
||||
@@ -0,0 +1,160 @@
|
||||
[build]
|
||||
type = "custom"
|
||||
|
||||
[build.flags]
|
||||
keep = [
|
||||
"etc/bluetooth/main.conf",
|
||||
"etc/bluetooth/input.conf",
|
||||
"etc/bluetooth/network.conf",
|
||||
"etc/bluetooth/mesh-main.conf",
|
||||
"etc/conf.d/*"
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"alsa-lib",
|
||||
"cups",
|
||||
"dbus",
|
||||
"ell",
|
||||
"json-c",
|
||||
"libical",
|
||||
"python-docutils",
|
||||
"python-pygments",
|
||||
"libudev-zero"
|
||||
]
|
||||
runtime = [ "alsa-lib", "dbus", "glib2", "glibc" ]
|
||||
|
||||
[[manual_sources]]
|
||||
file = "004-Move-the-43xx-firmware-into-lib-firmware.patch"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "bluetooth.initd"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "modules-load.conf"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "mpris-proxy.desktop"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "org.bluez.obex.service"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "rfcomm.confd"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "rfcomm.initd"
|
||||
|
||||
[package]
|
||||
description = "Daemons for the bluetooth protocol stack"
|
||||
homepage = "http://www.bluez.org/"
|
||||
license = "GPL-2.0-only"
|
||||
name = "bluez"
|
||||
version = "5.86"
|
||||
|
||||
[package_dependencies.bluez-cups]
|
||||
runtime = [
|
||||
"cups",
|
||||
"dbus",
|
||||
"glib2",
|
||||
"glibc",
|
||||
]
|
||||
|
||||
[package_dependencies.bluez-deprecated-tools]
|
||||
runtime = [
|
||||
"dbus",
|
||||
"glib2",
|
||||
"glibc",
|
||||
"json-c",
|
||||
"readline",
|
||||
"libudev-zero",
|
||||
]
|
||||
|
||||
[package_dependencies.bluez-hid2hci]
|
||||
runtime = [
|
||||
"glibc",
|
||||
"libudev-zero",
|
||||
]
|
||||
|
||||
[package_dependencies.bluez-libs]
|
||||
runtime = ["glibc"]
|
||||
|
||||
[package_dependencies.bluez-mesh]
|
||||
runtime = [
|
||||
"ell",
|
||||
"glibc",
|
||||
"json-c",
|
||||
"readline",
|
||||
]
|
||||
|
||||
[package_dependencies.bluez-obex]
|
||||
runtime = [
|
||||
"dbus",
|
||||
"glib2",
|
||||
"glibc",
|
||||
"libical",
|
||||
"readline",
|
||||
]
|
||||
|
||||
[package_dependencies.bluez-utils]
|
||||
runtime = [
|
||||
"dbus",
|
||||
"glibc",
|
||||
"glib2",
|
||||
"libudev-zero",
|
||||
"readline",
|
||||
]
|
||||
|
||||
[[packages]]
|
||||
description = "CUPS printer backend for Bluetooth printers"
|
||||
homepage = "http://www.bluez.org/"
|
||||
license = "GPL-2.0-only"
|
||||
name = "bluez-cups"
|
||||
version = "5.86"
|
||||
|
||||
[[packages]]
|
||||
description = "Deprecated tools for Bluez that are no longer maintained"
|
||||
homepage = "http://www.bluez.org/"
|
||||
license = "GPL-2.0-only"
|
||||
name = "bluez-deprecated-tools"
|
||||
version = "5.86"
|
||||
|
||||
[[packages]]
|
||||
description = "Put HID proxying bluetooth HCI's into HCI mode"
|
||||
homepage = "http://www.bluez.org/"
|
||||
license = "GPL-2.0-only"
|
||||
name = "bluez-hid2hci"
|
||||
version = "5.86"
|
||||
|
||||
[[packages]]
|
||||
description = "Deprecated libraries for the bluetooth protocol stack"
|
||||
homepage = "http://www.bluez.org/"
|
||||
license = "GPL-2.0-only"
|
||||
name = "bluez-libs"
|
||||
version = "5.86"
|
||||
|
||||
[[packages]]
|
||||
description = "Services for bluetooth mesh"
|
||||
homepage = "http://www.bluez.org/"
|
||||
license = "GPL-2.0-only"
|
||||
name = "bluez-mesh"
|
||||
version = "5.86"
|
||||
|
||||
[[packages]]
|
||||
description = "Object Exchange daemon for sharing content"
|
||||
homepage = "http://www.bluez.org/"
|
||||
license = "GPL-2.0-only"
|
||||
name = "bluez-obex"
|
||||
version = "5.86"
|
||||
|
||||
[[packages]]
|
||||
description = "Development and debugging utilities for the bluetooth protocol stack"
|
||||
homepage = "http://www.bluez.org/"
|
||||
license = "GPL-2.0-only"
|
||||
name = "bluez-utils"
|
||||
version = "5.86"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "bluez-$version"
|
||||
url = "https://www.kernel.org/pub/linux/bluetooth/bluez-$version.tar.xz"
|
||||
patches = [ "004-Move-the-43xx-firmware-into-lib-firmware.patch" ]
|
||||
@@ -0,0 +1,204 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
makei() {
|
||||
echo "==> Running: make DESTDIR=\"$pkgdir\" install $*"
|
||||
make DESTDIR="$pkgdir" install "$@"
|
||||
}
|
||||
|
||||
mesoni() {
|
||||
echo "==> Running: meson install --destdir \"$pkgdir\" $*"
|
||||
meson install --destdir "$pkgdir" "$@"
|
||||
}
|
||||
|
||||
cmakei() {
|
||||
echo "==> Running: cmake --install $*"
|
||||
DESTDIR="$pkgdir" cmake --install "$@"
|
||||
}
|
||||
|
||||
starmove() {
|
||||
[ "$#" -ge 1 ] || {
|
||||
echo "starmove: requires at least one path pattern" >&2
|
||||
return 1
|
||||
}
|
||||
[ "${DEPOT_OUTPUT_NAME:-}" != "" ] || {
|
||||
echo "starmove: DEPOT_OUTPUT_NAME is not set" >&2
|
||||
return 1
|
||||
}
|
||||
haul "$DEPOT_OUTPUT_NAME" "$@"
|
||||
}
|
||||
|
||||
depot_starbuild_sync_srcdir() {
|
||||
workdir=${DEPOT_STARBUILD_WORKDIR:?}
|
||||
compat_root="$workdir/.depot-starbuild"
|
||||
mkdir -p "$compat_root/packages"
|
||||
for entry in "$workdir"/* "$workdir"/.[!.]* "$workdir"/..?*; do
|
||||
[ -e "$entry" ] || [ -L "$entry" ] || continue
|
||||
base=$(basename "$entry")
|
||||
[ "$base" = ".depot-starbuild" ] && continue
|
||||
[ "$base" = "packages" ] && continue
|
||||
ln -snf "$entry" "$compat_root/$base"
|
||||
done
|
||||
mkdir -p "$compat_root/packages/bluez/"
|
||||
ln -snf "${DEPOT_PRIMARY_DESTDIR:-$DESTDIR}" "$compat_root/packages/bluez/files"
|
||||
mkdir -p "$compat_root/packages/bluez-cups/"
|
||||
ln -snf "$(subdestdir 'bluez-cups')" "$compat_root/packages/bluez-cups/files"
|
||||
mkdir -p "$compat_root/packages/bluez-deprecated-tools/"
|
||||
ln -snf "$(subdestdir 'bluez-deprecated-tools')" "$compat_root/packages/bluez-deprecated-tools/files"
|
||||
mkdir -p "$compat_root/packages/bluez-hid2hci/"
|
||||
ln -snf "$(subdestdir 'bluez-hid2hci')" "$compat_root/packages/bluez-hid2hci/files"
|
||||
mkdir -p "$compat_root/packages/bluez-libs/"
|
||||
ln -snf "$(subdestdir 'bluez-libs')" "$compat_root/packages/bluez-libs/files"
|
||||
mkdir -p "$compat_root/packages/bluez-mesh/"
|
||||
ln -snf "$(subdestdir 'bluez-mesh')" "$compat_root/packages/bluez-mesh/files"
|
||||
mkdir -p "$compat_root/packages/bluez-obex/"
|
||||
ln -snf "$(subdestdir 'bluez-obex')" "$compat_root/packages/bluez-obex/files"
|
||||
mkdir -p "$compat_root/packages/bluez-utils/"
|
||||
ln -snf "$(subdestdir 'bluez-utils')" "$compat_root/packages/bluez-utils/files"
|
||||
srcdir="$compat_root"
|
||||
export srcdir
|
||||
}
|
||||
|
||||
depot_starbuild_setup_env() {
|
||||
package_name=$1
|
||||
package_version='5.86'
|
||||
pkgdir=${DESTDIR:?}
|
||||
export package_name package_version pkgdir
|
||||
LANG=C
|
||||
LC_ALL=C
|
||||
export LANG LC_ALL
|
||||
depot_starbuild_sync_srcdir
|
||||
}
|
||||
|
||||
depot_build() {
|
||||
depot_starbuild_setup_env 'bluez'
|
||||
rm -rf ell
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--mandir=/usr/share/man \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--libexecdir=/usr/lib \
|
||||
--with-udevdir=/usr/lib/udev \
|
||||
--with-dbusconfdir=/usr/share \
|
||||
--enable-btpclient \
|
||||
--enable-midi \
|
||||
--enable-sixaxis \
|
||||
--enable-mesh \
|
||||
--enable-hid2hci \
|
||||
--enable-experimental \
|
||||
--enable-datafiles \
|
||||
--enable-external-ell \
|
||||
--enable-library --enable-deprecated --disable-systemd
|
||||
make
|
||||
}
|
||||
|
||||
depot_install() {
|
||||
depot_starbuild_setup_env 'bluez'
|
||||
make DESTDIR="$pkgdir" install install-pluginLTLIBRARIES
|
||||
install -D -m644 src/main.conf "$pkgdir"/etc/bluetooth/main.conf
|
||||
install -Dm755 "$srcdir"/bluetooth.initd "$pkgdir"/etc/init.d/bluetooth
|
||||
install -Dm755 "$srcdir"/rfcomm.initd "$pkgdir"/etc/init.d/rfcomm
|
||||
install -Dm644 "$srcdir"/rfcomm.confd "$pkgdir"/etc/conf.d/rfcomm
|
||||
install -Dm755 test/simple-agent "$pkgdir"/usr/bin/bluez-simple-agent
|
||||
install -Dm755 tools/btmgmt -t "$pkgdir"/usr/bin/
|
||||
install -Dm755 attrib/gatttool -t "$pkgdir"/usr/bin/
|
||||
install -Dm755 tools/obex-client-tool -t "$pkgdir"/usr/bin/
|
||||
install -Dm644 "$srcdir"/org.bluez.obex.service "$pkgdir"/usr/share/dbus-1/services/org.bluez.obex.service
|
||||
# Autostart mpris-proxy to pass through MPRIS control over BlueZ
|
||||
install -Dm644 "$srcdir"/mpris-proxy.desktop -t "$pkgdir"/etc/xdg/autostart/
|
||||
# modules which are required for some bluetooth accessories (keyboards, AVRCP, etc)
|
||||
install -Dm644 "$srcdir"/modules-load.conf "$pkgdir"/usr/lib/modules-load.d/bluez.conf
|
||||
for files in $(find tools/ -type f -perm -755); do
|
||||
filename=$(basename "$files")
|
||||
install -Dm755 "$files" "$pkgdir/usr/bin/$filename"
|
||||
done
|
||||
}
|
||||
|
||||
depot_install_bluez_cups() {
|
||||
depot_starbuild_setup_env 'bluez-cups'
|
||||
starmove usr/lib/cups/backend/bluetooth
|
||||
}
|
||||
|
||||
depot_install_bluez_deprecated_tools() {
|
||||
depot_starbuild_setup_env 'bluez-deprecated-tools'
|
||||
starmove usr/bin/ciptool usr/bin/hciattach usr/bin/hciconfig usr/bin/hcidump usr/bin/hcitool usr/bin/meshctl usr/bin/rfcomm usr/bin/sdptool
|
||||
starmove usr/share/man/man1/ciptool.1 usr/share/man/man1/hciattach.1 usr/share/man/man1/hciconfig.1 usr/share/man/man1/hcidump.1 usr/share/man/man1/hcitool.1 usr/share/man/man1/rfcomm.1 usr/share/man/man1/sdptool.1
|
||||
starmove usr/share/man/man7/rfcomm.7
|
||||
}
|
||||
|
||||
depot_install_bluez_hid2hci() {
|
||||
depot_starbuild_setup_env 'bluez-hid2hci'
|
||||
starmove usr/lib/udev/*
|
||||
starmove usr/share/man/man1/hid2hci.1
|
||||
}
|
||||
|
||||
depot_install_bluez_libs() {
|
||||
depot_starbuild_setup_env 'bluez-libs'
|
||||
starmove usr/include/bluetooth/*
|
||||
starmove usr/lib/libbluetooth.so*
|
||||
starmove usr/lib/pkgconfig/*
|
||||
}
|
||||
|
||||
depot_install_bluez_mesh() {
|
||||
depot_starbuild_setup_env 'bluez-mesh'
|
||||
starmove etc/bluetooth/mesh-main.conf
|
||||
starmove usr/bin/mesh-cfgclient usr/bin/mesh-cfgtest
|
||||
starmove usr/lib/bluetooth/bluetooth-meshd
|
||||
starmove usr/share/dbus-1/system.d/bluetooth-mesh.conf
|
||||
starmove usr/share/man/man8/bluetooth-meshd.8
|
||||
chmod -v 555 "${pkgdir}"/etc/bluetooth
|
||||
}
|
||||
|
||||
depot_install_bluez_obex() {
|
||||
depot_starbuild_setup_env 'bluez-obex'
|
||||
install -Dm755 tools/obexctl -t "$pkgdir"/usr/bin/
|
||||
cd $srcdir
|
||||
starmove usr/bin/obex-client-tool usr/bin/obex-server-tool
|
||||
starmove usr/lib/bluetooth/obexd
|
||||
starmove usr/share/dbus-1/system.d/obex.conf
|
||||
starmove usr/share/man/man5/org.bluez.obex*.5
|
||||
starmove usr/share/dbus-1/services/org.bluez.obex.service
|
||||
}
|
||||
|
||||
depot_install_bluez_utils() {
|
||||
depot_starbuild_setup_env 'bluez-utils'
|
||||
|
||||
for files in $(find "${DEPOT_PRIMARY_DESTDIR}/usr/bin" -maxdepth 1 -type f -perm -755 2>/dev/null); do
|
||||
filename=$(basename "$files")
|
||||
case "$filename" in
|
||||
advtest|avinfo|avtest|bcmfw|bdaddr|bluemoon|bluetoothctl|bluetooth-player|bneptest|btattach|btconfig|btgatt-client|btgatt-server|btinfo|btiotest|btmgmt|btmon|btpclient|btpclientctl|btproxy|btsnoop|check-selftest|cltest|create-image|eddystone|gatt-service|hcieventmask|hcisecfilter|hex2hcd|hid2hci|hwdb|ibeacon|isotest|l2ping|l2test|mpris-proxy|nokfw|oobtest|rctest|rtlfw|scotest|seq2bseq|test-runner)
|
||||
starmove "usr/bin/$filename"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
for files in $(find "${DEPOT_PRIMARY_DESTDIR}/usr/share/man/man1" -maxdepth 1 -type f 2>/dev/null); do
|
||||
filename=$(basename "$files")
|
||||
case "$filename" in
|
||||
bluetoothctl*.1|btattach.1|btmgmt.1|btmon.1|isotest.1|l2ping.1|rctest.1)
|
||||
starmove "usr/share/man/man1/$filename"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
for files in $(find "${DEPOT_PRIMARY_DESTDIR}/usr/share/man/man5" -maxdepth 1 -type f 2>/dev/null); do
|
||||
filename=$(basename "$files")
|
||||
case "$filename" in
|
||||
org.bluez.A*.5|org.bluez.B*.5|org.bluez.D*.5|org.bluez.G*.5|org.bluez.I*.5|org.bluez.L*.5|org.bluez.M*.5|org.bluez.N*.5|org.bluez.P*.5)
|
||||
starmove "usr/share/man/man5/$filename"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
for files in $(find "${DEPOT_PRIMARY_DESTDIR}/usr/share/man/man7" -maxdepth 1 -type f 2>/dev/null); do
|
||||
filename=$(basename "$files")
|
||||
case "$filename" in
|
||||
hci.7|l2cap.7|mgmt.7|sco.7|iso.7)
|
||||
starmove "usr/share/man/man7/$filename"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
[ -f "${DEPOT_PRIMARY_DESTDIR}/usr/share/zsh/site-functions/_bluetoothctl" ] && starmove usr/share/zsh/site-functions/_bluetoothctl
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
uinput
|
||||
uhid
|
||||
@@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=mpris-proxy
|
||||
Comment=Start mpris-proxy in daemon mode
|
||||
Exec=/usr/bin/mpris-proxy
|
||||
TryExec=/usr/bin/mpris-proxy
|
||||
Terminal=false
|
||||
X-KDE-autostart-phase=2
|
||||
@@ -0,0 +1,3 @@
|
||||
[D-BUS Service]
|
||||
Name=org.bluez.obex
|
||||
Exec=/usr/lib/bluetooth/obexd -n
|
||||
@@ -0,0 +1,5 @@
|
||||
# Bind rfcomm devices (allowed values are "true" and "false")
|
||||
RFCOMM_ENABLE=true
|
||||
|
||||
# Config file for rfcomm
|
||||
RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf"
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/files/rfcomm-init.d,v 1.1 2011/12/31 21:09:18 pacho Exp $
|
||||
|
||||
depend() {
|
||||
after coldplug
|
||||
need dbus localmount hostname
|
||||
}
|
||||
|
||||
start() {
|
||||
if [ "${RFCOMM_ENABLE}" = "true" -a -x /usr/bin/rfcomm ]; then
|
||||
if [ -f "${RFCOMM_CONFIG}" ]; then
|
||||
ebegin "Starting rfcomm"
|
||||
/usr/bin/rfcomm -f "${RFCOMM_CONFIG}" bind all
|
||||
eend $?
|
||||
else
|
||||
ewarn "Not enabling rfcomm because RFCOMM_CONFIG does not exists"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Shutting down rfcomm"
|
||||
/usr/bin/rfcomm release all
|
||||
eend $?
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
diff -Naur cdparanoia-III-10.2.orig/main.c cdparanoia-III-10.2/main.c
|
||||
--- cdparanoia-III-10.2.orig/main.c 2008-09-11 23:11:02.000000000 +0200
|
||||
+++ cdparanoia-III-10.2/main.c 2014-04-14 21:24:10.023000000 +0200
|
||||
@@ -588,10 +588,10 @@
|
||||
buffer[aheadposition+19]='>';
|
||||
}
|
||||
|
||||
- fprintf(stderr,buffer);
|
||||
+ fprintf(stderr, "%s", buffer);
|
||||
|
||||
if (logfile != NULL && function==-1) {
|
||||
- fprintf(logfile,buffer+1);
|
||||
+ fprintf(logfile, "%s", buffer+1);
|
||||
fprintf(logfile,"\n\n");
|
||||
fflush(logfile);
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
diff -up cdparanoia-III-10.2/interface/Makefile.in.jx cdparanoia-III-10.2/interface/Makefile.in
|
||||
--- cdparanoia-III-10.2/interface/Makefile.in.jx 2008-08-21 12:08:54.000000000 -0400
|
||||
+++ cdparanoia-III-10.2/interface/Makefile.in 2018-03-07 13:12:53.999947802 -0500
|
||||
@@ -46,7 +46,7 @@ libcdda_interface.a: $(OFILES)
|
||||
$(RANLIB) libcdda_interface.a
|
||||
|
||||
libcdda_interface.so: $(OFILES)
|
||||
- $(CC) -fpic -shared -o libcdda_interface.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_interface.so.0 $(OFILES) $(LIBS)
|
||||
+ $(CC) $(LDFLAGS) -fpic -shared -o libcdda_interface.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_interface.so.0 $(OFILES) $(LIBS)
|
||||
[ -e libcdda_interface.so.0 ] || ln -s libcdda_interface.so.0.$(VERSION) libcdda_interface.so.0
|
||||
[ -e libcdda_interface.so ] || ln -s libcdda_interface.so.0.$(VERSION) libcdda_interface.so
|
||||
|
||||
diff -up cdparanoia-III-10.2/paranoia/Makefile.in.jx cdparanoia-III-10.2/paranoia/Makefile.in
|
||||
--- cdparanoia-III-10.2/paranoia/Makefile.in.jx 2008-09-04 15:02:47.000000000 -0400
|
||||
+++ cdparanoia-III-10.2/paranoia/Makefile.in 2018-03-07 13:12:39.352765050 -0500
|
||||
@@ -44,7 +44,7 @@ libcdda_paranoia.a: $(OFILES)
|
||||
$(RANLIB) libcdda_paranoia.a
|
||||
|
||||
libcdda_paranoia.so: $(OFILES)
|
||||
- $(CC) -fpic -shared -o libcdda_paranoia.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_paranoia.so.0 $(OFILES) -L ../interface -lcdda_interface
|
||||
+ $(CC) $(LDFLAGS) -fpic -shared -o libcdda_paranoia.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_paranoia.so.0 $(OFILES) -L ../interface -lcdda_interface
|
||||
[ -e libcdda_paranoia.so.0 ] || ln -s libcdda_paranoia.so.0.$(VERSION) libcdda_paranoia.so.0
|
||||
[ -e libcdda_paranoia.so ] || ln -s libcdda_paranoia.so.0.$(VERSION) libcdda_paranoia.so
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
skip_tests = true
|
||||
CFLAGS += [ "-fPIC" ]
|
||||
make-install-vars = [
|
||||
"BINDIR=$$DESTDIR/usr/bin",
|
||||
"MANDIR=$$DESTDIR/usr/share/man",
|
||||
"INCLUDEDIR=$$DESTDIR/usr/include",
|
||||
"LIBDIR=$$DESTDIR/usr/lib"
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
runtime = ["glibc"]
|
||||
|
||||
[[manual_sources]]
|
||||
files = [
|
||||
"cdparanoia-10.2-format-security.patch",
|
||||
"cdparanoia-10.2-ldflags.patch",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "Compact Disc Digital Audio extraction tool"
|
||||
homepage = "https://www.xiph.org/paranoia/"
|
||||
license = "GPL-2.0-only AND GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2"
|
||||
name = "cdparanoia"
|
||||
version = "10.2"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
patches = [
|
||||
"cdparanoia-10.2-format-security.patch",
|
||||
"cdparanoia-10.2-ldflags.patch",
|
||||
]
|
||||
sha256 = "005db45ef4ee017f5c32ec124f913a0546e77014266c6a1c50df902a55fe64df"
|
||||
url = "https://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-$version.src.tgz"
|
||||
post_extract = [ "autoreconf -fiv" ]
|
||||
Executable
+121
@@ -0,0 +1,121 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
makei() {
|
||||
echo "==> Running: make DESTDIR=\"$pkgdir\" install $*"
|
||||
make DESTDIR="$pkgdir" install "$@"
|
||||
}
|
||||
|
||||
mesoni() {
|
||||
echo "==> Running: meson install --destdir \"$pkgdir\" $*"
|
||||
meson install --destdir "$pkgdir" "$@"
|
||||
}
|
||||
|
||||
cmakei() {
|
||||
echo "==> Running: cmake --install $*"
|
||||
DESTDIR="$pkgdir" cmake --install "$@"
|
||||
}
|
||||
|
||||
starmove() {
|
||||
[ "$#" -ge 1 ] || {
|
||||
echo "starmove: requires at least one path pattern" >&2
|
||||
return 1
|
||||
}
|
||||
[ "${DEPOT_OUTPUT_NAME:-}" != "" ] || {
|
||||
echo "starmove: DEPOT_OUTPUT_NAME is not set" >&2
|
||||
return 1
|
||||
}
|
||||
haul "$DEPOT_OUTPUT_NAME" "$@"
|
||||
}
|
||||
|
||||
depot_starbuild_sync_srcdir() {
|
||||
workdir=${DEPOT_STARBUILD_WORKDIR:?}
|
||||
compat_root="$workdir/.depot-starbuild"
|
||||
mkdir -p "$compat_root/packages"
|
||||
for entry in "$workdir"/* "$workdir"/.[!.]* "$workdir"/..?*; do
|
||||
[ -e "$entry" ] || [ -L "$entry" ] || continue
|
||||
base=$(basename "$entry")
|
||||
[ "$base" = ".depot-starbuild" ] && continue
|
||||
[ "$base" = "packages" ] && continue
|
||||
ln -snf "$entry" "$compat_root/$base"
|
||||
done
|
||||
mkdir -p "$compat_root/packages/cups/"
|
||||
ln -snf "${DEPOT_PRIMARY_DESTDIR:-$DESTDIR}" "$compat_root/packages/cups/files"
|
||||
mkdir -p "$compat_root/packages/libcups/"
|
||||
ln -snf "$(subdestdir 'libcups')" "$compat_root/packages/libcups/files"
|
||||
srcdir="$compat_root"
|
||||
export srcdir
|
||||
}
|
||||
|
||||
depot_starbuild_setup_env() {
|
||||
package_name=$1
|
||||
package_version='2.4.14'
|
||||
pkgdir=${DESTDIR:?}
|
||||
export package_name package_version pkgdir
|
||||
LANG=C
|
||||
LC_ALL=C
|
||||
export LANG LC_ALL
|
||||
depot_starbuild_sync_srcdir
|
||||
}
|
||||
|
||||
depot_build() {
|
||||
depot_starbuild_setup_env 'cups'
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--sbindir=/usr/bin \
|
||||
--libdir=/usr/lib \
|
||||
--with-logdir=/var/log/cups \
|
||||
--with-docdir=/usr/share/cups/doc \
|
||||
--with-exe-file-perm=0755 \
|
||||
--with-cups-user=209 \
|
||||
--with-cups-group=209 \
|
||||
--with-max-log-size=0 \
|
||||
--enable-pam=yes \
|
||||
--enable-raw-printing \
|
||||
--enable-dbus=yes \
|
||||
--with-tls=gnutls \
|
||||
--with-dbusdir=/usr/share/dbus-1 \
|
||||
--enable-relro \
|
||||
--enable-libpaper
|
||||
make
|
||||
}
|
||||
|
||||
depot_install() {
|
||||
depot_starbuild_setup_env 'cups'
|
||||
make BUILDROOT="${pkgdir}" install-data install-exec
|
||||
rm -f "${pkgdir}"/usr/bin/cups-config
|
||||
install -D -m644 ../cups.logrotate "${pkgdir}"/etc/logrotate.d/cups
|
||||
install -D -m644 ../cups.pam "${pkgdir}"/etc/pam.d/cups
|
||||
# fix perms on /var/spool and /etc
|
||||
chmod 755 "${pkgdir}"/var/spool
|
||||
chmod 755 "${pkgdir}"/etc
|
||||
# remove directory from package, it will be recreated at each server start
|
||||
rm -rf "${pkgdir}"/var/run
|
||||
# install some more configuration files that will get filled by cupsd
|
||||
touch "${pkgdir}"/etc/cups/printers.conf
|
||||
touch "${pkgdir}"/etc/cups/classes.conf
|
||||
touch "${pkgdir}"/etc/cups/subscriptions.conf
|
||||
chgrp -R 209 "${pkgdir}"/etc/cups
|
||||
# fix .desktop file
|
||||
sed -i 's|^Exec=htmlview http://localhost:631/|Exec=xdg-open http://localhost:631/|g' "${pkgdir}"/usr/share/applications/cups.desktop
|
||||
# compress some driver files, adopted from Fedora
|
||||
find "${pkgdir}"/usr/share/cups/model -name "*.ppd" | xargs gzip -n9f
|
||||
# remove client.conf man page
|
||||
rm -f "${pkgdir}"/usr/share/man/man5/client.conf.5
|
||||
# comment out removed filters that are now part of cups-filters
|
||||
perl -p -i -e 's:^(.*\s+bannertops\s*)$:#\1:' "$pkgdir"/usr/share/cups/mime/mime.convs
|
||||
# comment out unnecessary PageLogFormat entry
|
||||
sed -i -e 's:PageLogFormat:#PageLogFormat:' "$pkgdir"/etc/cups/cupsd.conf*
|
||||
# no more xinetd support
|
||||
rm -rf "${pkgdir}"/etc/xinetd.d
|
||||
install -D -m 755 "$srcdir"/cupsd.initd $pkgdir/etc/init.d/cupsd
|
||||
}
|
||||
|
||||
depot_install_libcups() {
|
||||
depot_starbuild_setup_env 'libcups'
|
||||
make BUILDROOT="${pkgdir}" install-headers install-libs
|
||||
mkdir -p "${pkgdir}"/usr/bin
|
||||
install -m755 "${srcdir}"/cups/cups-config "${pkgdir}"/usr/bin/cups-config
|
||||
}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
diff -up cups-1.5b1/config-scripts/cups-ssl.m4.no-export-ssllibs cups-1.5b1/config-scripts/cups-tls.m4
|
||||
--- cups-1.6.2/config-scripts/cups-tls.m4.no-export-ssllibs 2011-05-11 02:52:08.000000000 +0200
|
||||
+++ cups-1.6.2/config-scripts/cups-tls.m4 2011-05-23 17:47:27.000000000 +0200
|
||||
@@ -107,5 +107,5 @@
|
||||
AC_SUBST([TLSFLAGS])
|
||||
AC_SUBST([TLSLIBS])
|
||||
|
||||
-EXPORT_TLSLIBS="$TLSLIBS"
|
||||
+EXPORT_TLSLIBS=""
|
||||
AC_SUBST([EXPORT_TLSLIBS])
|
||||
@@ -0,0 +1,68 @@
|
||||
diff -ru a/config-scripts/cups-compiler.m4 b/config-scripts/cups-compiler.m4
|
||||
--- a/config-scripts/cups-compiler.m4 2020-04-27 14:04:29.000000000 -0400
|
||||
+++ b/config-scripts/cups-compiler.m4 2021-08-06 20:53:29.316010169 -0400
|
||||
@@ -11,9 +11,6 @@
|
||||
|
||||
dnl Clear the debugging and non-shared library options unless the user asks
|
||||
dnl for them...
|
||||
-INSTALL_STRIP=""
|
||||
-AC_SUBST(INSTALL_STRIP)
|
||||
-
|
||||
AC_ARG_WITH([optim], AS_HELP_STRING([--with-optim], [set optimization flags]), [
|
||||
OPTIM="$withval"
|
||||
], [
|
||||
@@ -31,7 +28,6 @@
|
||||
AS_IF([test x$enable_debug = xyes -a "x$OPTIM" = x], [
|
||||
OPTIM="-g"
|
||||
], [
|
||||
- INSTALL_STRIP="-s"
|
||||
])
|
||||
|
||||
dnl Debug printfs can slow things down, so provide a separate option for that
|
||||
diff -ru a/configure b/configure
|
||||
--- a/configure 2020-04-27 14:04:29.000000000 -0400
|
||||
+++ b/configure 2021-08-06 20:54:01.585892266 -0400
|
||||
@@ -726,7 +726,6 @@
|
||||
ARCHFLAGS
|
||||
UNITTESTS
|
||||
OPTIM
|
||||
-INSTALL_STRIP
|
||||
LIBTOOL_INSTALL
|
||||
LIBTOOL_CXX
|
||||
LIBTOOL_CC
|
||||
@@ -7902,7 +7901,6 @@
|
||||
|
||||
|
||||
|
||||
-INSTALL_STRIP=""
|
||||
|
||||
|
||||
|
||||
@@ -7956,10 +7954,6 @@
|
||||
|
||||
OPTIM="-g"
|
||||
|
||||
-else $as_nop
|
||||
-
|
||||
- INSTALL_STRIP="-s"
|
||||
-
|
||||
fi
|
||||
|
||||
if test x$enable_debug_printfs = xyes
|
||||
diff -ru a/Makedefs.in b/Makedefs.in
|
||||
--- a/Makedefs.in 2020-04-27 14:04:29.000000000 -0400
|
||||
+++ b/Makedefs.in 2021-08-06 20:53:42.565961754 -0400
|
||||
@@ -46,12 +46,12 @@
|
||||
# Installation programs...
|
||||
#
|
||||
|
||||
-INSTALL_BIN = @LIBTOOL_INSTALL@ $(INSTALL) -c -m @CUPS_EXE_FILE_PERM@ @INSTALL_STRIP@
|
||||
+INSTALL_BIN = @LIBTOOL_INSTALL@ $(INSTALL) -c -m @CUPS_EXE_FILE_PERM@
|
||||
INSTALL_COMPDATA = $(INSTALL) -c -m 444 @INSTALL_GZIP@
|
||||
INSTALL_CONFIG = $(INSTALL) -c -m @CUPS_CONFIG_FILE_PERM@
|
||||
INSTALL_DATA = $(INSTALL) -c -m 444
|
||||
INSTALL_DIR = $(INSTALL) -d
|
||||
-INSTALL_LIB = @LIBTOOL_INSTALL@ $(INSTALL) -c -m @CUPS_EXE_FILE_PERM@ @INSTALL_STRIP@
|
||||
+INSTALL_LIB = @LIBTOOL_INSTALL@ $(INSTALL) -c -m @CUPS_EXE_FILE_PERM@
|
||||
INSTALL_MAN = $(INSTALL) -c -m 444
|
||||
INSTALL_SCRIPT = $(INSTALL) -c -m @CUPS_EXE_FILE_PERM@
|
||||
@@ -0,0 +1,5 @@
|
||||
/var/log/cups/*_log {
|
||||
missingok
|
||||
notifempty
|
||||
sharedscripts
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
auth required pam_unix.so
|
||||
account required pam_unix.so
|
||||
session required pam_unix.so
|
||||
@@ -0,0 +1,75 @@
|
||||
[build]
|
||||
type = "custom"
|
||||
|
||||
[build.flags]
|
||||
keep = [
|
||||
"etc/cups/cupsd.conf",
|
||||
"etc/cups/snmp.conf",
|
||||
"etc/cups/printers.conf",
|
||||
"etc/cups/classes.conf",
|
||||
"etc/cups/cups-files.conf",
|
||||
"etc/cups/subscriptions.conf",
|
||||
"etc/logrotate.d/cups",
|
||||
"etc/pam.d/cups",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"acl",
|
||||
"avahi",
|
||||
"gnutls",
|
||||
"libpaper",
|
||||
"libusb",
|
||||
"pam",
|
||||
"git",
|
||||
]
|
||||
runtime = [ "acl", "avahi", "dbus", "glibc", "gnutls", "hicolor-icon-theme", "libcups", "libunwind", "libpaper", "libcxx", "pam" ]
|
||||
|
||||
[[manual_sources]]
|
||||
file = "cups.pam"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "cupsd.initd"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "preinstall.sh"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "default-config-no-gssapi.patch"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "cups-nostrip.patch"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "cups-no-export-ssllibs.patch"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "cups.logrotate"
|
||||
|
||||
[package]
|
||||
description = "OpenPrinting CUPS - daemon package"
|
||||
homepage = "https://github.com/OpenPrinting/cups.git"
|
||||
license = "Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause"
|
||||
name = "cups"
|
||||
version = "2.4.16"
|
||||
|
||||
[package_dependencies.libcups]
|
||||
runtime = [
|
||||
"avahi",
|
||||
"glibc",
|
||||
"gnutls",
|
||||
"sh",
|
||||
"zlib-ng",
|
||||
]
|
||||
|
||||
[[packages]]
|
||||
description = "OpenPrinting CUPS - client libraries and headers"
|
||||
homepage = "https://github.com/OpenPrinting/cups.git"
|
||||
license = "Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause"
|
||||
name = "libcups"
|
||||
version = "2.4.16"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "cups"
|
||||
url = "https://github.com/OpenPrinting/cups.git#v$version"
|
||||
patches = [ "cups-no-export-ssllibs.patch", "default-config-no-gssapi.patch", "cups-nostrip.patch" ]
|
||||
@@ -0,0 +1,44 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
name="CUPS"
|
||||
|
||||
extra_commands="checkconfig"
|
||||
extra_started_commands="reload"
|
||||
|
||||
description_checkconfig="Test the configuration file"
|
||||
description_reload="Reload"
|
||||
|
||||
: ${cfgfile:="/etc/cups/cupsd.conf"}
|
||||
|
||||
command="/usr/sbin/cupsd"
|
||||
command_args="-f -c $cfgfile"
|
||||
command_background="yes"
|
||||
|
||||
pidfile="/run/cups/$RC_SVCNAME.pid"
|
||||
|
||||
depend() {
|
||||
use net
|
||||
before nfs
|
||||
need dbus
|
||||
after logger
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
$command $command_args -t >/dev/null 2>&1 \
|
||||
|| $command $command_args -t
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkconfig || return 1
|
||||
|
||||
checkpath -q -d -m 0775 -o root:lp /var/cache/cups
|
||||
checkpath -q -d -m 0775 -o root:lp /var/cache/cups/rss
|
||||
checkpath -q -d -m 0755 -o root:lp /run/cups
|
||||
checkpath -q -d -m 0511 -o lp:lpadmin /run/cups/certs
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading $name"
|
||||
start-stop-daemon --signal HUP --pidfile "$pidfile"
|
||||
eend $?
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
Upstream: Not applicable (local configuration)
|
||||
Reason: Sets config defaults for Alpine
|
||||
|
||||
--- a/conf/cupsd.conf.in
|
||||
+++ b/conf/cupsd.conf.in
|
||||
@@ -154,12 +154,12 @@
|
||||
|
||||
# Job-related operations must be done by the owner or an administrator...
|
||||
<Limit Create-Job Print-Job Print-URI Validate-Job>
|
||||
- AuthType Negotiate
|
||||
+ AuthType Default
|
||||
Order deny,allow
|
||||
</Limit>
|
||||
|
||||
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
|
||||
- AuthType Negotiate
|
||||
+ AuthType Default
|
||||
Require user @OWNER @SYSTEM
|
||||
Order deny,allow
|
||||
</Limit>
|
||||
@@ -180,7 +180,7 @@
|
||||
|
||||
# Only the owner or an administrator can cancel or authenticate a job...
|
||||
<Limit Cancel-Job CUPS-Authenticate-Job>
|
||||
- AuthType Negotiate
|
||||
+ AuthType Default
|
||||
Require user @OWNER @CUPS_DEFAULT_PRINTOPERATOR_AUTH@
|
||||
Order deny,allow
|
||||
</Limit>
|
||||
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
addgroup -S lpadmin 2>/dev/null
|
||||
addgroup -S -g 7 lp 2>/dev/null
|
||||
adduser -S -G lp -g lp -u 4 lp 2>/dev/null
|
||||
addgroup lp lp 2>/dev/null
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,45 @@
|
||||
[build]
|
||||
type = "meson"
|
||||
|
||||
[build.flags]
|
||||
build_dir = "build"
|
||||
configure = [
|
||||
"-Dpng=enabled",
|
||||
"-Dgif=enabled",
|
||||
"-Djpeg=enabled",
|
||||
"-Dtiff=enabled",
|
||||
"-Dthumbnailer=enabled",
|
||||
"--wrap-mode=nofallback",
|
||||
"-Dgtk_doc=true",
|
||||
"-Dglycin=disabled",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"gi-docgen",
|
||||
"gobject-introspection",
|
||||
"meson",
|
||||
"python-docutils",
|
||||
]
|
||||
optional = [
|
||||
"libheif",
|
||||
"libopenraw",
|
||||
"libwmf",
|
||||
]
|
||||
runtime = [
|
||||
"glib2",
|
||||
"glibc",
|
||||
"shared-mime-info",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "An image loading library"
|
||||
homepage = "https://wiki.gnome.org/Projects/GdkPixbuf"
|
||||
license = "LGPL-2.0-or-later"
|
||||
name = "gdk-pixbuf2"
|
||||
version = "2.44.5"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "69b93e09139b80c0ee661503d60deb5a5874a31772b5184b9cd5462a4100ab68"
|
||||
url = "https://download.gnome.org/sources/gdk-pixbuf/2.44/gdk-pixbuf-$version.tar.xz"
|
||||
@@ -0,0 +1,32 @@
|
||||
[build]
|
||||
type = "meson"
|
||||
|
||||
[build.flags]
|
||||
build_dir = "build"
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"gobject-introspection",
|
||||
"gtk-doc",
|
||||
"meson",
|
||||
]
|
||||
runtime = [
|
||||
"glib2",
|
||||
"glibc",
|
||||
]
|
||||
test = [
|
||||
"python-gobject",
|
||||
"python-tappy",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "Thin layer of graphic data types"
|
||||
homepage = "https://ebassi.github.io/graphene/"
|
||||
license = "MIT"
|
||||
name = "graphene"
|
||||
version = "1.10.8"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "a37bb0e78a419dcbeaa9c7027bcff52f5ec2367c25ec859da31dfde2928f279a"
|
||||
url = "https://download.gnome.org/sources/graphene/1.10/graphene-$version.tar.xz"
|
||||
@@ -0,0 +1,71 @@
|
||||
[build]
|
||||
type = "meson"
|
||||
|
||||
[build.flags]
|
||||
build_dir = "build"
|
||||
configure = ["-Dgpl=enabled"]
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"meson",
|
||||
"curl",
|
||||
"bluez-libs",
|
||||
"json-glib",
|
||||
"nettle",
|
||||
"valgrind",
|
||||
"aom",
|
||||
"lcms2",
|
||||
"libass",
|
||||
"libde265",
|
||||
"libdvdnav",
|
||||
"libdvdread",
|
||||
"libexif",
|
||||
"libmodplug",
|
||||
"libsndfile",
|
||||
"libsoup3",
|
||||
"libwebp",
|
||||
"glslang",
|
||||
"shaderc",
|
||||
"gsm",
|
||||
"openh264",
|
||||
"openjpeg2",
|
||||
"soundtouch",
|
||||
"srt",
|
||||
"webrtc-audio-processing-1",
|
||||
"x265",
|
||||
"vulkan-headers",
|
||||
"wayland-protocols",
|
||||
]
|
||||
runtime = [
|
||||
"glibc",
|
||||
"glib2",
|
||||
"gst-plugins-base",
|
||||
"gstreamer",
|
||||
"libdrm",
|
||||
"libunwind",
|
||||
"libgl",
|
||||
"libcxx",
|
||||
"libusb",
|
||||
"libva",
|
||||
"libx11",
|
||||
"libxcb",
|
||||
"libxkbcommon",
|
||||
"libxkbcommon-x11",
|
||||
"mesa",
|
||||
"vmaf",
|
||||
"vulkan-icd-loader",
|
||||
"wayland",
|
||||
"zlib-ng",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "a set of plug-ins that aren't up to par compared to the rest"
|
||||
homepage = "https://gstreamer.freedesktop.org/"
|
||||
license = "LGPL-2.1-or-later"
|
||||
name = "gst-plugins-bad"
|
||||
version = "1.28.1"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "56c1593787f8b5550893d59e4ff29e6bcccf34973316fa55e34ce493e04313a2"
|
||||
url = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-$version.tar.xz"
|
||||
@@ -0,0 +1,42 @@
|
||||
[build]
|
||||
type = "meson"
|
||||
|
||||
[build.flags]
|
||||
build_dir = "build"
|
||||
configure = ["--wrap-mode=nodownload"]
|
||||
skip-tests = true # need an x session
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"sdl2-compat",
|
||||
"valgrind",
|
||||
"meson",
|
||||
"wayland-protocols"
|
||||
]
|
||||
runtime = [
|
||||
"gstreamer",
|
||||
"alsa-lib",
|
||||
"cairo",
|
||||
"cdparanoia",
|
||||
"glibc",
|
||||
"glib2",
|
||||
"libunwind",
|
||||
"libogg",
|
||||
"libtheora",
|
||||
"libvorbis",
|
||||
"opus",
|
||||
"pango",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "well-groomed and well-maintained collection of GStreamer plug-ins and elements"
|
||||
homepage = "https://gstreamer.freedesktop.org/"
|
||||
license = "LGPL-2.1-or-later"
|
||||
name = "gst-plugins-base"
|
||||
version = "1.28.1"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
post_extract = ["sed -i '/tcase_add_test (tc_chain, test_reorder_buffer);/d' tests/check/libs/gstglcolorconvert.c"]
|
||||
sha256 = "1446a4c2a92ff5d78d88e85a599f0038441d53333236f0c72d72f21a9c132497"
|
||||
url = "https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$version.tar.xz"
|
||||
@@ -0,0 +1,33 @@
|
||||
[build]
|
||||
type = "meson"
|
||||
|
||||
[build.flags]
|
||||
build_dir = "build"
|
||||
configure = ["-Dgst_debug=false"]
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"meson",
|
||||
"gobject-introspection",
|
||||
"cargo",
|
||||
"perl",
|
||||
]
|
||||
runtime = [
|
||||
"glib2",
|
||||
"glibc",
|
||||
"libcap",
|
||||
"libelf",
|
||||
"libunwind",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "streaming media framework that enables applications to share a common set of plugins for tasks such as video encoding and decoding, audio encoding and decoding, audio and video filters, audio visualisation, web streaming and anything else that streams in real-time or otherwise."
|
||||
homepage = "https://gstreamer.freedesktop.org/"
|
||||
license = "LGPL-2.0-or-later"
|
||||
name = "gstreamer"
|
||||
version = "1.28.1"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "b65e2ffa35bdbf8798cb75c23ffc3d05e484e48346ff7546844ba85217664504"
|
||||
url = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$version.tar.xz"
|
||||
@@ -0,0 +1,110 @@
|
||||
[build]
|
||||
type = "custom"
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"docbook-xsl",
|
||||
"gi-docgen",
|
||||
"glib2",
|
||||
"gobject-introspection",
|
||||
"hicolor-icon-theme",
|
||||
"meson",
|
||||
"python-docutils",
|
||||
"python-gobject",
|
||||
"sassc",
|
||||
"shaderc",
|
||||
"vulkan-headers",
|
||||
"wayland-protocols",
|
||||
]
|
||||
runtime = [
|
||||
"adwaita-fonts",
|
||||
"at-spi2-core",
|
||||
"sh",
|
||||
"cairo",
|
||||
"dconf",
|
||||
"desktop-file-utils",
|
||||
"fontconfig",
|
||||
"fribidi",
|
||||
"libcxx",
|
||||
"libunwind",
|
||||
"gdk-pixbuf2",
|
||||
"glib2",
|
||||
"glibc",
|
||||
"graphene",
|
||||
"gst-plugins-bad",
|
||||
"gst-plugins-base",
|
||||
"gstreamer",
|
||||
"gtk-update-icon-cache",
|
||||
"harfbuzz",
|
||||
"iso-codes",
|
||||
"libcloudproviders",
|
||||
"libcups",
|
||||
"libegl",
|
||||
"libepoxy",
|
||||
"libgl",
|
||||
"libjpeg-turbo",
|
||||
"libpng",
|
||||
"librsvg",
|
||||
"libtiff",
|
||||
"libx11",
|
||||
"libxcursor",
|
||||
"libxdamage",
|
||||
"libxext",
|
||||
"libxfixes",
|
||||
"libxi",
|
||||
"libxinerama",
|
||||
"libxkbcommon",
|
||||
"libxrandr",
|
||||
"libxrender",
|
||||
"pango",
|
||||
"shared-mime-info",
|
||||
"tinysparql",
|
||||
"vulkan-icd-loader",
|
||||
"wayland",
|
||||
]
|
||||
|
||||
[[manual_sources]]
|
||||
file = "0001-HACK-Don-t-use-objcopy-for-resource-embedding.patch"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "gtk-update-icon-cache.toml"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "gtk-update-icon-cache.script"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "gtk4-querymodules.toml"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "gtk4-querymodules.script"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "settings.ini"
|
||||
|
||||
[package]
|
||||
description = "GObject-based multi-platform GUI toolkit"
|
||||
homepage = "https://www.gtk.org/"
|
||||
license = "LGPL-2.1-or-later"
|
||||
name = "gtk4"
|
||||
version = "4.22.1"
|
||||
|
||||
[package_dependencies.gtk-update-icon-cache]
|
||||
runtime = [
|
||||
"sh",
|
||||
"gdk-pixbuf2",
|
||||
"glib2",
|
||||
"glibc",
|
||||
"hicolor-icon-theme",
|
||||
"librsvg",
|
||||
]
|
||||
|
||||
[[packages]]
|
||||
description = "GTK icon cache updater"
|
||||
homepage = "https://www.gtk.org/"
|
||||
license = "LGPL-2.1-or-later"
|
||||
name = "gtk-update-icon-cache"
|
||||
version = "4.22.1"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "gtk-$version"
|
||||
url = "https://download.gnome.org/sources/gtk/4.22/gtk-4.22.1.tar.xz"
|
||||
@@ -0,0 +1,22 @@
|
||||
[build]
|
||||
type = "meson"
|
||||
|
||||
[build.flags]
|
||||
build_dir = "build"
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"meson",
|
||||
"python",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "Lists of the country, language, and currency names"
|
||||
homepage = "https://salsa.debian.org/iso-codes-team/iso-codes"
|
||||
license = "LGPL-2.1-only"
|
||||
name = "iso-codes"
|
||||
version = "4.20.1"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
url = "https://salsa.debian.org/iso-codes-team/iso-codes.git#v$version"
|
||||
@@ -0,0 +1,23 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
skip-tests = true
|
||||
|
||||
[dependencies]
|
||||
runtime = [
|
||||
"glibc",
|
||||
"libpng",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "Decoder implementation of the JBIG2 image compression format"
|
||||
homepage = "https://jbig2dec.com/"
|
||||
license = "AGPL-3.0-or-Later"
|
||||
name = "jbig2dec"
|
||||
version = "0.20"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
url = "https://github.com/ArtifexSoftware/jbig2dec/releases/download/$version/jbig2dec-$version.tar.gz"
|
||||
sha256 = "b2:ecd913567290eb2d11728c4cc36d53767e36ac618e827c297069e7b71d5b44e357e21705086a1f6499e0de1b2463dded81448137112a7b6062640700cb4620ca"
|
||||
@@ -0,0 +1,30 @@
|
||||
[build]
|
||||
type = "meson"
|
||||
|
||||
[build.flags]
|
||||
build_dir = "build"
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"doxygen",
|
||||
"graphviz",
|
||||
"mesa",
|
||||
"meson",
|
||||
]
|
||||
runtime = [
|
||||
"glibc",
|
||||
"libgl",
|
||||
"libx11",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "Library handling OpenGL function pointer management"
|
||||
homepage = "https://github.com/anholt/libepoxy"
|
||||
license = "MIT"
|
||||
name = "libepoxy"
|
||||
version = "1.5.10"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "072cda4b59dd098bba8c2363a6247299db1fa89411dc221c8b81b8ee8192e623"
|
||||
url = "https://download.gnome.org/sources/libepoxy/1.5/libepoxy-$version.tar.xz"
|
||||
@@ -0,0 +1,37 @@
|
||||
[build]
|
||||
type = "meson"
|
||||
|
||||
[build.flags]
|
||||
build_dir = "build"
|
||||
configure = ["--wrap-mode=nofallback"]
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"gi-docgen",
|
||||
"gobject-introspection",
|
||||
"meson",
|
||||
"python-quart",
|
||||
"vala",
|
||||
]
|
||||
runtime = [
|
||||
"brotli",
|
||||
"glib-networking",
|
||||
"glib2",
|
||||
"glibc",
|
||||
"libnghttp2",
|
||||
"libpsl",
|
||||
"sqlite",
|
||||
"zlib-ng",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "HTTP client/server library for GNOME"
|
||||
homepage = "https://wiki.gnome.org/Projects/libsoup"
|
||||
license = "LGPL-2.0-or-later"
|
||||
name = "libsoup3"
|
||||
version = "3.6.6"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "51ed0ae06f9d5a40f401ff459e2e5f652f9a510b7730e1359ee66d14d4872740"
|
||||
url = "https://download.gnome.org/sources/libsoup/3.6/libsoup-$version.tar.xz"
|
||||
@@ -0,0 +1,29 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
configure = ["--disable-static"]
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"doxygen",
|
||||
"libpng",
|
||||
"libvorbis",
|
||||
"sdl",
|
||||
]
|
||||
runtime = [
|
||||
"glibc",
|
||||
"libogg",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "Standard encoder and decoder library for the Theora video compression format"
|
||||
homepage = "https://www.theora.org/"
|
||||
license = "BSD-3-Clause"
|
||||
name = "libtheora"
|
||||
version = "1.2.0"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "ebdf77a8f5c0a8f7a9e42323844fa09502b34eb1d1fece7b5f54da41fe2122ec"
|
||||
url = "https://downloads.xiph.org/releases/theora/libtheora-$version.tar.xz"
|
||||
@@ -0,0 +1,33 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
configure = [
|
||||
"--disable-static",
|
||||
"--disable-open-zfile",
|
||||
]
|
||||
skip-tests = true # fail anyway
|
||||
|
||||
[dependencies]
|
||||
build = ["xorg-util-macros"]
|
||||
runtime = [
|
||||
"libxt",
|
||||
"libxext",
|
||||
"libx11",
|
||||
"glibc",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "X11 pixmap library"
|
||||
homepage = "https://xorg.freedesktop.org/"
|
||||
license = [
|
||||
"MIT",
|
||||
"X11-distribute-modifications-variant",
|
||||
]
|
||||
name = "libxpm"
|
||||
version = "3.5.18"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "b4ed79bfc718000edee837d551c35286f0b84576db0ce07bbbebe60a4affa1e4"
|
||||
url = "https://xorg.freedesktop.org/releases/individual/lib/libXpm-$version.tar.xz"
|
||||
@@ -0,0 +1,44 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
configure = [
|
||||
"--with-ssl=/usr",
|
||||
"--enable-externs",
|
||||
"--enable-default-colors",
|
||||
"--enable-nls",
|
||||
"--enable-ipv6",
|
||||
]
|
||||
post_install = [
|
||||
'sed -i -e "s|^HELPFILE.*$|HELPFILE:file:///usr/share/doc/lynx/lynx_help/lynx_help_main.html|" "$DESTDIR/etc/lynx.cfg"',
|
||||
'install -d "$DESTDIR/usr/share/doc/lynx"',
|
||||
'cp -rf lynx_help "$DESTDIR/usr/share/doc/lynx"',
|
||||
]
|
||||
skip_tests = true
|
||||
use_lto = false
|
||||
keep = [ "etc/lynx.cfg" ]
|
||||
source_subdir = "lynx2.9.2"
|
||||
|
||||
[dependencies]
|
||||
runtime = [
|
||||
"brotli",
|
||||
"bzip2",
|
||||
"glibc",
|
||||
"libidn2",
|
||||
"zlib-ng",
|
||||
"openssl",
|
||||
"ncurses",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "text browser for the World Wide Web"
|
||||
homepage = "https://lynx.invisible-island.net/"
|
||||
license = "GPL-2.0-only"
|
||||
name = "lynx"
|
||||
version = "2.9.2"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "b2:5a8b78c11413e9e1d62f1a065c1e389cd1ddb0aad4a12d974cfef0b95d2c5d3f5e45097c33da2bf7fc41b615be6f883c951e98bd3d6f426bd3238e3a4e28fdae"
|
||||
url = "https://invisible-mirror.net/archives/lynx/tarballs/lynx$version.tar.gz"
|
||||
post_extract = [ "ls" ]
|
||||
@@ -0,0 +1,20 @@
|
||||
[build]
|
||||
type = "cmake"
|
||||
|
||||
[build.flags]
|
||||
build_dir = "build"
|
||||
|
||||
[package]
|
||||
description = "C Markdown parser"
|
||||
homepage = "https://github.com/mity/md4c"
|
||||
license = "MIT"
|
||||
name = "md4c"
|
||||
version = "0.5.2"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
url = "https://github.com/mity/md4c.git#release-$version"
|
||||
|
||||
[dependencies]
|
||||
runtime = [ "glibc" ]
|
||||
build = [ "cmake" ]
|
||||
@@ -0,0 +1,34 @@
|
||||
[build]
|
||||
type = "cmake"
|
||||
|
||||
[build.flags]
|
||||
build_dir = "build"
|
||||
configure = ["-DBUILD_STATIC_LIBS=OFF"]
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"cmake",
|
||||
"doxygen",
|
||||
"graphviz",
|
||||
]
|
||||
runtime = [
|
||||
"glibc",
|
||||
"lcms2",
|
||||
"libpng",
|
||||
"libtiff",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "open source JPEG 2000 codec"
|
||||
homepage = "https://github.com/uclouvain/openjpeg"
|
||||
license = [
|
||||
"BSD-2-Clause",
|
||||
"MIT",
|
||||
]
|
||||
name = "openjpeg2"
|
||||
version = "2.5.4"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "a695fbe19c0165f295a8531b1e4e855cd94d0875d2f88ec4b61080677e27188a"
|
||||
url = "https://github.com/uclouvain/openjpeg/archive/v$version/openjpeg-$version.tar.gz"
|
||||
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
make DESTDIR=$DESTDIR prefix=/usr install
|
||||
bsdtar -xvf ../poppler-data-0.4.11-2-extra.tar.xz
|
||||
cp ./poppler-data-0.4.11-2-extra/Identity-* "$DESTDIR"/usr/share/poppler/cMap
|
||||
cd "$DESTDIR"/usr/share/poppler/cMap
|
||||
find ../cMap -type f -exec ln -s {} . \;
|
||||
@@ -0,0 +1,23 @@
|
||||
[build]
|
||||
type = "custom"
|
||||
|
||||
[package]
|
||||
description = "Encoding data for the poppler PDF rendering library"
|
||||
homepage = "https://poppler.freedesktop.org/"
|
||||
license = [
|
||||
"BSD-3-Clause",
|
||||
"GPL-2.0-only OR GPL-3.0-only",
|
||||
]
|
||||
name = "poppler-data"
|
||||
version = "0.4.12"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "c835b640a40ce357e1b83666aabd95edffa24ddddd49b8daff63adb851cdab74"
|
||||
url = "https://poppler.freedesktop.org/poppler-data-$version.tar.gz"
|
||||
|
||||
[[manual_sources]]
|
||||
url = "https://dev.gentoo.org/~sam/distfiles/app-text/poppler-data/poppler-data-0.4.11-2-extra.tar.xz"
|
||||
|
||||
[dependencies]
|
||||
build = [ "libarchive" ]
|
||||
@@ -0,0 +1,17 @@
|
||||
[build]
|
||||
type = "python"
|
||||
|
||||
[package]
|
||||
description = "Attributes without boilerplate."
|
||||
homepage = "https://www.attrs.org/"
|
||||
license = "MIT"
|
||||
name = "python-attrs"
|
||||
version = "26.1.0"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
url = "https://github.com/python-attrs/attrs.git#$version"
|
||||
|
||||
[dependencies]
|
||||
runtime = [ "python" ]
|
||||
build = [ "python-hatch-fancy-pypi-readme", "python-hatch-vcs", "python-hatchling", "git" ]
|
||||
@@ -0,0 +1,26 @@
|
||||
[build]
|
||||
type = "python"
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"python-hatch-vcs",
|
||||
"python-setuptools-scm",
|
||||
"python-wheel",
|
||||
"git"
|
||||
]
|
||||
optional = [
|
||||
"python-graphviz",
|
||||
"python-twisted",
|
||||
]
|
||||
runtime = ["python"]
|
||||
|
||||
[package]
|
||||
description = "Self-service finite-state machines for the programmer on the go."
|
||||
homepage = "https://github.com/glyph/automat"
|
||||
license = "MIT"
|
||||
name = "python-automat"
|
||||
version = "25.4.16"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
url = "https://github.com/glyph/automat.git#v$version"
|
||||
@@ -0,0 +1,21 @@
|
||||
[build]
|
||||
type = "python"
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"python-setuptools",
|
||||
"python-versioneer",
|
||||
"python-wheel",
|
||||
]
|
||||
runtime = ["python"]
|
||||
|
||||
[package]
|
||||
description = "Symbolic constants in Python"
|
||||
homepage = "https://github.com/twisted/constantly"
|
||||
license = "MIT"
|
||||
name = "python-constantly"
|
||||
version = "23.10.4"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
url = "https://github.com/twisted/constantly.git#$version"
|
||||
@@ -0,0 +1,20 @@
|
||||
[build]
|
||||
type = "python"
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"python-setuptools",
|
||||
"python-wheel",
|
||||
]
|
||||
runtime = ["python-idna"]
|
||||
|
||||
[package]
|
||||
description = "featureful, correct URL for Python"
|
||||
homepage = "https://github.com/python-hyper/hyperlink"
|
||||
license = "MIT"
|
||||
name = "python-hyperlink"
|
||||
version = "21.0.0"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
url = "https://github.com/python-hyper/hyperlink.git#v$version"
|
||||
@@ -0,0 +1,21 @@
|
||||
[build]
|
||||
type = "python"
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"python-wheel",
|
||||
"python-hatchling",
|
||||
"git",
|
||||
]
|
||||
runtime = ["python-packaging"]
|
||||
|
||||
[package]
|
||||
description = "A small library that versions your Python projects"
|
||||
homepage = "https://github.com/twisted/incremental"
|
||||
license = "MIT"
|
||||
name = "python-incremental"
|
||||
version = "24.11.0"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
url = "https://github.com/twisted/incremental.git#incremental-$version"
|
||||
@@ -0,0 +1,44 @@
|
||||
[build]
|
||||
type = "python"
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"python-hatchling",
|
||||
"python-hatch-fancy-pypi-readme",
|
||||
"python-wheel",
|
||||
]
|
||||
optional = [
|
||||
"python-appdirs",
|
||||
"python-bcrypt",
|
||||
"python-cryptography",
|
||||
"python-h2",
|
||||
"python-idna",
|
||||
"python-priority",
|
||||
"python-pyasn1",
|
||||
"python-gobject",
|
||||
"python-pyopenssl",
|
||||
"python-pyserial",
|
||||
"python-service-identity",
|
||||
"tk",
|
||||
]
|
||||
runtime = [
|
||||
"python",
|
||||
"python-attrs",
|
||||
"python-automat",
|
||||
"python-constantly",
|
||||
"python-hyperlink",
|
||||
"python-incremental",
|
||||
"python-typing_extensions",
|
||||
"python-zope-interface",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "Asynchronous networking framework written in Python"
|
||||
homepage = "https://twistedmatrix.com/"
|
||||
license = "MIT"
|
||||
name = "python-twisted"
|
||||
version = "25.5.0"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
url = "https://github.com/twisted/twisted.git#twisted-$version"
|
||||
@@ -0,0 +1,23 @@
|
||||
[build]
|
||||
type = "python"
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"git",
|
||||
"python-wheel",
|
||||
]
|
||||
runtime = [
|
||||
"python",
|
||||
"python-setuptools",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "tool for managing a recorded version number in setuptools-based python projects"
|
||||
homepage = "https://github.com/python-versioneer/python-versioneer"
|
||||
license = "Unlicense"
|
||||
name = "python-versioneer"
|
||||
version = "0.29"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
url = "https://github.com/python-versioneer/python-versioneer.git#$version"
|
||||
@@ -0,0 +1,23 @@
|
||||
[build]
|
||||
type = "python"
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"python-setuptools",
|
||||
"python-wheel",
|
||||
]
|
||||
runtime = [
|
||||
"glibc",
|
||||
"python",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "Zope Interfaces for Python 3.x"
|
||||
homepage = "https://github.com/zopefoundation/zope.interface"
|
||||
license = "ZPL-2.1"
|
||||
name = "python-zope-interface"
|
||||
version = "8.2"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
url = "https://github.com/zopefoundation/zope.interface.git#$version"
|
||||
@@ -0,0 +1,46 @@
|
||||
[build]
|
||||
type = "cmake"
|
||||
|
||||
[build.flags]
|
||||
build_dir = "build"
|
||||
configure = [
|
||||
"-DBUILD_STATIC_LIBS=OFF",
|
||||
"-G Ninja",
|
||||
"-DREQUIRE_CRYPTO_GNUTLS=ON",
|
||||
"-DREQUIRE_CRYPTO_OPENSSL=ON",
|
||||
"-DENABLE_QTC=ON",
|
||||
"-DBUILD_DOC=ON",
|
||||
"-DBUILD_DOC_PDF=OFF"
|
||||
]
|
||||
split-docs = true
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"cmake",
|
||||
"ninja",
|
||||
"python-sphinx",
|
||||
"python-sphinx_rtd_theme"
|
||||
]
|
||||
runtime = [
|
||||
"glibc",
|
||||
"gnutls",
|
||||
"libunwind",
|
||||
"libcxx",
|
||||
"libjpeg-turbo",
|
||||
"openssl",
|
||||
"zlib-ng",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "QPDF: A Content-Preserving PDF Transformation System"
|
||||
homepage = "https://github.com/qpdf/qpdf"
|
||||
license = [
|
||||
"Apache-2.0",
|
||||
"Artistic-2.0",
|
||||
]
|
||||
name = "qpdf"
|
||||
version = "12.3.2"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
url = "https://github.com/qpdf/qpdf.git#v$version"
|
||||
@@ -0,0 +1,28 @@
|
||||
[build]
|
||||
type = "cmake"
|
||||
|
||||
[build.flags]
|
||||
build_dir = "build"
|
||||
no-remove-static = true
|
||||
|
||||
[dependencies]
|
||||
build = ["cmake"]
|
||||
runtime = [
|
||||
"glu",
|
||||
"sdl2",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "SDL 1.2 runtime compatibility library using SDL 2.0"
|
||||
homepage = "https://github.com/libsdl-org/sdl12-compat"
|
||||
license = "MIT"
|
||||
name = "sdl12-compat"
|
||||
version = "1.2.74"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "sha256:86b6cb20387209eb487273834c41424a42c56637635ca6c58722e1031b04bee0"
|
||||
url = "https://github.com/libsdl-org/sdl12-compat/releases/download/release-$version/sdl12-compat-$version.tar.gz"
|
||||
|
||||
[alternatives]
|
||||
provides = [ "sdl" ]
|
||||
@@ -1,21 +0,0 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
depot_build() {
|
||||
export LDFLAGS="$LDFLAGS -Wl,--undefined-version"
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc/samba \
|
||||
--localstatedir=/var \
|
||||
--bundled-libraries=NONE \
|
||||
--builtin-libraries=replace \
|
||||
--enable-talloc-compat1
|
||||
make
|
||||
}
|
||||
|
||||
depot_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
depot_install() {
|
||||
make DESTDIR="$DESTDIR" install
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
[build]
|
||||
type = "custom"
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"python",
|
||||
"docbook-xsl",
|
||||
]
|
||||
optional = ["python"]
|
||||
runtime = [
|
||||
"glibc",
|
||||
"libbsd",
|
||||
"libxcrypt",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "Hierarchical pool based memory allocator with destructors"
|
||||
homepage = "https://talloc.samba.org/"
|
||||
license = "GPL-3.0-or-later"
|
||||
name = "talloc"
|
||||
version = "2.4.4"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "55e47994018c13743485544e7206780ffbb3c8495e704a99636503e6e77abf59"
|
||||
url = "https://www.samba.org/ftp/talloc/talloc-$version.tar.gz"
|
||||
@@ -0,0 +1,45 @@
|
||||
[build]
|
||||
type = "meson"
|
||||
|
||||
[build.flags]
|
||||
build_dir = "build"
|
||||
configure = ["-Dsystemd_user_services=false"]
|
||||
skip-tests = true # need a GUI
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"asciidoc",
|
||||
"dbus",
|
||||
"gi-docgen",
|
||||
"gobject-introspection",
|
||||
"meson",
|
||||
"python-dbus",
|
||||
"python-gobject",
|
||||
"python-tappy",
|
||||
"vala",
|
||||
]
|
||||
runtime = [
|
||||
"avahi",
|
||||
"glib2",
|
||||
"glibc",
|
||||
"icu78",
|
||||
"json-glib",
|
||||
"libunwind",
|
||||
"libsoup3",
|
||||
"libstemmer",
|
||||
"libxml215",
|
||||
"sqlite",
|
||||
]
|
||||
test = [ "man-db" ]
|
||||
|
||||
[package]
|
||||
description = "Low-footprint RDF triple store with SPARQL 1.1 interface"
|
||||
homepage = "https://tinysparql.org/"
|
||||
license = "GPL-2.0-or-later"
|
||||
name = "tinysparql"
|
||||
version = "3.11.0"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
url = "https://download.gnome.org/sources/tinysparql/3.11/tinysparql-$version.tar.xz"
|
||||
sha256 = "b2:050f8d4bad09514ffc09e5a52c5a2b26eb5a182ac0e6f5b1a97b3d3016ee1d8cb97fa7471f33c6f0e2cf1b778179156cb1f001c94ae49355fa21f843677c1be5"
|
||||
@@ -0,0 +1,27 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
configure = ["--sysconfdir=/etc/unixODBC"]
|
||||
|
||||
[dependencies]
|
||||
runtime = [
|
||||
"glibc",
|
||||
"libltdl",
|
||||
"readline",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources"
|
||||
homepage = "http://www.unixodbc.org/"
|
||||
license = [
|
||||
"GPL-2.0-or-later",
|
||||
"LGPL-2.1-or-later",
|
||||
]
|
||||
name = "unixodbc"
|
||||
version = "2.3.11"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "md5:0ff1fdbcb4c3c7dc2357f3fd6ba09169"
|
||||
url = "https://github.com/lurcher/unixODBC/releases/download/$version/unixODBC-$version.tar.gz"
|
||||
@@ -0,0 +1,31 @@
|
||||
[build]
|
||||
type = "meson"
|
||||
|
||||
[build.flags]
|
||||
build_dir = "build"
|
||||
configure = ["-Denable_avx512=false"]
|
||||
post_install = [ "cp -dr --no-preserve=ownership ../model $DESTDIR/usr/share" ]
|
||||
source_subdir = "libvmaf"
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"meson",
|
||||
"nasm",
|
||||
]
|
||||
runtime = [
|
||||
"glibc",
|
||||
"libunwind",
|
||||
"libcxx",
|
||||
]
|
||||
test = ["vim"]
|
||||
|
||||
[package]
|
||||
description = "Perceptual video quality assessment algorithm based on multi-method fusion"
|
||||
homepage = "https://github.com/Netflix/vmaf/"
|
||||
license = "BSD-2-Clause-Patent"
|
||||
name = "vmaf"
|
||||
version = "3.0.0"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
url = "https://github.com/Netflix/vmaf.git#v$version"
|
||||
@@ -0,0 +1,23 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[dependencies]
|
||||
build = ["xorgproto"]
|
||||
runtime = [
|
||||
"libxcb",
|
||||
"xcb-util-renderutil",
|
||||
"xcb-util-image",
|
||||
"glibc",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "XCB cursor library"
|
||||
homepage = "https://cgit.freedesktop.org/xcb/util-cursor"
|
||||
license = "MIT"
|
||||
name = "xcb-util-cursor"
|
||||
version = "0.1.6"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "fdeb8bd127873519be5cc70dcd0d3b5d33b667877200f9925a59fdcad8f7a933"
|
||||
url = "https://xorg.freedesktop.org/archive/individual/lib/xcb-util-cursor-$version.tar.xz"
|
||||
@@ -0,0 +1,28 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
configure = ["--disable-static"]
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"xorg-util-macros",
|
||||
"xorgproto",
|
||||
]
|
||||
runtime = [
|
||||
"libxcb",
|
||||
"xcb-util",
|
||||
"glibc",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "Utility libraries for XC Binding - Port of Xlib's XImage and XShmImage functions"
|
||||
homepage = "https://xcb.freedesktop.org/"
|
||||
license = "X11-distribute-modifications-variant"
|
||||
name = "xcb-util-image"
|
||||
version = "0.4.1"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "ccad8ee5dadb1271fd4727ad14d9bd77a64e505608766c4e98267d9aede40d3d"
|
||||
url = "https://xorg.freedesktop.org/archive/individual/lib/$name-$version.tar.xz"
|
||||
@@ -0,0 +1,30 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
configure = ["--disable-static"]
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"xorg-util-macros",
|
||||
"xorgproto",
|
||||
]
|
||||
runtime = [
|
||||
"libxcb",
|
||||
"glibc",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "Utility libraries for XC Binding - Convenience functions for the Render extension"
|
||||
homepage = "https://xcb.freedesktop.org/"
|
||||
license = [
|
||||
"HPND-sell-variant",
|
||||
"X11-distribute-modifications-variant",
|
||||
]
|
||||
name = "xcb-util-renderutil"
|
||||
version = "0.3.10"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "3e15d4f0e22d8ddbfbb9f5d77db43eacd7a304029bf25a6166cc63caa96d04ba"
|
||||
url = "https://xorg.freedesktop.org/archive/individual/lib/$name-$version.tar.xz"
|
||||
@@ -0,0 +1,27 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
configure = ["--disable-static"]
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"xorg-util-macros",
|
||||
"xorgproto",
|
||||
]
|
||||
runtime = [
|
||||
"libxcb",
|
||||
"glibc",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "Utility libraries for XC Binding - client and window-manager helpers for ICCCM"
|
||||
homepage = "https://xcb.freedesktop.org/"
|
||||
license = "X11-distribute-modifications-variant"
|
||||
name = "xcb-util-wm"
|
||||
version = "0.4.2"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "62c34e21d06264687faea7edbf63632c9f04d55e72114aa4a57bb95e4f888a0b"
|
||||
url = "https://xorg.freedesktop.org/archive/individual/lib/$name-$version.tar.xz"
|
||||
@@ -0,0 +1,21 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
configure = ["--disable-static"]
|
||||
|
||||
[package]
|
||||
description = "Utility libraries for XC Binding"
|
||||
homepage = "https://xcb.freedesktop.org/"
|
||||
license = "X11-distribute-modifications-variant"
|
||||
name = "xcb-util"
|
||||
version = "0.4.1"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "5abe3bbbd8e54f0fa3ec945291b7e8fa8cfd3cccc43718f8758430f94126e512"
|
||||
url = "https://xcb.freedesktop.org/dist/$name-$version.tar.xz"
|
||||
|
||||
[dependencies]
|
||||
runtime = [ "libxcb", "glibc" ]
|
||||
build = [ "gperf", "xorg-util-macros", "xorgproto" ]
|
||||
@@ -0,0 +1,27 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
skip_tests = true
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"docbook-xsl",
|
||||
"lynx",
|
||||
"xmlto",
|
||||
]
|
||||
runtime = [
|
||||
"sh",
|
||||
"file",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "Command line tools that assist applications with a variety of desktop integration tasks"
|
||||
homepage = "https://gitlab.freedesktop.org/xdg/xdg-utils"
|
||||
license = "MIT"
|
||||
name = "xdg-utils"
|
||||
version = "1.2.1"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
url = "https://gitlab.freedesktop.org/xdg/xdg-utils.git#v$version"
|
||||
Reference in New Issue
Block a user