diff --git a/common/shlibs b/common/shlibs index 5b2a988e66912d..ff6593a6c708dc 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4016,6 +4016,10 @@ libportal-gtk4.so.1 libportal-gtk4-0.6_1 libportal-qt6.so.1 libportal-qt6-0.9.1_3 libvips.so.42 libvips-8.9.2_1 libvips-cpp.so.42 libvips-8.9.2_1 +libportal-qt5.so.1 libportal-qt5-0.7.1_1 +libvips.so.42 libvips-8.15.4_1 +libvips-cpp.so.42 libvips-8.15.4_1 +libvips-cpp.so.42.8.15.4 libvips-8.15.4_1 libselinux.so.1 libselinux-3.0_1 libsepol.so.1 libsepol-3.0_1 libfrrcares.so.0 libfrr-7.3.1_1 diff --git a/srcpkgs/CLI11/template b/srcpkgs/CLI11/template new file mode 100644 index 00000000000000..600c81976b44ca --- /dev/null +++ b/srcpkgs/CLI11/template @@ -0,0 +1,22 @@ +# Template file for 'CLI11' +pkgname=CLI11 +version=2.4.2 +revision=1 +build_style=cmake +configure_args="-DCLI11_BUILD_EXAMPLES=OFF" +checkdepends="catch2" +short_desc="Command line parser for C++11 and beyond" +maintainer="Marcin Puc " +license="BSD-3-Clause" +homepage="https://github.com/CLIUtils/CLI11" +changelog="https://raw.githubusercontent.com/CLIUtils/CLI11/main/CHANGELOG.md" +distfiles="https://github.com/CLIUtils/CLI11/archive/refs/tags/v${version}.tar.gz" +checksum=f2d893a65c3b1324c50d4e682c0cdc021dd0477ae2c048544f39eed6654b699a + +if [ -z "${XBPS_CHECK_PKGS}" ]; then + configure_args+=" -DCLI11_BUILD_TESTS=OFF" +fi + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/bruno/template b/srcpkgs/bruno/template new file mode 100644 index 00000000000000..501091b54f5e37 --- /dev/null +++ b/srcpkgs/bruno/template @@ -0,0 +1,44 @@ +# Template file for 'bruno' +pkgname=bruno +version=2.6.1 +revision=1 +archs="x86_64" +hostmakedepends="n python3 python3-distutils-extra" +short_desc="Fast and Git-Friendly Opensource API client" +maintainer="Wragdan <17775924+Wragdan@users.noreply.github.com>" +license="MIT" +homepage="https://www.usebruno.com/" +changelog="https://www.usebruno.com/changelog" +distfiles="https://github.com/usebruno/bruno/archive/refs/tags/v${version}.tar.gz" +checksum=86f216a3e790dd0a475b8b54de849790fcfe3744caaee4048205a8e38e39f42f + +do_build() { + # using node 20 + n 20 + + # dependencies + npm run setup + + # node gyp dependencies + npm install node-addon-api + + # actual bruno + npm run build:web + npm run build:electron +} + +do_install() { + TARGET_PATH="opt/${pkgname}" + + vlicense license.md + + vmkdir ${TARGET_PATH} + vcopy packages/bruno-electron/out/linux-unpacked/* ${TARGET_PATH} + + + vinstall assets/images/logo.png 644 usr/share/pixmaps bruno.png + + vmkdir usr/bin + ln -sf /${TARGET_PATH}/bruno ${DESTDIR}/usr/bin/${pkgname} + chmod 0755 ${DESTDIR}/${TARGET_PATH}/bruno +} diff --git a/srcpkgs/dwm-wragdan/template b/srcpkgs/dwm-wragdan/template new file mode 100644 index 00000000000000..29812c89cec956 --- /dev/null +++ b/srcpkgs/dwm-wragdan/template @@ -0,0 +1,23 @@ +# Template file for 'dwm' +pkgname=dwm-wragdan +version=6.5 +revision=10 +makedepends="libXinerama-devel libXft-devel freetype-devel" +short_desc="Dynamic window manager for X" +maintainer="Wragdan <17775924+Wragdan@users.noreply.github.com>" +license="MIT" +homepage="https://dwm.suckless.org" +distfiles="https://github.com/Wragdan/dwm/archive/refs/heads/main.tar.gz" +checksum=9dcd09737b6ce5ada1dd2d17a2a128880d0c8676cdf13eb97a02152872bed996 + +do_build() { + [ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h + vsed -e "/CFLAGS/s|\${CPPFLAGS}|& $CFLAGS|g" -i config.mk + make CC=$CC INCS="-I. -I${XBPS_CROSS_BASE}/usr/include/freetype2" LIBS="-lX11 -lXinerama -lXft -lfontconfig" +} + +do_install() { + make PREFIX=/usr DESTDIR=$DESTDIR install + vinstall README 644 usr/share/doc/$pkgname + vlicense LICENSE +} diff --git a/srcpkgs/dwmblocks-wragdan/template b/srcpkgs/dwmblocks-wragdan/template new file mode 100644 index 00000000000000..70a20e2502e38f --- /dev/null +++ b/srcpkgs/dwmblocks-wragdan/template @@ -0,0 +1,20 @@ +# Template file for 'dwmblocks-wragdan' +pkgname=dwmblocks-wragdan +version=0.0 +revision=1 +makedepends="libX11-devel" +short_desc="Modular status bar for dwm written in c." +maintainer="Wragdan <17775924+Wragdan@users.noreply.github.com>" +license="MIT" +homepage="https://github.com/Wragdan/dwmblocks" +distfiles="https://github.com/Wragdan/dwmblocks/archive/refs/heads/main.tar.gz" +checksum=e8b0547ffeb464ea8f002d4a8ec10ff00117396241a069688a1b25afc08f7f34 + +do_build() { + make CC=$CC +} + +do_install() { + make PREFIX=/usr DESTDIR=$DESTDIR install + vlicense LICENSE +} diff --git a/srcpkgs/fnm/template b/srcpkgs/fnm/template new file mode 100644 index 00000000000000..b1e2b97f4abaeb --- /dev/null +++ b/srcpkgs/fnm/template @@ -0,0 +1,15 @@ +# Template file for 'fnm' +pkgname=fnm +version=1.38.1 +revision=1 +build_style=cargo +hostmakedepends="pkg-config" +makedepends="libzstd-devel" +depends="" +short_desc="Fast and simple Node.js version manager, built in Rust" +maintainer="Wragdan <17775924+Wragdan@users.noreply.github.com>" +license="GPL-3.0-or-later" +homepage="https://github.com/Schniz/fnm" +#changelog="" +distfiles="https://github.com/Schniz/fnm/archive/refs/tags/v${version}.tar.gz" +checksum=c24e4c26183a4d88a33e343902ed2d45da23e78c66b2a696a7420eb86deddda9 diff --git a/srcpkgs/pulumi/template b/srcpkgs/pulumi/template new file mode 100644 index 00000000000000..c16c6631d2e769 --- /dev/null +++ b/srcpkgs/pulumi/template @@ -0,0 +1,38 @@ +# Template file for 'pulumi' +pkgname=pulumi +version=3.190.0 +revision=1 +build_style=fetch +short_desc="The pulumi cli" +maintainer="Wragdan <17775924+Wragdan@users.noreply.github.com>" +license="Apache-2.0" +homepage="https://www.pulumi.com" +distfiles="https://get.pulumi.com/releases/sdk/${pkgname}-v${version}-linux-x64.tar.gz" +checksum=a8cda5a0fd20f433e8ced3116bd5f26080a6481194dd20daa6a9b64390857b50 + +do_install() { + TARGET_PATH="opt/${pkgname}" + + vmkdir ${TARGET_PATH} + + bsdtar -xf ${pkgname}-v${version}-linux-x64.tar.gz + vcopy pulumi/pulumi ${TARGET_PATH} + vcopy pulumi/pulumi-analyzer-policy ${TARGET_PATH} + vcopy pulumi/pulumi-language-nodejs ${TARGET_PATH} + vcopy pulumi/pulumi-resource-pulumi-nodejs ${TARGET_PATH} + vcopy pulumi/pulumi-watch ${TARGET_PATH} + + vmkdir usr/bin + + ln -sf /${TARGET_PATH}/pulumi ${DESTDIR}/usr/bin/pulumi + ln -sf /${TARGET_PATH}/pulumi-analyzer-policy ${DESTDIR}/usr/bin/pulumi-analyzer-policy + ln -sf /${TARGET_PATH}/pulumi-language-nodejs ${DESTDIR}/usr/bin/pulumi-language-nodejs + ln -sf /${TARGET_PATH}/pulumi-resource-pulumi-nodejs ${DESTDIR}/usr/bin/pulumi-resource-pulumi-nodejs + ln -sf /${TARGET_PATH}/pulumi-watch ${DESTDIR}/usr/bin/pulumi-watch + + chmod 0755 ${DESTDIR}/${TARGET_PATH}/pulumi + chmod 0755 ${DESTDIR}/${TARGET_PATH}/pulumi-analyzer-policy + chmod 0755 ${DESTDIR}/${TARGET_PATH}/pulumi-language-nodejs + chmod 0755 ${DESTDIR}/${TARGET_PATH}/pulumi-resource-pulumi-nodejs + chmod 0755 ${DESTDIR}/${TARGET_PATH}/pulumi-watch +} diff --git a/srcpkgs/st-wragdan-terminfo b/srcpkgs/st-wragdan-terminfo new file mode 120000 index 00000000000000..3b5439b121da33 --- /dev/null +++ b/srcpkgs/st-wragdan-terminfo @@ -0,0 +1 @@ +st-wragdan \ No newline at end of file diff --git a/srcpkgs/st-wragdan/template b/srcpkgs/st-wragdan/template new file mode 100644 index 00000000000000..ddb8750808262f --- /dev/null +++ b/srcpkgs/st-wragdan/template @@ -0,0 +1,37 @@ +# Template file for 'st' +pkgname=st-wragdan +version=0.9.2 +revision=1 +build_style=gnu-makefile +make_use_env=compliant +hostmakedepends="pkg-config" +makedepends="fontconfig-devel libX11-devel libXft-devel harfbuzz-devel" +depends="ncurses st-wragdan-terminfo-${version}_${revision}" +short_desc="Simple terminal implementation for X" +maintainer="Wragdan <17775924+Wragdan@users.noreply.github.com>" +license="MIT" +homepage="https://st.suckless.org" +distfiles="https://github.com/Wragdan/st/archive/refs/heads/master.tar.gz" +checksum=4395af4193499583e0b731de684c34d98d8b58c66c3295f8f7af6a58069e5fa7 + +pre_build() { + vsed -i config.h -e 's|Liberation Mono|Monospace|g' + [ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h + mkdir -p ${DESTDIR}/usr/share/terminfo +} + +pre_install() { + export TERMINFO=${DESTDIR}/usr/share/terminfo +} + +post_install() { + vdoc README.md + vlicense LICENSE +} + +st-wragdan-terminfo_package() { + short_desc+=" - terminfo data" + pkg_install() { + vmove usr/share/terminfo + } +} diff --git a/srcpkgs/ueberzugpp/template b/srcpkgs/ueberzugpp/template new file mode 100644 index 00000000000000..38bc0e55aa1a4e --- /dev/null +++ b/srcpkgs/ueberzugpp/template @@ -0,0 +1,16 @@ +# Template file for 'ueberzugpp' +pkgname=ueberzugpp +version=2.9.7 +revision=1 +build_style=cmake +configure_args="-DENABLE_WAYLAND=ON -DENABLE_OPENGL=ON, -DCMAKE_BUILD_TYPE=Release" +hostmakedepends="pkg-config" +makedepends="chafa-devel extra-cmake-modules libopencv-devel libsixel-devel libvips-devel openssl-devel tbb-devel wayland-devel wayland-protocols xcb-util-image-devel xcb-util-renderutil-devel json-c++ CLI11 spdlog fmt range-v3 guidelines-support-library libvips-devel libsixel-devel libglvnd-devel" +short_desc="Drop in replacement for ueberzug" +maintainer="Marcin Puc " +license="GPL-3.0-or-later" +homepage="https://github.com/jstkdng/ueberzugpp" +changelog="https://github.com/jstkdng/ueberzugpp/releases" +distfiles="https://github.com/jstkdng/ueberzugpp/archive/refs/tags/v${version}.tar.gz" +checksum=fcf4b35e2a38a42a9ea6665f2168a1f778008424b14817bcd381dbb7b5cc54b7 +conflicts="ueberzug" diff --git a/srcpkgs/vesktop/template b/srcpkgs/vesktop/template new file mode 100644 index 00000000000000..cb8c2228479ce5 --- /dev/null +++ b/srcpkgs/vesktop/template @@ -0,0 +1,27 @@ +# Template file for 'vesktop' +pkgname=vesktop +version=1.5.7 +revision=1 +hostmakedepends="nodejs pnpm" +short_desc="Vesktop is a custom discord app" +maintainer="Wragdan <17775924+Wragdan@users.noreply.github.com>" +license="GPL-3.0-or-later" +homepage="https://github.com/Vencord/Vesktop" +distfiles="https://github.com/Vencord/Vesktop/archive/refs/tags/v${version}.tar.gz" +checksum=5018a7df4c10bc95ff62234f94c903a56c2051f826adb1110bf3d00297e4a848 + +do_build() { + pnpm install --frozen-lockfile + pnpm run package:dir +} + +do_install() { + TARGET_PATH="opt/${pkgname}" + + vmkdir ${TARGET_PATH} + vcopy dist/linux-unpacked/* ${TARGET_PATH} + + vmkdir usr/bin + ln -sf /${TARGET_PATH}/vesktop ${DESTDIR}/usr/bin/${pkgname} + chmod 0755 ${DESTDIR}/${TARGET_PATH}/vesktop +}