Skip to content

Instantly share code, notes, and snippets.

# Only for cross building, 'os_build/arch_build' is the system that runs Conan
os_build: [Windows, WindowsStore, Linux, Macos, FreeBSD, SunOS, AIX, VxWorks]
arch_build: [x86, x86_64, ppc32be, ppc32, ppc64le, ppc64, armv5el, armv5hf, armv6, armv7, armv7hf, armv7s, armv7k, armv8, armv8_32, armv8.3, sparc, sparcv9, mips, mips64, avr, s390, s390x, sh4le, e2k-v2, e2k-v3, e2k-v4, e2k-v5, e2k-v6, e2k-v7]
# Only for building cross compilation tools, 'os_target/arch_target' is the system for
# which the tools generate code
os_target: [Windows, Linux, Macos, Android, iOS, watchOS, tvOS, FreeBSD, SunOS, AIX, Arduino, Neutrino]
arch_target: [x86, x86_64, ppc32be, ppc32, ppc64le, ppc64, armv5el, armv5hf, armv6, armv7, armv7hf, armv7s, armv7k, armv8, armv8_32, armv8.3, sparc, sparcv9, mips, mips64, avr, s390, s390x, asm.js, wasm, sh4le, e2k-v2, e2k-v3, e2k-v4, e2k-v5, e2k-v6, e2k-v7, xtensalx6, xtensalx106, xtensalx7]
@dismine
dismine / qbs-pkg-config-probe.patch
Created January 12, 2024 12:31
Patch for Qbs version 2.2.1
diff --git a/share/qbs/imports/qbs/Probes/qbs-pkg-config-probe.js b/share/qbs/imports/qbs/Probes/qbs-pkg-config-probe.js
index ed75a02..1fb3b26 100644
--- a/share/qbs/imports/qbs/Probes/qbs-pkg-config-probe.js
+++ b/share/qbs/imports/qbs/Probes/qbs-pkg-config-probe.js
@@ -87,7 +87,7 @@
result.packages = [];
result.packagesByModuleName = {};
result.brokenPackages = [];
- result.qtInfos = {};
+ result.qtInfos = [];
@dismine
dismine / Valentina.rb
Created November 16, 2020 06:36
Valentina Project Homebrew forumula
require 'formula'
class Valentina < Formula
head 'https://bitbucket.org/dismine/valentina/get/develop.zip'
homepage 'http://valentina-project.org'
# version "0.2.8"
depends_on 'qt5' => :build
depends_on 'ccache' => :build
depends_on 'xpdf' => :optional
@dismine
dismine / qt.rb
Last active May 2, 2021 15:31
Switch to Qt 5.8.
# Patches for Qt must be at the very least submitted to Qt's Gerrit codereview
# rather than their bug-report Jira. The latter is rarely reviewed by Qt.
class Qt < Formula
desc "Cross-platform application and UI framework"
homepage "https://www.qt.io/"
revision 2
head "https://code.qt.io/qt/qt5.git", :branch => "5.8", :shallow => false
stable do
url "https://download.qt.io/official_releases/qt/5.8/5.8.0/single/qt-everywhere-opensource-src-5.8.0.tar.xz"