fbida.paketlendi

This commit is contained in:
milisman 2016-07-20 10:40:29 +00:00
parent 9904127a99
commit 057df0fc76
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,17 @@
--- desktop/ida.desktop~ 2008-08-28 00:33:58.000000000 +0200
+++ desktop/ida.desktop 2008-08-28 00:33:58.000000000 +0200
@@ -1,9 +1,10 @@
[Desktop Entry]
Type=Application
-Encoding=UTF-8
Name=ida
GenericName=Image Viewer
+Comment=Image Viewer
Exec=ida %F
-Terminal=no
-Categories=Motif;Graphics;Viewer
-MimeType=image/jpeg;image/tiff;image/png
+Terminal=false
+Categories=Motif;Graphics;Viewer;
+MimeType=image/jpeg;image/tiff;image/png;
+Icon=ida

View File

@ -0,0 +1,22 @@
# Description: Image and pdf viewer for framebuffer
# URL: http://linux.bytesex.org/fbida/
# Packager: milisarge
# Depends on: lesstif libpng libexif xorg-fontconfig giflib imagemagick xorg-libxpm desktop-file-utils
name=fbida
version=2.10
release=1
source=(http://dl.bytesex.org/releases/fbida/$name-$version.tar.gz
ida-desktop.patch)
build() {
cd $name-$version
sed -i 's/ungif/gif/' GNUmakefile
patch -p0 -i $SRC/ida-desktop.patch
echo 2.10 > VERSION
make verbose=yes
convert -resize 25% logo.jpg ida.png
make STRIP="" DESTDIR=$PKG prefix=/usr install
install -D -m644 desktop/ida.desktop $PKG/usr/share/applications/ida.desktop"
install -D -m644 ida.png $PKG/usr/share/pixmaps/ida.png"
}