Skip to content

Commit

Permalink
chore: Adapt linglong for loong64
Browse files Browse the repository at this point in the history
Adapt linglong for loong64.

Log: Adapt linglong for loong64.
Task: https://pms.uniontech.com/task-view-368689.html
  • Loading branch information
wangrong1069 committed Dec 2, 2024
1 parent d6da0d1 commit 38c7449
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arm64/linglong.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version: '1'
package:
id: org.deepin.calculator
name: deepin-calculator
version: 6.5.1.1
version: 6.5.2.1
kind: app
description: |
Calculator for UOS
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
deepin-calculator (6.5.2) unstable; urgency=medium

* Adapt linglong for loong64.

-- wangrong <[email protected]> Mon, 02 Dec 2024 14:19:51 +0800

deepin-calculator (6.5.1) unstable; urgency=medium

* Update version to 6.5.1
Expand Down
2 changes: 1 addition & 1 deletion linglong.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version: '1'
package:
id: org.deepin.calculator
name: deepin-calculator
version: 6.5.1.1
version: 6.5.2.1
kind: app
description: |
Calculator for UOS
Expand Down
29 changes: 29 additions & 0 deletions loong64/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# SPDX-FileCopyrightText: 2024 UnionTech Software Technology Co., Ltd.
#
# SPDX-License-Identifier: GPL-3.0-or-later

version: '1'

package:
id: org.deepin.calculator
name: deepin-calculator
version: 6.5.2.1
kind: app
description: |
Calculator for UOS
command:
- deepin-calculator

base: org.deepin.base/23.1.0/loong64
runtime: org.deepin.runtime.dtk/23.1.0/loong64

build: |
VERSION=$(head -1 debian/changelog | awk -F'[()]' '{print $2}')
cmake -B build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=${PREFIX} \
-DCMAKE_INSTALL_LIBDIR=${PREFIX}/lib/${TRIPLET} \
-DVERSION=${VERSION}
cmake --build build -j`nproc`
cmake --build build --target install

0 comments on commit 38c7449

Please sign in to comment.