mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
ports: a lot of webkitgtk dependencies
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
name=icu
|
||||
revision=1
|
||||
from_source=icu
|
||||
imagedeps="build-essential"
|
||||
|
||||
configure() {
|
||||
${source_dir}/source/configure --prefix=${prefix} --disable-static
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j ${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
true
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
diff --git gst-plugins-sndio-clean/Makefile gst-plugins-sndio-workdir/Makefile
|
||||
index a1aa363..4bfcfe5 100644
|
||||
--- gst-plugins-sndio-clean/Makefile
|
||||
+++ gst-plugins-sndio-workdir/Makefile
|
||||
@@ -1,9 +1,9 @@
|
||||
BSD_INSTALL_LIB?= install -s -m 444
|
||||
MKDIR?= mkdir -p
|
||||
|
||||
-GST_CFLAGS!= pkg-config --cflags gstreamer-plugins-base-1.0 gstreamer-audio-1.0
|
||||
-GST_LIBS!= pkg-config --libs gstreamer-plugins-base-1.0 gstreamer-audio-1.0
|
||||
-GST_PLUGINDIR!= pkg-config --variable=pluginsdir gstreamer-plugins-base-1.0
|
||||
+GST_CFLAGS!= ${PKGCONFIG} --cflags gstreamer-plugins-base-1.0 gstreamer-audio-1.0
|
||||
+GST_LIBS!= ${PKGCONFIG} --libs gstreamer-plugins-base-1.0 gstreamer-audio-1.0
|
||||
+GST_PLUGINDIR!= ${PKGCONFIG} --variable=pluginsdir gstreamer-plugins-base-1.0
|
||||
|
||||
CFLAGS+= -DHAVE_CONFIG_H -fPIC ${GST_CFLAGS}
|
||||
|
||||
@@ -22,5 +22,5 @@ clean:
|
||||
rm -f libgstsndio.so ${OBJS}
|
||||
|
||||
install:
|
||||
- ${MKDIR} ${DESTDIR}${GST_PLUGINDIR}
|
||||
- ${BSD_INSTALL_LIB} libgstsndio.so ${DESTDIR}${GST_PLUGINDIR}
|
||||
+ ${MKDIR} ${DESTDIR}/usr/lib/gstreamer-1.0
|
||||
+ ${BSD_INSTALL_LIB} libgstsndio.so ${DESTDIR}/usr/lib/gstreamer-1.0/
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git libidn2-clean/unistring/wchar.in.h libidn2-workdir/unistring/wchar.in.h
|
||||
index c20040b..1e1393c 100644
|
||||
--- libidn2-clean/unistring/wchar.in.h
|
||||
+++ libidn2-workdir/unistring/wchar.in.h
|
||||
@@ -179,7 +179,7 @@
|
||||
/* mingw and MSVC define wint_t as 'unsigned short' in <crtdefs.h> or
|
||||
<stddef.h>. This is too small: ISO C 99 section 7.24.1.(2) says that
|
||||
wint_t must be "unchanged by default argument promotions". Override it. */
|
||||
-# if @GNULIBHEADERS_OVERRIDE_WINT_T@
|
||||
+# if 0
|
||||
# if !GNULIB_defined_wint_t
|
||||
# if @HAVE_CRTDEFS_H@
|
||||
# include <crtdefs.h>
|
||||
@@ -0,0 +1,15 @@
|
||||
diff --git libsecret-clean/libsecret/meson.build libsecret-workdir/libsecret/meson.build
|
||||
index 3c534d0..74480e9 100644
|
||||
--- libsecret-clean/libsecret/meson.build
|
||||
+++ libsecret-workdir/libsecret/meson.build
|
||||
@@ -62,6 +62,10 @@ _dbus_generated = gnome.gdbus_codegen('secret-dbus-generated',
|
||||
sources: 'org.freedesktop.Secrets.xml',
|
||||
interface_prefix: 'org.freedesktop.Secret.',
|
||||
namespace: '_SecretGen',
|
||||
+ extra_args: [
|
||||
+ '--glib-min-required=2.30',
|
||||
+ '--glib-max-allowed=2.80',
|
||||
+ ],
|
||||
)
|
||||
|
||||
_enums_generated = gnome.mkenums('secret-enum-types',
|
||||
@@ -0,0 +1,34 @@
|
||||
diff --git openjpeg-clean/src/bin/jp2/opj_decompress.c openjpeg-workdir/src/bin/jp2/opj_decompress.c
|
||||
index ba26bfb..165945e 100644
|
||||
--- openjpeg-clean/src/bin/jp2/opj_decompress.c
|
||||
+++ openjpeg-workdir/src/bin/jp2/opj_decompress.c
|
||||
@@ -39,6 +39,8 @@
|
||||
*/
|
||||
#include "opj_apps_config.h"
|
||||
|
||||
+#include <sys/time.h>
|
||||
+#include <sys/resource.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
@@ -1000,7 +1002,7 @@ static OPJ_FLOAT64 opj_clock(void)
|
||||
QueryPerformanceCounter(& t) ;
|
||||
return freq.QuadPart ? ((OPJ_FLOAT64)t.QuadPart / (OPJ_FLOAT64)freq.QuadPart) :
|
||||
0;
|
||||
-#elif defined(__linux)
|
||||
+#elif defined(__linux) || defined(__astral__)
|
||||
struct timespec ts;
|
||||
clock_gettime(CLOCK_REALTIME, &ts);
|
||||
return ((OPJ_FLOAT64)ts.tv_sec + (OPJ_FLOAT64)ts.tv_nsec * 1e-9);
|
||||
diff --git openjpeg-clean/src/lib/openjp2/opj_clock.c openjpeg-workdir/src/lib/openjp2/opj_clock.c
|
||||
index 24f79a9..3915e96 100644
|
||||
--- openjpeg-clean/src/lib/openjp2/opj_clock.c
|
||||
+++ openjpeg-workdir/src/lib/openjp2/opj_clock.c
|
||||
@@ -29,6 +29,7 @@
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
+#include <sys/resource.h>
|
||||
#include "opj_includes.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
@@ -0,0 +1,31 @@
|
||||
diff --git ruby-clean/configure.ac ruby-workdir/configure.ac
|
||||
index fced42e..f7563a5 100644
|
||||
--- ruby-clean/configure.ac
|
||||
+++ ruby-workdir/configure.ac
|
||||
@@ -1287,6 +1287,10 @@ main()
|
||||
ac_cv_func_round=no
|
||||
ac_cv_func___builtin_setjmp=no
|
||||
],
|
||||
+[astral*],[
|
||||
+ RUBY_APPEND_OPTIONS(CFLAGS, -D_XOPEN_SOURCE -D_GNU_SOURCE)
|
||||
+ RUBY_APPEND_OPTIONS(CPPFLAGS, -D_XOPEN_SOURCE -D_GNU_SOURCE)
|
||||
+ ],
|
||||
[linux*],[ LIBS="-lm $LIBS"
|
||||
# __builtin_longjmp in ppc64* Linux does not restore
|
||||
# the TOC register (r2), which is problematic
|
||||
diff --git ruby-clean/math.c ruby-workdir/math.c
|
||||
index 2394fe9..7266696 100644
|
||||
--- ruby-clean/math.c
|
||||
+++ ruby-workdir/math.c
|
||||
@@ -9,6 +9,11 @@
|
||||
|
||||
**********************************************************************/
|
||||
|
||||
+double __lgamma_r(double, int *);
|
||||
+double lgamma_r(double v, int *p) {
|
||||
+ return __lgamma_r(v, p);
|
||||
+}
|
||||
+
|
||||
#include "ruby/internal/config.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
@@ -0,0 +1,12 @@
|
||||
diff --git sqlite-clean/autosetup/autosetup-config.sub sqlite-workdir/autosetup/autosetup-config.sub
|
||||
index 4aaae46..8f3e836 100755
|
||||
--- sqlite-clean/autosetup/autosetup-config.sub
|
||||
+++ sqlite-workdir/autosetup/autosetup-config.sub
|
||||
@@ -2108,6 +2108,7 @@ case $os in
|
||||
| skyos* \
|
||||
| solaris* \
|
||||
| solidbsd* \
|
||||
+ | astral* \
|
||||
| sortix* \
|
||||
| storm-chaos* \
|
||||
| sunos \
|
||||
@@ -0,0 +1,19 @@
|
||||
name=aspell
|
||||
revision=1
|
||||
from_source=aspell
|
||||
imagedeps="build-essential"
|
||||
hostdeps="xgcc xbinutils pkgconfig libtool libstdc++-v3"
|
||||
deps="base"
|
||||
|
||||
configure() {
|
||||
${source_dir}/configure --host=x86_64-astral --prefix=${prefix} --disable-static
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j ${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
ln -svfn aspell-0.60 ${dest_dir}/${prefix}/bin/aspell
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
name=enchant
|
||||
revision=1
|
||||
from_source=enchant
|
||||
imagedeps="build-essential"
|
||||
hostdeps="xgcc xbinutils pkgconfig libtool automake autoconf"
|
||||
deps="base glib aspell vala"
|
||||
|
||||
configure() {
|
||||
${source_dir}/configure --host=x86_64-astral --prefix=${prefix} --disable-static
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j ${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
name=glib-networking
|
||||
revision=1
|
||||
from_source=glib-networking
|
||||
imagedeps="gcc meson ninja-build libglib2.0-dev libglib2.0-dev-bin"
|
||||
hostdeps="xgcc xbinutils pkgconfig"
|
||||
deps="base glib gnutls gsettings-desktop-schemas make-ca"
|
||||
|
||||
configure() {
|
||||
cp -rp ${source_dir}/* .
|
||||
meson setup build --cross-file ${base_dir}/util/crossfile --prefix=${prefix} --buildtype=release -Dlibproxy=disabled
|
||||
}
|
||||
|
||||
build() {
|
||||
ninja -C build -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR=${dest_dir} ninja -C build install
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
name=gst-plugins-base
|
||||
revision=1
|
||||
from_source=gst-plugins-base
|
||||
imagedeps="gcc meson ninja-build libglib2.0-dev-bin"
|
||||
hostdeps="xgcc xbinutils pkgconfig libstdc++-v3"
|
||||
deps="base glib gtk3 gstreamer alsa-lib iso-codes libjpeg-turbo libogg libpng libvorbis mesa pango graphene sdl2 libx11"
|
||||
|
||||
configure() {
|
||||
meson --cross-file ${base_dir}/util/crossfile --prefix=${prefix} --buildtype=release --wrap-mode=nodownload ${source_dir}
|
||||
}
|
||||
|
||||
build() {
|
||||
ninja -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR=${dest_dir} ninja install
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
name=gst-plugins-good
|
||||
revision=1
|
||||
from_source=gst-plugins-good
|
||||
imagedeps="gcc meson ninja-build libglib2.0-dev-bin nasm"
|
||||
hostdeps="xgcc xbinutils pkgconfig libstdc++-v3"
|
||||
deps="base gst-plugins-base cairo flac gdk-pixbuf mpg123 lame sndio"
|
||||
|
||||
configure() {
|
||||
meson --cross-file ${base_dir}/util/crossfile --prefix=${prefix} --buildtype=release -Dtests=disabled ${source_dir}
|
||||
}
|
||||
|
||||
build() {
|
||||
ninja -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR=${dest_dir} ninja install
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
name=gst-plugins-sndio
|
||||
revision=1
|
||||
from_source=gst-plugins-sndio
|
||||
imagedeps="gcc meson ninja-build"
|
||||
hostdeps="xgcc xbinutils pkgconfig"
|
||||
deps="base glib gstreamer gst-plugins-base sndio"
|
||||
|
||||
configure () {
|
||||
cp -rp ${source_dir}/* .
|
||||
}
|
||||
|
||||
build() {
|
||||
PKGCONFIG=x86_64-astral-pkg-config CC=x86_64-astral-gcc make -j8
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
name=gstreamer
|
||||
revision=1
|
||||
from_source=gstreamer
|
||||
imagedeps="gcc meson ninja-build libglib2.0-dev-bin"
|
||||
hostdeps="xgcc xbinutils pkgconfig libstdc++-v3"
|
||||
deps="base glib gtk3"
|
||||
|
||||
configure() {
|
||||
meson --cross-file ${base_dir}/util/crossfile --prefix=${prefix} --buildtype=release -Dgst_debug=false -Dtests=disabled ${source_dir}
|
||||
}
|
||||
|
||||
build() {
|
||||
ninja -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR=${dest_dir} ninja install
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
name=hicolor-icon-theme
|
||||
revision=1
|
||||
from_source=hicolor-icon-theme
|
||||
imagedeps="gcc meson ninja-build"
|
||||
hostdeps="xgcc xbinutils pkgconfig"
|
||||
|
||||
configure() {
|
||||
meson --cross-file ${base_dir}/util/crossfile --prefix=${prefix} --buildtype=release ${source_dir}
|
||||
}
|
||||
|
||||
build() {
|
||||
ninja -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR=${dest_dir} ninja install
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
name=icu
|
||||
revision=1
|
||||
from_source=icu
|
||||
imagedeps="build-essential"
|
||||
hostdeps="xgcc xbinutils pkgconfig libtool icu libstdc++-v3"
|
||||
deps="base"
|
||||
|
||||
configure() {
|
||||
${source_dir}/source/configure --host=x86_64-astral --prefix=${prefix} --disable-static --with-cross-build=${build_dir}/host-builds/icu
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j ${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
name=lame
|
||||
revision=1
|
||||
from_source=lame
|
||||
imagedeps="build-essential nasm"
|
||||
hostdeps="xgcc xbinutils pkgconfig libtool"
|
||||
deps="base libsndfile"
|
||||
|
||||
configure() {
|
||||
${source_dir}/configure --host=x86_64-astral --prefix=${prefix} --disable-static --enable-mp3rtp
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j ${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
name=lcms
|
||||
revision=1
|
||||
from_source=lcms
|
||||
imagedeps="build-essential"
|
||||
hostdeps="xgcc xbinutils pkgconfig libtool"
|
||||
deps="base libjpeg-turbo"
|
||||
|
||||
configure() {
|
||||
${source_dir}/configure --host=x86_64-astral --prefix=${prefix} --disable-static
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j ${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
name=libaom
|
||||
revision=1
|
||||
from_source=libaom
|
||||
imagedeps="build-essential cmake nasm"
|
||||
hostdeps="xgcc xbinutils pkgconfig libtool libstdc++-v3"
|
||||
deps="base"
|
||||
|
||||
configure() {
|
||||
cmake \
|
||||
-DPKG_CONFIG_EXECUTABLE="/usr/local/bin/x86_64-astral-pkg-config" \
|
||||
-DCMAKE_TOOLCHAIN_FILE=${base_dir}/util/cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=${prefix} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DENABLE_STATIC=FALSE \
|
||||
-DBUILD_SHARED_LIBS=1 \
|
||||
-DENABLE_DOCS=no \
|
||||
-G Ninja \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
${source_dir}
|
||||
}
|
||||
|
||||
build() {
|
||||
ninja -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR=${dest_dir} ninja install
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
name=libavif
|
||||
revision=1
|
||||
from_source=libavif
|
||||
imagedeps="build-essential cmake"
|
||||
hostdeps="xgcc xbinutils pkgconfig libtool"
|
||||
deps="base libaom gdk-pixbuf"
|
||||
|
||||
configure() {
|
||||
cmake \
|
||||
-DPKG_CONFIG_EXECUTABLE="/usr/local/bin/x86_64-astral-pkg-config" \
|
||||
-DCMAKE_TOOLCHAIN_FILE=${base_dir}/util/cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=${prefix} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DENABLE_STATIC=FALSE \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-D AVIF_CODEC_AOM=SYSTEM \
|
||||
-D AVIF_BUILD_GDK_PIXBUF=ON \
|
||||
-D AVIF_LIBYUV=OFF \
|
||||
-G Ninja \
|
||||
${source_dir}
|
||||
}
|
||||
|
||||
build() {
|
||||
ninja -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR=${dest_dir} ninja install
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
name=libidn2
|
||||
revision=1
|
||||
from_source=libidn2
|
||||
imagedeps="build-essential"
|
||||
hostdeps="xgcc xbinutils pkgconfig libtool"
|
||||
deps="base libunistring libiconv"
|
||||
|
||||
configure() {
|
||||
cp -rp ${source_dir}/* .
|
||||
./configure --host=x86_64-astral --prefix=${prefix} --disable-static --with-libunistring-prefix=/usr --without-included-libunistring --disable-doc
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j ${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
name=libpsl
|
||||
revision=1
|
||||
from_source=libpsl
|
||||
imagedeps="gcc meson ninja-build"
|
||||
hostdeps="xgcc xbinutils pkgconfig"
|
||||
deps="base libidn2 libunistring"
|
||||
|
||||
configure() {
|
||||
meson --cross-file ${base_dir}/util/crossfile --prefix=${prefix} --buildtype=release ${source_dir}
|
||||
}
|
||||
|
||||
build() {
|
||||
ninja -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR=${dest_dir} ninja install
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
name=libsecret
|
||||
revision=1
|
||||
from_source=libsecret
|
||||
imagedeps="gcc meson ninja-build libglib2.0-dev-bin"
|
||||
hostdeps="xgcc xbinutils pkgconfig"
|
||||
deps="base glib libgcrypt vala"
|
||||
|
||||
configure() {
|
||||
CFLAGS="-Dg_variant_builder_init_static=g_variant_builder_init" meson --cross-file ${base_dir}/util/crossfile --prefix=${prefix} --buildtype=release -Dgtk_doc=false -Dintrospection=false ${source_dir}
|
||||
}
|
||||
|
||||
build() {
|
||||
ninja -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR=${dest_dir} ninja install
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
name=libsoup
|
||||
revision=1
|
||||
from_source=libsoup
|
||||
imagedeps="gcc meson ninja-build libglib2.0-dev-bin"
|
||||
hostdeps="xgcc xbinutils pkgconfig"
|
||||
deps="base glib glib-networking libpsl libxml nghttp2 sqlite vala"
|
||||
|
||||
configure() {
|
||||
meson --cross-file ${base_dir}/util/crossfile --prefix=${prefix} --buildtype=release -Dtests=false --wrap-mode=nofallback -Dtls_check=false ${source_dir}
|
||||
}
|
||||
|
||||
build() {
|
||||
ninja -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR=${dest_dir} ninja install
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
name=libtiff
|
||||
revision=1
|
||||
from_source=libtiff
|
||||
imagedeps="build-essential cmake"
|
||||
hostdeps="xgcc xbinutils pkgconfig libtool libstdc++-v3"
|
||||
deps="base"
|
||||
|
||||
configure() {
|
||||
cmake \
|
||||
-DCMAKE_TOOLCHAIN_FILE=${base_dir}/util/cmake \
|
||||
-D CMAKE_POLICY_VERSION_MINIMUM=3.5 \
|
||||
-DCMAKE_INSTALL_PREFIX=${prefix} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DENABLE_STATIC=FALSE \
|
||||
${source_dir}
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR=${dest_dir} make install
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
name=libwebp
|
||||
revision=1
|
||||
from_source=libwebp
|
||||
imagedeps="build-essential"
|
||||
hostdeps="xgcc xbinutils pkgconfig libtool"
|
||||
deps="base libjpeg-turbo libpng libtiff sdl2"
|
||||
|
||||
configure() {
|
||||
${source_dir}/configure --host=x86_64-astral --prefix=${prefix} --disable-static --enable-swap-16bit-csp --enable-libwebpextras --enable-libwebpdecoder --enable-libwebpdemux --enable-libwebpmux
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j ${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
name=libyaml
|
||||
revision=1
|
||||
from_source=libyaml
|
||||
imagedeps="build-essential"
|
||||
hostdeps="xgcc xbinutils pkgconfig libtool"
|
||||
deps="base"
|
||||
|
||||
configure() {
|
||||
${source_dir}/configure --host=x86_64-astral --prefix=${prefix} --disable-static
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j ${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
name=mpg123
|
||||
revision=1
|
||||
from_source=mpg123
|
||||
imagedeps="build-essential"
|
||||
hostdeps="xgcc xbinutils pkgconfig libtool"
|
||||
deps="base sndio"
|
||||
|
||||
configure() {
|
||||
${source_dir}/configure --host=x86_64-astral --prefix=${prefix} --disable-static
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j ${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
name=nghttp2
|
||||
revision=1
|
||||
from_source=nghttp2
|
||||
imagedeps="build-essential"
|
||||
hostdeps="xgcc xbinutils pkgconfig libtool"
|
||||
deps="base libxml"
|
||||
|
||||
configure() {
|
||||
cp -rp ${source_dir}/* .
|
||||
./configure --host=x86_64-astral --prefix=${prefix} --disable-static --enable-lib-only --disable-dependency-tracking
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j ${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
name=openjpeg
|
||||
revision=1
|
||||
from_source=openjpeg
|
||||
imagedeps="build-essential cmake"
|
||||
hostdeps="xgcc xbinutils pkgconfig libtool"
|
||||
deps="base lcms libpng libtiff"
|
||||
|
||||
configure() {
|
||||
cmake \
|
||||
-DPKG_CONFIG_EXECUTABLE="/usr/local/bin/x86_64-astral-pkg-config" \
|
||||
-DCMAKE_TOOLCHAIN_FILE=${base_dir}/util/cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=${prefix} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DENABLE_STATIC=FALSE \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
${source_dir}
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR=${dest_dir} make install
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
name=ruby
|
||||
revision=1
|
||||
from_source=ruby
|
||||
imagedeps="build-essential ruby"
|
||||
hostdeps="xgcc xbinutils pkgconfig libtool"
|
||||
deps="base libyaml"
|
||||
|
||||
configure() {
|
||||
cp -rp ${source_dir}/* .
|
||||
./configure --host=x86_64-astral --prefix=${prefix} --disable-static --disable-rpath --enable-shared --without-valgrind --with-baseruby="$(command -v ruby)" ac_cv_func_qsort_r=no LD=x86_64-astral-gcc LDSHARED='x86_64-astral-gcc -shared' --disable-install-rdoc
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j ${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
name=sqlite
|
||||
revision=1
|
||||
from_source=sqlite
|
||||
imagedeps="build-essential"
|
||||
hostdeps="xgcc xbinutils pkgconfig libtool"
|
||||
deps="base readline zlib"
|
||||
|
||||
configure() {
|
||||
${source_dir}/configure --host=x86_64-astral --prefix=${prefix} --disable-static --enable-fts{4,5} CPPFLAGS="-D SQLITE_ENABLE_COLUMN_METADATA=1 -D SQLITE_ENABLE_UNLOCK_NOTIFY=1 -D SQLITE_ENABLE_DBSTAT_VTAB=1 -D SQLITE_SECURE_DELETE=1"
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j ${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
name=vala
|
||||
revision=1
|
||||
from_source=vala
|
||||
imagedeps="build-essential"
|
||||
hostdeps="xgcc xbinutils pkgconfig libtool"
|
||||
deps="base glib"
|
||||
|
||||
configure() {
|
||||
${source_dir}/configure --host=x86_64-astral --prefix=${prefix} --disable-static GI_GIRDIR=${sysroot}/usr/share/gir-1.0 --disable-valadoc
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j ${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
name=xdg-dbus-proxy
|
||||
revision=1
|
||||
from_source=xdg-dbus-proxy
|
||||
imagedeps="gcc meson ninja-build"
|
||||
hostdeps="xgcc xbinutils pkgconfig"
|
||||
deps="base glib"
|
||||
|
||||
configure() {
|
||||
meson --cross-file ${base_dir}/util/crossfile --prefix=${prefix} --buildtype=release ${source_dir}
|
||||
}
|
||||
|
||||
build() {
|
||||
ninja -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR=${dest_dir} ninja install
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
name=aspell
|
||||
version=0.60.8.1
|
||||
source_method=tarball
|
||||
tarball_url="https://ftpmirror.gnu.org/gnu/aspell/aspell-${version}.tar.gz"
|
||||
tarball_sha512=80fa9d7f5f4b8bf66388825ae28403713a2e3eda81fc31f2f452c3e2fe8349cd0fa8f0e4d0d3f8cffe215817229af25aa7be2dba358cb9cdc97e9d2834ba5ca7
|
||||
hostdeps="autoconf automake libtool pkgconfig libtool"
|
||||
|
||||
prepare() {
|
||||
autoreconf -fvi
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
name=enchant
|
||||
version=2.8.12
|
||||
source_method=tarball
|
||||
tarball_url="https://github.com/rrthomas/enchant/releases/download/v${version}/enchant-${version}.tar.gz"
|
||||
tarball_sha512=2bcd22afd97e348bc2925c41cb25f7aec9cb67debca4bcf58f6e30ac06dd09582e01896728e8943ba549b76854905b43b9d51c4ca720dd9e5dcd19d7c996d13b
|
||||
hostdeps="autoconf automake libtool"
|
||||
|
||||
prepare() {
|
||||
cp -v $(find /usr/local/share/automake* -name config.sub) build-aux/.
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
name=glib-networking
|
||||
version=2.80.1
|
||||
source_method=tarball
|
||||
tarball_url="https://download.gnome.org/sources/glib-networking/2.80/glib-networking-${version}.tar.xz"
|
||||
tarball_sha512="0f1b3807635fcae143ad1a89731a8f7e1b6f4b8f6cc2dd1b7b5eea3d77c796ee5a55ea330901bfd22927d07795f39450d30f0f1029595761e659f96a8415c263"
|
||||
@@ -0,0 +1,5 @@
|
||||
name=gst-plugins-base
|
||||
version=1.26.5
|
||||
source_method=tarball
|
||||
tarball_url="https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${version}.tar.xz"
|
||||
tarball_sha512="23b437aa118d8f8a0cd66f2a624d4ee76ec6c935653ed63eae5a146526a347f6a3a1e564192d6ec135b2d6acf17103c9134ad32a6359af715bc773632418fd5d"
|
||||
@@ -0,0 +1,5 @@
|
||||
name=gst-plugins-good
|
||||
version=1.26.5
|
||||
source_method=tarball
|
||||
tarball_url="https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${version}.tar.xz"
|
||||
tarball_sha512="68f5d09acb081c1c56223a71e544b823c9a8bf6f2bf8cc726d2cd1a2b59e2474476a769b5a913f46b410f7d178ac8a5af6edd15e3989aa9744f12c12beeb6ca6"
|
||||
@@ -0,0 +1,5 @@
|
||||
name=gst-plugins-sndio
|
||||
version=1.24.0
|
||||
source_method=tarball
|
||||
tarball_url="https://github.com/BSDKaffee/gstreamer1-plugins-sndio/archive/refs/tags/v${version}.tar.gz"
|
||||
tarball_sha512="5587db1f32b590f047cfac4382579c8088f5f927a314d76d798a78e9d9880fca172d29c6433c5c395921622d31e8aa22b8006090705ebe6a2755df49e253c133"
|
||||
@@ -0,0 +1,5 @@
|
||||
name=gstreamer
|
||||
version=1.26.5
|
||||
source_method=tarball
|
||||
tarball_url="https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${version}.tar.xz"
|
||||
tarball_sha512="2fdd396add501edaf75baf4f1dff63e94dea8c19ea685a44141991d598fb12339c90199ca060a83e97c932a7324b3013aec814b37275332590eab8a5a4a3ffea"
|
||||
@@ -0,0 +1,5 @@
|
||||
name=hicolor-icon-theme
|
||||
version=0.18
|
||||
source_method=tarball
|
||||
tarball_url="https://icon-theme.freedesktop.org/releases/hicolor-icon-theme-${version}.tar.xz"
|
||||
tarball_sha512="07db44fb6bec797445740832fa2b3ba56f5f335834161a26a4e5f767a8c45c0885ef1189e887b56752bd20c4b1aac101c5d4a395df4177cd3817ee5105db0d37"
|
||||
@@ -0,0 +1,12 @@
|
||||
name=icu
|
||||
version=77.1
|
||||
source_method=tarball
|
||||
tarball_url="https://github.com/unicode-org/icu/releases/download/release-77-1/icu4c-77_1-src.tgz"
|
||||
tarball_sha512=a47d6d9c327d037a05ea43d1d1a06b2fd757cc02a94f7c1a238f35cfc3dfd4ab78d0612790f3a3cca0292c77412a9c2c15c8f24b718f79a857e007e66f07e7cd
|
||||
hostdeps="automake"
|
||||
|
||||
prepare() {
|
||||
cd source
|
||||
cp -v $(find /usr/local/share/automake* -name config.sub) .
|
||||
cp config/mh-linux config/mh-unknown
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
name=lame
|
||||
version=3.100
|
||||
source_method=tarball
|
||||
tarball_url="https://downloads.sourceforge.net/lame/lame-${version}.tar.gz"
|
||||
tarball_sha512=0844b9eadb4aacf8000444621451277de365041cc1d97b7f7a589da0b7a23899310afd4e4d81114b9912aa97832621d20588034715573d417b2923948c08634b
|
||||
imagedeps="gettext"
|
||||
hostdeps="autoconf automake libtool pkgconfig libtool"
|
||||
|
||||
prepare() {
|
||||
ACLOCAL_PATH=/usr/share/aclocal autoreconf -fvi
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
name=lcms
|
||||
version=2.17
|
||||
source_method=tarball
|
||||
tarball_url="https://github.com/mm2/Little-CMS/releases/download/lcms${version}/lcms2-${version}.tar.gz"
|
||||
tarball_sha512=81885c70fb26a9b7d37a398f43ccb0d1d3ab8f43de7da8f760b26d053a0d7e0543e7d3b0cdcaf9b3b681a1b88f032134c5a3c1a6774a9abc66a8a3f10ba64398
|
||||
hostdeps="autoconf automake libtool pkgconfig libtool"
|
||||
|
||||
prepare() {
|
||||
autoreconf -fvi
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
name=libaom
|
||||
version=3.12.1
|
||||
source_method=tarball
|
||||
tarball_url=https://storage.googleapis.com/aom-releases/libaom-${version}.tar.gz
|
||||
tarball_sha512=27521fe1cffd89a8875552f1758de89c19a47aa1640ee20930ac420a03d964eb9ae10c4b0f55e518c37d4d59f06657aee2bfa84eedad35683648bd658e06da73
|
||||
@@ -0,0 +1,5 @@
|
||||
name=libavif
|
||||
version=1.3.0
|
||||
source_method=tarball
|
||||
tarball_url=https://github.com/AOMediaCodec/libavif/archive/v${version}/libavif-${version}.tar.gz
|
||||
tarball_sha512=a411579c851b7c46ddbd93c3549295e0901d822c817f5378b2c75b6a4f16eba1dffdf611bd1789dedeba776e701690a7437f9caeb9eb6dc382fc64935949dbf4
|
||||
@@ -0,0 +1,10 @@
|
||||
name=libidn2
|
||||
version=2.3.8
|
||||
source_method=tarball
|
||||
tarball_url="https://ftp.gnu.org/gnu/libidn/libidn2-${version}.tar.gz"
|
||||
tarball_sha512=4d8427c0f115268132f7544e80a808c883ab1406338f6c529b1a586b016d57aedb0857f66166eb8d9f37d70efc9dccf907b673b43b17bcf258c8797db1e829ce
|
||||
hostdeps="autoconf automake libtool pkgconfig libtool"
|
||||
|
||||
prepare() {
|
||||
autoreconf -fvi
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
name=libpsl
|
||||
version=0.21.5
|
||||
source_method=tarball
|
||||
tarball_url="https://github.com/rockdaboot/libpsl/releases/download/0.21.5/libpsl-0.21.5.tar.gz"
|
||||
tarball_sha512="c14d575cecc0f1693894dd79565b6b9220084ddfa43b908a1cefe16d147cdd5ec47796eb0c2135e2f829a951abaf39d8a371ab5c1352f57b36e610e25adf91f5"
|
||||
@@ -0,0 +1,5 @@
|
||||
name=libsecret
|
||||
version=0.21.7
|
||||
source_method=tarball
|
||||
tarball_url="https://download.gnome.org/sources/libsecret/0.21/libsecret-${version}.tar.xz"
|
||||
tarball_sha512="f5ee1244338ba324ae403096ddd7357899f55fa9f961d2473515ac924164fe9b33f87e39eea2a30b99fc32f2300c0e626d20c98509dbbcadb2c99628a1caa0e4"
|
||||
@@ -0,0 +1,5 @@
|
||||
name=libsoup
|
||||
version=3.6.5
|
||||
source_method=tarball
|
||||
tarball_url="https://download.gnome.org/sources/libsoup/3.6/libsoup-${version}.tar.xz"
|
||||
tarball_sha512="cb44d93b16048d31ae04a8c2416bbe233e0e9bdaf2d9bfe2879260fd3da27e90a0bb05cddbd82cdf81a4a778bd451ad172a14dd31e2fd113c3bbbe13c0029b03"
|
||||
@@ -0,0 +1,5 @@
|
||||
name=libtiff
|
||||
version=4.7.0
|
||||
source_method=tarball
|
||||
tarball_url=https://download.osgeo.org/libtiff/tiff-${version}.tar.gz
|
||||
tarball_sha512=a77a050d1d8777c6d86077c3c26e8d35f98717fe14bb3c049e2b82fbfbb374e96f83a0c1ff67ffb21591a9a7abf0d3e18c3d7695c96939326cc19a9712dd2492
|
||||
@@ -0,0 +1,10 @@
|
||||
name=libwebp
|
||||
version=1.6.0
|
||||
source_method=tarball
|
||||
tarball_url="https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-${version}.tar.gz"
|
||||
tarball_sha512=5c159d9760efcb92749092536daada22c0a73c20926c76097a5f0448ddbf874cf761324ca97925ca5f578b30477564b2b072b47667e504673797128b31cafcbf
|
||||
hostdeps="autoconf automake libtool pkgconfig libtool"
|
||||
|
||||
prepare() {
|
||||
autoreconf -fvi
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
name=libyaml
|
||||
version=0.2.5
|
||||
source_method=tarball
|
||||
tarball_url="https://github.com/yaml/libyaml/releases/download/${version}/yaml-${version}.tar.gz"
|
||||
tarball_sha512=dadd7d8e0d88b5ebab005e5d521d56d541580198aa497370966b98c904586e642a1cd4f3881094eb57624f218d50db77417bbfd0ffdce50340f011e35e8c4c02
|
||||
hostdeps="autoconf automake libtool pkgconfig libtool"
|
||||
|
||||
prepare() {
|
||||
autoreconf -fvi
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
name=mpg123
|
||||
version=1.33.2
|
||||
source_method=tarball
|
||||
tarball_url="https://downloads.sourceforge.net/mpg123/mpg123-${version}.tar.bz2"
|
||||
tarball_sha512=9e9a4d6433e9073470c4cee909dfbfcd4717b1f1534eefeee453870993967026155f913c12b6ca187fb96059e73d9184e71df8a62736b43092d3842b9814c980
|
||||
hostdeps="autoconf automake libtool pkgconfig libtool"
|
||||
|
||||
prepare() {
|
||||
autoreconf -fvi
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
name=nghttp2
|
||||
version=1.66.0
|
||||
source_method=tarball
|
||||
tarball_url="https://github.com/nghttp2/nghttp2/releases/download/v${version}/nghttp2-${version}.tar.xz"
|
||||
tarball_sha512=23b4cae2bbd4b3c11c50093e2fc14f3b08241bb6a85c38409e9a1a328b81ad51f107179493a0ce4c6a767b557cafeca9ba638c491095639dcfd9a2d95fa8b80d
|
||||
hostdeps="autoconf automake libtool pkgconfig libtool"
|
||||
|
||||
prepare() {
|
||||
autoreconf -fvi
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
name=openjpeg
|
||||
version=2.5.3
|
||||
source_method=tarball
|
||||
tarball_url=https://github.com/uclouvain/openjpeg/archive/v2.5.3/openjpeg-2.5.3.tar.gz
|
||||
tarball_sha512=22378f5c38c1eb8ade853716897201d8a253024638bdf94fd9851d6a456601071e705c797c5ffeeb6924be14d7356f9a67f15c2b99e96f7d27fc375a9d94505a
|
||||
@@ -0,0 +1,11 @@
|
||||
name=ruby
|
||||
version=3.4.5
|
||||
source_method=tarball
|
||||
tarball_url="https://cache.ruby-lang.org/pub/ruby/3.4/ruby-${version}.tar.xz"
|
||||
tarball_sha512=1f5d2fd527d15bd81ca8f49767d6426533367c1018a1d275d34721a96410b51204236173224e5198a42b56162c6e7a7b0c060fc032a9fd7f250b44e05c7af560
|
||||
hostdeps="autoconf automake libtool pkgconfig libtool"
|
||||
|
||||
prepare() {
|
||||
autoreconf -fvi
|
||||
cp -v $(find /usr/local/share/automake* -name config.sub) tool
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
name=sqlite
|
||||
version=3.50.4
|
||||
source_method=tarball
|
||||
tarball_url="https://sqlite.org/2025/sqlite-autoconf-3500400.tar.gz"
|
||||
tarball_sha512=5862fc81fc087fd7280d9c7a701f972c35288d9f1fee4863443c35201e8db43a642a5f0d6eb81f8d0637859303a38301b459ffd1c39cd8283e18cbc4ae413aa1
|
||||
hostdeps="autoconf automake libtool pkgconfig libtool"
|
||||
@@ -0,0 +1,10 @@
|
||||
name=vala
|
||||
version=0.56.18
|
||||
source_method=tarball
|
||||
tarball_url="https://download.gnome.org/sources/vala/0.56/vala-${version}.tar.xz"
|
||||
tarball_sha512=7ba820942ac40b54a62cbcd8a1d94d5add022b4a2c69e1276fc9fca38361d5878f3f852d270e0a5ef4bca6bd2df3a65f14b410c600b82a46da4123c90a3107e7
|
||||
hostdeps="autoconf automake libtool pkgconfig libtool"
|
||||
|
||||
prepare() {
|
||||
autoreconf -fvi
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
name=xdg-dbus-proxy
|
||||
version=0.1.6
|
||||
source_method=tarball
|
||||
tarball_url="https://github.com/flatpak/xdg-dbus-proxy/releases/download/${version}/xdg-dbus-proxy-${version}.tar.xz"
|
||||
tarball_sha512="9aeb3c00c8507b583954ba928171d7b373159a614eb9df15a4352d4b929d0c76d836b522cdc031e2f38a076ab5ec363441208e403a899aa9f0e58d703791ed2d"
|
||||
Reference in New Issue
Block a user