From 79b0f7a6d377ad4860e10ba905d9bd7de7d9a726 Mon Sep 17 00:00:00 2001 From: itetcu Date: Mon, 10 Jul 2006 20:22:28 +0000 Subject: This e17 module allows users to take screenshots. It provides customized delays, directory and file names, image dithering, thumbnails preparing and various effects via external programs. Author: Christopher Michael WWW: http://www.enlightenment.org PR: ports/100004 Submitted by: Stanislav Sedov --- x11/Makefile | 1 + x11/e17-module-screenshot/Makefile | 49 +++++++++++++++++++++++++ x11/e17-module-screenshot/distinfo | 3 ++ x11/e17-module-screenshot/files/patch-configure | 11 ++++++ x11/e17-module-screenshot/pkg-descr | 6 +++ x11/e17-module-screenshot/pkg-plist | 17 +++++++++ 6 files changed, 87 insertions(+) create mode 100644 x11/e17-module-screenshot/Makefile create mode 100644 x11/e17-module-screenshot/distinfo create mode 100644 x11/e17-module-screenshot/files/patch-configure create mode 100644 x11/e17-module-screenshot/pkg-descr create mode 100644 x11/e17-module-screenshot/pkg-plist (limited to 'x11') diff --git a/x11/Makefile b/x11/Makefile index 8f21e95c3ac..148e729cce5 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -47,6 +47,7 @@ SUBDIR += e17-module-mem SUBDIR += e17-module-moon SUBDIR += e17-module-rain + SUBDIR += e17-module-screenshot SUBDIR += e17-module-slideshow SUBDIR += e17-module-snow SUBDIR += e17-module-uptime diff --git a/x11/e17-module-screenshot/Makefile b/x11/e17-module-screenshot/Makefile new file mode 100644 index 00000000000..06aaaf0fa41 --- /dev/null +++ b/x11/e17-module-screenshot/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: e17-module-uptime +# Date created: 23 June 2006 +# Whom: Stanislav Sedov +# +# $FreeBSD$ +# + +PORTNAME= screenshot +PORTVERSION= 20060707 +CATEGORIES= x11 +MASTER_SITES= http://mbsd.msk.ru/dist/ +PKGNAMEPREFIX= e17-module- +DISTNAME= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= ssedov@mbsd.msk.ru +COMMENT= An e17 module which allows users to take screenshots + +BUILD_DEPENDS= enlightenment:${PORTSDIR}/x11-wm/enlightenment-devel +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" + +OPTIONS= IMAGIC "Use ImageMagick" on \ + SCROT "Use Scrot" off + +.include + +.if !defined(WITHOUT_IMAGIC) +RUN_DEPENDS+= import:${PORTSDIR}/graphics/ImageMagick +.endif + +.if defined(WITH_SCROT) +RUN_DEPENDS+= scrot:${PORTSDIR}/graphics/scrot +.endif + +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS= --disable-nls +PLIST_SUB+= NLS="@comment " +.endif + +.include diff --git a/x11/e17-module-screenshot/distinfo b/x11/e17-module-screenshot/distinfo new file mode 100644 index 00000000000..0836f4795b0 --- /dev/null +++ b/x11/e17-module-screenshot/distinfo @@ -0,0 +1,3 @@ +MD5 (screenshot-20060707.tar.bz2) = 9171aaf311bcf74762f42c6317045813 +SHA256 (screenshot-20060707.tar.bz2) = 3c1dbfb464e4f440b2d9dc43387563e22cf2a20f94ded7f56930470ddce13bd8 +SIZE (screenshot-20060707.tar.bz2) = 364926 diff --git a/x11/e17-module-screenshot/files/patch-configure b/x11/e17-module-screenshot/files/patch-configure new file mode 100644 index 00000000000..bc913371e95 --- /dev/null +++ b/x11/e17-module-screenshot/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Fri Jun 23 16:14:40 2006 ++++ configure Fri Jun 23 16:14:53 2006 +@@ -21497,7 +21497,7 @@ + + + +-MODULE_ARCH="$host_os-$host_cpu" ++MODULE_ARCH="" + + + cat >>confdefs.h <<_ACEOF diff --git a/x11/e17-module-screenshot/pkg-descr b/x11/e17-module-screenshot/pkg-descr new file mode 100644 index 00000000000..bd1038d2288 --- /dev/null +++ b/x11/e17-module-screenshot/pkg-descr @@ -0,0 +1,6 @@ +This e17 module allows users to take screenshots. It provides customized +delays, directory and file names, image dithering, thumbnails preparing +and various effects via external programs. + +Author: Christopher Michael +WWW: http://www.enlightenment.org diff --git a/x11/e17-module-screenshot/pkg-plist b/x11/e17-module-screenshot/pkg-plist new file mode 100644 index 00000000000..ce36c62f6c4 --- /dev/null +++ b/x11/e17-module-screenshot/pkg-plist @@ -0,0 +1,17 @@ +lib/enlightenment/modules/screenshot/screenshot.edj +lib/enlightenment/modules/screenshot/e17_titlebar_glint1.png +lib/enlightenment/modules/screenshot/e17_titlebar_glint2.png +lib/enlightenment/modules/screenshot/e17_titlebar_glint3.png +lib/enlightenment/modules/screenshot/module.a +lib/enlightenment/modules/screenshot/module.eap +lib/enlightenment/modules/screenshot/module.la +lib/enlightenment/modules/screenshot/module.so +lib/enlightenment/modules/screenshot/module_icon.png +%%NLS%%share/locale/eo/LC_MESSAGES/screenshot.mo +%%NLS%%share/locale/fi/LC_MESSAGES/screenshot.mo +%%NLS%%share/locale/fr/LC_MESSAGES/screenshot.mo +%%NLS%%share/locale/it/LC_MESSAGES/screenshot.mo +%%NLS%%share/locale/ja/LC_MESSAGES/screenshot.mo +%%NLS%%share/locale/ru/LC_MESSAGES/screenshot.mo +%%NLS%%share/locale/sv/LC_MESSAGES/screenshot.mo +@dirrm lib/enlightenment/modules/screenshot -- cgit