Proje Gitea'ya taşındı (Temiz başlangıç)
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import cmaketools, shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
|
||||
def setup():
|
||||
shelltools.makedirs('build')
|
||||
shelltools.cd('build')
|
||||
parameters = " ".join([
|
||||
"-DTOGGL_VERSION:STRING=\"{}\"".format(get.srcVERSION()),
|
||||
"-DTOGGL_PRODUCTION_BUILD=ON",
|
||||
"-DTOGGL_ALLOW_UPDATE_CHECK=ON",
|
||||
"-DUSE_BUNDLED_LIBRARIES=OFF",
|
||||
])
|
||||
cmaketools.configure(parameters=parameters, sourceDir='..')
|
||||
|
||||
|
||||
def build():
|
||||
shelltools.makedirs('build')
|
||||
shelltools.cd('build')
|
||||
cmaketools.make()
|
||||
|
||||
|
||||
def install():
|
||||
shelltools.makedirs('build')
|
||||
shelltools.cd('build')
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
@@ -0,0 +1,18 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index b52dbb3..f278060 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -37,10 +37,9 @@
|
||||
include_directories(${LUA_INCLUDE_DIRS})
|
||||
|
||||
# Look for JSON
|
||||
- find_package(jsoncpp CONFIG)
|
||||
- if(jsoncpp_FOUND)
|
||||
- set(JSONCPP_LIBRARIES jsoncpp_lib)
|
||||
- endif()
|
||||
+ pkg_search_module(jsoncpp jsoncpp)
|
||||
+ include_directories(${jsoncpp_INCLUDE_DIRS})
|
||||
+ set(JSONCPP_LIBRARIES ${jsoncpp_LIBRARIES})
|
||||
|
||||
# Look for Qxt
|
||||
pkg_search_module(QXT_CORE QxtCore-qt5)
|
||||
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>toggldesktop</Name>
|
||||
<Homepage>https://toggl.com/</Homepage>
|
||||
<Packager>
|
||||
<Name>Safa Arıman</Name>
|
||||
<Email>safa@ariman.gen.tr</Email>
|
||||
</Packager>
|
||||
<License>BSD</License>
|
||||
<Icon>toggldesktop</Icon>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>Free Time Tracking Software</Summary>
|
||||
<Description>Simple time tracking tool and free timesheet alternative.</Description>
|
||||
<Archive sha1sum="454365f33a1500c3bfa5ad8b2e3c168050bdd5ea" type="targz">https://github.com/toggl/toggldesktop/archive/v7.4.1023.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>openssl-devel</Dependency>
|
||||
<Dependency>lua-devel</Dependency>
|
||||
<Dependency>jsoncpp-devel</Dependency>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>qt5-webengine-devel</Dependency>
|
||||
<Dependency>qt5-x11extras-devel</Dependency>
|
||||
<Dependency>libXmu-devel</Dependency>
|
||||
<Dependency>libXScrnSaver-devel</Dependency>
|
||||
<Dependency>poco-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch>jsoncpp.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
<Package>
|
||||
<Name>toggldesktop</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>openssl</Dependency>
|
||||
<Dependency>lua</Dependency>
|
||||
<Dependency>jsoncpp</Dependency>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>qt5-webengine</Dependency>
|
||||
<Dependency>qt5-x11extras</Dependency>
|
||||
<Dependency>libXmu</Dependency>
|
||||
<Dependency>libXScrnSaver</Dependency>
|
||||
<Dependency>poco</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2019-10-17</Date>
|
||||
<Version>7.4.1023</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Safa Arıman</Name>
|
||||
<Email>safa@ariman.gen.tr</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>toggldesktop</Name>
|
||||
<Summary xml:lang="tr">Free Time Tracking Software</Summary>
|
||||
<Description xml:lang="tr">Simple time tracking tool and free timesheet alternative.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user