Skip to content

Comments

New package: thextech-1.3.7.2#59005

Open
SkullGamer205 wants to merge 7 commits intovoid-linux:masterfrom
SkullGamer205:master
Open

New package: thextech-1.3.7.2#59005
SkullGamer205 wants to merge 7 commits intovoid-linux:masterfrom
SkullGamer205:master

Conversation

@SkullGamer205
Copy link

@SkullGamer205 SkullGamer205 commented Feb 15, 2026

Testing the changes

  • I tested the changes in this PR: YES

New package

Local build testing

  • I built this PR locally for these architectures (if supported. mark crossbuilds):
    • x86_64-glibc
    • x86_64-musl
    • armv6hf
    • armv7l
    • i686

@tranzystorekk tranzystorekk added the new-package This PR adds a new package label Feb 15, 2026
@SkullGamer205
Copy link
Author

SkullGamer205 commented Feb 16, 2026

About ARM (According to the author of the program)

It's need to adjust libopus's CMake build to don't use these assembly files since they are incompatible to these arm 32 builds. These arm files mostly designed for late arm32 and arm64. I had to completely disable these assemblies at some builds because of similar fails.

(it's an explicit option at AudioCodecs build that disables assembly optimisations at libopus)

(it supposed to be a rescue circle for the case when certain target unexpectedly unbuildable with these assemblies)

@SkullGamer205
Copy link
Author

SkullGamer205 commented Feb 16, 2026

Attempt to fix build on arm7l (Failed)

@SkullGamer205
Copy link
Author

Update: It can be build on x86_64-musl.

@SkullGamer205
Copy link
Author

Update: Now it can build on: armv6hf, armv7l, i686.

short_desc="Modern C++ port and successor of the SMBX engine"
maintainer="SkullGamer205 <skullgamer205@disroot.org>"
license=GPL-3.0
homepage="wohlsoft.ru/projects/thextech"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this 404's for me.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh. Letter case matters. Sorry. My typo.

pkgname=thextech
version=1.3.7.2
revision=1
_subversion=1 # hotfix
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be included in the version.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The versioning system will be significantly changed in the near future. The number 3 will be removed.
But IDK how implement hotfix into version.

case "$XBPS_TARGET_MACHINE" in
armv[67]*)
msg_normal "Detected ARM architecture ("$XBPS_TARGET_MACHINE")\n"
for x in ${FILESDIR}/patches/arm-disable-opus.patch; do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We usually try to avoid conditional patches.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This patch is used specifically for building on architectures where building fails. However, a patch is currently being developed (which I backport) that will automatically check the architecture, and this code may no longer be necessary.

}

post_install() {
rm -rf ${DESTDIR}/builddir
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should not be necessary, xbps-src clean should clean the builddir, rm -rf'ing it here interfers with xbps-src -C and potentially builddirs of other packages..

configure_args="-DPGE_SHARED_SDLMIXER=OFF -DUSE_SYSTEM_SDL2=ON -DUSE_FREEIMAGE_SYSTEM_LIBS=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=MinSizeRel"
hostmakedepends="pkg-config git cmake ninja"
makedepends="SDL2-devel libpng-devel libjpeg-turbo-devel alsa-lib-devel"
depends="SDL2 libjpeg-turbo libpng"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dependencies should be detected automatically by xbps-src which adds minimum version requirements, listing them here will overwrite that.

depends="SDL2 libjpeg-turbo libpng"
short_desc="Modern C++ port and successor of the SMBX engine"
maintainer="SkullGamer205 <skullgamer205@disroot.org>"
license=GPL-3.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

License should by an SPDX identifier, either GPL-3.0-only or GPL-3.0-or-later.

revision=1
_subversion=1 # hotfix
build_style=cmake
configure_args="-DPGE_SHARED_SDLMIXER=OFF -DUSE_SYSTEM_SDL2=ON -DUSE_FREEIMAGE_SYSTEM_LIBS=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=MinSizeRel"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-DCMAKE_INSTALL_PREFIX is already sset by the cmake build style. -DDCMAKE_BUILD_TYPE too, its set to None so that xbps-src compiler flags are used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-package This PR adds a new package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants