mjpegtools:moved into main for pisi 2.0

This commit is contained in:
2015-07-23 19:37:34 +03:00
parent dece1c4eae
commit e0507979b1
3 changed files with 145 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
#!/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 shelltools
from pisi.actionsapi import get
WorkDir = "mjpegtools-2.1.0"
def setup():
shelltools.export("CFLAGS", "%s -fno-strict-aliasing" % get.CFLAGS())
autotools.autoreconf("-vfi")
pisitools.dosed("configure", "ARCHFLAGS=.*", "ARCHFLAGS=")
autotools.configure("--with-x \
--enable-largefile \
--disable-simd-accel \
--with-dv-yv12 \
--disable-static \
--with-libpng \
--with-libdv=/usr")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.install()
pisitools.dodoc("AUTHORS","ChangeLog","README*","mjpeg_howto.txt", "TODO")
+97
View File
@@ -0,0 +1,97 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>mjpegtools</Name>
<Homepage>http://mjpeg.sourceforge.net/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>as-is</License>
<IsA>app:gui</IsA>
<Summary>Tools for MJPEG video</Summary>
<Description>mjpegtools is a complete suite of tools for you to capture, edit, process, filter and play your media as you wish. You can digitize your VHS collection, create DVDs, and do advanced video filtering on already-digitized videos.</Description>
<Archive sha1sum="b9effa86280e23d67369e842e5cb645948583097" type="targz">http://sourceforge.net/projects/mjpeg/files/mjpegtools/2.1.0/mjpegtools-2.1.0.tar.gz/download</Archive>
<BuildDependencies>
<Dependency>gtk2-devel</Dependency>
<Dependency>libdv-devel</Dependency>
<Dependency>libsdl-devel</Dependency>
<Dependency>libXxf86dga-devel</Dependency>
<!--<Dependency>libquicktime-devel</Dependency>-->
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>libpng-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="0">mjpegtools-1.9.0-link.patch</Patch> -->
<!-- <Patch level="1">mjpegtools-1.9.0rc1-x86_64.patch</Patch> -->
<!--<Patch level="1">mjpegtools-2.0.0-format-strings.patch</Patch>
<Patch level="0">mjpegtools-2.0.0-mplex-build.patch</Patch>-->
</Patches>
</Source>
<Package>
<Name>mjpegtools</Name>
<RuntimeDependencies>
<Dependency>gtk2</Dependency>
<Dependency>glib2</Dependency>
<Dependency>libdv</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libsdl</Dependency>
<Dependency>libjpeg-turbo</Dependency>
<Dependency>libpng</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="info">/usr/share/info</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>mjpegtools-devel</Name>
<Summary>Development files for mjpegtools</Summary>
<RuntimeDependencies>
<Dependency release="current">mjpegtools</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<!-- FIXME: Remove this if not necessary -->
<Path fileType="man">/usr/share/man/man3</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2014-06-10</Date>
<Version>2.1.0</Version>
<Comment>Rebuild.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="3">
<Date>2014-05-26</Date>
<Version>2.1.0</Version>
<Comment>Rebuild.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-02-13</Date>
<Version>2.1.0</Version>
<Comment>Version bump</Comment>
<Name>Kamil Atlı</Name>
<Email>suvarice@gmail.com</Email>
</Update>
<Update release="1">
<Date>2012-10-07</Date>
<Version>2.0.1_rc1</Version>
<Comment>First release</Comment>
<Name>Erdinç Gültekin</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>mjpegtools</Name>
<Summary xml:lang="tr">MJPEG video dosyaları için kullanılabilecek araçlar</Summary>
<Description xml:lang="tr">Mjpegtools size görüntü yakalama, düzenleme, işleme ve filtreleme olanakları sunan ayrıca dosyalarınızı istediğiniz gibi oynatabileceğiniz tam bir araçlar paketidir. VHS kolleksiyonunuzu dijital ortama taşıyabilir, DVDler yaratabilirsiniz. Zaten dijital ortamda olan videolara ileri düzeyde video filtrelemesi yapabilirsiniz.</Description>
</Source>
<Package>
<Name>mjpegtools-devel</Name>
<Summary xml:lang="tr">mjpegtools için geliştirme dosyaları</Summary>
</Package>
</PISI>