@@ -8,22 +8,25 @@ from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
j = ''.join([
|
||||
' --enable-gstreamer-thumbnailer',
|
||||
' --enable-poppler-thumbnailer',
|
||||
' --enable-desktop-thumbnailer',
|
||||
' --enable-pixbuf-thumbnailer',
|
||||
' --enable-ffmpeg-thumbnailer',
|
||||
' --enable-cover-thumbnailer',
|
||||
' --enable-font-thumbnailer',
|
||||
' --enable-jpeg-thumbnailer',
|
||||
' --enable-raw-thumbnailer',
|
||||
' --enable-odf-thumbnailer',
|
||||
' --enable-xdg-cache',
|
||||
' --disable-static',
|
||||
' --disable-gepub-thumbnailer '
|
||||
])
|
||||
|
||||
def setup():
|
||||
autotools.configure("\
|
||||
\
|
||||
--enable-gstreamer-thumbnailer \
|
||||
--enable-poppler-thumbnailer \
|
||||
--enable-desktop-thumbnailer \
|
||||
--enable-pixbuf-thumbnailer \
|
||||
--enable-ffmpeg-thumbnailer \
|
||||
--enable-cover-thumbnailer \
|
||||
--enable-font-thumbnailer \
|
||||
--enable-jpeg-thumbnailer \
|
||||
--enable-raw-thumbnailer \
|
||||
--enable-odf-thumbnailer \
|
||||
--enable-xdg-cache \
|
||||
\
|
||||
--disable-static")
|
||||
pisitools.dosed("configure", "libopenraw-gnome-0\.1", "libopenraw-gnome-0.3")
|
||||
autotools.configure(j)
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
|
||||
|
||||
|
||||
@@ -72,6 +72,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2021-12-14</Date>
|
||||
<Version>4.16.0</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
<Name>fury</Name>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2020-12-24</Date>
|
||||
<Version>4.16.0</Version>
|
||||
|
||||
@@ -9,7 +9,8 @@ from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.configure("--disable-dependency-tracking --disable-static --enable-gnome")
|
||||
pisitools.dosed("gnome/libopenraw-gnome-0.3.pc.in", "1", "3")
|
||||
autotools.configure("--enable-gnome --disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
@@ -20,5 +21,5 @@ def check():
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README", "TODO")
|
||||
pisitools.dodoc("AUTHORS", "NEWS", "RELEASE_NOTES")
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libopenraw</Name>
|
||||
@@ -15,24 +15,26 @@
|
||||
<Description>
|
||||
libopenraw is an ongoing project to provide a free software implementation for camera RAW files decoding. One of the main reason is that dcraw is not suited for easy integration into applications, and there is a need for an easy to use API to build free software digital image processing application.
|
||||
</Description>
|
||||
<Archive sha1sum="5cad7a73f79a52214c5e565bc18cab398aa0cb29" type="tarbz2">
|
||||
https://libopenraw.freedesktop.org/download/libopenraw-0.1.3.tar.bz2
|
||||
<Archive sha1sum="18b29c079fab00801316279933c0e782974fe336" type="tarxz">
|
||||
https://libopenraw.freedesktop.org/download/libopenraw-0.3.0.tar.xz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
<Dependency>gdk-pixbuf-devel</Dependency>
|
||||
<Dependency>libxml2-devel</Dependency>
|
||||
<Dependency>boost-devel</Dependency>
|
||||
<Dependency>rust</Dependency>
|
||||
<Dependency>curl-devel</Dependency>
|
||||
<Dependency>boost-devel</Dependency>
|
||||
<Dependency>libxml2-devel</Dependency>
|
||||
<Dependency>gdk-pixbuf-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libopenraw</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
@@ -42,7 +44,6 @@
|
||||
|
||||
<Package>
|
||||
<Name>libopenraw-devel</Name>
|
||||
<Summary>Development files for libopenraw</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libopenraw</Dependency>
|
||||
</RuntimeDependencies>
|
||||
@@ -53,6 +54,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2021-12-14</Date>
|
||||
<Version>0.3.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2020-12-24</Date>
|
||||
<Version>0.1.3</Version>
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# 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 shelltools, cmaketools, pisitools, get
|
||||
|
||||
i = "%s" % get.installDIR()
|
||||
|
||||
j = ''.join([
|
||||
' -DSPDLOG_BUILD_SHARED=ON',
|
||||
' -DSPDLOG_FMT_EXTERNAL=ON',
|
||||
' -DCMAKE_BUILD_TYPE=None',
|
||||
' -L '
|
||||
])
|
||||
|
||||
t = "#define SPDLOG_FMT_EXTERNAL"
|
||||
|
||||
def setup():
|
||||
shelltools.makedirs("_build")
|
||||
shelltools.cd("_build")
|
||||
cmaketools.configure(j, sourceDir = "..")
|
||||
|
||||
def build():
|
||||
shelltools.cd("_build")
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
shelltools.cd("_build")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % i)
|
||||
|
||||
pisitools.dosed("%s/usr/include/spdlog/tweakme.h" % i, ".*%s" % t, t)
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>spdlog</Name>
|
||||
<Homepage>https://spdlog.docsforge.com/</Homepage>
|
||||
<Packager>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Packager>
|
||||
<License>MIT</License>
|
||||
<IsA>library</IsA>
|
||||
<PartOf>programming.library</PartOf>
|
||||
<Summary>Fast C++ logging library.</Summary>
|
||||
<Description>Very fast, header-only/compiled, C++ logging library.</Description>
|
||||
<Archive sha1sum="8029472f22c024291317394d484b30af1565ea79" type="targz">
|
||||
https://github.com/gabime/spdlog/archive/refs/tags/v1.9.2.tar.gz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>fmt-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>spdlog</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>fmt</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>spdlog-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>fmt-devel</Dependency>
|
||||
<Dependency release="current">spdlog</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/lib/cmake</Path>
|
||||
<Path fileType="header">/usr/include/spdlog</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-12-14</Date>
|
||||
<Version>1.9.2</Version>
|
||||
<Comment>First build.</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user