Extract the upstream AppImage with unsquashfs to avoid executing its architecture-
specific runtime.
Both AppImages use Zstandard, so require squashfs-tools[zstd] for unpacking.
Remove the unused AppDir-relative RUNPATH so the installed executable can use
Gentoo's system libraries.
Install the upstream desktop entry, icon, and AppStream metadata to retain the
desktop ID and DWG/DXF associations.
Restrict mirroring and binary redistribution pending review of the embedded LFF
fonts.
Assisted-by: Codex:GPT-6
Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
Upstream ships the static binary already stripped, so stripping it again only raises
the pre-stripped QA notice.
Signed-off-by: Zakk <zakk@gentoozh.org>
http->https and moved/renamed HOMEPAGE URLs; document local USE flags, correct
remote-ids, fix the DOCTYPE line, and normalise metadata.xml whitespace. Pure
metadata: no SRC_URI, ebuild logic, or Manifest changes.
Signed-off-by: Zakk <zakk@gentoozh.org>
- Add patchelf step to scrub Ubuntu-style libbz2.so.1.0 NEEDED entries.
- Current AppImage has none, but next bump may inherit one (bug 975966).
Signed-off-by: Huang Rui <vowstar@gmail.com>
- The 2026 deb dropped the com.zwsoft prefix and the files/ subdir;
update PKG_NAME, paths, RPATH, and the desktop-file fixups
accordingly.
Signed-off-by: Huang Rui <vowstar@gmail.com>
- Refresh SRC_URI to plain zwcad2026_${MY_PV}_amd64.deb filename
(matches the .deb supplied by upstream's bin-store mirror).
- Drop sys-libs/zlib in favour of virtual/zlib.
Signed-off-by: Huang Rui <vowstar@gmail.com>
- 2026 binaries no longer hardcode the NotoSansCJK font path; they
look the font up by name via fontconfig, so the bbe binary-patch
workflow (already commented out earlier) has no remaining use.
Signed-off-by: Huang Rui <vowstar@gmail.com>
- Drop dev-qt/qt*:5 from RDEPEND: ZW3D ships its own Qt 5.9.7 in
files/libqt/ and the patchelf RPATH already points there.
- Drop sys-libs/zlib in favour of virtual/zlib.
- Trim old versions, keep only the latest.
Signed-off-by: Huang Rui <vowstar@gmail.com>
Switch from the Fedora AppImage to the Ubuntu 24.04 AppImage since
upstream no longer ships a Fedora build. The Ubuntu 24.04 AppImage
links directly against webkit-gtk:4.1, so the webkit 4.0->4.1 soname
replacement is no longer required.
Closes: https://github.com/microcai/gentoo-zh/issues/9943
Signed-off-by: Huang Rui <vowstar@gmail.com>
Fix SRC_URI to point to the actual fedora AppImage filename.
Fix libsoup slot (3.0 -> 2.4) and add -* to KEYWORDS.
Use patchelf to replace webkit-gtk 4.0 sonames with 4.1 (4.0 was
removed from the Gentoo tree) and remove libOSMesa NEEDED entry
(osmesa USE flag removed from mesa 25.2+).
Signed-off-by: Huang Rui <vowstar@gmail.com>