fix(vpkedit): Build release instead of debug (#5724) (#5729)

(cherry picked from commit 677918a772)

Signed-off-by: Gilver <rockgrub@disroot.org>
Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
Raboneko
2025-07-01 06:45:21 -07:00
committed by GitHub
parent 1fdb2492ac
commit e45a5b43ce
+4 -3
View File
@@ -1,6 +1,6 @@
Name: vpkedit
Version: 4.4.2
Release: 2%?dist
Release: 3%?dist
Summary: A CLI/GUI tool to create, read, and write several pack file formats
License: MIT
URL: https://github.com/craftablescience/VPKEdit
@@ -27,7 +27,8 @@ new VPKs.
%build
%cmake -DCMAKE_INSTALL_PREFIX=%_libdir/%name \
-DBUILD_SHARED_LIBS:BOOL=OFF
-DBUILD_SHARED_LIBS:BOOL=OFF \
-DCMAKE_BUILD_TYPE=Release
# -DVPKEDIT_BUILD_LIBC=ON
%cmake_build
@@ -35,7 +36,7 @@ new VPKs.
%install
%cmake_install
pushd %buildroot%_libdir/%name
rm -rf libQt*
rm -rf {libQt*,*.md,LICENSE}
popd
ln -sf %_libdir/vpkedit/vpkedit %buildroot%_bindir/vpkedit
ln -sf %_libdir/vpkedit/vpkeditcli %buildroot%_bindir/vpkeditcli