videoplayer new
This commit is contained in:
@@ -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/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import qt5
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def setup():
|
||||
#pisitools.dosed("Makefile", "^DOC_PATH=.*$", "DOC_PATH=$(PREFIX)/share/doc/smplayer")
|
||||
pisitools.dosed("Makefile", "PREFIX=/usr/local", "PREFIX=/usr")
|
||||
|
||||
def build():
|
||||
qt5.make()
|
||||
#autotools.make("PREFIX=/usr QMAKE=/usr/bin/qmake LRELEASE=/usr/bin/lrelease")
|
||||
|
||||
def install():
|
||||
qt5.install()
|
||||
#autotools.rawInstall("PREFIX=/usr DESTDIR=%s DOC_PATH=/usr/share/doc/%s" % (get.installDIR(),get.srcNAME()))
|
||||
pisitools.dodoc("Readme.txt","Release_notes.txt","Changelog","Copying.txt")
|
||||
|
||||
pisitools.dosed("%s/usr/share/applications/smtube.desktop" % get.installDIR(), "Icon=smtube", "Icon=smtube.png")
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -22,7 +22,7 @@ DEFS=DATA_PATH=\\\"$(DATA_PATH)\\\" \
|
||||
|
||||
src/smtube:
|
||||
# ./get_svn_revision.sh
|
||||
- +cd src && $(QMAKE) $(QMAKE_OPTS) && $(DEFS) $(MAKE)
|
||||
+ +cd src && $(QMAKE) $(QMAKE_OPTS) && $(DEFS) $(MAKE) $(MAKEFLAGS)
|
||||
cd src && $(LRELEASE) smtube.pro
|
||||
|
||||
clean:
|
||||
@@ -0,0 +1,116 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>smtube</Name>
|
||||
<Homepage>http://smplayer.sourceforge.net/en/info</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>Play and download Youtube videos</Summary>
|
||||
<Description>SMTube allows to search, play and download Youtube videos.</Description>
|
||||
<Archive sha1sum="01bc15b02e19b8bee670fdda819ef92996024719" type="tarbz2">https://sourceforge.net/projects/smtube/files/SMTube/20.6.0/smtube-20.6.0.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>qt5-script-devel</Dependency>
|
||||
<Dependency>qt5-location-devel</Dependency>
|
||||
<Dependency>qt5-webkit-devel</Dependency>
|
||||
<Dependency>qt5-linguist</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">smtube-makeflags.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>smtube</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>qt5-script</Dependency>
|
||||
<Dependency>qt5-webkit</Dependency>
|
||||
<Dependency>qt5-location</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="10">
|
||||
<Date>2020-06-28</Date>
|
||||
<Version>20.6.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2020-03-04</Date>
|
||||
<Version>20.1.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2019-10-29</Date>
|
||||
<Version>19.6.0</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2018-08-15</Date>
|
||||
<Version>17.1.0</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2018-03-26</Date>
|
||||
<Version>17.1.0</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2017-03-10</Date>
|
||||
<Version>17.1.0</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2017-02-03</Date>
|
||||
<Version>17.1.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2017-01-11</Date>
|
||||
<Version>16.7.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2016-06-09</Date>
|
||||
<Version>15.11</Version>
|
||||
<Comment>Release Bump</Comment>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2016-01-06</Date>
|
||||
<Version>15.11</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Stefan Gronewold</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>smtube</Name>
|
||||
<Summary xml:lang="tr">Youtube video indirme yöneticisi</Summary>
|
||||
<Description xml:lang="tr">SMTube, youtube videolarını oynatmak indirmek ve videolar içerisinde arama yapmak için bir uygulamadır.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user