Skip to content

Commit

Permalink
add: /
Browse files Browse the repository at this point in the history
  • Loading branch information
Xdavius committed Sep 2, 2024
1 parent 00cc7dd commit a93e119
Show file tree
Hide file tree
Showing 7 changed files with 134 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ mdbook-linkcheck
megabasterd-bin
megasync-deb
meson-focal-deb
meson-git
micro
microsoft-edge-beta-deb
microsoft-edge-dev-deb
Expand Down
27 changes: 27 additions & 0 deletions packages/meson-git/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
pkgbase = meson-git
gives = meson
pkgver = 1.5
pkgdesc = SCons-like build system that use python as a front-end language and Ninja as a building backend with debian-meson forked from arch-meson
url = http://mesonbuild.com/
arch = any
depends = python3
depends = ninja-build
makedepends = git
makedepends = python3-build
makedepends = python3-installer
makedepends = python3-setuptools
makedepends = python3-wheel
makedepends = ninja-build
makedepends = python3-tqdm
makedepends = python3-typing-extensions
maintainer = xdavius <[email protected]>
source = git+https://github.com/mesonbuild/meson
source = debian-meson
source = cross-lib32
source = native-clang
sha256sums = SKIP
sha256sums = 068e89ba65b42b852f9760a518c2a5bcda0ff261e5eb3f2b058f721908f10821
sha256sums = 2458de83270d35bc9c5104a622c595030305c9093e74cbd415a91754db2228c9
sha256sums = a1fa7d0c3113776337a7e875a35d7cf625000d98024ad4537af23f719c50bfa4

pkgname = meson-git
19 changes: 19 additions & 0 deletions packages/meson-git/cross-lib32
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[binaries]
c = ['gcc', '-m32']
cpp = ['g++', '-m32']
rust = ['rustc', '--target', 'i686-unknown-linux-gnu']
pkgconfig = 'i686-pc-linux-gnu-pkg-config'
cups-config = 'cups-config'
llvm-config = 'llvm-config32'
strip = 'strip'

[built-in options]
libdir = 'lib/i386-linux-gnu'

[host_machine]
system = 'linux'
subsystem = 'linux'
kernel = 'linux'
cpu_family = 'x86'
cpu = 'i686'
endian = 'little'
13 changes: 13 additions & 0 deletions packages/meson-git/debian-meson
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash -ex
# Highly opinionated wrapper for Debian/Ubuntu Linux packaging

exec meson setup \
--prefix /usr \
--libexecdir lib/x86_64-linux-gnu \
--sbindir sbin \
--buildtype plain \
--auto-features enabled \
--wrap-mode nodownload \
-D b_pie=true \
-D python.bytecompile=1 \
"$@"
40 changes: 40 additions & 0 deletions packages/meson-git/meson-git.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
pkgname="meson-git"
gives="meson"
pkgver="1.5"
pkgdesc="SCons-like build system that use python as a front-end language and Ninja as a building backend with debian-meson forked from arch-meson"
arch=(any)
url='http://mesonbuild.com/'
depends=("python3" "ninja-build")
makedepends=(
"git"
"python3-build"
"python3-installer"
"python3-setuptools"
"python3-wheel"
"ninja-build"
"python3-tqdm"
"python3-typing-extensions"
)

source=("git+https://github.com/mesonbuild/meson"
"debian-meson"
"cross-lib32"
"native-clang")
sha256sums=("SKIP"
"068e89ba65b42b852f9760a518c2a5bcda0ff261e5eb3f2b058f721908f10821"
"2458de83270d35bc9c5104a622c595030305c9093e74cbd415a91754db2228c9"
"a1fa7d0c3113776337a7e875a35d7cf625000d98024ad4537af23f719c50bfa4")
maintainer=("xdavius <[email protected]>")

package() {
cd "${srcdir}/${pkgname%-git}"
python3 setup.py install --root="${pkgdir}" --optimize=1
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
for _f in data/syntax-highlighting/vim/*/*; do
install -Dt "${pkgdir}/usr/share/vim/vimfiles/$(basename "$(dirname "${_f}")")" -m644 "${_f}"
done
install -Dt "${pkgdir}/usr/share/zsh/site-functions" -m644 data/shell-completions/zsh/*
install -Dm755 ../debian-meson -t "${pkgdir}/usr/bin"
install -Dm644 ../cross-lib32 "${pkgdir}/usr/share/meson/cross/lib32"
install -Dm644 ../native-clang "${pkgdir}/usr/share/meson/native/clang"
}
6 changes: 6 additions & 0 deletions packages/meson-git/native-clang
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[binaries]
c = 'clang'
cpp = 'clang++'
c_ld = 'lld'
cpp_ld = 'lld'
rust_ld = 'clang'
28 changes: 28 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -5989,6 +5989,34 @@ pkgbase = meson-focal-deb

pkgname = meson-focal-deb
---
pkgbase = meson-git
gives = meson
pkgver = 1.5
pkgdesc = SCons-like build system that use python as a front-end language and Ninja as a building backend with debian-meson forked from arch-meson
url = http://mesonbuild.com/
arch = any
depends = python3
depends = ninja-build
makedepends = git
makedepends = python3-build
makedepends = python3-installer
makedepends = python3-setuptools
makedepends = python3-wheel
makedepends = ninja-build
makedepends = python3-tqdm
makedepends = python3-typing-extensions
maintainer = xdavius <[email protected]>
source = git+https://github.com/mesonbuild/meson
source = debian-meson
source = cross-lib32
source = native-clang
sha256sums = SKIP
sha256sums = 068e89ba65b42b852f9760a518c2a5bcda0ff261e5eb3f2b058f721908f10821
sha256sums = 2458de83270d35bc9c5104a622c595030305c9093e74cbd415a91754db2228c9
sha256sums = a1fa7d0c3113776337a7e875a35d7cf625000d98024ad4537af23f719c50bfa4

pkgname = meson-git
---
pkgbase = micro
pkgver = 2.0.13
pkgdesc = A modern and intuitive terminal-based text editor
Expand Down

0 comments on commit a93e119

Please sign in to comment.