new package: crow-translate
This commit is contained in:
@@ -0,0 +1,25 @@
|
|||||||
|
#!/usr/bin/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 shelltools
|
||||||
|
from pisi.actionsapi import cmaketools
|
||||||
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
shelltools.makedirs("build")
|
||||||
|
shelltools.cd("build")
|
||||||
|
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DWITH_KWAYLAND=OFF \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr", sourceDir="..")
|
||||||
|
|
||||||
|
def build():
|
||||||
|
shelltools.cd("build")
|
||||||
|
cmaketools.make()
|
||||||
|
|
||||||
|
def install():
|
||||||
|
shelltools.cd("build")
|
||||||
|
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
# pisitools.dodoc("COPYING*", "README.md")
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>crow-translate</Name>
|
||||||
|
<Homepage>https://crow-translate.github.io/</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Kamil Atlı</Name>
|
||||||
|
<Email>suvarice@gmail.com</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>GPL3</License>
|
||||||
|
<Icon>crow-translate</Icon>
|
||||||
|
<Summary>A simple and lightweight translator</Summary>
|
||||||
|
<Description>A simple and lightweight translator that allows you to translate and speak text using Google, Yandex Bing, LibreTranslate and Lingva.</Description>
|
||||||
|
<Archive type="targz" sha1sum="39de279ae7bab45dfc9a18a7d5e332a4aec28177">https://github.com/crow-translate/crow-translate/releases/download/2.11.1/crow-translate-2.11.1-source.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>git</Dependency>
|
||||||
|
<Dependency>cmake</Dependency>
|
||||||
|
<Dependency>doxygen</Dependency>
|
||||||
|
<Dependency>icoutils</Dependency>
|
||||||
|
<Dependency>dbus-devel</Dependency>
|
||||||
|
<Dependency>qt5-linguist</Dependency>
|
||||||
|
<Dependency>qt5-svg-devel</Dependency>
|
||||||
|
<Dependency>openssl-devel</Dependency>
|
||||||
|
<Dependency>libxcb-devel</Dependency>
|
||||||
|
<Dependency>qt5-base-devel</Dependency>
|
||||||
|
<Dependency>tesseract-devel</Dependency>
|
||||||
|
<Dependency>gst-plugins-good</Dependency>
|
||||||
|
<Dependency>icon-theme-hicolor</Dependency>
|
||||||
|
<Dependency>qt5-x11extras-devel</Dependency>
|
||||||
|
<!-- <Dependency>kwayland-devel</Dependency> -->
|
||||||
|
<!-- <Dependency>qt5-networkauth-devel</Dependency> -->
|
||||||
|
<Dependency>extra-cmake-modules</Dependency>
|
||||||
|
<Dependency>qt5-multimedia-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
<Patches>
|
||||||
|
<!-- <Patch></Patch> -->
|
||||||
|
</Patches>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>crow-translate</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>libX11</Dependency>
|
||||||
|
<Dependency>libgcc</Dependency>
|
||||||
|
<Dependency>libxcb</Dependency>
|
||||||
|
<Dependency>qt5-base</Dependency>
|
||||||
|
<!-- <Dependency>kwayland</Dependency> -->
|
||||||
|
<Dependency>tesseract</Dependency>
|
||||||
|
<Dependency>qt5-x11extras</Dependency>
|
||||||
|
<Dependency>qt5-multimedia</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="data">/usr/share</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2024-03-16</Date>
|
||||||
|
<Version>2.11.1</Version>.
|
||||||
|
<Comment>First Release</Comment>
|
||||||
|
<Name>Kamil Atlı</Name>
|
||||||
|
<Email>suvarice@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>crow-translate</Name>
|
||||||
|
<Summary xml:lang="tr">Basit ve hafif bir çevirmen</Summary>
|
||||||
|
<Description xml:lang="tr">Google, Yandex Bing, LibreTranslate ve Lingva'yı kullanarak metinleri çevirmenize ve konuşmanıza olanak tanıyan basit ve hafif bir çevirmen.</Description>
|
||||||
|
<Description xml:lang="fr">Un traducteur simple et léger qui vous permet de traduire et de prononcer du texte à l'aide de Google, Yandex Bing, LibreTranslate et Lingva.</Description>
|
||||||
|
<Description xml:lang="es">Un traductor sencillo y ligero que te permite traducir y pronunciar texto utilizando Google, Yandex Bing, LibreTranslate y Lingva.</Description>
|
||||||
|
</Source>
|
||||||
|
</PISI>
|
||||||
+453621
-453495
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
|||||||
e6676bed0cfdc22ae8bff0ee27ddfdf208cc4685
|
811eb2ba8b346e3bc34fe48e58b3329e76b302f1
|
||||||
Binary file not shown.
@@ -1 +1 @@
|
|||||||
3b7d7f6f72b6ec718ede6034b4a673a5201e03b9
|
078e23b226d97c518496d32d4b85f6c1134dfd38
|
||||||
Reference in New Issue
Block a user