libupnp and liberation-fonts in main

This commit is contained in:
Ertuğrul Erata
2016-04-01 18:28:10 +03:00
parent 071fe68209
commit adbda64d3d
7 changed files with 173 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
# autotools.autoreconf("-vif")
autotools.configure("--disable-static \
--without-docdir")
#FIXME: documentation is temporarily disabled since update release 7.
#--with-documentation=/usr/share/doc/%s" % get.srcNAME())
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def check():
autotools.make("check")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
#pisitools.remove("/usr/share/doc/libupnp/IXML_Programming_Guide.pdf")
#pisitools.remove("/usr/share/doc/libupnp/UPnP_Programming_Guide.pdf")
@@ -0,0 +1,13 @@
Index: libupnp-1.6.6/m4/acx_pthread.m4
===================================================================
--- libupnp-1.6.6.orig/m4/acx_pthread.m4
+++ libupnp-1.6.6/m4/acx_pthread.m4
@@ -146,7 +146,7 @@ acx_pthread_flags="pthreads none -Kthrea
# pthread-config: use pthread-config program (for GNU Pth library)
case "${host_cpu}-${host_os}" in
- *solaris*)
+ *solaris*|*linux*)
# On Solaris (at least, for some versions), libc contains stubbed
# (non-functional) versions of the pthreads routines, so link-based
+54
View File
@@ -0,0 +1,54 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libupnp</Name>
<Homepage>http://pupnp.sourceforge.net/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<Summary>Portable UPnP library</Summary>
<Description>The Universal Plug and Play (UPnP) SDK for Linux provides support for building UPnP-compliant control points, devices, and bridges on Linux.</Description>
<Archive sha1sum="ee9e16ff42808521b62b7fc664fc9cba479ede88" type="tarbz2">http://sourceforge.net/projects/pupnp/files/pupnp/libUPnP%201.6.19/libupnp-1.6.19.tar.bz2</Archive>
<BuildDependencies>
<Dependency>kernel-headers</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">pthread-flag.patch</Patch>
</Patches>
</Source>
<Package>
<Name>libupnp</Name>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libupnp-devel</Name>
<Summary>Development files for libupnp</Summary>
<RuntimeDependencies>
<Dependency release="current">libupnp</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2014-05-31</Date>
<Version>1.6.19</Version>
<Comment>First release</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
</History>
</PISI>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libupnp</Name>
<Summary xml:lang="tr">Taşınabilir UPnP kitaplığı</Summary>
<Summary xml:lang="fr">Librairie UPnP.</Summary>
<Summary xml:lang="de">Portabels UPnP Bibliothek</Summary>
</Source>
<Package>
<Name>libupnp-devel</Name>
<Summary xml:lang="tr">libupnp için geliştirme dosyaları</Summary>
</Package>
</PISI>