Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Pirogov
aports
Commits
70ed29eb
Commit
70ed29eb
authored
6 years ago
by
Natanael Copa
Browse files
Options
Downloads
Patches
Plain Diff
testing/monero: fix version string
Do not add git tag from aports git
parent
d08c254c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testing/monero/APKBUILD
+6
-3
6 additions, 3 deletions
testing/monero/APKBUILD
testing/monero/version-string.patch
+13
-0
13 additions, 0 deletions
testing/monero/version-string.patch
with
19 additions
and
3 deletions
testing/monero/APKBUILD
+
6
−
3
View file @
70ed29eb
...
...
@@ -2,7 +2,7 @@
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname
=
monero
pkgver
=
0.14.0.2
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"Secure, private, untraceable cryptocurrency"
url
=
"https://getmonero.org/"
arch
=
"all"
...
...
@@ -12,15 +12,17 @@ options="!check"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/monero-project/
$pkgname
/archive/v
$pkgver
.tar.gz
easylogging.patch
system-miniupnpc.patch
version-string.patch
"
builddir
=
"
$srcdir
/"
$pkgname
-
$pkgver
build
()
{
cd
"
$builddir
"
mkdir
build
&&
cd
build
mkdir
-p
build
&&
cd
build
cmake
-DCMAKE_INSTALL_PREFIX
=
/usr
\
-DCMAKE_BUILD_TYPE
=
Release
\
-DSTACK_TRACE
=
OFF
\
-DMANUAL_SUBMODULES
=
1
\
..
make
}
...
...
@@ -33,4 +35,5 @@ package() {
sha512sums
=
"f58718f6ef182796dfe14153c5e8e476289804acc20ce63275e1ca82b1b160473864859dabe42269c20c59054f29dc2a355be24e95466ce78fea15678301b3f4 monero-0.14.0.2.tar.gz
1cc51b85fdf15414421f76de04cf6736db1cbed99d1a08709ff99f2fc2597ccb1cb9940692c2d55fcbb3ed6a85d3704540ddbf86111943fdd09bc8e33aa245e2 easylogging.patch
70c8e981d87442e0c8eccb6804af8ba78c312cfeb547957b20c8e4e83e533f161ce1b094891a99df4113e901f43954a0f1473e39781e8dae77faa0726132563b system-miniupnpc.patch"
70c8e981d87442e0c8eccb6804af8ba78c312cfeb547957b20c8e4e83e533f161ce1b094891a99df4113e901f43954a0f1473e39781e8dae77faa0726132563b system-miniupnpc.patch
087e48b0507c0fb7cc9dbab05b0373b61687de3935642299c6df0194539934e7cccad497435c32291c063b10f4d91d4fbc98d81e269148c4e14780ed38d43559 version-string.patch"
This diff is collapsed.
Click to expand it.
testing/monero/version-string.patch
0 → 100644
+
13
−
0
View file @
70ed29eb
diff --git a/cmake/Version.cmake b/cmake/Version.cmake
index 3677e80..490de2c 100644
--- a/cmake/Version.cmake
+++ b/cmake/Version.cmake
@@ -32,7 +32,7 @@
function (write_static_version_header hash)
endfunction ()
find_package(Git QUIET)
-if ("$Format:$" STREQUAL "")
+if ("$Format:$" STREQUAL "" OR NOT EXISTS .git)
# We're in a tarball; use hard-coded variables.
write_static_version_header("release")
elseif (GIT_FOUND OR Git_FOUND)
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