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
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
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
alpine
aports
Commits
cb4678e4
Commit
cb4678e4
authored
3 years ago
by
alice
Committed by
alice
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
community/box2d: use CMAKE_BUILD_TYPE=MinSizeRel
parent
bb686594
Loading
Loading
1 merge request
!28944
community/*: use CMAKE_BUILD_TYPE=MinSizeRel/Release, part one
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/box2d/APKBUILD
+11
-9
11 additions, 9 deletions
community/box2d/APKBUILD
with
11 additions
and
9 deletions
community/box2d/APKBUILD
+
11
−
9
View file @
cb4678e4
...
...
@@ -2,19 +2,19 @@
# Maintainer: TBK <alpine@jjtc.eu>
pkgname
=
box2d
pkgver
=
2.4.1
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"2D Physics Engine for Games"
url
=
"https://box2d.org/"
arch
=
"all"
license
=
"MIT"
makedepends
=
"
cmake
ninja
doxygen
libx11-dev
libxrandr-dev
libxinerama-dev
libxcursor-dev
libxinerama-dev
libxrandr-dev
ninja
"
subpackages
=
"
$pkgname
-doc
$pkgname
-dev"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/erincatto/box2d/archive/v
$pkgver
.tar.gz"
...
...
@@ -25,15 +25,15 @@ build() {
fi
cmake
-B
build
\
-GNinja
\
-DCMAKE_BUILD_TYPE
=
None
\
-DCMAKE_BUILD_TYPE
=
MinSizeRel
\
-DCMAKE_INSTALL_PREFIX
=
/usr
\
-DCMAKE_INSTALL_LIBDIR
=
lib
\
-DBUILD_SHARED_LIBS
=
ON
\
-DBOX2D_BUILD_DOCS
=
ON
\
-DBOX2D_BUILD_TESTBED
=
OFF
\
-DBOX2D_BUILD_UNIT_TESTS
=
ON
\
$CMAKE_CROSSOPTS
.
ninja
-C
build
$CMAKE_CROSSOPTS
cmake
--build
build
}
check
()
{
...
...
@@ -42,7 +42,9 @@ check() {
}
package
()
{
DESTDIR
=
"
$pkgdir
"
ninja
-C
build
install
DESTDIR
=
"
$pkgdir
"
cmake
--
install
build
}
sha512sums
=
"d900f925b77906777719c91488bdc5e2df1ad1f4a8ca39a574229f5e57070e3a843bdd7530e817112605fde6d82145c872d8afdfc65b84531a73199098c81162 box2d-2.4.1.tar.gz"
sha512sums
=
"
d900f925b77906777719c91488bdc5e2df1ad1f4a8ca39a574229f5e57070e3a843bdd7530e817112605fde6d82145c872d8afdfc65b84531a73199098c81162 box2d-2.4.1.tar.gz
"
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