merge feh in main

This commit is contained in:
Ertuğrul Erata
2018-12-02 10:33:19 +03:00
parent b166ba52a2
commit eb9d7a2c7b
7 changed files with 471 additions and 78 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/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 get
from pisi.actionsapi import pisitools
def setup():
print("")
def build():
autotools.make("exif=1")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
# Take a look at the source folder for these file as documentation.
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README.md", "TODO")
@@ -0,0 +1,11 @@
--- feh-2.27.orig/config.mk 2018-06-28 17:31:17.000000000 +0200
+++ feh-2.27/config.mk 2018-07-03 22:23:17.177443092 +0200
@@ -11,7 +11,7 @@
xinerama ?= 1
# Prefix for all installed files
-PREFIX ?= /usr/local
+PREFIX ?= /usr/
ICON_PREFIX ?= ${DESTDIR}${PREFIX}/share/icons
# icons in /usr/share/local/icons (and other prefixes != /usr) are not
+64
View File
@@ -0,0 +1,64 @@
<PISI>
<Source>
<Name>feh</Name>
<Homepage>https://feh.finalrewind.org/</Homepage>
<Packager>
<Name>Mogyorósi Petra</Name>
<Email>squeakymouse@protonmail.com</Email>
</Packager>
<License>MIT</License>
<PartOf>multimedia.graphics</PartOf>
<Summary>feh a fast and light image viewer</Summary>
<Description>feh is an X11 image viewer aimed mostly at console users. Unlike most other viewers, it does not have a fancy GUI, but simply displays images. It is controlled via commandline arguments and configurable key/mouse actions. It is released under a variant of the MIT license.</Description>
<BuildDependencies>
<Dependency>curl-devel</Dependency>
<Dependency>imlib2-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>libXinerama-devel</Dependency>
<Dependency>libexif-devel</Dependency>
<Dependency>libpng-devel</Dependency>
</BuildDependencies>
<Archive sha1sum="946fb692ee525753228b77d376c77354b24362f1" type="tarbz2">https://feh.finalrewind.org/feh-3.1.tar.bz2</Archive>
<Patches>
<Patch level="1">nolocal.patch</Patch>
</Patches>
</Source>
<Package>
<Name>feh</Name>
<Summary>feh a fast and light image viewer</Summary>
<RuntimeDependencies>
<Dependency>curl</Dependency>
<Dependency>imlib2</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libXinerama</Dependency>
<Dependency>libexif</Dependency>
<Dependency>libpng</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/*</Path>
<Path fileType="data">/usr/share/applications/*</Path>
<Path fileType="doc">/usr/share/doc/*</Path>
<Path fileType="data">/usr/share/feh/*</Path>
<Path fileType="data">/usr/share/icons/*</Path>
<Path fileType="man">/usr/share/man/*</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2018-12-01</Date>
<Version>3.1</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="1">
<Date>2018-06-28</Date>
<Version>2.27</Version>
<Comment>Latest version</Comment>
<Name>Mogyorósi Petra</Name>
<Email>squeakymouse@protonmail.com</Email>
</Update>
</History>
</PISI>