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