schroedinger:moved into main for pisi 2.0

This commit is contained in:
2015-07-23 13:51:24 +03:00
parent 5967058f89
commit c403cb7eba
4 changed files with 154 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.configure("--disable-dependency-tracking \
--disable-gtk-doc \
--disable-static \
--disable-gstreamer")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.removeDir("/usr/share/gtk-doc")
pisitools.dodoc("AUTHORS", "COPYING*", "NEWS", "TODO")
@@ -0,0 +1,30 @@
--- ltmain.sh.old 2007-10-09 07:38:25.000000000 +0200
+++ ltmain.sh 2007-10-09 07:39:25.000000000 +0200
@@ -1794,6 +1794,11 @@
arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
;;
+ -Wl,--as-needed)
+ deplibs="$deplibs $arg"
+ continue
+ ;;
+
-Wl,*)
args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
arg=
@@ -2137,6 +2142,15 @@
lib=
found=no
case $deplib in
+ -Wl,--as-needed)
+ if test "$linkmode,$pass" = "prog,link"; then
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ deplibs="$deplib $deplibs"
+ fi
+ continue
+ ;;
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
if test "$linkmode,$pass" = "prog,link"; then
compile_deplibs="$deplib $compile_deplibs"
+86
View File
@@ -0,0 +1,86 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>schroedinger</Name>
<Homepage>http://www.diracvideo.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>library</IsA>
<Summary>Dirac codec library</Summary>
<Description>C-based libraries and GStreamer plugins for the Dirac video codec.</Description>
<Archive sha1sum="c01ee0bed6c1bd7608763927f719f94ebc6aaa41" type="targz">http://www.diracvideo.org/download/schroedinger/schroedinger-1.0.11.tar.gz</Archive>
<BuildDependencies>
<!-- FIXME: new version depends on orc -->
<Dependency>orc-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>ltmain_as-needed.patch</Patch>
</Patches>
</Source>
<Package>
<Name>schroedinger</Name>
<RuntimeDependencies>
<Dependency>orc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>schroedinger-devel</Name>
<Summary>Development files for schroedinger</Summary>
<RuntimeDependencies>
<Dependency release="current">schroedinger</Dependency>
<Dependency>orc-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="5">
<Date>2014-05-20</Date>
<Version>1.0.11</Version>
<Comment>Rebuild</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-03-10</Date>
<Version>1.0.11</Version>
<Comment>Rebuild</Comment>
<Name>Varol Maksutoğlu</Name>
<Email>waroi@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-07-29</Date>
<Version>1.0.11</Version>
<Comment>Rebuild</Comment>
<Name>Erdinç Gültekin</Name>
<Email>erdincgultekin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-07-07</Date>
<Version>1.0.11</Version>
<Comment>Rebuild</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-08-29</Date>
<Version>1.0.11</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>schroedinger</Name>
<Summary xml:lang="tr">Dirac kodek kitaplığı</Summary>
<Description xml:lang="tr">C ile kodlanmış Dirac video kodeği kitaplıkları ve GStreamer eklentileri</Description>
</Source>
<Package>
<Name>schroedinger-devel</Name>
<Summary xml:lang="tr">schroedinger için geliştirme dosyaları</Summary>
</Package>
</PISI>