<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libproxy</Name>
        <Homepage>https://github.com/libproxy/libproxy</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>app:console</IsA>
        <Summary>Proxy configuration library</Summary>
        <Description>libproxy is a library that provides automatic proxy configuration management.</Description>
        <Archive sha1sum="9faf4b4f76ffdff475719c80e3f81dc927362d0c" type="targz">https://github.com/libproxy/libproxy/archive/refs/tags/0.5.9.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>gconf-devel</Dependency>
            <Dependency>libXmu-devel</Dependency>
            <Dependency>NetworkManager-devel</Dependency>
            <Dependency>webkit2gtk-devel</Dependency>
            <Dependency>spidermonkey-devel</Dependency>
            <Dependency>meson</Dependency>
            <Dependency>intltool</Dependency>
            <Dependency>gi-docgen</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency>curl-devel</Dependency>
            <Dependency>duktape-devel</Dependency>
            <Dependency>gsettings-desktop-schemas-devel</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch>libproxy-pac-modules.patch</Patch> -->
<!--             <Patch>libproxy-0.4.15-fix-CVE-2020-25219.patch</Patch> -->
<!--             <Patch>libproxy-0.4.15-fix-pac-buffer-overflow.patch</Patch> -->
<!--             <Patch>libproxy-0.4.15-mozjs52.patch</Patch> -->
<!--             <Patch>libproxy-0.4.15-mozjs60.patch</Patch> -->
<!--             <Patch>libproxy-0.4.17-mozjs68.patch</Patch> -->
<!--             <Patch>libproxy-0.4.15-mozjs-use-after-free.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>libproxy</Name>
        <RuntimeDependencies>
            <Dependency>dbus</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>curl</Dependency>
            <Dependency>duktape</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="executable">/usr/libexec/</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/vala</Path>
            <Path fileType="data">/usr/share/gir-1.0</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <!--Package>
        <Name>libproxy-gnome3</Name>
        <RuntimeDependencies>
            <Dependency>libproxy</Dependency>
            <Dependency>libgcc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libproxy/*/modules/config_gnome3.*</Path-->
            <!-- add gconf helper to gnome package -->
            <!--Path fileType="executable">/usr/libexec/pxgconf</Path>
        </Files>
    </Package-->

    <!--Package>
        <Name>libproxy-networkmanager</Name>
        <RuntimeDependencies>
            <Dependency>libproxy</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>libgcc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libproxy/*/modules/network_networkmanager.*</Path>
        </Files>
    </Package-->

    <!--Package>
        <Name>libproxy-webkit-gtk2</Name>
        <RuntimeDependencies>
            <Dependency>libproxy</Dependency>
            <Dependency>webkit2gtk</Dependency>
            <Dependency>libgcc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libproxy/*/modules/pacrunner_webkit*</Path>
        </Files>
    </Package-->

    <!--Package>
        <Name>libproxy-mozjs</Name>
        <RuntimeDependencies>
            <Dependency>libproxy</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libproxy/*/modules/pacrunner_mozjs*</Path>
        </Files>
    </Package-->

    <Package>
        <Name>libproxy-devel</Name>
        <Summary>Development files for libproxy</Summary>
        <RuntimeDependencies>
            <Dependency>glib2-devel</Dependency>
            <Dependency release="current">libproxy</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/share/cmake</Path>
        </Files>
    </Package>

    <History>
        <Update release="15">
            <Date>2024-10-23</Date>
            <Version>0.5.9</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="14">
            <Date>2024-10-04</Date>
            <Version>0.5.9</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="13">
            <Date>2024-06-03</Date>
            <Version>0.5.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="12">
            <Date>2024-02-11</Date>
            <Version>0.5.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2023-10-17</Date>
            <Version>0.4.18</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2023-01-19</Date>
            <Version>0.4.18</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2021-10-24</Date>
            <Version>0.4.17</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2021-06-06</Date>
            <Version>0.4.17</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2021-02-25</Date>
            <Version>0.4.15</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2020-01-16</Date>
            <Version>0.4.15</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasl</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2019-04-16</Date>
            <Version>0.4.15</Version>
            <Comment>Rebuild bump</Comment>
            <Name>Mustafa Cinasl</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-07-30</Date>
            <Version>0.4.15</Version>
            <Comment>Version bump</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-07-30</Date>
            <Version>0.4.10</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2017-03-08</Date>
            <Version>0.4.10</Version>
            <Comment>Release bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-11-01</Date>
            <Version>0.4.10</Version>
            <Comment>First release</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
