(restricted): verify runtime deps

This commit is contained in:
Đoàn Trần Công Danh 2023-08-17 07:05:45 +07:00 committed by Đoàn Trần Công Danh
parent e17c1f1481
commit c77021e94b
9 changed files with 25 additions and 29 deletions

View file

@ -2052,6 +2052,7 @@ libQt6LabsSharedImage.so.6 qt6-declarative-6.1.0_1
libQt6LabsWavefrontMesh.so.6 qt6-declarative-6.1.0_1 libQt6LabsWavefrontMesh.so.6 qt6-declarative-6.1.0_1
libQt6QmlLocalStorage.so.6 qt6-declarative-6.1.0_1 libQt6QmlLocalStorage.so.6 qt6-declarative-6.1.0_1
libQt6QmlWorkerScript.so.6 qt6-declarative-6.0.0_1 libQt6QmlWorkerScript.so.6 qt6-declarative-6.0.0_1
libQt6QmlXmlListModel.so.6 qt6-declarative-6.5.0_1
libQt6QuickTest.so.6 qt6-quick-test-6.4.2_1 libQt6QuickTest.so.6 qt6-quick-test-6.4.2_1
libQt6QuickShapes.so.6 qt6-declarative-6.0.0_1 libQt6QuickShapes.so.6 qt6-declarative-6.0.0_1
libQt6QuickWidgets.so.6 qt6-declarative-6.0.0_1 libQt6QuickWidgets.so.6 qt6-declarative-6.0.0_1

View file

@ -1,7 +1,7 @@
# Template file for 'CLion' # Template file for 'CLion'
pkgname=CLion pkgname=CLion
version=2021.3.4 version=2021.3.4
revision=1 revision=2
archs="x86_64 aarch64" archs="x86_64 aarch64"
depends="jetbrains-jdk-bin giflib libXtst" depends="jetbrains-jdk-bin giflib libXtst"
short_desc="Smart cross-platform IDE for C and C++" short_desc="Smart cross-platform IDE for C and C++"
@ -13,8 +13,6 @@ checksum=f3b0b9e0dd0cd4aebef5d424e7a22868c732daad47d6c94f73630cef449ccf78
repository=nonfree repository=nonfree
restricted=yes restricted=yes
nopie=yes nopie=yes
# JetBrains' tools are self-sufficient and while they include code that appears to be linked to libs from other packages, these libs are either included in the tool package, or the code works by looking for one of several supported libs.
noverifyrdeps=yes
python_version=3 python_version=3
build_options="bundled_cmake bundled_gdb bundled_lldb" build_options="bundled_cmake bundled_gdb bundled_lldb"

View file

