Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Adélie Package Tree
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Westly Ward
Adélie Package Tree
Commits
382c13e0
Commit
382c13e0
authored
6 years ago
by
Síle Ekaterin Liszka
Browse files
Options
Downloads
Patches
Plain Diff
user/screengrab: new package
parent
08fe52a7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
user/screengrab/APKBUILD
+44
-0
44 additions, 0 deletions
user/screengrab/APKBUILD
with
44 additions
and
0 deletions
user/screengrab/APKBUILD
0 → 100644
+
44
−
0
View file @
382c13e0
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname
=
screengrab
pkgver
=
1.98
pkgrel
=
0
pkgdesc
=
"Cross-platform Qt-based software for taking screenshots"
url
=
"https://github.com/lxqt/screengrab"
arch
=
"all"
license
=
"GPL-2.0+"
depends
=
""
depends_dev
=
""
makedepends
=
"cmake extra-cmake-modules qt5-qtbase-dev qt5-qttools-dev kwindowsystem-dev libqtxdg-dev
$depends_dev
"
install
=
""
subpackages
=
"
$pkgname
-doc"
source
=
"https://github.com/lxqt/screengrab/releases/download/
$pkgver
/screengrab-
$pkgver
.tar.xz"
build
()
{
cd
"
$builddir
"
if
[
"
$CBUILD
"
!=
"
$CHOST
"
]
;
then
CMAKE_CROSSOPTS
=
"-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
mkdir
-p
build
&&
cd
build
cmake
\
-DCMAKE_INSTALL_PREFIX
=
/usr
\
-DCMAKE_INSTALL_LIBDIR
=
lib
\
-DBUILD_SHARED_LIBS
=
True
\
-DCMAKE_BUILD_TYPE
=
RelWithDebugInfo
\
-DCMAKE_CXX_FLAGS
=
"
$CXXFLAGS
"
\
-DCMAKE_C_FLAGS
=
"
$CFLAGS
"
\
${
CMAKE_CROSSOPTS
}
..
make
}
check
()
{
cd
"
$builddir
"
/build
CTEST_OUTPUT_ON_FAILURE
=
TRUE ctest
}
package
()
{
cd
"
$builddir
"
/build
make
DESTDIR
=
"
$pkgdir
"
install
}
sha512sums
=
"7556fd1694d76c18ef5ff7ac3169024876c387f9a6e9da10bcd1400fb855a0cfc7878b4cad5bb06973011a8bd4cdb4e6dba5b7faaa3a01fe335e286dcfad5347 screengrab-1.98.tar.xz"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment