forked from ports/contrib
libnm: updated meson syntax
This commit is contained in:
parent
3e67ee3810
commit
53314ba162
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3wMGuiINq8h1t4/YVzWHMb6Y0n5YsWQmq1jQvNEE6KDPKueU7J3ABkNlXn+NA6c6UQSuTzinj46Puo3d0730cg4=
|
||||
SHA256 (Pkgfile) = 0d4ccd4c56f3aa2298f92e38049db99cfc520e992d138cbd1d3a213660b1abb0
|
||||
RWSagIOpLGJF37SV6wczSVk7AGmuYKDRBW7HlwcaM6f3rameNqzIFdee/mW9da735sJnzV+93SoEaKlCTUqPCdYSF2FFtu+8QAo=
|
||||
SHA256 (Pkgfile) = cfe5d889ab728e8cc77672ef242414fbd1d9d77ad9f96295976ca3ec5bfea58d
|
||||
SHA256 (.footprint) = 0357f62dbf79b6cd620b0c362a35ab0dc69de10a072c13b18b96469ebc3fa950
|
||||
SHA256 (NetworkManager-1.18.0.tar.xz) = c6e8df25e5a3c7309bc17664be8971689314884cdd08afdd6b0847d29d2a8ba6
|
||||
|
@ -9,18 +9,16 @@ release=1
|
||||
source=(https://ftp.gnome.org/pub/gnome/sources/NetworkManager/${version%.*}/NetworkManager-${version}.tar.xz)
|
||||
|
||||
build() {
|
||||
cd NetworkManager-$version
|
||||
|
||||
sed '/initrd/d' -i src/meson.build
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
sed '/initrd/d' -i NetworkManager-$version/src/meson.build
|
||||
|
||||
CXXFLAGS+="-O2 -fPIC" \
|
||||
meson --prefix /usr \
|
||||
meson setup NetworkManager-$version build \
|
||||
--prefix /usr \
|
||||
--sysconfdir /etc \
|
||||
--localstatedir /var \
|
||||
--libexecdir /usr/lib/networkmanager \
|
||||
--buildtype=plain \
|
||||
-Db_ndebug=true \
|
||||
-Ddbus_conf_dir=/usr/share/dbus-1/system.d \
|
||||
-Dudev_dir=/lib/udev \
|
||||
-Ddhcpcd=/sbin/dhcpcd \
|
||||
@ -54,11 +52,9 @@ build() {
|
||||
-Dovs=false \
|
||||
-Dmore_logging=false \
|
||||
-Dmore_asserts=0 \
|
||||
-Dlibpsl=false \
|
||||
..
|
||||
ninja
|
||||
mkdir $SRC/install
|
||||
DESTDIR=$SRC/install/ ninja install
|
||||
-Dlibpsl=false
|
||||
meson compile -C build
|
||||
DESTDIR=$SRC/install meson install -C build
|
||||
|
||||
install -d -m 0755 $PKG/usr/lib/pkgconfig
|
||||
cp -dr --no-preserve='ownership' $SRC/install/usr/lib/{libnm,libnm-glib,libnm-glib-vpn,libnm-util}.so* $PKG/usr/lib/
|
||||
|
Loading…
x
Reference in New Issue
Block a user