From 8889eec2a0bac25bf279f19eece48d92d15019d3 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Sat, 31 Dec 2022 22:27:35 +0300 Subject: [PATCH] uchardet. --- multimedia/converter/uchardet/actions.py | 17 +++++++++-------- multimedia/converter/uchardet/pspec.xml | 16 +++++++++++++--- 2 files changed, 22 insertions(+), 11 deletions(-) diff --git a/multimedia/converter/uchardet/actions.py b/multimedia/converter/uchardet/actions.py index 7287b0b000..327755c1dc 100644 --- a/multimedia/converter/uchardet/actions.py +++ b/multimedia/converter/uchardet/actions.py @@ -4,19 +4,20 @@ # Licensed under the GNU General Public License, version 3. # See the file https://www.gnu.org/licenses/gpl-3.0.txt -from pisi.actionsapi import cmaketools -from pisi.actionsapi import pisitools -from pisi.actionsapi import get +from pisi.actionsapi import cmaketools, pisitools, get + +j = ''.join([ + ' -DCMAKE_INSTALL_PREFIX=/usr', + ' -DCMAKE_INSTALL_LIBDIR=lib', + ' -DBUILD_STATIC=ON', + ' -DCMAKE_BUILD_TYPE=Release -L ' + ]) def setup(): - cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DCMAKE_BUILD_TYPE=Release") + cmaketools.configure(j) def build(): cmaketools.make() def install(): cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) - - pisitools.dodoc("AUTHORS", "COPYING", "README*") diff --git a/multimedia/converter/uchardet/pspec.xml b/multimedia/converter/uchardet/pspec.xml index c2a018d36d..1126dca2e4 100644 --- a/multimedia/converter/uchardet/pspec.xml +++ b/multimedia/converter/uchardet/pspec.xml @@ -12,9 +12,12 @@ library Encoding detector library ported from Mozilla Encoding detector library ported from Mozilla - https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.7.tar.xz + + https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.8.tar.xz + cmake + python3 @@ -31,7 +34,7 @@ /usr/share/doc - + uchardet-devel Development files for uchardet @@ -44,8 +47,15 @@ /usr/lib/pkgconfig - + + + 2022-12-30 + 0.0.8 + Version bump. + fury + uglyside@yandex.ru + 2021-04-26 0.0.7