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"
|
||||
Reference in New Issue
Block a user