mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
ports: xinit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
diff --git xinit-clean/startx.in xinit-workdir/startx.in
|
||||
index 9b224af..6c69eab 100644
|
||||
--- xinit-clean/startx.in
|
||||
+++ xinit-workdir/startx.in
|
||||
@@ -267,7 +267,7 @@ if [ "$enable_xauth" = 1 ] ; then
|
||||
hostname="$(uname -n)"
|
||||
|
||||
authdisplay=${display:-:0}
|
||||
- if [ -n "$has_cookie_maker" ] && [ -n "$mk_cookie" ] ; then
|
||||
+ if [ -n "$has_cookie_maker" ] && [ -n "$mk_cookie" ] && command -v "$mk_cookie" >/dev/null 2>&1 ; then
|
||||
mcookie=$($mk_cookie)
|
||||
else
|
||||
if [ -r /dev/urandom ]; then
|
||||
@@ -0,0 +1,18 @@
|
||||
name=xinit
|
||||
revision=1
|
||||
from_source=xinit
|
||||
imagedeps="gcc"
|
||||
hostdeps="xgcc xbinutils pkgconfig"
|
||||
deps="base xorg-server xauth xclock xrdb xmodmap xterm twm"
|
||||
|
||||
configure() {
|
||||
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --with-xinitdir=${prefix}/lib/X11/xinit
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR=${dest_dir} install
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
name=xinit
|
||||
version=1.4.4
|
||||
source_method=tarball
|
||||
tarball_url="https://www.x.org/releases/individual/app/xinit-${version}.tar.xz"
|
||||
tarball_sha512="387285c952bbe074d2ed2dbbf745d1634763bb71f7f7edb22b3306b9e96ae4e28e59ecd6c48cc646b12dbdbcc68d42036bd127da75ef3c16fabdae87794ad6d1"
|
||||
hostdeps="autoconf automake util-macros pkgconfig libtool"
|
||||
prepare() {
|
||||
autoreconf -fvi
|
||||
}
|
||||
Reference in New Issue
Block a user