graphics/screengrab: Import new package

A program for fast creating screenshots, and easily publishing them
on internet image hosting services. It works on Linux and
Windows operating systems.
ScreenGrab uses the Qt framework and thus, it is independent from
any desktop environment.

Screenshot tools from the LXQt desktop
This commit is contained in:
pin 2020-06-01 11:02:20 +00:00
parent 152428360f
commit 764698e857
4 changed files with 86 additions and 0 deletions

View file

@ -0,0 +1,5 @@
A program for fast creating screenshots, and easily publishing them
on internet image hosting services. It works on Linux and
Windows operating systems.
ScreenGrab uses the Qt framework and thus, it is independent from
any desktop environment.

View file

@ -0,0 +1,41 @@
# $NetBSD: Makefile,v 1.1 2020/06/01 11:02:20 pin Exp $
VERSION= 2.0.1
DISTNAME= screengrab-${VERSION}
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=lxqt/screengrab/releases/download/${VERSION}/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/lxqt/screengrab/
COMMENT= Crossplatform tool for grabbing screenshots of your desktop
LICENSE= gnu-gpl-v2
USE_CMAKE= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
CONFIGURE_DIRS= build
CMAKE_ARG_PATH= ..
CMAKE_ARGS+= -DCMAKE_INSTALL_PREFIX=${PREFIX}
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/screengrab \
-L${PREFIX}/lib/screengrab/
pre-configure:
${MKDIR} -p ${WRKSRC}/build
TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtx11extras/buildlink3.mk"
.include "../../x11/kwindowsystem/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../x11/libqtxdg/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libxcb/buildlink3.mk"
.include "../../x11/libXfixes/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

34
graphics/screengrab/PLIST Normal file
View file

@ -0,0 +1,34 @@
@comment $NetBSD: PLIST,v 1.1 2020/06/01 11:02:20 pin Exp $
bin/screengrab
lib/screengrab/libextedit.so
lib/screengrab/libextedit.so.1.0.0
share/applications/screengrab.desktop
share/doc/screengrab/html/default.css
share/doc/screengrab/html/en/index.html
share/doc/screengrab/html/pt_BR/index.html
share/doc/screengrab/html/ru/index.html
share/icons/hicolor/32x32/apps/screengrab.png
share/screengrab/screengrab.conf
share/screengrab/translations/screengrab_arn.qm
share/screengrab/translations/screengrab_ast.qm
share/screengrab/translations/screengrab_ca.qm
share/screengrab/translations/screengrab_cs.qm
share/screengrab/translations/screengrab_cy.qm
share/screengrab/translations/screengrab_de.qm
share/screengrab/translations/screengrab_el.qm
share/screengrab/translations/screengrab_es.qm
share/screengrab/translations/screengrab_fr.qm
share/screengrab/translations/screengrab_gl.qm
share/screengrab/translations/screengrab_he.qm
share/screengrab/translations/screengrab_hu.qm
share/screengrab/translations/screengrab_it.qm
share/screengrab/translations/screengrab_ja.qm
share/screengrab/translations/screengrab_lt.qm
share/screengrab/translations/screengrab_nb_NO.qm
share/screengrab/translations/screengrab_pl.qm
share/screengrab/translations/screengrab_pt.qm
share/screengrab/translations/screengrab_pt_BR.qm
share/screengrab/translations/screengrab_pt_PT.qm
share/screengrab/translations/screengrab_ru.qm
share/screengrab/translations/screengrab_sv.qm
share/screengrab/translations/screengrab_uk.qm

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2020/06/01 11:02:20 pin Exp $
SHA1 (screengrab-2.0.1.tar.xz) = 76938d239b73b80319fb75dfe68fc5f866ba3b7b
RMD160 (screengrab-2.0.1.tar.xz) = 1e5f8bfa82dec247e44116f716490d48238a8916
SHA512 (screengrab-2.0.1.tar.xz) = f65d1aa4a36bf7e11e29bd1d1ad009f979e3c66a27204cd74c7ef7a54bde4027efdf030933cb81d2f9cb8b67715e868e1454a1faf7bbbb63cf162214bad8dc02
Size (screengrab-2.0.1.tar.xz) = 123628 bytes