Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmaports
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
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
postmarketOS
pmaports
Merge requests
!5635
add more openrc subpackages
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Imported
add more openrc subpackages
craftyguy/openrc-subpkgs-cont
into
master
Overview
2
Commits
2
Pipelines
9
Changes
7
Merged
Imported
Administrator
requested to merge
craftyguy/openrc-subpkgs-cont
into
master
6 months ago
Overview
2
Commits
2
Pipelines
9
Changes
7
Expand
See:
https://gitlab.com/postmarketOS/pmaports/-/issues/3045
1
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
fcf8baf5
2 commits,
6 months ago
7 files
+
27
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
device/main/device-purism-librem5/APKBUILD
+
17
−
4
Options
@@ -4,7 +4,7 @@
# Contributor: Clayton Craft <clayton@craftyguy.net>
pkgname
=
device-purism-librem5
pkgver
=
4
pkgrel
=
0
pkgrel
=
1
_confver
=
64
_purismrel
=
1
# <librem5-base ver>.<purism release>
@@ -56,14 +56,15 @@ subpackages="
$pkgname
-gnome
$pkgname
-nonfree-firmware:nonfree_firmware
$pkgname
-pulseaudio
$pkgname
-openrc
$pkgname
-smartcard
$pkgname
-smartcard-openrc:smartcard_openrc
$pkgname
-tinydm
$pkgname
-usbguard
$pkgname
-x11
"
# TODO: remove "replaces" when upstream ucm has proper L5 support...
replaces
=
"alsa-ucm-conf"
install
=
"
$pkgname
.post-install
$pkgname
.post-upgrade"
builddir
=
"
$srcdir
/librem5-base-pureos-
$_purismver
"
@@ -105,15 +106,27 @@ tinydm() {
"
$subpkgdir
"
/etc/tinydm.d/env-wayland.d/70-librem5-xwayland-accel.sh
}
openrc
()
{
install_if
=
"
$pkgname
=
$pkgver
-r
$pkgrel
openrc"
install
=
"
$subpkgname
.post-install
$subpkgname
.post-upgrade"
mkdir
-p
"
$subpkgdir
"
}
smartcard
()
{
pkgdesc
=
"OpenPGP SmartCard support for the Librem 5"
depends
=
"
$pkgname
ccid gnupg-scdaemon pcsc-lite pcsc-tools"
install_if
=
"
$pkgname
pcsc-tools"
install
=
"
$install
$subpkgname
.post-install"
mkdir
-p
"
$subpkgdir
"
}
smartcard_openrc
()
{
install_if
=
"
$pkgname
-smartcard=
$pkgver
-r
$pkgrel
openrc"
install
=
"
$subpkgname
.post-install"
install
-D
-m644
"
$srcdir
"
/pcscd-librem5-reader.conf
\
"
$subpkgdir
"
/etc/reader.conf.d/librem5-ttxs-reader
install
-D
-m755
"
$srcdir
"
/pcscd-librem5.initd
\
"
$subpkgdir
"
/etc/init.d/pcscd-librem5
}
Loading