Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • aports aports
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 663
    • Issues 663
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 324
    • Merge requests 324
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpinealpine
  • aportsaports
  • Merge requests
  • !6271

main/meson: add opinionated helper for Alpine Linux packaging

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Leo requested to merge Leo/aports:meson into master Apr 04, 2020
  • Overview 7
  • Commits 2
  • Pipelines 7
  • Changes 2

This creates an alpine-meson binary that is a shellscript that carries the default values we think are best for packaging stuff in Alpine Linux, they can of course be overridden in the APKBUILD by passing the same options at the end.

It uses the same concept as the arch-meson from Arch Linux, the extra values are taken from https://mesonbuild.com/Builtin-options.html and from some peeking at Void Linux's meson build-style.

This should allow us to make sweeping changes to APKBUILDs with a single change in a knob instead of on every template, such as the recent changes to --buildtype=plain and CMake's -DCMAKE_BUILD_TYPE=None.

auto-features should be disabled but that would lead some packages like gstreamer requiring the APKBUILD writer to switch up more than 60 lines.

cc: @ncopa @Cogitri

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: meson