1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Add new port graphics/showimage:

ShowImage is a simple KDE based image viewer using the maximum space
inside its window without cluttering the window with menubar, toolbar
or statusbar.

WWW:	http://kde-apps.org/content/show.php/ShowImage?content=143977

PR:		based on ports/162900
Submitted by:	Rusty Nejdl <rnejdl@ringofsaturn.com>
Feature safe:	yes
This commit is contained in:
Max Brazhnikov 2011-12-13 16:26:40 +00:00
parent 8b47c307d1
commit 135e376db2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287305
5 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# New ports collection makefile for: showimage
# Date Created: 2011-11-26
# Whom: Rusty Nejdl <rnejdl@ringofsaturn.com>
#
# $FreeBSD$
#
PORTNAME= showimage
PORTVERSION= 1.6.3
CATEGORIES= graphics kde
MASTER_SITES= http://www.kde-apps.org/CONTENT/content-files/
DISTNAME= 143977-${PORTNAME}-${PORTVERSION}
MAINTAINER= rnejdl@ringofsaturn.com
COMMENT= ShowImage is a simple KDE based image viewer
USE_BZIP2= yes
USE_CMAKE= yes
USE_KDE4= automoc4 kdeprefix kdelibs
USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build rcc_build uic_build
MAKE_JOBS_SAFE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_FILES= bin/${PORTNAME}-kde4 \
share/applications/kde4/${PORTNAME}.desktop \
share/icons/hicolor/32x32/apps/${PORTNAME}.png
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (143977-showimage-1.6.3.tar.bz2) = e8189fa8fda0e6a4654906629793345574025228ac512b7167c6509132087ff9
SIZE (143977-showimage-1.6.3.tar.bz2) = 22702

View File

@ -0,0 +1,17 @@
--- ./CMakeLists.txt.orig 2011-08-17 14:50:52.000000000 +0000
+++ ./CMakeLists.txt 2011-12-13 16:02:16.768599808 +0000
@@ -13,11 +13,11 @@
kde4_add_ui_files(showimage_SRCS)
-kde4_add_executable(showimage ${showimage_SRCS})
+kde4_add_executable(showimage-kde4 ${showimage_SRCS})
-target_link_libraries(showimage ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS})
+target_link_libraries(showimage-kde4 ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS})
-install(TARGETS showimage ${INSTALL_TARGETS_DEFAULT_ARGS})
+install(TARGETS showimage-kde4 ${INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES showimage.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
kde4_install_icons(${ICON_INSTALL_DIR})

View File

@ -0,0 +1,11 @@
--- ./showimage.desktop.orig 2011-09-12 19:22:18.000000000 +0000
+++ ./showimage.desktop 2011-12-13 15:58:11.884599087 +0000
@@ -2,7 +2,7 @@
Type=Application
Encoding=UTF-8
Exec=showimage %F
-Icon=showimage
+Icon=showimage-kde4
Categories=Graphics;RasterGraphics;Viewer;
Terminal=false

View File

@ -0,0 +1,5 @@
ShowImage is a simple KDE based image viewer using the maximum space
inside its window without cluttering the window with menubar, toolbar
or statusbar.
WWW: http://kde-apps.org/content/show.php/ShowImage?content=143977