From dcb1afd8201ddd78975bb07af4149c81f9aab61e Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Fri, 21 Feb 2025 00:07:28 -0800 Subject: [PATCH] add: dotherside (#3471) (#3474) (cherry picked from commit 00099ccd08ac8f4842946931f9ee1299e79bf7ee) Co-authored-by: madomado --- anda/lib/dotherside/DOtherSide.spec | 39 +++++++++++++++++++++++++++++ anda/lib/dotherside/anda.hcl | 5 ++++ anda/lib/dotherside/update.rhai | 1 + 3 files changed, 45 insertions(+) create mode 100644 anda/lib/dotherside/DOtherSide.spec create mode 100644 anda/lib/dotherside/anda.hcl create mode 100644 anda/lib/dotherside/update.rhai diff --git a/anda/lib/dotherside/DOtherSide.spec b/anda/lib/dotherside/DOtherSide.spec new file mode 100644 index 0000000000..539cdf3de0 --- /dev/null +++ b/anda/lib/dotherside/DOtherSide.spec @@ -0,0 +1,39 @@ +Name: DOtherSide +Version: 0.9.0 +Release: 1%?dist +Summary: C language library for creating bindings for the Qt QML language +License: LGPL-3.0-only +URL: https://github.com/filcuc/DOtherSide +Source0: %url/archive/refs/tags/v%{version}.tar.gz +Provides: dotherside = %version-%release +BuildRequires: cmake make +BuildRequires: cmake(Qt6Core) +BuildRequires: cmake(Qt6Qml) +BuildRequires: cmake(Qt6Gui) +BuildRequires: cmake(Qt6Quick) +BuildRequires: cmake(Qt6QuickControls2) +BuildRequires: cmake(Qt6Widgets) + +%description +%summary. + +%prep +%autosetup -n dotherside-%version + +%build +%cmake +%cmake_build + +%install +%cmake_install + +mv %buildroot/usr/lib/ %buildroot%_libdir + +%files +%doc README.md +%license LICENSE +%_includedir/DOtherSide/DOtherSide.h +%_includedir/DOtherSide/DOtherSideTypes.h +%_libdir/libDOtherSide.so +%_libdir/libDOtherSide.so.%(echo "%version" | sed -E 's@\.[0-9]+$@@') +%_libdir/libDOtherSide.so.%version diff --git a/anda/lib/dotherside/anda.hcl b/anda/lib/dotherside/anda.hcl new file mode 100644 index 0000000000..c55c3b7811 --- /dev/null +++ b/anda/lib/dotherside/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "DOtherSide.spec" + } +} diff --git a/anda/lib/dotherside/update.rhai b/anda/lib/dotherside/update.rhai new file mode 100644 index 0000000000..af8f2a1d57 --- /dev/null +++ b/anda/lib/dotherside/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("filcuc/dotherside"));