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

Commit

Permalink
build: add evolvotron
Browse files Browse the repository at this point in the history
Evolvotron is interactive "generative art" software to evolve images/textures/patterns through an iterative process of random mutation and user-selection driven evolution

Log: add software name--evolvotron
  • Loading branch information
wjyrich authored and kamiyadm committed Apr 30, 2024
1 parent 9403e60 commit b646c5f
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
32 changes: 32 additions & 0 deletions io.github.evolvotron/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
package:
id: io.github.evolvotron
name: evolvotron
version: 0.8.2.1
kind: app
description: |
Evolvotron is interactive "generative art" software to evolve images/textures/patterns through an iterative process of random mutation and user-selection driven evolution
runtime:
id: org.deepin.Runtime
version: 23.0.0

depends:
- id: boost-defaults/1.74.0.3
type: runtime

source:
kind: git
url: https://github.com/WickedSmoke/evolvotron.git
commit: 7ba4cf3893b9ae10b394d32b5146d60cd4ad5b67
patch: patches/0001-install.patch

build:
kind: qmake
manual:
configure: |
cp dist/evolvotron.ico dist/evolvotron.png
qmake main.pro ${conf_args} ${extra_args}
build: |
make ${jobs}
install: |
make ${jobs} DESTDIR=${dest_dir} install
29 changes: 29 additions & 0 deletions io.github.evolvotron/patches/0001-install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
From 6e23f0a04ef772da7b9639ba197f73415254b70b Mon Sep 17 00:00:00 2001
From: wjyrich <1071633242@qq.com>
Date: Thu, 25 Apr 2024 16:09:16 +0800
Subject: [PATCH] install

---
evolvotron/evolvotron.pro | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/evolvotron/evolvotron.pro b/evolvotron/evolvotron.pro
index 799a80f..3792ecf 100644
--- a/evolvotron/evolvotron.pro
+++ b/evolvotron/evolvotron.pro
@@ -15,3 +15,11 @@ INCLUDEPATH += ../libevolvotron ../libfunction

TARGETDEPS += ../libevolvotron/libevolvotron.a ../libfunction/libfunction.a
LIBS += ../libevolvotron/libevolvotron.a ../libfunction/libfunction.a -lboost_program_options
+
+target.path =$$PREFIX/bin
+desktop.files =../dist/evolvotron.desktop
+desktop.path = $$PREFIX/share/applications/
+icons.path = $$PREFIX/share/icons
+icons.files =../dist/evolvotron.png
+
+INSTALLS += target desktop icons
\ No newline at end of file
--
2.33.1

0 comments on commit b646c5f

Please sign in to comment.