cmake/meson: Mass fix packages with broken debuginfo (#12822)

* cmake/debuginfo: Mass fix packages with broken debuginfo

* rtl_sdr: Fix trailing whitespace

* meson/debuginfo: Mass fix packages with broken debuginfo

* clean up conflicts

---------

Co-authored-by: Luc Schrijvers <begasus@gmail.com>
This commit is contained in:
Alexander von Gluck
2026-01-07 16:36:21 +00:00
committed by GitHub
parent 3dca187708
commit 47ea51f320
55 changed files with 111 additions and 240 deletions

View File

@@ -9,7 +9,7 @@ COPYRIGHT="2001-2003, 2006-2007 Sun Microsystems Inc.
2012-2018 ATK Team
2014 SUSE LLC."
LICENSE="GNU LGPL v2"
REVISION="3"
REVISION="4"
SOURCE_URI="https://ftp.gnome.org/pub/GNOME/sources/atk/${portVersion%.*}/atk-$portVersion.tar.xz"
CHECKSUM_SHA256="ac4de2a4ef4bd5665052952fe169657e65e895c5057dffb3c2a810f6191a0c36"
@@ -64,7 +64,7 @@ defineDebugInfoPackage atk$secondaryArchSuffix \
BUILD()
{
meson build . \
--buildtype=release \
--buildtype=debugoptimized \
--prefix=$prefix \
--libdir=$libDir \
--includedir=$includeDir \

View File

@@ -6,7 +6,7 @@ performance-critical applications."
HOMEPAGE="https://google.github.io/flatbuffers/"
COPYRIGHT="2014 Google Inc."
LICENSE="Apache v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/google/flatbuffers/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="4157c5cacdb59737c5d627e47ac26b140e9ee28b1102f812b36068aab728c1ed"
SOURCE_FILENAME="flatbuffers-$portVersion.tar.gz"
@@ -50,7 +50,7 @@ defineDebugInfoPackage flatbuffers$secondaryArchSuffix \
BUILD()
{
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
cmake -B build -S . -DCMAKE_BUILD_TYPE=RelWithDebInfo \
$cmakeDirArgs \
-DFLATBUFFERS_BUILD_SHAREDLIB=ON \
-DFLATBUFFERS_BUILD_FLATLIB=OFF \

View File

@@ -10,7 +10,7 @@ COPYRIGHT="2009-2012, 2016-2017 Eric Haszlakiewicz
2008-2009 Yahoo! Inc.
2016 Alexandru Ardelean"
LICENSE="MIT"
REVISION="3"
REVISION="4"
SOURCE_URI="https://s3.amazonaws.com/json-c_releases/releases/json-c-$portVersion.tar.gz"
CHECKSUM_SHA256="b8d80a1ddb718b3ba7492916237bbf86609e9709fb007e7f7d4322f02341a4c6"
SOURCE_DIR="json-c-$portVersion"
@@ -57,7 +57,7 @@ defineDebugInfoPackage json_c$secondaryArchSuffix \
BUILD()
{
cmake -Bbuild -DCMAKE_BUILD_TYPE=Release \
cmake -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo \
$cmakeDirArgs . \
-DENABLE_THREADING=ON \
-DENABLE_RDRAND=OFF \

View File

@@ -10,7 +10,7 @@ does not provide a server or command-line interface."
HOMEPAGE="http://leveldb.org/"
COPYRIGHT="2017 The LevelDB Authors"
LICENSE="BSD (3-clause)"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/google/leveldb/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="9a37f8a6174f09bd622bc723b55881dc541cd50747cbd08831c2a82d620f6d76"
SOURCE_FILENAME="leveldb-$portVersion.tar.gz"
@@ -62,7 +62,7 @@ BUILD()
{
mkdir -p build && cd build
cmake .. $cmakeDirArgs \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_SHARED_LIBS=1
make $jobArgs
}

View File

@@ -4,7 +4,7 @@ graphical user interfaces quickly and easily."
HOMEPAGE="https://pidgin.im/"
COPYRIGHT="2006-2021 libgnt contributors"
LICENSE="GNU GPL v2"
REVISION="2"
REVISION="3"
SOURCE_URI="http://downloads.sourceforge.net/project/pidgin/libgnt/$portVersion/libgnt-$portVersion.tar.xz"
CHECKSUM_SHA256="5ec3e68e18f956e9998d79088b299fa3bca689bcc95c86001bc5da17c1eb4bd8"
PATCHES="libgnt-$portVersion.patchset"
@@ -59,7 +59,7 @@ defineDebugInfoPackage libgnt$secondaryArchSuffix \
BUILD()
{
meson build --buildtype=release --prefix=$prefix \
meson build --buildtype=debugoptimized --prefix=$prefix \
--libdir=$libDir \
--includedir=$includeDir
ninja $jobargs -C build

View File

@@ -6,7 +6,7 @@ require only one extra byte in addition to the strings themselves."
HOMEPAGE="https://msgpack.org/"
COPYRIGHT="2008-2015 Furuhashi Sadayuki"
LICENSE="Boost v1.0"
REVISION="3"
REVISION="4"
SOURCE_URI="https://github.com/msgpack/msgpack-c/archive/cpp-$portVersion.tar.gz"
CHECKSUM_SHA256="ff865a36bad5c72b8e7ebc4b7cf5f27a820fce4faff9c571c1791e3728355a39"
SOURCE_DIR="msgpack-c-cpp-$portVersion"
@@ -68,7 +68,7 @@ PATCH()
BUILD()
{
cmake -Bbuild -S. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX="$prefix" \
-DCMAKE_INSTALL_LIBDIR="$libDir" \
-DBUILD_SHARED_LIBS=ON \

View File

@@ -4,7 +4,7 @@ package (AKA Minizip) using Trolltech's Qt library."
HOMEPAGE="https://github.com/stachenov/quazip"
COPYRIGHT="2005-2014 Sergey A. Tachenov"
LICENSE="GNU LGPL v2.1"
REVISION="2"
REVISION="3"
SOURCE_URI="https://github.com/stachenov/quazip/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="4fda4d4248e08015b5090d0369ef9e68bdc4475aa12494f7c0f6d79e43270d14"
SOURCE_FILENAME="quazip-$portVersion.tar.gz"
@@ -54,7 +54,7 @@ defineDebugInfoPackage quazip$secondaryArchSuffix \
BUILD()
{
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=RelWithDebInfo \
$cmakeDirArgs \
-DINSTALL_PATH=$libDir
make -C build $jobArgs