uchardet.

This commit is contained in:
4fury-c3440d8
2022-12-31 22:27:35 +03:00
parent 2defa442e1
commit 8889eec2a0
2 changed files with 22 additions and 11 deletions
+9 -8
View File
@@ -4,19 +4,20 @@
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt # See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import cmaketools from pisi.actionsapi import cmaketools, pisitools, get
from pisi.actionsapi import pisitools
from pisi.actionsapi import get j = ''.join([
' -DCMAKE_INSTALL_PREFIX=/usr',
' -DCMAKE_INSTALL_LIBDIR=lib',
' -DBUILD_STATIC=ON',
' -DCMAKE_BUILD_TYPE=Release -L '
])
def setup(): def setup():
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \ cmaketools.configure(j)
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release")
def build(): def build():
cmaketools.make() cmaketools.make()
def install(): def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "COPYING", "README*")
+13 -3
View File
@@ -12,9 +12,12 @@
<IsA>library</IsA> <IsA>library</IsA>
<Summary>Encoding detector library ported from Mozilla</Summary> <Summary>Encoding detector library ported from Mozilla</Summary>
<Description>Encoding detector library ported from Mozilla</Description> <Description>Encoding detector library ported from Mozilla</Description>
<Archive sha1sum="de19b7e614f11572582a0d47f7d5d6f8ec649199" type="tarxz">https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.7.tar.xz</Archive> <Archive sha1sum="fdc11673bfb0939f48825bf811b64af709339c80" type="tarxz">
https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.8.tar.xz
</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>cmake</Dependency> <Dependency>cmake</Dependency>
<Dependency>python3</Dependency>
</BuildDependencies> </BuildDependencies>
</Source> </Source>
@@ -31,7 +34,7 @@
<Path fileType="doc">/usr/share/doc</Path> <Path fileType="doc">/usr/share/doc</Path>
</Files> </Files>
</Package> </Package>
<Package> <Package>
<Name>uchardet-devel</Name> <Name>uchardet-devel</Name>
<Summary>Development files for uchardet</Summary> <Summary>Development files for uchardet</Summary>
@@ -44,8 +47,15 @@
<Path fileType="library">/usr/lib/pkgconfig</Path> <Path fileType="library">/usr/lib/pkgconfig</Path>
</Files> </Files>
</Package> </Package>
<History> <History>
<Update release="3">
<Date>2022-12-30</Date>
<Version>0.0.8</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="2"> <Update release="2">
<Date>2021-04-26</Date> <Date>2021-04-26</Date>
<Version>0.0.7</Version> <Version>0.0.7</Version>