Skip to content

Commit

Permalink
chore: build: use meson setup command
Browse files Browse the repository at this point in the history
  • Loading branch information
M0Rf30 committed Mar 30, 2024
1 parent 2f8654d commit fe57d43
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- run: pip install meson ninja
env:
CC: gcc
- run: meson builddir libs
- run: meson setup builddir libs
- run: meson configure -Dprefix=/usr builddir
- run: meson compile -C builddir
- uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ curl -sL "https://github.com/M0Rf30/cie-middleware-linux/releases/download/podof

tar xf libpodofo.tar.gz --directory=libs/lib

meson builddir libs
meson setup builddir libs
meson configure -Dprefix=/usr builddir
meson compile -C builddir
```
Expand Down
6 changes: 3 additions & 3 deletions packages/cie-middleware/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ build__pacman() {

cd "${srcdir}/${pkgname}-linux-${pkgver}"
gradle -b cie-java/build.gradle standalone
meson builddir libs
meson setup builddir libs
meson configure -Dprefix=/usr builddir
meson compile -C builddir
}
Expand All @@ -127,7 +127,7 @@ build__yum() {

cd "${srcdir}/${pkgname}-linux-${pkgver}"
../gradle-8.5/bin/gradle -b cie-java/build.gradle standalone
meson builddir libs
meson setup builddir libs
meson configure -Dprefix=/usr builddir
meson compile -C builddir
}
Expand All @@ -141,7 +141,7 @@ build__apt() {
cd "${srcdir}/${pkgname}-linux-${pkgver}"
../gradle-8.5/bin/gradle -b cie-java/build.gradle standalone

meson builddir libs
meson setup builddir libs
meson configure -Dprefix=/usr builddir
meson compile -C builddir
}
Expand Down

0 comments on commit fe57d43

Please sign in to comment.