Accepting request 428483 from home:Mailaender:branches:devel:languages:lua
new upstream version OBS-URL: https://build.opensuse.org/request/show/428483 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/zerobranestudio?expand=0&rev=3
This commit is contained in:
parent
29879dc783
commit
f6a04d08f2
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a990608c877ba93e267395d3e1e56cb845195c80a5ab194e5b5e196e8911dfe4
|
||||
size 20596652
|
3
1.40.tar.gz
Normal file
3
1.40.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:24f899a7013ddf959f14d6a43277377947350967661b18813389e3fbb2ab3731
|
||||
size 22476103
|
57
appdata.patch
Normal file
57
appdata.patch
Normal file
@ -0,0 +1,57 @@
|
||||
From 7c2a24161969593dba579f96532f845de927e211 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?=
|
||||
Date: Sun, 18 Sep 2016 17:11:37 +0200
|
||||
Subject: [PATCH] Add an appdata.xml file.
|
||||
|
||||
---
|
||||
build/CMakeLists.txt | 3 +++
|
||||
zbstudio/res/zbstudio.appdata.xml | 26 ++++++++++++++++++++++++++
|
||||
2 files changed, 29 insertions(+)
|
||||
create mode 100644 zbstudio/res/zbstudio.appdata.xml
|
||||
|
||||
diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt
|
||||
index 43b1644..6827153 100644
|
||||
--- a/build/CMakeLists.txt
|
||||
+++ b/build/CMakeLists.txt
|
||||
@@ -136,6 +136,9 @@ else()
|
||||
install(DIRECTORY ${TOPDIR}/zbstudio/res/icons/ DESTINATION share/icons/hicolor)
|
||||
install(FILES ${TOPDIR}/zbstudio/res/zbstudio.desktop DESTINATION share/applications)
|
||||
|
||||
+ # install Linux software gallery metadata
|
||||
+ install(FILES ${TOPDIR}/zbstudio/res/zbstudio.appdata.xml DESTINATION share/appdata)
|
||||
+
|
||||
# install miscellaneous documentation files
|
||||
install(FILES ${TOPDIR}/CHANGELOG.md ${TOPDIR}/LICENSE ${TOPDIR}/README.md DESTINATION share/doc/zbstudio)
|
||||
|
||||
diff --git a/zbstudio/res/zbstudio.appdata.xml b/zbstudio/res/zbstudio.appdata.xml
|
||||
new file mode 100644
|
||||
index 0000000..5f10f26
|
||||
--- /dev/null
|
||||
+++ b/zbstudio/res/zbstudio.appdata.xml
|
||||
@@ -0,0 +1,26 @@
|
||||
+<?xml version="1.0" encoding="UTF-8"?>
|
||||
+<application>
|
||||
+ <id type="desktop">zbstudio.desktop</id>
|
||||
+ <metadata_license>CC0-1.0</metadata_license>
|
||||
+ <project_license>MIT</project_license>
|
||||
+ <name>ZeroBrane Studio</name>
|
||||
+ <summary>Lightweight Lua-based IDE for Lua</summary>
|
||||
+ <description>
|
||||
+ <p>
|
||||
+ ZeroBrane Studio is a lightweight Lua IDE with code completion, syntax
|
||||
+ highlighting, live coding, code analyzer, and debugging support for
|
||||
+ Lua 5.1, Lua 5.2, Lua 5.3, LuaJIT, and other Lua engines.
|
||||
+ </p>
|
||||
+ <p>
|
||||
+ It is simple and instantly usable for beginners yet feature-rich and
|
||||
+ extensible for experienced developers. It has a small footprint and is
|
||||
+ completely customizable with Lua while still including a full IDE feature
|
||||
+ set including a remote debugger.
|
||||
+ </p>
|
||||
+ </description>
|
||||
+ <url type="homepage">https://studio.zerobrane.com</url>
|
||||
+ <screenshots>
|
||||
+ <screenshot type="default">https://studio.zerobrane.com/images/scratchpad-linux-mint.png</screenshot>
|
||||
+ </screenshots>
|
||||
+ <update_contact>paul@kulchenko.com</update_contact>
|
||||
+</application>
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 18 14:47:37 UTC 2016 - mailaender@opensuse.org
|
||||
|
||||
- Update to version 1.40 (see Changelog.md)
|
||||
- Add appdata.patch for https://en.opensuse.org/openSUSE:AppStore
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 31 13:16:30 UTC 2016 - jengelh@inai.de
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: zerobranestudio
|
||||
Version: 1.30
|
||||
Version: 1.40
|
||||
Release: 0
|
||||
Summary: Lightweight Lua IDE
|
||||
License: MIT
|
||||
@ -26,6 +26,8 @@ Url: http://studio.zerobrane.com/
|
||||
Source: https://github.com/pkulchenko/ZeroBraneStudio/archive/%{version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE use system Lua
|
||||
Patch0: zbstudio.patch
|
||||
# PATCH-FEATURE-UPSTREAM https://github.com/pkulchenko/ZeroBraneStudio/pull/698
|
||||
Patch1: appdata.patch
|
||||
BuildRequires: cmake >= 2.8
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gcc-c++
|
||||
@ -38,8 +40,10 @@ Requires: libwxlua
|
||||
Requires: lua51
|
||||
Requires: lua51-luasocket
|
||||
Requires: lua51-BitOp
|
||||
Requires: lua52
|
||||
Recommends: lua52
|
||||
Recommends: luajit
|
||||
Provides: zerobrane-studio
|
||||
Provides: zbstudio
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -52,9 +56,10 @@ others). It originated from the Estrela Editor.
|
||||
%prep
|
||||
%setup -q -n ZeroBraneStudio-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
# remove pre-built binaries
|
||||
rm -rf bin zbstudio/ZeroBraneStudio.app
|
||||
rm -rf bin zbstudio/ZeroBraneStudio.app zbstudio.exe
|
||||
|
||||
%build
|
||||
cd build
|
||||
@ -94,5 +99,7 @@ rm -rf %{buildroot}%{_datadir}/doc
|
||||
%{_datadir}/zbstudio
|
||||
%{_datadir}/icons/hicolor/*/apps/*
|
||||
%{_datadir}/applications/*.desktop
|
||||
%dir %{_datadir}/appdata/
|
||||
%{_datadir}/appdata/zbstudio.appdata.xml
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user