rpi-base-files: renamed to rpi-base to follow platform naming rules.
This commit is contained in:
parent
3d5960f8e4
commit
d5411e2667
4 changed files with 54 additions and 11 deletions
11
srcpkgs/rpi-base/files/bcm_host.pc
Normal file
11
srcpkgs/rpi-base/files/bcm_host.pc
Normal file
|
@ -0,0 +1,11 @@
|
|||
prefix=/opt/vc
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: bcm_host
|
||||
Description: Broadcom VideoCore host API library
|
||||
Version: 1
|
||||
Libs: -L${libdir} -lbcm_host -lvcos -lvchiq_arm
|
||||
Cflags: -I${includedir} -I${includedir}/interface/vmcs_host/linux -I${includedir}/interface/vcos/pthreads -DUSE_VCHIQ_ARM
|
||||
|
12
srcpkgs/rpi-base/files/egl.pc
Normal file
12
srcpkgs/rpi-base/files/egl.pc
Normal file
|
@ -0,0 +1,12 @@
|
|||
prefix=/opt/vc
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: EGL
|
||||
Description: Fake EGL package for RPi
|
||||
Version: 10
|
||||
Requires: bcm_host
|
||||
Libs: -L${libdir} -lEGL
|
||||
Cflags: -I${includedir}
|
||||
|
12
srcpkgs/rpi-base/files/glesv2.pc
Normal file
12
srcpkgs/rpi-base/files/glesv2.pc
Normal file
|
@ -0,0 +1,12 @@
|
|||
prefix=/opt/vc
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: GLESv2
|
||||
Description: Fake GL ES 2 package for RPi
|
||||
Version: 10
|
||||
Requires: bcm_host
|
||||
Libs: -L${libdir} -lGLESv2
|
||||
Cflags: -I${includedir}
|
||||
|
|
@ -1,19 +1,27 @@
|
|||
# Template file for 'rpi-base-files'
|
||||
pkgname=rpi-base-files
|
||||
version=0.1
|
||||
# Template file for 'rpi-base'
|
||||
pkgname=rpi-base
|
||||
version=1.0
|
||||
revision=1
|
||||
short_desc="Void Linux base system files for the Raspberry Pi"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
noarch=yes
|
||||
homepage="http://www.voidlinux.eu"
|
||||
license="Public domain"
|
||||
short_desc="Void Linux RaspberryPi base files"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="Public Domain"
|
||||
|
||||
# XXX only for rpi
|
||||
only_for_archs="armv6l"
|
||||
makedepends="ntp?ntp-daemon dhcpcd openssh-server"
|
||||
makedepends="ntp?ntp-daemon dhcpcd openssh-server rpi-kernel linux-firmware"
|
||||
depends="${makedepends}"
|
||||
# enable dhcpcd and sshd by default.
|
||||
systemd_services="dhcpcd.service on sshd.service on"
|
||||
replaces="base-system<0.77"
|
||||
|
||||
# Allow upgrades for compatibility.
|
||||
provides="rpi-base-files-${version}_${revision}"
|
||||
replaces="rpi-base-files>=0"
|
||||
|
||||
# enable ntpd, dhcpcd and sshd by default.
|
||||
systemd_services="
|
||||
ntpdate.service on
|
||||
ntpd.service on
|
||||
dhcpcd.service on
|
||||
sshd.service on"
|
||||
|
||||
do_install() {
|
||||
# Load the audio module by default.
|
Loading…
Reference in a new issue