mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 23:18:21 +00:00
jinx: a BUNCH of ports related to xorg and the build system
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
name=fontutil
|
||||
revision=1
|
||||
from_source=fontutil
|
||||
imagedeps="gcc"
|
||||
hostdeps="gcc-cross binutils-cross pkgconfig util-macros xorgproto"
|
||||
|
||||
configure() {
|
||||
|
||||
${source_dir}/configure --prefix=${prefix}
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
make -j${parallelism}
|
||||
|
||||
}
|
||||
|
||||
install() {
|
||||
|
||||
make install DESTDIR=${dest_dir}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
name=libtool
|
||||
revision=1
|
||||
from_source=libtool
|
||||
imagedeps="base-devel help2man"
|
||||
|
||||
|
||||
configure() {
|
||||
|
||||
${source_dir}/configure --prefix=${prefix}
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
make -j${parallelism}
|
||||
|
||||
}
|
||||
|
||||
install() {
|
||||
|
||||
make install DESTDIR="${dest_dir}"
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
name=pkgconfig
|
||||
revision=1
|
||||
from_source=pkgconfig
|
||||
imagedeps="gcc base-devel"
|
||||
|
||||
|
||||
configure() {
|
||||
|
||||
${source_dir}/configure --prefix=${prefix}
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
make -j${parallelism}
|
||||
|
||||
}
|
||||
|
||||
install() {
|
||||
|
||||
make install DESTDIR="${dest_dir}"
|
||||
mkdir -p ${dest_dir}${prefix}/share/pkgconfig/personality.d
|
||||
|
||||
cat > ${dest_dir}${prefix}/share/pkgconfig/personality.d/x86_64-astral.personality << EOF
|
||||
Triplet: x86_64-astral
|
||||
SysrootDir: ${sysroot_dir}
|
||||
DefaultSearchPaths: ${sysroot_dir}/usr/lib/pkgconfig:${sysroot_dir}/usr/share/pkgconfig
|
||||
SystemIncludePaths: ${sysroot_dir}/usr/include
|
||||
SystemLibraryPaths: ${sysroot_dir}/usr/lib
|
||||
EOF
|
||||
|
||||
ln -s pkgconf ${dest_dir}${prefix}/bin/x86_64-astral-pkg-config
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
name=util-macros
|
||||
revision=1
|
||||
from_source=util-macros
|
||||
imagedeps="base-devel"
|
||||
hostdeps="gcc-cross binutils-cross pkgconfig"
|
||||
deps="mlibc"
|
||||
|
||||
configure() {
|
||||
|
||||
${source_dir}/configure --host=x86_64-astral --prefix=${prefix}
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
make -j ${parallelism}
|
||||
|
||||
}
|
||||
|
||||
install() {
|
||||
|
||||
make install DESTDIR=${dest_dir}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
name=xorgproto
|
||||
revision=1
|
||||
from_source=xorgproto
|
||||
imagedeps="meson ninja gcc"
|
||||
hostdeps="gcc-cross binutils-cross pkgconfig"
|
||||
|
||||
configure() {
|
||||
|
||||
meson --prefix=${prefix} -Dlegacy=true ${source_dir}
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
ninja
|
||||
|
||||
}
|
||||
|
||||
install() {
|
||||
|
||||
DESTDIR=${dest_dir} ninja install
|
||||
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
name=xtrans
|
||||
revision=1
|
||||
from_source=xtrans
|
||||
imagedeps="meson ninja gcc"
|
||||
hostdeps="gcc-cross binutils-cross pkgconfig"
|
||||
deps="mlibc"
|
||||
|
||||
configure() {
|
||||
|
||||
${source_dir}/configure --prefix=${prefix}
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
make -j${parallelism}
|
||||
|
||||
}
|
||||
|
||||
install() {
|
||||
|
||||
DESTDIR=${dest_dir} make install
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user