guidelines-support-library: major version bump

This commit is contained in:
bluedevil
2020-09-24 00:02:05 +02:00
parent b1acf9f09c
commit 4d39690510
3 changed files with 34 additions and 19 deletions
@@ -4,28 +4,27 @@
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import cmaketools, shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get from pisi.actionsapi import get
from pisi.actionsapi import pisitools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import shelltools
def setup(): def setup():
parameters = ' '.join([ parameters = ' '.join([
'-B build', '-B build',
'-DGSL_TEST=OFF', '-DGSL_TEST=OFF',
'-DCMAKE_EXE_LINKER_FLAGS="%s"' % get.LDFLAGS(), '-DCMAKE_BUILD_TYPE=Release'
'-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_EXE_LINKER_FLAGS="%s"' % get.LDFLAGS(),
]) ])
cmaketools.configure(parameters) cmaketools.configure(parameters)
def build(): def build():
shelltools.cd('build') shelltools.cd("build")
cmaketools.make() cmaketools.make()
def install(): def install():
shelltools.cd('build') shelltools.cd("build")
cmaketools.install() cmaketools.install()
pisitools.dodoc('../LICENSE') pisitools.dodoc("../LICENSE", "../README*")
@@ -1,5 +1,5 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd"> <!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI> <PISI>
<Source> <Source>
<Name>guidelines-support-library</Name> <Name>guidelines-support-library</Name>
@@ -8,11 +8,12 @@
<Name>Safa Arıman</Name> <Name>Safa Arıman</Name>
<Email>safaariman@pisilinux.org</Email> <Email>safaariman@pisilinux.org</Email>
</Packager> </Packager>
<PartOf>programming.library</PartOf>
<License>MIT</License> <License>MIT</License>
<IsA>library</IsA> <IsA>library</IsA>
<Summary>Microsoft Guidelines Support Library</Summary> <Summary>Microsoft Guidelines Support Library</Summary>
<Description>The Guideline Support Library (GSL) contains functions and types that are suggested for use by the C++ Core Guidelines maintained by the Standard C++ Foundation. This package contains Microsoft's implementation of GSL.</Description> <Description>The Guideline Support Library (GSL) contains functions and types that are suggested for use by the C++ Core Guidelines maintained by the Standard C++ Foundation. This package contains Microsoft's implementation of GSL.</Description>
<Archive sha1sum="37833349b0f0a336eac3b680e79ffd78b50ff5c9" type="targz">https://github.com/microsoft/GSL/archive/v2.1.0.tar.gz</Archive> <Archive sha1sum="3f2891a46595806563e7a0e25bb7ecbb30776445" type="targz">https://github.com/microsoft/GSL/archive/v3.1.0.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>cmake</Dependency> <Dependency>cmake</Dependency>
</BuildDependencies> </BuildDependencies>
@@ -20,13 +21,22 @@
<Package> <Package>
<Name>guidelines-support-library-devel</Name> <Name>guidelines-support-library-devel</Name>
<Summary>Development files of Microsoft Guidelines Support Library</Summary>
<Files> <Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="doc">/usr/share/doc</Path> <Path fileType="doc">/usr/share/doc</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/share/cmake</Path>
</Files> </Files>
</Package> </Package>
<History> <History>
<Update release="2">
<Date>2020-09-23</Date>
<Version>3.1.0</Version>
<Comment>Major version bump. Translations fixed.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
<Update release="1"> <Update release="1">
<Date>2020-03-18</Date> <Date>2020-03-18</Date>
<Version>2.1.0</Version> <Version>2.1.0</Version>
@@ -35,4 +45,4 @@
<Email>safaariman@pisilinux.org</Email> <Email>safaariman@pisilinux.org</Email>
</Update> </Update>
</History> </History>
</PISI> </PISI>
@@ -2,7 +2,13 @@
<PISI> <PISI>
<Source> <Source>
<Name>guidelines-support-library</Name> <Name>guidelines-support-library</Name>
<Summary xml:lang="tr">Microsoft Guidelines Support Library</Summary> <Summary xml:lang="tr">Microsoft Kılavuz Destek Kitaplığı</Summary>
<Description xml:lang="tr">The Guideline Support Library (GSL) contains functions and types that are suggested for use by the C++ Core Guidelines maintained by the Standard C++ Foundation. This package contains Microsoft's implementation of GSL.</Description> <Description xml:lang="tr">Kılavuz Destek Kitaplığı (GSL), Standart C++ Vakfı tarafından sürdürülen C++ Çekirdek Kılavuzu tarafından kullanılması için önerilen yordam ve yapıları içerir.</Description>
</Source> </Source>
</PISI>
<Package>
<Name>guidelines-support-library-devel</Name>
<Summary xml:lang="tr">guidelines-support-library için geliştirme dosyaları</Summary>
<Description xml:lang="tr">guidelines-support-library-devel, guidelines-support-library için geliştirme dosyalarını içerir.</Description>
</Package>
</PISI>