Skip to content

Commit 2190362

Browse files
committed
Enable shared for yamlcpp and add depends
1 parent de8270c commit 2190362

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

calamares

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ cd /pkgs
4040

4141

4242

43-
sudo echo "kconfig kcoreaddons ki18n kiconthemes kpmcore kio qt6 repochooser git" > /pkgs/$PACKAGE/depends
43+
sudo echo "yamlcpp kconfig kcoreaddons ki18n kiconthemes kpmcore kio qt6 repochooser git" > /pkgs/$PACKAGE/depends
4444
sudo echo "kf6 cmake git" > /pkgs/$PACKAGE/make-depends
4545
sudo tar -cvzpf $PACKAGE.tar.xz $PACKAGE
4646
sudo cp $PACKAGE.tar.xz /finished

gvfs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ mkdir build &&
2424
cd build &&
2525

2626

27-
meson --prefix=/usr \
27+
meson setup --prefix=/usr \
2828
--buildtype=release \
2929
-Dfuse=true \
3030
-Dgphoto2=false \

yamlcpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ PKG_VER=0.8.0
77
URL=https://github.com/jbeder/yaml-cpp/archive/refs/tags/$PKG_VER.tar.gz
88
TAR=$(echo $URL | sed -r 's|(.*)/||')
99
DIR=yaml-cpp-$PKG_VER
10-
PACKAGE=$(echo $DIR | sed 's|-[^-]*$||g')
10+
PACKAGE=yamlcpp
1111

1212
# Get Package
1313

@@ -19,7 +19,7 @@ cd $DIR
1919
# Build
2020
mkdir build
2121
cd build
22-
cmake -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev ..
22+
cmake -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev -DBUILD_SHARED_LIBS=ON -DYAML_BUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release ..
2323

2424

2525
make -j22

0 commit comments

Comments
 (0)