Skip to content

BredOS/multilib-pkgbuilds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BredOS multilib repository

Outdated Packages

Adding the repository

[BredOS-multilib]
Include = /etc/pacman.d/bredos-mirrorlist

Building a package

First set PKGDEST= in makepkg.conf to the directory where you want the packages to be stored.

Then run:

./buildpkg.sh <package>

Contributing

Remember to run pre-commit install after cloning.

If you want to add a package that exists in archlinux's multilib repo, you need to pull the PKGBUILD using './pullpkg.sh '. Then modify it so it compiles for ARM32 heres some tips when doing that:

  • CC CXX should be set to the folowing in the PKGBUILD:
export CC="armv7h-linux-gnueabihf-gcc"
export CXX="armv7h-linux-gnueabihf-g++"
  • Remove any cflags or cxxflags that are -m32 or -mstackrealign.

  • PKGCONFIG should be set to the folowing in the PKGBUILD:

export PKG_CONFIG="armv7h-linux-gnueabihf-pkg-config"
  • You need to add --includedir=/usr/include32 to the ./configure line in the PKGBUILD or if it uses cmake you need to add -DCMAKE_INSTALL_INCLUDEDIR=include32 to the cmake line.

  • You need to add --libdir=/usr/lib32 to the ./configure line in the PKGBUILD or if it uses cmake you need to add -DCMAKE_INSTALL_LIBDIR=lib32 to the cmake line.

  • If package uses meson or arch-meson you can use --cross-file arm-lib32 to set CC, CXX, PKG_CONFIG, libdir and includedir to the correct values.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published