New Templates (WIP): cpr, libloot, limo
This commit is contained in:
1 parent
89f433e2fd
commit
05cf11caaf
6 files changed
+82
No files matched your search
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
cpr
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
# Template file for 'cpr'
|
||||||
|
pkgname=cpr
|
||||||
|
version=1.15.1
|
||||||
|
revision=1
|
||||||
|
build_style=cmake
|
||||||
|
configure_args="-DBUILD_SHARED_LIBS=ON -DCPR_USE_SYSTEM_CURL=ON"
|
||||||
|
makedepends="libcurl-devel openssl-devel"
|
||||||
|
short_desc="C++ Requests HTTP client library"
|
||||||
|
maintainer="Juan Rojas <juandmcr@protonmail.com>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/libcpr/cpr"
|
||||||
|
distfiles="https://github.com/libcpr/cpr/archive/refs/tags/${version}.tar.gz"
|
||||||
|
checksum=c2fc62a030c4ca5d7c3517e8068531297f938bf4ab52bf951d4fc9bbc9222716
|
||||||
|
|
||||||
|
post_install() { vlicense LICENSE; }
|
||||||
|
|
||||||
|
cpr-devel_package() {
|
||||||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
short_desc+=" - development files"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include/cpr
|
||||||
|
vmove usr/lib/cmake/cpr
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
|
}
|
||||||
|
}
|
||||||
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
libloot
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
# Template file for 'libloot'
|
||||||
|
pkgname=libloot
|
||||||
|
version=0.29.7
|
||||||
|
revision=1
|
||||||
|
build_style=cmake
|
||||||
|
build_wrksrc=cpp
|
||||||
|
configure_args="-DLIBLOOT_BUILD_TESTS=OFF -DLIBLOOT_INSTALL_DOCS=OFF"
|
||||||
|
hostmakedepends="pkg-config cargo rust"
|
||||||
|
short_desc="Library providing LOOT metadata and sorting functionality"
|
||||||
|
maintainer="Juan Rojas <juandmcr@protonmail.com>"
|
||||||
|
license="GPL-3.0-or-later"
|
||||||
|
homepage="https://github.com/loot/libloot"
|
||||||
|
distfiles="https://github.com/loot/libloot/archive/refs/tags/${version}.tar.gz"
|
||||||
|
checksum=ed168a13ba42b353e6bb863f0b85f14295a951ec210b19ae8893b27c4681c7a6
|
||||||
|
|
||||||
|
libloot-devel_package() {
|
||||||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
short_desc+=" - development files"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
vmove usr/lib/cmake
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
diff --git a/src/core/lootdeployer.cpp b/src/core/lootdeployer.cpp
|
||||||
|
--- a/src/core/lootdeployer.cpp
|
||||||
|
+++ b/src/core/lootdeployer.cpp
|
||||||
|
@@ -186,7 +186,13 @@
|
||||||
|
sfs::path prelude_path(dest_path_ / "prelude.yaml");
|
||||||
|
if(!sfs::exists(prelude_path))
|
||||||
|
prelude_path = "";
|
||||||
|
- loot_handle->GetDatabase().LoadLists(master_list_path, user_list_path, prelude_path);
|
||||||
|
+ if(prelude_path.empty())
|
||||||
|
+ loot_handle->GetDatabase().LoadMasterlist(master_list_path);
|
||||||
|
+ else
|
||||||
|
+ loot_handle->GetDatabase().LoadMasterlistWithPrelude(master_list_path, prelude_path);
|
||||||
|
+ if(!user_list_path.empty())
|
||||||
|
+ loot_handle->GetDatabase().LoadUserlist(user_list_path);
|
||||||
|
if(progress_node)
|
||||||
|
(*progress_node)->child(1).advance();
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
# Template file for 'limo-src'
|
||||||
|
pkgname=limo-src
|
||||||
|
version=1.2.2
|
||||||
|
revision=1
|
||||||
|
build_style=cmake
|
||||||
|
configure_args="-DUSE_SYSTEM_LIBUNRAR=ON"
|
||||||
|
hostmakedepends="pkg-config"
|
||||||
|
makedepends="cpr-devel libarchive-devel jsoncpp-devel libloot-devel libunrar libunrar-devel openssl-devel pugixml-devel qt5-devel qt5-svg-devel liblz4-devel libzstd-devel zlib-devel libcurl-devel"
|
||||||
|
depends="qt5-svg"
|
||||||
|
short_desc="General-purpose mod manager with LOOT integration"
|
||||||
|
maintainer="Juan Rojas <juandmcr@protonmail.com>"
|
||||||
|
license="GPL-3.0-only"
|
||||||
|
homepage="https://github.com/limo-app/limo"
|
||||||
|
distfiles="https://github.com/limo-app/limo/archive/refs/tags/v${version}.tar.gz"
|
||||||
|
checksum=8014ed53e6cdfddab81ffe31416128ae7883ed314ea3354d89ecb03b19ebbbdd
|
||||||
Reference in new issue
Block a user