<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>mozjs-102</Name>
        <Homepage>http://www.mozilla.org/js/spidermonkey/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>NPL-1.1</License>
        <IsA>library</IsA>
        <Summary>Stand-alone JavaScript C Library</Summary>
        <Description>Spidermonkey is Mozilla's C implementation of JavaScript.</Description>
        <Archive type="tarxz" sha1sum="f7e549cbc2b244e58ab34d3379b73b6615a6ab35">https://ftp.mozilla.org/pub/firefox/releases/102.2.0esr/source/firefox-102.2.0esr.source.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>python3-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>nspr-devel</Dependency>
            <Dependency>readline-devel</Dependency>
            <Dependency>autoconf213</Dependency>
            <Dependency>rust</Dependency>
            <Dependency>llvm</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">mozjs78-silence-sandbox-violations.patch</Patch> -->
            <Patch level="1">mozjs78-fix-soname.patch</Patch>
            <!--Patch level="1">Remove-unused-LLVM-and-Rust-build-dependencies.patch</Patch-->
        </Patches>
    </Source>

    <Package>
        <Name>mozjs-102</Name>
        <RuntimeDependencies>
            <Dependency>nspr</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>readline</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>mozjs-102-devel</Name>
        <Summary>Development files for spidermonkey</Summary>
        <RuntimeDependencies>
            <Dependency release="current">mozjs-102</Dependency>
            <Dependency>nspr-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <!--Path fileType="executable">/usr/bin/js17-config</Path-->
        </Files>
    </Package>

    <History>
        <Update release="14">
            <Date>2022-09-18</Date>
            <Version>102.2.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2022-06-01</Date>
            <Version>91.9.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2021-08-07</Date>
            <Version>78.12.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2021-05-28</Date>
            <Version>78.10.1</Version>
            <Comment>Version bump</Comment>
            <Name>Berk Çakar</Name>
            <Email>berk2238@hotmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2020-12-09</Date>
            <Version>68.12.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2020-10-19</Date>
            <Version>68.12.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2020-08-06</Date>
            <Version>68.11.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
		<Update release="7">
            <Date>2019-10-03</Date>
            <Version>60.9.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2018-07-23</Date>
            <Version>52.2.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2018-07-22</Date>
            <Version>52.2.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-07-19</Date>
            <Version>17.0.0</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-29</Date>
            <Version>17.0.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>17.0.0</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-06</Date>
            <Version>17.0.0</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
