@@ -5,39 +5,39 @@
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import mesontools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
shelltools.export("AUTOPOINT", "true")
|
||||
autotools.autoreconf("-vfi")
|
||||
|
||||
options = '--with-package-name="GStreamer for PisiLinux" \
|
||||
--with-package-origin="http://www.pisilinux.org" \
|
||||
--disable-gtk-doc'
|
||||
|
||||
options = "-Dpackage-name='GStreamer for PisiLinux' \
|
||||
-Dpackage-origin='https://www.pisilinux.org' \
|
||||
-Ddbghelp=disabled \
|
||||
-Dgtk_doc=disabled \
|
||||
"
|
||||
if get.buildTYPE() == "emul32":
|
||||
shelltools.export("CC", "%s -m32" % get.CC())
|
||||
shelltools.export("CXX", "%s -m32" % get.CXX())
|
||||
shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
|
||||
|
||||
options += " --bindir=/usr/bin32 \
|
||||
--libdir=/usr/lib32 \
|
||||
--libexecdir=/usr/libexec32 \
|
||||
--with-bash-completion-dir=no \
|
||||
--disable-introspection"
|
||||
|
||||
shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
|
||||
|
||||
autotools.configure(options)
|
||||
-Dintrospection=disabled \
|
||||
"
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
mesontools.configure(options)
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
mesontools.build()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
mesontools.install()
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
pisitools.removeDir("/usr/bin32")
|
||||
pisitools.removeDir("/usr/libexec32")
|
||||
return
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING*", "NEWS", "README")
|
||||
|
||||
@@ -13,8 +13,9 @@
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>GStreamer streaming media framework runtime</Summary>
|
||||
<Description>GStreamer is a streaming media framework, based on graphs of filters which operate on media data. Applications using this library can do anything from real-time sound processing to playing videos, and just about anything else media-related.</Description>
|
||||
<Archive sha1sum="4841671beffc64521ba48f79a852ff0149047199" type="tarxz">http://ftp.acc.umu.se/pub/gnome/sources/gstreamer/1.16/gstreamer-1.16.2.tar.xz</Archive>
|
||||
<Archive sha1sum="c2caa68868f7347bcc963a1e75244464128c2a9a" type="tarxz">http://ftp.acc.umu.se/pub/gnome/sources/gstreamer/1.17/gstreamer-1.17.2.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>meson</Dependency>
|
||||
<Dependency>gobject-introspection-devel</Dependency>
|
||||
<Dependency>libunwind-devel</Dependency>
|
||||
<Dependency>bash-completion</Dependency>
|
||||
@@ -56,7 +57,7 @@
|
||||
<!-- <Path fileType="doc">/usr/share/gtk-doc</Path> -->
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="data">/usr/share/gstreamer-1.0/gdb</Path>
|
||||
<Path fileType="data">/usr/share/gdb/auto-load/usr/lib/libgstreamer-1.0.so.0.1602.0-gdb.py</Path>
|
||||
<Path fileType="data">/usr/share/gdb/auto-load/usr/lib/libgstreamer-1.0.so.0.1702.0-gdb.py</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
<Replaces>
|
||||
@@ -88,7 +89,7 @@
|
||||
<Path fileType="library">/usr/lib32/libgstnet*</Path>
|
||||
<Path fileType="library">/usr/lib32/libgstreamer*</Path>
|
||||
<Path fileType="library">/usr/lib32/gstreamer-1.0</Path>
|
||||
<Path fileType="data">/usr/share/gdb/auto-load/usr/lib32/libgstreamer-1.0.so.0.1602.0-gdb.py</Path>
|
||||
<Path fileType="data">/usr/share/gdb/auto-load/usr/lib32/libgstreamer-1.0.so.0.1702.0-gdb.py</Path>
|
||||
</Files>
|
||||
<Replaces>
|
||||
<Package>gstreamer-next-32bit</Package>
|
||||
@@ -117,16 +118,23 @@
|
||||
</Replaces>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<!--Package>
|
||||
<Name>gstreamer-docs</Name>
|
||||
<IsA>data:doc</IsA>
|
||||
<Summary>gstreamer reference documents</Summary>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share/gtk-doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
</Package-->
|
||||
|
||||
<History>
|
||||
<Update release="10">
|
||||
<Date>2020-07-14</Date>
|
||||
<Version>1.17.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2020-01-11</Date>
|
||||
<Version>1.16.2</Version>
|
||||
|
||||
Reference in New Issue
Block a user