• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修訂dfdfbfbd5e2f3c6d9f71b0605107f44c64ec088a (tree)
時間2024-05-17 17:35:03
作者matsuand <30614168+matsuand@user...>
Commitermatsuand

Log Message

Add:
* PyYAML
* SPIRV-Headers
* SPIRV-Tools
* Vulkan-Header
* Vulkan-Loader
* attrs
* glslang
* libei
* msql
* portaudio
* time

Change Summary

差異

--- /dev/null
+++ b/BLFS/PyYAML.sh
@@ -0,0 +1,40 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=PyYAML
6+VER=6.0.1
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.gz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh ""
14+. $WRK/_checkOptions.sh ""
15+. $WRK/_checkTarball.sh
16+. $WRK/_checkExit.sh "$1" || exit $?
17+
18+cd $SRC
19+RemoveSrcDir
20+Extract
21+
22+TimeStart
23+
24+cd $TARGETDIR
25+
26+Making
27+pip3 wheel -w dist --no-build-isolation --no-deps $PWD \
28+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
29+
30+Installing
31+porg -lp $TARGET -E$PWD "\
32+pip3 install --no-index --find-links dist --no-cache-dir --no-user $APPNAME" \
33+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
34+
35+TimeEnd
36+
37+cd ..
38+RemoveSrcDir
39+PorgingDone
40+
--- /dev/null
+++ b/BLFS/SPIRV-Headers.sh
@@ -0,0 +1,48 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=SPIRV-Headers
6+VER=1.3.280.0
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.gz
9+TARGETDIR=$APPNAME-vulkan-sdk-$VER
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ cmake
15+. $WRK/_checkOptions.sh ""
16+. $WRK/_checkTarball.sh
17+. $WRK/_checkExit.sh "$1" || exit $?
18+
19+cd $SRC
20+RemoveSrcDir
21+Extract
22+
23+TimeStart
24+
25+cd $TARGETDIR
26+
27+mkdir build
28+cd build
29+
30+Configuring
31+cmake -DCMAKE_INSTALL_PREFIX=/usr -G Ninja .. \
32+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
33+
34+Making
35+ninja \
36+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
37+
38+Installing
39+porg -lp $TARGET "\
40+ninja install" \
41+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
42+
43+TimeEnd
44+
45+cd ../..
46+RemoveSrcDir
47+PorgingDone
48+
--- /dev/null
+++ b/BLFS/SPIRV-Tools.sh
@@ -0,0 +1,54 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=SPIRV-Tools
6+VER=1.3.280.0
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.gz
9+TARGETDIR=$APPNAME-vulkan-sdk-$VER
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ cmake SPIRV-Headers
15+. $WRK/_checkOptions.sh ""
16+. $WRK/_checkTarball.sh
17+. $WRK/_checkExit.sh "$1" || exit $?
18+
19+cd $SRC
20+RemoveSrcDir
21+Extract
22+
23+TimeStart
24+
25+cd $TARGETDIR
26+
27+mkdir build
28+cd build
29+
30+Configuring
31+cmake -DCMAKE_INSTALL_PREFIX=/usr \
32+ -DCMAKE_BUILD_TYPE=Release \
33+ -DSPIRV_WERROR=OFF \
34+ -DBUILD_SHARED_LIBS=ON \
35+ -DSPIRV_TOOLS_BUILD_STATIC=OFF \
36+ -DSPIRV-Headers_SOURCE_DIR=/usr \
37+ -G Ninja .. \
38+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
39+
40+Making
41+ninja \
42+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
43+
44+Installing
45+porg -lp $TARGET "\
46+ninja install" \
47+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
48+
49+TimeEnd
50+
51+cd ../..
52+RemoveSrcDir
53+PorgingDone
54+
--- /dev/null
+++ b/BLFS/Vulkan-Header.sh
@@ -0,0 +1,48 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=Vulkan-Headers
6+VER=1.3.281
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.gz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ cmake
15+. $WRK/_checkOptions.sh ""
16+. $WRK/_checkTarball.sh
17+. $WRK/_checkExit.sh "$1" || exit $?
18+
19+cd $SRC
20+RemoveSrcDir
21+Extract
22+
23+TimeStart
24+
25+cd $TARGETDIR
26+
27+mkdir build
28+cd build
29+
30+Configuring
31+cmake -DCMAKE_INSTALL_PREFIX=/usr -G Ninja .. \
32+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
33+
34+Making
35+ninja \
36+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
37+
38+Installing
39+porg -lp $TARGET -E$PWD "\
40+ninja install" \
41+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
42+
43+TimeEnd
44+
45+cd ../..
46+RemoveSrcDir
47+PorgingDone
48+
--- /dev/null
+++ b/BLFS/Vulkan-Loader.sh
@@ -0,0 +1,51 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=Vulkan-Loader
6+VER=1.3.281
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.gz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ cmake Vulkan-Headers wayland
15+. $WRK/_checkOptions.sh ""
16+. $WRK/_checkTarball.sh
17+. $WRK/_checkExit.sh "$1" || exit $?
18+
19+cd $SRC
20+RemoveSrcDir
21+Extract
22+
23+TimeStart
24+
25+cd $TARGETDIR
26+
27+mkdir build
28+cd build
29+
30+Configuring
31+cmake -DCMAKE_INSTALL_PREFIX=/usr \
32+ -DCMAKE_BUILD_TYPE=Release \
33+ -DCMAKE_SKIP_RPATH=TRUE \
34+ -G Ninja .. \
35+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
36+
37+Making
38+ninja \
39+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
40+
41+Installing
42+porg -lp $TARGET -E$PWD "\
43+ninja install" \
44+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
45+
46+TimeEnd
47+
48+cd ../..
49+RemoveSrcDir
50+PorgingDone
51+
--- /dev/null
+++ b/BLFS/attrs.sh
@@ -0,0 +1,40 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=attrs
6+VER=22.2.0
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.gz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh ""
14+. $WRK/_checkOptions.sh ""
15+. $WRK/_checkTarball.sh
16+. $WRK/_checkExit.sh "$1" || exit $?
17+
18+cd $SRC
19+RemoveSrcDir
20+Extract
21+
22+TimeStart
23+
24+cd $TARGETDIR
25+
26+Making
27+pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $PWD \
28+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
29+
30+Installing
31+porg -lp $TARGET -E$PWD "\
32+pip3 install --no-index --find-links=dist --no-cache-dir --no-user attrs" \
33+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
34+
35+TimeEnd
36+
37+cd ..
38+RemoveSrcDir
39+PorgingDone
40+
--- /dev/null
+++ b/BLFS/glslang.sh
@@ -0,0 +1,53 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=glslang
6+VER=14.1.0
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.gz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ cmake SPIRV-Tools
15+. $WRK/_checkOptions.sh ""
16+. $WRK/_checkTarball.sh
17+. $WRK/_checkExit.sh "$1" || exit $?
18+
19+cd $SRC
20+RemoveSrcDir
21+Extract
22+
23+TimeStart
24+
25+cd $TARGETDIR
26+
27+mkdir build
28+cd build
29+
30+Configuring
31+cmake -DCMAKE_INSTALL_PREFIX=/usr \
32+ -DCMAKE_BUILD_TYPE=Release \
33+ -DALLOW_EXTERNAL_SPIRV_TOOLS=ON \
34+ -DBUILD_SHARED_LIBS=ON \
35+ -DGLSLANG_TESTS=ON \
36+ -G Ninja .. \
37+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
38+
39+Making
40+ninja \
41+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
42+
43+Installing
44+porg -lp $TARGET -E$PWD "\
45+ninja install" \
46+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
47+
48+TimeEnd
49+
50+cd ../..
51+RemoveSrcDir
52+PorgingDone
53+
--- /dev/null
+++ b/BLFS/libei.sh
@@ -0,0 +1,48 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=libei
6+VER=1.2.1
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.gz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ attrs
15+. $WRK/_checkOptions.sh \
16+ libevdev libxkbcommon libxml2 munit
17+. $WRK/_checkTarball.sh
18+. $WRK/_checkExit.sh "$1" || exit $?
19+
20+cd $SRC
21+RemoveSrcDir
22+Extract
23+
24+TimeStart
25+
26+cd $TARGETDIR
27+
28+mkdir build
29+cd build
30+
31+Configuring
32+meson setup --prefix=/usr --buildtype=release -Dtests=disabled .. \
33+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
34+
35+Making
36+ninja \
37+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
38+
39+Installing
40+porg -lp $TARGET "ninja install" \
41+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
42+
43+TimeEnd
44+
45+cd ../..
46+RemoveSrcDir
47+PorgingDone
48+
--- /dev/null
+++ b/BLFS/msql.sh
@@ -0,0 +1,47 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=msql
6+VER=4.4
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.gz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh ""
14+. $WRK/_checkOptions.sh ""
15+. $WRK/_checkTarball.sh
16+. $WRK/_checkExit.sh "$1" || exit $?
17+
18+cd $SRC
19+RemoveSrcDir
20+Extract
21+
22+TimeStart
23+
24+cd $TARGETDIR
25+
26+echo Patching unofficlal...
27+patch -Np1 -i $DLD/$APPNAME-$VER.patch \
28+ 1> $LOG/$TARGET.0_patch.log 2>&1 || exit 1
29+
30+Configuring
31+./setup \
32+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
33+
34+Making
35+make -j1 all \
36+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
37+
38+Installing
39+porg -lp $TARGET -E$PWD "make install" \
40+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
41+
42+TimeEnd
43+
44+cd ..
45+RemoveSrcDir
46+PorgingDone
47+
--- /dev/null
+++ b/BLFS/portaudio.sh
@@ -0,0 +1,42 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+APPNAME=portaudio
5+VER=190700
6+TARGET=$APPNAME-$VER
7+TARGETBALL=$DLD/pa_stable_v${VER}_20210406.tgz
8+TARGETDIR=$APPNAME
9+
10+echo $TARGET
11+
12+. $WRK/_checkRequired.sh ""
13+. $WRK/_checkOptions.sh ""
14+. $WRK/_checkTarball.sh
15+. $WRK/_checkExit.sh "$1" || exit $?
16+
17+cd $SRC
18+RemoveSrcDir
19+Extract
20+
21+TimeStart
22+
23+cd $TARGETDIR
24+
25+Configuring
26+./configure --prefix=/usr \
27+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
28+
29+Making
30+make \
31+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
32+
33+Installing
34+porg -lp $TARGET -E$PWD "make install" \
35+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
36+
37+TimeEnd
38+
39+cd ..
40+RemoveSrcDir
41+PorgingDone
42+
--- /dev/null
+++ b/BLFS/time.sh
@@ -0,0 +1,43 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=time
6+VER=1.9
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.gz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh ""
14+. $WRK/_checkOptions.sh ""
15+. $WRK/_checkTarball.sh
16+. $WRK/_checkExit.sh "$1" || exit $?
17+
18+cd $SRC
19+RemoveSrcDir
20+Extract
21+
22+TimeStart
23+
24+cd $TARGETDIR
25+
26+Configuring
27+./configure --prefix=/usr \
28+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
29+
30+Making
31+make \
32+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
33+
34+Installing
35+porg -lp $TARGET -E$PWD "make install" \
36+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
37+
38+TimeEnd
39+
40+cd ..
41+RemoveSrcDir
42+PorgingDone
43+