mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 23:18:21 +00:00
ports: many new ports
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
name=gettext
|
||||
revision=1
|
||||
from_source=gettext
|
||||
imagedeps="base-devel"
|
||||
hostdeps="xgcc xbinutils autoconf automake pkgconfig libtool"
|
||||
deps="mlibc libiconv"
|
||||
|
||||
build() {
|
||||
cp -rp ${source_dir}/* .
|
||||
|
||||
ACLOCAL=true AUTCONF=true AUTOMAKE=true AUTOHEADER=true ./configure --host=x86_64-astral --prefix=${prefix} --disable-static
|
||||
make -j ${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
|
||||
rm -f ${dest_dir}/${prefix}/include/libintl.h
|
||||
rm -f ${dest_dir}/${prefix}/lib/libintl.so*
|
||||
rm -f ${dest_dir}/${prefix}/share/locale/locale.alias
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
name=glib
|
||||
revision=1
|
||||
from_source=glib
|
||||
imagedeps="gcc meson ninja"
|
||||
hostdeps="xgcc xbinutils pkgconfig automake autoconf util-macros libtool"
|
||||
deps="mlibc libiconv pcre2 libffi libintl"
|
||||
|
||||
build() {
|
||||
meson --cross-file ${base_dir}/util/crossfile --prefix=${prefix} --buildtype=release -Dxattr=false ${source_dir}
|
||||
ninja -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR=${dest_dir} ninja install
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
name=install-astral
|
||||
revision=1
|
||||
from_source=install-astral
|
||||
imagedeps="base-devel"
|
||||
hostdeps="xbinutils xgcc"
|
||||
deps="mlibc"
|
||||
|
||||
build() {
|
||||
make -C ${source_dir} -j ${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make -C ${source_dir} install DESTDIR=${dest_dir}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
name=libffi
|
||||
revision=1
|
||||
from_source=libffi
|
||||
imagedeps="base-devel"
|
||||
hostdeps="xgcc xbinutils autoconf automake pkgconfig libtool"
|
||||
deps="mlibc ncurses"
|
||||
|
||||
build() {
|
||||
${source_dir}/configure --host=x86_64-astral --prefix=${prefix} --disable-static --enable-shared
|
||||
make -j ${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
name=libiconv
|
||||
revision=1
|
||||
from_source=libiconv
|
||||
imagedeps="base-devel"
|
||||
hostdeps="xgcc xbinutils libstdc++-v3"
|
||||
deps="mlibc"
|
||||
|
||||
build() {
|
||||
${source_dir}/configure --host=x86_64-astral --prefix=${prefix}
|
||||
make -j ${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
name=libintl
|
||||
revision=1
|
||||
from_source=gettext
|
||||
imagedeps="base-devel"
|
||||
hostdeps="xgcc xbinutils libstdc++-v3 automake autoconf pkgconfig libtool"
|
||||
deps="mlibc"
|
||||
|
||||
build() {
|
||||
cp -rp ${source_dir}/* .
|
||||
|
||||
ACLOCAL=true AUTCONF=true AUTOMAKE=true AUTOHEADER=true ./configure \
|
||||
--host=x86_64-astral --prefix=${prefix} --without-emacs --without-lispdir --enable-nls --with-included-gettext --disable-c++ --disable-libasprintf --disable-java --enable-threads=posix --disable-curses --without-git --without-cvs --without-bzip2 --without-xz --disable-static
|
||||
sed -i 's/touch $@//g' gettext-runtime/intl/Makefile
|
||||
make -C gettext-runtime/intl -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install -C gettext-runtime/intl DESTDIR=${dest_dir}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
name=qemu
|
||||
revision=1
|
||||
from_source=qemu
|
||||
imagedeps="base-devel python-sphinx ninja meson git"
|
||||
hostdeps="xgcc xbinutils pkgconfig libtool"
|
||||
deps="mlibc sdl2 glib libiconv libintl"
|
||||
allow_network="yes"
|
||||
|
||||
build() {
|
||||
cp -rp ${source_dir}/* .
|
||||
./configure --cross-prefix=x86_64-astral- --host=x86_64-astral --prefix=${prefix} --target-list=x86_64-softmmu,i386-softmmu,aarch64-softmmu --with-coroutine=sigaltstack
|
||||
cd build
|
||||
ninja -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
DESTDIR=${dest_dir} ninja install
|
||||
}
|
||||
+1
-1
@@ -3,7 +3,7 @@ revision=1
|
||||
from_source=sdl2
|
||||
imagedeps="meson ninja base-devel"
|
||||
hostdeps="xgcc xbinutils pkgconfig cmake libstdc++-v3"
|
||||
deps="mlibc libx11 libxext libxcursor libxinerama libxi libxfixes libxrandr libxrender libxxf86vm mesa"
|
||||
deps="mlibc libx11 libxext libxcursor libxinerama libxi libxfixes libxrandr libxrender libxxf86vm mesa libiconv"
|
||||
|
||||
build() {
|
||||
cmake \
|
||||
|
||||
Reference in New Issue
Block a user