zxing-cpp new package

This commit is contained in:
Rmys
2022-10-29 16:42:19 +03:00
parent 880a13cb2b
commit b636682919
7 changed files with 600 additions and 152 deletions
+500 -150
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
9f3c3166d79532a09fa32b5423a659b59251d9f2
0ee25f7b119586aca195bbb91c93ecd54add1b6b
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
3c684e364e69ef0d79fc02d6803be5fe43e5df78
26fd68840186eda544df31bf6e1b624d8cf4eb50
+27
View File
@@ -0,0 +1,27 @@
#!/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
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
cmaketools.configure("-B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=None \
-DBUILD_EXAMPLES=OFF \
-DBUILD_BLACKBOX_TESTS=OFF")
def build():
cmaketools.make("-C build")
def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("..")
pisitools.dodoc("AUTHORS*", "LICENSE*", "README*")
+63
View File
@@ -0,0 +1,63 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>zxing-cpp</Name>
<Homepage>https://github.com/zxing-cpp/zxing-cpp</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>Apache</License>
<IsA>library</IsA>
<Summary>A C++ library to decode QRCode</Summary>
<Icon>zxing-cpp</Icon>
<Description>QRCode'un kodunu çözmek için bir C++ kitaplığı</Description>
<Archive sha1sum="8038a26952534c32483f9269fc6b061ee4d586c6" type="targz">https://github.com/zxing-cpp/zxing-cpp/archive/refs/tags/v1.4.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>zxing-cpp.patch</Patch>
<Patch level="1">zxing-cpp.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>zxing-cpp</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
-->
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>zxing-cpp-devel</Name>
<Summary>Development files for zxing-cpp</Summary>
<RuntimeDependencies>
<Dependency release="current">zxing-cpp</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/cmake</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-10-29</Date>
<Version>1.4.0</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>zxing-cpp</Name>
<Summary xml:lang="tr">A C++ library to decode QRCode</Summary>
<Description xml:lang="tr">QRCode'un kodunu çözmek için bir C++ kitaplığı</Description>
</Source>
</PISI>