Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
build: add easy-slideshow
Browse files Browse the repository at this point in the history
Slideshow that displays the images of multiple folders in a randomized order.

Log: add software name--easy-slideshow
  • Loading branch information
wjyrich authored and kamiyadm committed Feb 1, 2024
1 parent a0e59bf commit e7f01b2
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
20 changes: 20 additions & 0 deletions io.github.easy-slideshow/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package:
id: io.github.easy-slideshow
name: easy-slideshow
version: 0.4.5.4
kind: app
description: |
Slideshow that displays the images of multiple folders in a randomized order.
runtime:
id: org.deepin.Runtime
version: 23.0.0

source:
kind: git
url: https://github.com/minils/easy-slideshow.git
commit: c5bf2b85cb9f70618ba04aa610cc1ef1b03d56ae
patch: patches/0001-install.patch

build:
kind: qmake
46 changes: 46 additions & 0 deletions io.github.easy-slideshow/patches/0001-install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
From a42dc0c38f6337b5bf568d1aebe6e3b128343124 Mon Sep 17 00:00:00 2001
From: wjyrich <1071633242@qq.com>
Date: Wed, 31 Jan 2024 20:44:25 +0800
Subject: [PATCH] install

---
EasySlideshow.pro | 6 +++---
desktop/easyslideshow.desktop | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/EasySlideshow.pro b/EasySlideshow.pro
index de7d4f6..ce436c4 100644
--- a/EasySlideshow.pro
+++ b/EasySlideshow.pro
@@ -67,12 +67,12 @@ versionTarget.commands = touch ./version.h; cd $$PWD; git log -n 1 --format=form
#PRE_TARGETDEPS += version.h

# installation
-target.path = /usr/bin
+target.path = $$PREFIX/bin

-icon.path = /usr/share/icons/hicolor/scalable/apps
+icon.path = $$PREFIX/share/icons/hicolor/scalable/apps
icon.files = svg/easyslideshow.svg

-desktop.path = /usr/share/applications
+desktop.path = $$PREFIX/share/applications
desktop.files = desktop/easyslideshow.desktop

INSTALLS += target \
diff --git a/desktop/easyslideshow.desktop b/desktop/easyslideshow.desktop
index a408a0c..bc07ced 100644
--- a/desktop/easyslideshow.desktop
+++ b/desktop/easyslideshow.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=EasySlideshow
Comment= Slideshow that displays the images of multiple folders in a randomized order.
-Exec=/usr/bin/easyslideshow
+Exec=easyslideshow
Icon=easyslideshow
Type=Application
Categories=Graphics;Utility;
--
2.33.1

0 comments on commit e7f01b2

Please sign in to comment.