@ -13,8 +13,6 @@ checksum=a23922f5f93bc8df1f2aabbb0f9969e27d28f706c09d18d66d4cc2d56c52ddc9
repository=nonfree repository=nonfree
restricted=yes restricted=yes
nopie=yes nopie=yes
# JetBrains' tools are self-sufficient and while they include code that appears to be linked to libs from other packages, these libs are either included in the tool package, or the code works by looking for one of several supported libs.
noverifyrdeps=yes
python_version=3 python_version=3
post_extract() { post_extract() {

View file

@ -1,2 +0,0 @@
IntelliJ Ultimate has the following optional dependencies:
libdbusmenu-glib: For global menu support

View file

@ -1,10 +1,9 @@
# Template file for 'intellij-idea-ultimate-edition' # Template file for 'intellij-idea-ultimate-edition'
pkgname=intellij-idea-ultimate-edition pkgname=intellij-idea-ultimate-edition
version=2021.3.3 version=2021.3.3
revision=1 revision=2
archs="i686 x86_64" archs="i686 x86_64"
create_wrksrc="true" depends="giflib libXtst jetbrains-jdk-bin lldb-devel"
depends="giflib libXtst jetbrains-jdk-bin"
short_desc="Most intelligent Java IDE" short_desc="Most intelligent Java IDE"
maintainer="Anton Afanasyev <anton@doubleasoftware.com>" maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
license="custom:Commercial" license="custom:Commercial"
@ -15,9 +14,9 @@ checksum=2a3295fca08060ad515f6c7198879d09963724cfb36af3ea94f16dcd76636470
repository=nonfree repository=nonfree
restricted=yes restricted=yes
nopie=yes nopie=yes
# JetBrains' tools are self-sufficient and while they include code that appears to be linked to libs from other packages, these libs are either included in the tool package, or the code works by looking for one of several supported libs.
noverifyrdeps=yes
python_version=3 python_version=3
# requires liblldb.so which is unversioned, pulled by lldb-devel
skiprdeps="/usr/lib/intellij-idea-ultimate-edition/plugins/Kotlin/bin/linux/LLDBFrontend"
do_extract() { do_extract() {
bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_filename} --strip-components=1 -C . bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_filename} --strip-components=1 -C .

View file

@ -11,11 +11,7 @@ _jdk_ver=${version%b*}
_jdk_build=${version#*b} _jdk_build=${version#*b}
distfiles="https://cache-redirector.jetbrains.com/intellij-jbr/jbr_jcef-${_jdk_ver//\./_}-linux-x64-b${_jdk_build}.tar.gz" distfiles="https://cache-redirector.jetbrains.com/intellij-jbr/jbr_jcef-${_jdk_ver//\./_}-linux-x64-b${_jdk_build}.tar.gz"
checksum=192bc1c4d877a9035a08db8a4bc9ac98551fa344ec5835f08d455fab66c82fe0 checksum=192bc1c4d877a9035a08db8a4bc9ac98551fa344ec5835f08d455fab66c82fe0
# This JDK appears to link to libs that do not exist, but functions well even in their absence.
# Best guess is that they are optional. ¯\_(ツ)_/¯
noverifyrdeps=yes
nopie=yes nopie=yes
noshlibprovides=yes
do_install() { do_install() {
TARGET_PATH="usr/lib/jvm/jbrsdk" TARGET_PATH="usr/lib/jvm/jbrsdk"

View file

@ -1,7 +1,7 @@
# Template file for 'protonmail-bridge' # Template file for 'protonmail-bridge'
pkgname=protonmail-bridge pkgname=protonmail-bridge
version=3.3.0 version=3.3.0
revision=1 revision=2
archs="x86_64" archs="x86_64"
create_wrksrc=yes create_wrksrc=yes
depends="desktop-file-utils" depends="desktop-file-utils"
@ -13,9 +13,18 @@ distfiles="https://proton.me/download/bridge/protonmail-bridge_${version}-1_amd6
checksum=4541f8aa145097ee171889b0c9d058450d09dc23be10231c83d6659789a27627 checksum=4541f8aa145097ee171889b0c9d058450d09dc23be10231c83d6659789a27627
restricted=yes restricted=yes
noverifyrdeps=yes
nopie=yes nopie=yes
do_install() { do_install() {
rm -f usr/lib/protonmail/bridge/plugins/sqldrivers/libqsqlmysql.so
rm -f usr/lib/protonmail/bridge/plugins/sqldrivers/libqsqlodbc.so
rm -f usr/lib/protonmail/bridge/plugins/sqldrivers/libqsqlpsql.so
rm -rf usr/lib/protonmail/bridge/plugins/designer
rm -rf usr/lib/protonmail/bridge/plugins/qmltooling
rm -rf usr/lib/protonmail/bridge/qml/QtTest
rm -rf usr/lib/protonmail/bridge/qml/Qt/labs
rm -rf usr/lib/protonmail/bridge/lib/cmake
rm -rf usr/lib/protonmail/bridge/lib/pkgconfig
rm -rf usr/lib/protonmail/bridge/lib/*.a
vcopy usr / vcopy usr /
} }

View file

@ -1,12 +1,10 @@
# Template file for 'teamspeak3' # Template file for 'teamspeak3'
pkgname=teamspeak3 pkgname=teamspeak3
version=3.5.6 version=3.5.6
revision=1 revision=2
archs="i686 x86_64" archs="i686 x86_64"
create_wrksrc=yes
hostmakedepends="tar" hostmakedepends="tar"
depends="glib bash grep freetype nss libXcomposite fontconfig glibc depends="bash grep"
libxslt dbus-libs alsa-lib libXi libXcursor libXtst libXScrnSaver pciutils"
short_desc="Popular proprietary voice chat for gaming" short_desc="Popular proprietary voice chat for gaming"
maintainer="Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>" maintainer="Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>"
license="custom:Proprietary" license="custom:Proprietary"
@ -15,7 +13,6 @@ restricted=yes
repository="nonfree" repository="nonfree"
nopie=yes nopie=yes
nostrip=yes nostrip=yes
noverifyrdeps=yes
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
_pkg="TeamSpeak3-Client-linux_amd64-${version}" _pkg="TeamSpeak3-Client-linux_amd64-${version}"

View file

@ -1,13 +1,10 @@
# Template file for 'zoom' # Template file for 'zoom'
pkgname=zoom pkgname=zoom
version=5.15.3.4839 version=5.15.3.4839
revision=1 revision=2
archs="x86_64" archs="x86_64"
create_wrksrc=yes create_wrksrc=yes
depends="$(vopt_if systemqt 'qt5 qt5-graphicaleffects qt5-imageformats qt5-quickcontrols qt5-quickcontrols2 qt5-svg qt5-script qt5-declarative') depends="libglvnd pulseaudio-utils"
xcb-util-image xcb-util-keysyms glib libXfixes libXtst libgbm libglvnd
nss atk at-spi2-atk libXcomposite libXdamage libXrandr libxkbcommon pango
alsa-lib libcups libxshmfence pulseaudio-utils"
short_desc="Video Conferencing and Web Conferencing Service" short_desc="Video Conferencing and Web Conferencing Service"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="custom:Proprietary" license="custom:Proprietary"
@ -16,13 +13,16 @@ distfiles="https://cdn.zoom.us/prod/${version}/zoom_x86_64.rpm"
checksum=3dc36195400744ceacd025009e88549f7a8481a6964ef3276a4f753764e51ac6 checksum=3dc36195400744ceacd025009e88549f7a8481a6964ef3276a4f753764e51ac6
repository=nonfree repository=nonfree
noshlibprovides=yes noshlibprovides=yes
noverifyrdeps=yes
restricted=yes restricted=yes
nopie=yes nopie=yes
build_options="systemqt" build_options="systemqt"
desc_option_systemqt="Use system QT libraries" desc_option_systemqt="Use system QT libraries"
pre_install() { pre_install() {
# rm -rf opt/zoom/Qt/qml/QtQml/RemoteObjects
# rm -rf opt/zoom/Qt/qml/Qt/labs
# rm -rf opt/zoom/Qt/qml/QtQuick/Scene2D
# rm -rf opt/zoom/Qt/qml/QtQuick/Scene3D
if [ "${build_option_systemqt}" ]; then if [ "${build_option_systemqt}" ]; then
rm -f opt/zoom/libQt5*.so{,.*} rm -f opt/zoom/libQt5*.so{,.*}
rm -f opt/zoom/libicu*.so{,.*} rm -f opt/zoom/libicu*.so{,.*}