From a287208fb779696520fc74c81f8d57d6da05578d Mon Sep 17 00:00:00 2001 From: wrj97 Date: Tue, 8 Sep 2026 21:59:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20linglong.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- linglong.yaml | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 linglong.yaml diff --git a/linglong.yaml b/linglong.yaml new file mode 100644 index 0000000..4e40df4 --- /dev/null +++ b/linglong.yaml @@ -0,0 +1,75 @@ +version: "1" + +package: + id: net.launchpad.catfish.uos + name: catfish + version: 4.20.0.1 + kind: app + description: | + Catfish is a versatile file searching tool. The interface is + intentionally lightweight and simple, using only Gtk+3. + +command: + - /opt/apps/net.launchpad.catfish.uos/files/bin/catfish + +base: org.deepin.base/25.2.2 + +sources: + - kind: archive + name: catfish + url: https://share.cicd.getdeepin.org/ziggy-pool/linyaps-apps-packaging-CI/25M8.top500-init.stage-1.sysRepo/catfish_4.20.0.orig.tar.bz2 + digest: 3938a3cd5a9ecd75c9c7777f7204f8e4cfcb9960203ffd8c2df7d08d11a73a6e + +build: | + set -e + cd /project/linglong/sources/catfish/catfish-4.20.0 + + meson setup build --prefix=${PREFIX} + ninja -C build -j$(nproc) + ninja -C build install + + # Keep the original entrypoint (it self-adjusts site paths for the app's + # python modules) and install a launcher that sets PYTHONPATH and + # GI_TYPELIB_PATH so the bundled modules/typelibs are found at runtime. + mv ${PREFIX}/bin/catfish ${PREFIX}/bin/catfish-real + cat > ${PREFIX}/bin/catfish <