Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Johannes Müller
aports
Commits
1d8c4a88
Commit
1d8c4a88
authored
Sep 11, 2019
by
Rasmus Thomsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing/xournalpp: new aport
parent
c29a90ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
65 additions
and
0 deletions
+65
-0
testing/xournalpp/APKBUILD
testing/xournalpp/APKBUILD
+41
-0
testing/xournalpp/link-execinfo.patch
testing/xournalpp/link-execinfo.patch
+24
-0
No files found.
testing/xournalpp/APKBUILD
0 → 100644
View file @
1d8c4a88
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname
=
xournalpp
pkgver
=
1.0.12
pkgrel
=
0
pkgdesc
=
"Xournal++ is a handwriting notetaking software with PDF annotation support"
url
=
"https://github.com/xournalpp/xournalpp"
arch
=
"all"
license
=
"GPL-2.0-or-later"
makedepends
=
"cmake libx11-dev libxi-dev glib-dev gtk+3.0-dev libxml2-dev
poppler-dev libzip-dev libsndfile-dev lua5.3-dev portaudio-dev
libexecinfo-dev"
options
=
"!check"
# no tests
subpackages
=
"
$pkgname
-lang
$pkgname
-dbg"
source
=
"xournalpp-
$pkgver
.tar.gz::https://github.com/xournalpp/xournalpp/archive/
$pkgver
.tar.gz
link-execinfo.patch"
build
()
{
if
[
"
$CBUILD
"
!=
"
$CHOST
"
]
;
then
CMAKE_CROSSOPTS
=
"-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
# Increase stack-size to avoid crashes when using pen for input
env
LDFLAGS
=
"
$LDFLAGS
-Wl,-z,stack-size=2097152"
\
cmake
\
-DCMAKE_INSTALL_PREFIX
=
/usr
\
-DCMAKE_INSTALL_LIBDIR
=
lib
\
-DBUILD_SHARED_LIBS
=
True
\
-DCMAKE_BUILD_TYPE
=
Release
\
-DCMAKE_CXX_FLAGS
=
"
$CXXFLAGS
"
\
-DCMAKE_C_FLAGS
=
"
$CFLAGS
"
\
${
CMAKE_CROSSOPTS
}
.
make
}
package
()
{
make
DESTDIR
=
"
$pkgdir
"
install
}
sha512sums
=
"6831da57c715bf70676fdd515f55475c72fb7b2e418157c2d110383bd7a5f37db1961b1b87b2af3a62f0d46f99310d499c113f3480025c6fa47ecec8a3153112 xournalpp-1.0.12.tar.gz
7c5dbf566bc1c04b705bff07b406a2403e1ab79af774390247edc75a8fa23049e05a647b609fe3e08d17869ebe6848f3638cf9e33d6bda9e43cbb14a0e02f478 link-execinfo.patch"
testing/xournalpp/link-execinfo.patch
0 → 100644
View file @
1d8c4a88
#
https://github.com/xournalpp/xournalpp/pull/1466
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 51532a45..ff475f28 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -54,12 +54,14 @@
if (WIN32)
endif ()
## For touch workaround, may need to be disabled for a Wayland Build
-if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+if (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
set (xournalpp_LDFLAGS ${xournalpp_LDFLAGS} "-lX11 -lXi")
-elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
- set (xournalpp_LDFLAGS ${xournalpp_LDFLAGS} "-lX11 -lXi -lexecinfo")
endif ()
+find_package(Backtrace REQUIRED)
+include_directories(${Backtrace_INCLUDE_DIRS})
+set (xournalpp_LDFLAGS ${xournalpp_LDFLAGS} "${Backtrace_LIBRARIES}")
+
## Libraries ##
macro (add_includes_ldflags LDFLAGS INCLUDES)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment