From f9986ed5d49f07214dab8c20c04170165dd4cdf5 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 28 Feb 2019 22:11:54 -0300 Subject: [PATCH] tree-wide: change only_for_archs to archs= [ci skip] --- srcpkgs/CPU-X/template | 2 +- srcpkgs/EmulationStation-rpi/template | 2 +- srcpkgs/GCP-base/template | 2 +- srcpkgs/JAI/template | 2 +- srcpkgs/Signal-Desktop/template | 2 +- srcpkgs/VirtualGL/template | 2 +- srcpkgs/a10disp/template | 2 +- srcpkgs/acpi_call-dkms/template | 2 +- srcpkgs/adobe-flash-plugin/template | 2 +- srcpkgs/afl/template | 2 +- srcpkgs/amdvlk/template | 2 +- srcpkgs/android-studio/template | 2 +- srcpkgs/apache-directory-studio/template | 2 +- srcpkgs/apache-fop/template | 2 +- srcpkgs/apache-storm/template | 2 +- srcpkgs/arena/template | 2 +- srcpkgs/argp-standalone/template | 3 +-- srcpkgs/atom/template | 2 +- srcpkgs/avidemux/template | 2 +- srcpkgs/bananapi-base/template | 2 +- srcpkgs/bananapi-uboot/template | 2 +- srcpkgs/base-chroot-musl/template | 2 +- srcpkgs/bbswitch/template | 2 +- srcpkgs/beaglebone-base/template | 2 +- srcpkgs/beaglebone-kernel/template | 2 +- srcpkgs/beaglebone-uboot/template | 2 +- srcpkgs/beignet/template | 2 +- srcpkgs/bin86/template | 2 +- srcpkgs/blender/template | 2 +- srcpkgs/bokken/template | 2 +- srcpkgs/broadcom-wl-dkms/template | 2 +- srcpkgs/brother-brscan3/template | 2 +- srcpkgs/brother-brscan4/template | 2 +- srcpkgs/brother-dcp197c-cupswrapper/template | 2 +- srcpkgs/brother-dcp197c-lpr/template | 2 +- srcpkgs/bumblebee/template | 2 +- srcpkgs/catalyst/template | 2 +- srcpkgs/cavestory/template | 2 +- srcpkgs/ccl/template | 2 +- srcpkgs/chez-scheme/template | 2 +- srcpkgs/chicken/template | 2 +- srcpkgs/chromium/template | 2 +- srcpkgs/ci20-base/template | 2 +- srcpkgs/ci20-kernel/template | 2 +- srcpkgs/ci20-uboot/template | 2 +- srcpkgs/clsync/template | 2 +- srcpkgs/codelite/template | 2 +- srcpkgs/coreboot-utils/template | 2 +- srcpkgs/cpuburn-a53/template | 2 +- srcpkgs/cpuburn/template | 2 +- srcpkgs/cpufrequtils/template | 2 +- srcpkgs/cpuid/template | 2 +- srcpkgs/cpuinfo/template | 2 +- srcpkgs/crash/template | 2 +- srcpkgs/cross-i686-linux-musl/template | 2 +- srcpkgs/cubieboard2-base/template | 2 +- srcpkgs/cubieboard2-uboot/template | 2 +- srcpkgs/cubietruck-base/template | 2 +- srcpkgs/darch/template | 2 +- srcpkgs/darktable/template | 2 +- srcpkgs/davmail/template | 2 +- srcpkgs/dev86/template | 2 +- srcpkgs/discord-ptb/template | 2 +- srcpkgs/discord/template | 2 +- srcpkgs/dmd-bootstrap/template | 2 +- srcpkgs/docker-credential-pass/template | 2 +- srcpkgs/dockstar-base/template | 2 +- srcpkgs/dockstar-uboot/template | 2 +- srcpkgs/dolphin-emu/template | 2 +- srcpkgs/doom3/template | 2 +- srcpkgs/dssi-vst/template | 2 +- srcpkgs/e3/template | 2 +- srcpkgs/eclipse/template | 2 +- srcpkgs/elasticsearch/template | 2 +- srcpkgs/embree/template | 2 +- srcpkgs/factor/template | 2 +- srcpkgs/fpc/template | 2 +- srcpkgs/gcc-multilib/template | 2 +- srcpkgs/gens-gs/template | 2 +- srcpkgs/ghc-bin/template | 2 +- srcpkgs/ghdl/template | 2 +- srcpkgs/gns3-server/template | 2 +- srcpkgs/go1.4-bootstrap/template | 2 +- srcpkgs/google-earth-pro/template | 2 +- srcpkgs/gprolog/template | 2 +- srcpkgs/grml-rescueboot/template | 2 +- srcpkgs/grub-customizer/template | 2 +- srcpkgs/grub/template | 2 +- srcpkgs/hdapsd/template | 2 +- srcpkgs/hopper/template | 2 +- srcpkgs/igt-gpu-tools/template | 2 +- srcpkgs/imagescan-plugin-networkscan/template | 2 +- srcpkgs/intel-ucode/template | 2 +- srcpkgs/ioquake3-rpi/template | 2 +- srcpkgs/iscan-plugin-gt-s650/template | 2 +- srcpkgs/iscan/template | 2 +- srcpkgs/ispc/template | 2 +- srcpkgs/iucode-tool/template | 2 +- srcpkgs/kirkwood-kernel/template | 2 +- srcpkgs/kodi-rpi/template | 2 +- srcpkgs/kodi/template | 4 ++-- srcpkgs/kubernetes/template | 2 +- srcpkgs/libcpuid/template | 2 +- srcpkgs/libexecinfo/template | 2 +- srcpkgs/libglob/template | 2 +- srcpkgs/libguestfs/template | 2 +- srcpkgs/libieee1284/template | 2 +- srcpkgs/libopenshot/template | 2 +- srcpkgs/librtas/template | 2 +- srcpkgs/libsmbios/template | 2 +- srcpkgs/libspotify/template | 2 +- srcpkgs/libucontext/template | 2 +- srcpkgs/libump-git/template | 2 +- srcpkgs/libva-intel-driver/template | 2 +- srcpkgs/libvdpau-sunxi/template | 2 +- srcpkgs/libx86/template | 2 +- srcpkgs/lilo/template | 2 +- srcpkgs/linux3.16/template | 2 +- srcpkgs/linux3.18/template | 2 +- srcpkgs/linux4.14/template | 2 +- srcpkgs/livewallpaper/template | 2 +- srcpkgs/master-pdf-editor/template | 2 +- srcpkgs/mbox/template | 2 +- srcpkgs/mbpfan/template | 2 +- srcpkgs/mcelog/template | 2 +- srcpkgs/mei-amt-check/template | 2 +- srcpkgs/memtest86+/template | 2 +- srcpkgs/minisat/template | 2 +- srcpkgs/msr-tools/template | 2 +- srcpkgs/mupen64plus/template | 2 +- srcpkgs/musl-fts/template | 2 +- srcpkgs/musl-nscd/template | 3 +-- srcpkgs/musl-obstack/template | 2 +- srcpkgs/musl/template | 2 +- srcpkgs/myrddin/template | 2 +- srcpkgs/nsjail/template | 2 +- srcpkgs/numactl/template | 2 +- srcpkgs/nvidia340/template | 2 +- srcpkgs/nvidia390/template | 2 +- srcpkgs/obs/template | 2 +- srcpkgs/odroid-c2-base/template | 2 +- srcpkgs/odroid-c2-kernel/template | 2 +- srcpkgs/odroid-c2-uboot/template | 2 +- srcpkgs/odroid-u2-base/template | 2 +- srcpkgs/odroid-u2-boot-fw/template | 2 +- srcpkgs/odroid-u2-kernel/template | 2 +- srcpkgs/odroid-u2-uboot/template | 2 +- srcpkgs/offo-hyphenation/template | 2 +- srcpkgs/omxplayer/template | 2 +- srcpkgs/openbazaar/template | 2 +- srcpkgs/openshot/template | 2 +- srcpkgs/openvswitch/template | 2 +- srcpkgs/opera/template | 2 +- srcpkgs/oracle-jdk/template | 2 +- srcpkgs/oracle-jre/template | 2 +- srcpkgs/orientdb/template | 2 +- srcpkgs/pcc-libs/template | 2 +- srcpkgs/pcc/template | 2 +- srcpkgs/pcsx2/template | 2 +- srcpkgs/plan9port/template | 2 +- srcpkgs/playonlinux/template | 2 +- srcpkgs/pogoplugv4-base/template | 2 +- srcpkgs/pony-stable/template | 2 +- srcpkgs/ponyc/template | 2 +- srcpkgs/powerpc-utils/template | 2 +- srcpkgs/primus/template | 2 +- srcpkgs/pstate-frequency/template | 2 +- srcpkgs/quake4/template | 2 +- srcpkgs/radeontop/template | 2 +- srcpkgs/riot-desktop/template | 2 +- srcpkgs/rpi-base/template | 2 +- srcpkgs/rpi-userland/template | 2 +- srcpkgs/rpi3-base/template | 2 +- srcpkgs/rpi3-firmware/template | 2 +- srcpkgs/rr/template | 2 +- srcpkgs/rstudio/template | 2 +- srcpkgs/ryzen-stabilizator/template | 2 +- srcpkgs/samsung-unified-driver/template | 2 +- srcpkgs/sauerbraten/template | 2 +- srcpkgs/sbcl/template | 2 +- srcpkgs/sc3-plugins/template | 2 +- srcpkgs/sdcc/template | 2 +- srcpkgs/seabios/template | 2 +- srcpkgs/skype/template | 2 +- srcpkgs/skype_oss_wrapper/template | 2 +- srcpkgs/slack-desktop/template | 2 +- srcpkgs/soulseekqt/template | 2 +- srcpkgs/steam/template | 2 +- srcpkgs/stepmania/template | 2 +- srcpkgs/sublime-merge/template | 2 +- srcpkgs/sublime-text3/template | 2 +- srcpkgs/subuser/template | 2 +- srcpkgs/sun7i-kernel/template | 2 +- srcpkgs/sunxi-mali/template | 2 +- srcpkgs/supertuxkart/template | 2 +- srcpkgs/swars/template | 2 +- srcpkgs/sysdig/template | 2 +- srcpkgs/syslinux/template | 2 +- srcpkgs/systemtap/template | 2 +- srcpkgs/tbb/template | 3 +-- srcpkgs/teamspeak3/template | 2 +- srcpkgs/texlive2013-bin/template | 2 +- srcpkgs/thermald/template | 2 +- srcpkgs/thunderbird/template | 2 +- srcpkgs/toggle-ht/template | 2 +- srcpkgs/tp_smapi-dkms/template | 2 +- srcpkgs/tpacpi-bat/template | 2 +- srcpkgs/tracebox/template | 2 +- srcpkgs/turbovnc/template | 2 +- srcpkgs/unicorn/template | 2 +- srcpkgs/upwork/template | 2 +- srcpkgs/usbarmory-base/template | 2 +- srcpkgs/usbarmory-kernel/template | 2 +- srcpkgs/usbarmory-u-boot/template | 2 +- srcpkgs/vagrant/template | 2 +- srcpkgs/vbetool/template | 2 +- srcpkgs/virtualbox-ose/template | 2 +- srcpkgs/vivaldi/template | 2 +- srcpkgs/void-repo-multilib/template | 2 +- srcpkgs/vpcs/template | 2 +- srcpkgs/warsow/template | 2 +- srcpkgs/wine/template | 2 +- srcpkgs/wineasio/template | 2 +- srcpkgs/winusb/template | 2 +- srcpkgs/wps-office/template | 2 +- srcpkgs/x86info/template | 2 +- srcpkgs/xastir/template | 2 +- srcpkgs/xen/template | 2 +- srcpkgs/xf86-input-vmmouse/template | 2 +- srcpkgs/xf86-video-amdgpu/template | 2 +- srcpkgs/xf86-video-ati/template | 2 +- srcpkgs/xf86-video-fbturbo-sunxi/template | 2 +- srcpkgs/xf86-video-fbturbo/template | 2 +- srcpkgs/xf86-video-intel/template | 2 +- srcpkgs/xf86-video-nouveau/template | 2 +- srcpkgs/xf86-video-vmware/template | 2 +- srcpkgs/xvba-video/template | 2 +- srcpkgs/yandex-disk/template | 2 +- srcpkgs/zsnes/template | 2 +- 239 files changed, 240 insertions(+), 243 deletions(-) diff --git a/srcpkgs/CPU-X/template b/srcpkgs/CPU-X/template index cdd753672b0..de0f96811fb 100644 --- a/srcpkgs/CPU-X/template +++ b/srcpkgs/CPU-X/template @@ -2,7 +2,7 @@ pkgname=CPU-X version=3.2.4 revision=1 -only_for_archs="i686 x86_64 i686-musl x86_64-musl" +archs="i686* x86_64*" build_style=cmake hostmakedepends="nasm pkg-config" makedepends="libcpuid-devel libcurl-devel ncurses-devel pciutils-devel diff --git a/srcpkgs/EmulationStation-rpi/template b/srcpkgs/EmulationStation-rpi/template index 7b12662d36b..1f690511fd2 100644 --- a/srcpkgs/EmulationStation-rpi/template +++ b/srcpkgs/EmulationStation-rpi/template @@ -4,7 +4,7 @@ version=2.0.1a revision=3 _githash=93f6e11c95f9e7a0c00d3a70c744b22d9a931127 build_style=cmake -only_for_archs="armv6l armv6l-musl armv7l armv7l-musl" +archs="armv6l* armv7l*" provides="EmulationStation-${version}_${revision}" makedepends="libcurl-devel rpi-userland-devel freetype-devel freeimage-devel SDL2-devel eigen boost-devel" diff --git a/srcpkgs/GCP-base/template b/srcpkgs/GCP-base/template index 0f36084bd47..2bc890b9ce4 100644 --- a/srcpkgs/GCP-base/template +++ b/srcpkgs/GCP-base/template @@ -2,7 +2,7 @@ pkgname=GCP-base version=1 revision=2 -only_for_archs="x86_64 x86_64-musl" +archs="x86_64*" build_style=meta depends="grub GCP-Guest-Environment" short_desc="Base components for the Google Cloud Platform images" diff --git a/srcpkgs/JAI/template b/srcpkgs/JAI/template index 42adc7aedbe..ce50a8c183c 100644 --- a/srcpkgs/JAI/template +++ b/srcpkgs/JAI/template @@ -6,7 +6,7 @@ short_desc="Java Advanced Imaging Library - binary version" maintainer="Carlo Dormeletti " license="Apache-2.0" homepage="https://java.net/projects/jai-core" -only_for_archs="i686 x86_64" +archs="i686 x86_64" if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then _arch="amd64" diff --git a/srcpkgs/Signal-Desktop/template b/srcpkgs/Signal-Desktop/template index 93710f53a81..efb2324cff2 100644 --- a/srcpkgs/Signal-Desktop/template +++ b/srcpkgs/Signal-Desktop/template @@ -4,7 +4,7 @@ version=1.21.1 revision=1 # Due to electron # 32-bit is not supported https://github.com/signalapp/Signal-Desktop/issues/1661 -only_for_archs="x86_64" +archs="x86_64" hostmakedepends="git python nodejs-lts yarn" depends="libnotify libappindicator" short_desc="Signal Private Messenger for Linux" diff --git a/srcpkgs/VirtualGL/template b/srcpkgs/VirtualGL/template index 15caa5207f1..b23310cc294 100644 --- a/srcpkgs/VirtualGL/template +++ b/srcpkgs/VirtualGL/template @@ -15,7 +15,7 @@ homepage="http://www.virtualgl.org/" distfiles="${SOURCEFORGE_SITE}/virtualgl/${version}/${pkgname}-${version}.tar.gz" checksum=8802989a565b077036007848a845943971f670d72dc89f502601dfd36d401f83 -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" post_install() { mv ${DESTDIR}/usr/bin/{glxinfo,vglxinfo} diff --git a/srcpkgs/a10disp/template b/srcpkgs/a10disp/template index 349e828c4b6..ba27bce883b 100644 --- a/srcpkgs/a10disp/template +++ b/srcpkgs/a10disp/template @@ -10,7 +10,7 @@ maintainer="Juan RP " license="MIT" homepage="https://github.com/hglm/a10disp" -only_for_archs="armv7l" +archs="armv7l" makedepends="fbset sun7i-kernel-headers" depends="fbset" distfiles="$homepage/archive/$_commit.tar.gz" diff --git a/srcpkgs/acpi_call-dkms/template b/srcpkgs/acpi_call-dkms/template index 77dcb7e8306..4697cbaec7c 100644 --- a/srcpkgs/acpi_call-dkms/template +++ b/srcpkgs/acpi_call-dkms/template @@ -3,7 +3,7 @@ pkgname=acpi_call-dkms version=1.2.0 revision=2 wrksrc=acpi_call-${version} -only_for_archs="i686 x86_64 x86_64-musl" +archs="i686 x86_64*" short_desc="Kernel module allowing calls to ACPI methods through /proc/acpi/call" maintainer="Daniel A. Maierhofer " license="GPL-3" diff --git a/srcpkgs/adobe-flash-plugin/template b/srcpkgs/adobe-flash-plugin/template index ac4645662fa..e15d3fc354a 100644 --- a/srcpkgs/adobe-flash-plugin/template +++ b/srcpkgs/adobe-flash-plugin/template @@ -11,7 +11,7 @@ repository="nonfree" restricted=yes create_wrksrc=yes -only_for_archs="i686 x86_64" +archs="i686 x86_64" nopie=yes # The EULA file diff --git a/srcpkgs/afl/template b/srcpkgs/afl/template index e19ebebc356..b77314b49b7 100644 --- a/srcpkgs/afl/template +++ b/srcpkgs/afl/template @@ -4,7 +4,7 @@ version=2.52b revision=1 build_style=gnu-makefile # x86 only currently -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" hostmakedepends="llvm clang" short_desc="American fuzzy lop - a brute-force fuzzer" maintainer="Juan RP " diff --git a/srcpkgs/amdvlk/template b/srcpkgs/amdvlk/template index 9e497e5e11f..4374ef1a0de 100644 --- a/srcpkgs/amdvlk/template +++ b/srcpkgs/amdvlk/template @@ -9,7 +9,7 @@ _llvm_commit=d3c2b9d104f0de0be59d914578a28275c8b4784d _wsa_commit=f558403d3292039de4d17334e562bda58abfc72c create_wrksrc=yes build_wrksrc="xgl" -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" build_style=cmake configure_args="-DBUILD_WAYLAND_SUPPORT=ON -DBUILD_WSA=ON" hostmakedepends="pkg-config python3 perl" diff --git a/srcpkgs/android-studio/template b/srcpkgs/android-studio/template index c6dec4434fe..d8e59f89164 100644 --- a/srcpkgs/android-studio/template +++ b/srcpkgs/android-studio/template @@ -7,7 +7,7 @@ revision=1 _studio_build=182.5264788 _studio_rev=0 create_wrksrc=yes -only_for_archs="x86_64 i686" +archs="x86_64 i686" build_style=fetch hostmakedepends="unzip" depends="gtk+ libGL" diff --git a/srcpkgs/apache-directory-studio/template b/srcpkgs/apache-directory-studio/template index 3e09f3f2347..65d47872682 100644 --- a/srcpkgs/apache-directory-studio/template +++ b/srcpkgs/apache-directory-studio/template @@ -8,7 +8,7 @@ short_desc="LDAP browser and directory client" maintainer='Juan RP ' license="Apache-2.0" homepage="http://directory.apache.org/studio/" -only_for_archs="i686 x86_64" +archs="i686 x86_64" nopie=yes if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then diff --git a/srcpkgs/apache-fop/template b/srcpkgs/apache-fop/template index fca33469000..22b94b151e8 100644 --- a/srcpkgs/apache-fop/template +++ b/srcpkgs/apache-fop/template @@ -13,7 +13,7 @@ checksum=" 1d37f2d1cfb8dd29df6765a5875042fc89c085dd7329504afd8ecce4096d0882 1e90cfc9e07c2da088592860fa4651a7640c9e1e3500b71a613a5dea03eb3665" -only_for_archs="i686 x86_64" +archs="i686 x86_64" hostmakedepends="openjdk apache-ant" depends="virtual?java-runtime JAI" wrksrc="fop-${version}" diff --git a/srcpkgs/apache-storm/template b/srcpkgs/apache-storm/template index 2aba6f796c3..0bbeb85e9eb 100644 --- a/srcpkgs/apache-storm/template +++ b/srcpkgs/apache-storm/template @@ -2,7 +2,7 @@ pkgname=apache-storm version=0.9.4 revision=3 -only_for_archs="i686 x86_64" +archs="i686 x86_64" depends="virtual?java-runtime python" short_desc="Distributed realtime computation system" maintainer="bougyman " diff --git a/srcpkgs/arena/template b/srcpkgs/arena/template index a972defbfb7..05bacdc09f4 100644 --- a/srcpkgs/arena/template +++ b/srcpkgs/arena/template @@ -2,7 +2,7 @@ pkgname=arena version=1.1 revision=1 -only_for_archs="armv7l i686 x86_64" +archs="armv7l i686 x86_64" maintainer="Orphaned " short_desc="Free GUI for chess" license="custom" diff --git a/srcpkgs/argp-standalone/template b/srcpkgs/argp-standalone/template index 7b0a99c874a..061fbf5330f 100644 --- a/srcpkgs/argp-standalone/template +++ b/srcpkgs/argp-standalone/template @@ -2,6 +2,7 @@ pkgname=argp-standalone version=1.3 revision=2 +archs="*-musl" build_style=gnu-configure short_desc="Implementation of ARGP" maintainer="John Regan " @@ -10,8 +11,6 @@ license="Public Domain" distfiles="http://www.lysator.liu.se/~nisse/misc/argp-standalone-${version}.tar.gz" checksum=dec79694da1319acd2238ce95df57f3680fea2482096e483323fddf3d818d8be -only_for_archs="i686-musl x86_64-musl armv5tel-musl armv6l-musl armv7l-musl aarch64-musl mips-musl mipshf-musl mipsel-musl mipselhf-musl ppc-musl ppc64le-musl ppc64-musl" - CFLAGS="-fPIC" do_install() { diff --git a/srcpkgs/atom/template b/srcpkgs/atom/template index c3d3554661a..fb29de77854 100644 --- a/srcpkgs/atom/template +++ b/srcpkgs/atom/template @@ -2,7 +2,7 @@ pkgname=atom version=1.33.1 revision=1 -only_for_archs="x86_64" +archs="x86_64" hostmakedepends="git pkg-config python-devel nodejs curl gtk+3 libXtst libXScrnSaver nss python alsa-lib" makedepends="python-devel GConf-devel libgnome-keyring-devel gtk+3-devel libX11-devel libxkbfile-devel libsecret-devel" short_desc="Chrome-based text editor from Github" diff --git a/srcpkgs/avidemux/template b/srcpkgs/avidemux/template index 7ba2b6018f5..3a07a47127e 100644 --- a/srcpkgs/avidemux/template +++ b/srcpkgs/avidemux/template @@ -4,7 +4,7 @@ version=2.7.1 revision=6 wrksrc="${pkgname}_${version}" # Can't be compiled for aarch64, arm* or mips* -only_for_archs="x86_64 x86_64-musl i686 i686-musl" +archs="x86_64* i686*" hostmakedepends="cmake pkg-config qt5-host-tools qt5-devel yasm" makedepends="alsa-lib-devel faac-devel faad2-devel gettext-devel jack-devel glu-devel lame-devel libass-devel libdca-devel libvorbis-devel libXv-devel diff --git a/srcpkgs/bananapi-base/template b/srcpkgs/bananapi-base/template index 630a17b1df9..2d0b176feb7 100644 --- a/srcpkgs/bananapi-base/template +++ b/srcpkgs/bananapi-base/template @@ -9,7 +9,7 @@ short_desc="Void Linux Banana Pi platform package" maintainer="necrophcodr " license="Public Domain" -only_for_archs="armv7l" +archs="armv7l" depends="virtual?ntp-daemon sun7i-kernel bananapi-uboot linux-firmware-network" do_install() { diff --git a/srcpkgs/bananapi-uboot/template b/srcpkgs/bananapi-uboot/template index c325791bd5d..5f0f4e2e110 100644 --- a/srcpkgs/bananapi-uboot/template +++ b/srcpkgs/bananapi-uboot/template @@ -12,7 +12,7 @@ checksum="935ac90624cc00106a1547b8da2b3e59ab09db9cf658df7126a93738fac74fe5" wrksrc="u-boot-bananapi-bananian-v${version}" conf_files="/boot/uEnv.txt" -only_for_archs="armv7l" +archs="armv7l" do_configure() { make mrproper diff --git a/srcpkgs/base-chroot-musl/template b/srcpkgs/base-chroot-musl/template index a6a2a7b85f0..bc45b6c5e0d 100644 --- a/srcpkgs/base-chroot-musl/template +++ b/srcpkgs/base-chroot-musl/template @@ -2,6 +2,7 @@ pkgname=base-chroot-musl version=0.19 revision=5 +archs="*-musl" bootstrap=yes build_style=meta homepage="https://www.voidlinux.eu" @@ -11,7 +12,6 @@ license="Public domain" conflicts="base-chroot>=0" provides="base-chroot-${version}_${revision}" -only_for_archs="i686-musl x86_64-musl armv5tel-musl armv6l-musl armv7l-musl aarch64-musl mips-musl mipshf-musl mipsel-musl mipselhf-musl ppc-musl ppc64le-musl ppc64-musl" depends=" base-files kernel-libc-headers musl-devel musl-legacy-compat diff --git a/srcpkgs/bbswitch/template b/srcpkgs/bbswitch/template index c6475a8aaa1..a48be5e2cc3 100644 --- a/srcpkgs/bbswitch/template +++ b/srcpkgs/bbswitch/template @@ -10,7 +10,7 @@ short_desc="kernel module allowing to switch dedicated graphics card on Optimus maintainer="Juan RP " license="GPL-2" homepage="http://github.com/Bumblebee-Project/bbswitch" -only_for_archs="i686 x86_64" +archs="i686 x86_64" distfiles="https://github.com/Bumblebee-Project/bbswitch/archive/v$version.tar.gz" checksum=76cabd3f734fb4fe6ebfe3ec9814138d0d6f47d47238521ecbd6a986b60d1477 diff --git a/srcpkgs/beaglebone-base/template b/srcpkgs/beaglebone-base/template index 03b563e69fb..8d059256484 100644 --- a/srcpkgs/beaglebone-base/template +++ b/srcpkgs/beaglebone-base/template @@ -2,7 +2,7 @@ pkgname=beaglebone-base version=2.4 revision=2 -only_for_archs="armv7l armv7l-musl" +archs="armv7l*" build_style=meta depends="virtual?ntp-daemon beaglebone-uboot beaglebone-kernel linux-firmware-network" short_desc="Void Linux BeagleBone/BeagleBone Black platform package" diff --git a/srcpkgs/beaglebone-kernel/template b/srcpkgs/beaglebone-kernel/template index be57df435e0..c96fe4ad67f 100644 --- a/srcpkgs/beaglebone-kernel/template +++ b/srcpkgs/beaglebone-kernel/template @@ -22,7 +22,7 @@ _kernver="${version}_${revision}" nostrip=yes noverifyrdeps=yes -only_for_archs="armv7l armv7l-musl" +archs="armv7l*" hostmakedepends="git perl kmod uboot-mkimage libressl bc" makedepends="ncurses-devel" triggers="kernel-hooks" diff --git a/srcpkgs/beaglebone-uboot/template b/srcpkgs/beaglebone-uboot/template index 16d0d3bfada..801e532808a 100644 --- a/srcpkgs/beaglebone-uboot/template +++ b/srcpkgs/beaglebone-uboot/template @@ -11,7 +11,7 @@ homepage="http://www.denx.de/wiki/U-Boot/WebHome" distfiles="ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2" checksum=45813e6565dcc0436abe6752624324cdbf5f3ac106570d76d32b46ec529bcdc8 -only_for_archs="armv7l armv7l-musl" +archs="armv7l*" do_build() { unset CFLAGS CXXFLAGS LDFLAGS diff --git a/srcpkgs/beignet/template b/srcpkgs/beignet/template index 680b41b99f7..06fb9fc9e2c 100644 --- a/srcpkgs/beignet/template +++ b/srcpkgs/beignet/template @@ -3,7 +3,7 @@ pkgname=beignet version=1.3.2 revision=4 wrksrc="Beignet-${version}-Source" -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" build_style=cmake hostmakedepends="clang llvm pkg-config" makedepends="MesaLib-devel libedit-devel libffi-devel ocl-icd-devel zlib-devel" diff --git a/srcpkgs/bin86/template b/srcpkgs/bin86/template index 5b06d3859ed..f1def1707c8 100644 --- a/srcpkgs/bin86/template +++ b/srcpkgs/bin86/template @@ -8,7 +8,7 @@ homepage="http://v3.sk/~lkundrak/dev86/" license="GPL-2" distfiles="http://v3.sk/~lkundrak/dev86/bin86-${version}.tar.gz" checksum=021e37cde3a20632c4c9000993cb4aa9f58cb82b1d3c26b9aeb62d6566925738 -only_for_archs="i686 x86_64 i686-musl x86_64-musl" +archs="i686* x86_64*" do_build() { make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" PREFIX=/usr diff --git a/srcpkgs/blender/template b/srcpkgs/blender/template index 6677669b8c5..758d1235185 100644 --- a/srcpkgs/blender/template +++ b/srcpkgs/blender/template @@ -21,7 +21,7 @@ patch_args="-Np1" pycompile_version="$py3_ver" pycompile_dirs="/usr/share/blender/$version/scripts" -only_for_archs="x86_64 x86_64-musl i686 i686-musl ppc64le ppc64le-musl ppc64-musl" +archs="x86_64* i686* ppc64*" configure_args=" -DWITH_INSTALL_PORTABLE=OFF -DWITH_PYTHON_INSTALL=OFF diff --git a/srcpkgs/bokken/template b/srcpkgs/bokken/template index 6e577bde744..da4ac9e3749 100644 --- a/srcpkgs/bokken/template +++ b/srcpkgs/bokken/template @@ -12,7 +12,7 @@ license="GPL-2.0-or-later" homepage="https://bitbucket.org/inguma/bokken" distfiles="https://bitbucket.org/inguma/bokken/get/${version}.tar.gz" checksum=c888c241c9f2a9e0a91e8d10f8eb5f55323bd831280054940686877c49cd7947 -only_for_archs="i686 x86_64" +archs="i686 x86_64" do_install() { vmkdir usr/lib/bokken diff --git a/srcpkgs/broadcom-wl-dkms/template b/srcpkgs/broadcom-wl-dkms/template index e26e6eba404..1800a138141 100644 --- a/srcpkgs/broadcom-wl-dkms/template +++ b/srcpkgs/broadcom-wl-dkms/template @@ -7,7 +7,7 @@ maintainer="Juan RP " license="Proprietary Broadcom license" homepage="http://broadcom.com" -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" repository="nonfree" create_wrksrc=yes diff --git a/srcpkgs/brother-brscan3/template b/srcpkgs/brother-brscan3/template index 5da908fdcb7..f471aeb7c6f 100644 --- a/srcpkgs/brother-brscan3/template +++ b/srcpkgs/brother-brscan3/template @@ -6,7 +6,7 @@ maintainer="Carlo Dormeletti " homepage="http://support.brother.com/g/b/index.aspx" license="GPL-2" short_desc="Scanner driver for the brother DCP-197C printer/scanner" -only_for_archs="i686 x86_64" +archs="i686 x86_64" makedepends="sane-devel" depends="sane" create_wrksrc=yes diff --git a/srcpkgs/brother-brscan4/template b/srcpkgs/brother-brscan4/template index 301084962f7..36f952afc98 100644 --- a/srcpkgs/brother-brscan4/template +++ b/srcpkgs/brother-brscan4/template @@ -2,7 +2,7 @@ pkgname=brother-brscan4 version=0.4.5 revision=1 -only_for_archs="i686 x86_64" +archs="i686 x86_64" depends="sane" short_desc="SANE scanner driver for brscan4-compatible printers" maintainer="Martijn van Buul " diff --git a/srcpkgs/brother-dcp197c-cupswrapper/template b/srcpkgs/brother-dcp197c-cupswrapper/template index 126a6a55c2e..c9b8226d7fb 100644 --- a/srcpkgs/brother-dcp197c-cupswrapper/template +++ b/srcpkgs/brother-dcp197c-cupswrapper/template @@ -8,7 +8,7 @@ license="GPL-2" short_desc="CUPS wrapper driver for the brother DCP-197C printer/scanner" distfiles="http://download.brother.com/welcome/dlf005405/dcp197ccupswrapper-${version}-1.i386.deb" checksum="d3ebfad8231939900b8041022d6c35a0ee7a1a417f7ffdab2ae371b54a00bab8" -only_for_archs="i686 x86_64" +archs="i686 x86_64" depends="brother-dcp197c-lpr cups" create_wrksrc=yes nopie=yes diff --git a/srcpkgs/brother-dcp197c-lpr/template b/srcpkgs/brother-dcp197c-lpr/template index 70f31a6f8dc..80fe2a58dc7 100644 --- a/srcpkgs/brother-dcp197c-lpr/template +++ b/srcpkgs/brother-dcp197c-lpr/template @@ -8,7 +8,7 @@ license="GPL-2" short_desc="LPR driver for the brother DCP-197C printer/scanner" distfiles="http://download.brother.com/welcome/dlf005403/dcp197clpr-${version}-1.i386.deb" checksum="e6427ae596f0f65ca2d39167fe42a4a79c0b254b1f16bd282a2b245db56f4ea1" -only_for_archs="i686 x86_64" +archs="i686 x86_64" create_wrksrc=yes depends="a2ps ghostscript" mutable_files="/opt/brother/Printers/dcp197c/inf/brdcp197crc" diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template index 8b8b37b1cb0..58ada37a573 100644 --- a/srcpkgs/bumblebee/template +++ b/srcpkgs/bumblebee/template @@ -2,7 +2,7 @@ pkgname=bumblebee version=3.2.1 revision=7 -only_for_archs="i686 x86_64" +archs="i686 x86_64" build_style=gnu-configure configure_args=" CONF_DRIVER_MODULE_NVIDIA=nvidia diff --git a/srcpkgs/catalyst/template b/srcpkgs/catalyst/template index d52baa13af5..6c8dfbff903 100644 --- a/srcpkgs/catalyst/template +++ b/srcpkgs/catalyst/template @@ -10,7 +10,7 @@ maintainer="Juan RP " license="Proprietary AMD license" homepage="http://www.amd.com" -only_for_archs="i686 x86_64" +archs="i686 x86_64" hostmakedepends="unzip wget" subpackages="${pkgname}-opencl ${pkgname}-dkms ${pkgname}-libs" depends="${pkgname}-dkms-${version}_${revision}" diff --git a/srcpkgs/cavestory/template b/srcpkgs/cavestory/template index 5fe76939588..ed3665b197a 100644 --- a/srcpkgs/cavestory/template +++ b/srcpkgs/cavestory/template @@ -3,7 +3,7 @@ pkgname=cavestory version=1.01 revision=3 wrksrc=linuxDoukutsu-${version} -only_for_archs="i686" +archs="i686" lib32mode=full repository=nonfree short_desc="A Japanese side-scrolling platformer game" diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template index 6ad78ef773a..9c982901491 100644 --- a/srcpkgs/ccl/template +++ b/srcpkgs/ccl/template @@ -2,7 +2,7 @@ pkgname=ccl version=1.11.5 revision=2 wrksrc="ccl" -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" build_style=gnu-makefile hostmakedepends="m4" short_desc="Clozure Common Lisp interpreter and compiler" diff --git a/srcpkgs/chez-scheme/template b/srcpkgs/chez-scheme/template index b28e10b61c7..8d0803148f8 100644 --- a/srcpkgs/chez-scheme/template +++ b/srcpkgs/chez-scheme/template @@ -19,7 +19,7 @@ alternatives=" scheme:scheme.1:/usr/share/man/man1/chez-scheme.1 " -only_for_archs="i686 i686-musl x86_64 x86_64-musl armv6l armv7l" +archs="i686* x86_64* armv6l armv7l" case "$XBPS_MACHINE" in i686*) _host=ti3le;; x86_64*) _host=ta6le;; diff --git a/srcpkgs/chicken/template b/srcpkgs/chicken/template index 178c1ac5c16..ea1b6ca60b1 100644 --- a/srcpkgs/chicken/template +++ b/srcpkgs/chicken/template @@ -10,7 +10,7 @@ distfiles="http://code.call-cc.org/releases/$version/$pkgname-$version.tar.gz" checksum=a8b94bb94c5d6a4348cedd75dc334ac80924bcd9a7a7a3d6af5121e57ef66595 # No ARM support??!!! -only_for_archs="i686 i686-musl x86_64 x86_64-musl ppc64le ppc64le-musl" +archs="i686* x86_64* ppc64le*" do_configure() { make -B -f Makefile.linux chicken-defaults.h PREFIX=/usr diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template index c673c5c2c29..a21ea82bf08 100644 --- a/srcpkgs/chromium/template +++ b/srcpkgs/chromium/template @@ -3,7 +3,7 @@ pkgname=chromium # See http://www.chromium.org/developers/calendar for the latest version version=72.0.3626.119 revision=1 -archs="i686 x86_64 x86_64-musl" +archs="i686 x86_64*" short_desc="Google's attempt at creating a safer, faster, and more stable browser" maintainer="Rasmus Thomsen " license="BSD-3-Clause" diff --git a/srcpkgs/ci20-base/template b/srcpkgs/ci20-base/template index 8c536559a39..591913d47be 100644 --- a/srcpkgs/ci20-base/template +++ b/srcpkgs/ci20-base/template @@ -7,7 +7,7 @@ short_desc="Void Linux MIPS CI20 Creator base files" maintainer="Juan RP " license="Public Domain" -only_for_archs="mipsel mipsel-musl mipselhf-musl" +archs="mispel*" depends="virtual?ntp-daemon ci20-kernel ci20-uboot" do_install() { diff --git a/srcpkgs/ci20-kernel/template b/srcpkgs/ci20-kernel/template index 18cbbed10ca..df7bf9ad6b3 100644 --- a/srcpkgs/ci20-kernel/template +++ b/srcpkgs/ci20-kernel/template @@ -21,7 +21,7 @@ nostrip=yes noverifyrdeps=yes noshlibprovides=yes -only_for_archs="mipsel mipsel-musl mipselhf-musl" +archs="mispel*" hostmakedepends="perl kmod uboot-mkimage libressl bc" makedepends="ncurses-devel" triggers="kernel-hooks" diff --git a/srcpkgs/ci20-uboot/template b/srcpkgs/ci20-uboot/template index e2c9997460f..e0818d75d9c 100644 --- a/srcpkgs/ci20-uboot/template +++ b/srcpkgs/ci20-uboot/template @@ -8,7 +8,7 @@ maintainer="Juan RP " license="GPL-2" homepage="http://www.denx.de/wiki/U-Boot/WebHome" -only_for_archs="mipsel mipsel-musl mipselhf-musl" +archs="mispel*" do_fetch() { git clone -b ci20-${version} git://github.com/MIPS/CI20_u-boot ${wrksrc} diff --git a/srcpkgs/clsync/template b/srcpkgs/clsync/template index 52fae1baf89..595859b5253 100644 --- a/srcpkgs/clsync/template +++ b/srcpkgs/clsync/template @@ -3,7 +3,7 @@ pkgname=clsync version=0.4.2 revision=1 build_style=gnu-configure -only_for_archs="x86_64 i686 ppc64le" +archs="x86_64 i686 ppc64le" hostmakedepends="automake libtool pkg-config" makedepends="glib-devel" short_desc="File live sync daemon based on inotify/kqueue/bsm" diff --git a/srcpkgs/codelite/template b/srcpkgs/codelite/template index 25e8f18f819..e29aebbc8d7 100644 --- a/srcpkgs/codelite/template +++ b/srcpkgs/codelite/template @@ -14,7 +14,7 @@ homepage="http://www.codelite.org" distfiles="https://github.com/eranif/${pkgname}/archive/${version}.tar.gz" checksum=e8912e3e0aea8890b5c65631ad94d58ddc587812c7ac6ec398e37aaa4b7005b4 -only_for_archs="i686 x86_64 ppc64le" +archs="i686 x86_64 ppc64le" pre_configure() { sed -i -e 's,wx-config,&-gtk3,g' \ diff --git a/srcpkgs/coreboot-utils/template b/srcpkgs/coreboot-utils/template index 092e523e1ec..8083de45bf2 100644 --- a/srcpkgs/coreboot-utils/template +++ b/srcpkgs/coreboot-utils/template @@ -4,7 +4,7 @@ version=4.9 revision=1 wrksrc="coreboot-${version}" build_wrksrc="util" -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" build_style=gnu-makefile makedepends="pciutils-devel zlib-devel" short_desc="Coreboot firmware utilities" diff --git a/srcpkgs/cpuburn-a53/template b/srcpkgs/cpuburn-a53/template index e4b538d0f07..44ab0620ec5 100644 --- a/srcpkgs/cpuburn-a53/template +++ b/srcpkgs/cpuburn-a53/template @@ -3,7 +3,7 @@ pkgname=cpuburn-a53 version=0.0.20160228 revision=1 create_wrksrc=yes -only_for_archs="aarch64 aarch64-musl" +archs="aarch64*" build_style=fetch short_desc="Stress ARM Cortex-A53 processors" maintainer="Christian Neukirchen " diff --git a/srcpkgs/cpuburn/template b/srcpkgs/cpuburn/template index d1835ad4872..52743c4bd6a 100644 --- a/srcpkgs/cpuburn/template +++ b/srcpkgs/cpuburn/template @@ -1,6 +1,6 @@ # Template file for 'cpuburn' pkgname=cpuburn -only_for_archs="armv6l armv6l-musl armv7l armv7l-musl i686 i686-musl x86_64 x86_64-musl" +archs="armv6l* armv7l* i686* x86_64*" version=1.4a revision=3 short_desc="Collection of programs to put heavy load on CPU" diff --git a/srcpkgs/cpufrequtils/template b/srcpkgs/cpufrequtils/template index 16e7a225728..c9a155cdab6 100644 --- a/srcpkgs/cpufrequtils/template +++ b/srcpkgs/cpufrequtils/template @@ -14,7 +14,7 @@ homepage="https://git.kernel.org/pub/scm/linux/kernel/git/brodo/cpufrequtils.git distfiles="${homepage}/snapshot/${pkgname}-${_commit}.tar.gz" checksum=53b0fd1092e2053d31f4707ae0485f0d09b7faafcfac0e53da06c28ecfe23c95 -only_for_archs="i686 i686-musl x86_64 x86_64-musl ppc64-musl ppc64le ppc64le-musl" +archs="i686* x86_64* ppc64-musl ppc64le*" post_extract() { sed -i "s|/usr/bin/install|install|g" Makefile diff --git a/srcpkgs/cpuid/template b/srcpkgs/cpuid/template index ec2fe24de8b..db33d54ee16 100644 --- a/srcpkgs/cpuid/template +++ b/srcpkgs/cpuid/template @@ -2,7 +2,7 @@ pkgname=cpuid version=20180519 revision=1 -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" build_style=gnu-makefile hostmakedepends="perl" short_desc="Linux tool to dump x86 CPUID information about the CPU(s)" diff --git a/srcpkgs/cpuinfo/template b/srcpkgs/cpuinfo/template index 3b0abd55f96..d1d1988a8a4 100644 --- a/srcpkgs/cpuinfo/template +++ b/srcpkgs/cpuinfo/template @@ -3,7 +3,7 @@ pkgname=cpuinfo version=1.3.0 revision=1 build_style=gnu-makefile -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" short_desc="Tool to display/decode CPUINFO" maintainer="misuchiru03 " license="GPL-2.0-or-later" diff --git a/srcpkgs/crash/template b/srcpkgs/crash/template index 6d8765ed1d4..76e4eac7e61 100644 --- a/srcpkgs/crash/template +++ b/srcpkgs/crash/template @@ -12,7 +12,7 @@ homepage="http://people.redhat.com/anderson/" changelog="https://people.redhat.com/anderson/crash.changelog.html" distfiles="http://people.redhat.com/anderson/${pkgname}-${version}.tar.gz" checksum=3bef223a12a5bca1c83d16509de537f7d41cf32c421ab007480f1ecdf775e97d -only_for_archs="i686 x86_64" # broken on musl +archs="i686 x86_64" # broken on musl nocross=yes LDFLAGS=-llzo2 diff --git a/srcpkgs/cross-i686-linux-musl/template b/srcpkgs/cross-i686-linux-musl/template index 7ec97a463a1..cf935db2c50 100644 --- a/srcpkgs/cross-i686-linux-musl/template +++ b/srcpkgs/cross-i686-linux-musl/template @@ -36,7 +36,7 @@ makedepends="zlib-devel gmp-devel mpfr-devel libmpc-devel isl15-devel" nostrip_files="libcaf_single.a libgcc.a libgcov.a libgcc_eh.a libgnarl_pic.a libgnarl.a libgnat_pic.a libgnat.a" depends="${pkgname}-libc-${version}_${revision}" -only_for_archs="i686 x86_64 x86_64-musl" +archs="i686 x86_64*" _apply_patch() { local args="$1" pname="$(basename $2)" diff --git a/srcpkgs/cubieboard2-base/template b/srcpkgs/cubieboard2-base/template index 100bcb4bd97..0648aee3305 100644 --- a/srcpkgs/cubieboard2-base/template +++ b/srcpkgs/cubieboard2-base/template @@ -8,7 +8,7 @@ maintainer="Juan RP " license="Public Domain" homepage="http://www.voidlinux.eu" -only_for_archs="armv7l armv7l-musl" +archs="armv7l*" depends="virtual?ntp-daemon cubieboard2-uboot sun7i-kernel linux-firmware-network" do_install() { diff --git a/srcpkgs/cubieboard2-uboot/template b/srcpkgs/cubieboard2-uboot/template index a2b00a3a962..a4933924168 100644 --- a/srcpkgs/cubieboard2-uboot/template +++ b/srcpkgs/cubieboard2-uboot/template @@ -11,7 +11,7 @@ homepage="http://www.denx.de/wiki/U-Boot/WebHome" distfiles="ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2" checksum=45813e6565dcc0436abe6752624324cdbf5f3ac106570d76d32b46ec529bcdc8 -only_for_archs="armv7l armv7l-musl" +archs="armv7l*" do_configure() { git clone https://github.com/linux-sunxi/sunxi-boards diff --git a/srcpkgs/cubietruck-base/template b/srcpkgs/cubietruck-base/template index 1d08c9a1ced..759f6a84644 100644 --- a/srcpkgs/cubietruck-base/template +++ b/srcpkgs/cubietruck-base/template @@ -8,7 +8,7 @@ short_desc="Void Linux Cubietruck (Cubieboard 3) platform package" maintainer="Jürgen Buchmüller " license="Public Domain" -only_for_archs="armv7l" +archs="armv7l" depends="virtual?ntp-daemon cubietruck-uboot sun7i-kernel linux-firmware-network" do_install() { diff --git a/srcpkgs/darch/template b/srcpkgs/darch/template index 1439ed6aef3..9c5d450e068 100644 --- a/srcpkgs/darch/template +++ b/srcpkgs/darch/template @@ -2,7 +2,7 @@ pkgname=darch version=0.27.0 revision=1 -only_for_archs="x86_64 x86_64-musl ppc64le ppc64le-musl" +archs="x86_64* ppc64le*" build_style=go go_import_path=github.com/godarch/darch conf_files="/etc/darch/hooks/ssh/hook /etc/darch/hooks/hostname/hook /etc/darch/hooks/fstab/hook" diff --git a/srcpkgs/darktable/template b/srcpkgs/darktable/template index b6274c424ed..fb80da78bf5 100644 --- a/srcpkgs/darktable/template +++ b/srcpkgs/darktable/template @@ -3,7 +3,7 @@ pkgname=darktable version=2.6.0 revision=2 # upstream only supports these archs: -only_for_archs="i686 i686-musl x86_64 x86_64-musl aarch64 aarch64-musl ppc64le ppc64le-musl" +archs="i686* x86_64* aarch64* ppc64le*" build_style=cmake # this makes sure to use -march=generic and -msse3 configure_args="-DBINARY_PACKAGE_BUILD=ON -DBUILD_NOISE_TOOLS=ON diff --git a/srcpkgs/davmail/template b/srcpkgs/davmail/template index fc1041671f0..e8732109c04 100644 --- a/srcpkgs/davmail/template +++ b/srcpkgs/davmail/template @@ -3,7 +3,7 @@ pkgname=davmail version=4.8.2 revision=1 _build=2524 -only_for_archs="i686 x86_64" +archs="i686 x86_64" wrksrc="${pkgname}-src-${version}-${_build}" hostmakedepends="openjdk apache-ant" short_desc="DavMail is a POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway" diff --git a/srcpkgs/dev86/template b/srcpkgs/dev86/template index 868fe04448a..8ab2b9f8f1b 100644 --- a/srcpkgs/dev86/template +++ b/srcpkgs/dev86/template @@ -2,7 +2,7 @@ pkgname=dev86 version=0.16.21 revision=4 -only_for_archs="i686 x86_64 i686-musl x86_64-musl" +archs="i686* x86_64*" makedepends="bin86" depends="${makedepends}" short_desc="8086 cross development compiler, assembler and linker" diff --git a/srcpkgs/discord-ptb/template b/srcpkgs/discord-ptb/template index ae28bc622e0..0485c222023 100644 --- a/srcpkgs/discord-ptb/template +++ b/srcpkgs/discord-ptb/template @@ -4,7 +4,7 @@ version=0.0.9 revision=1 wrksrc="DiscordPTB" depends="alsa-lib dbus-glib gtk+3 GConf libnotify nss libXtst libcxx libatomic" -only_for_archs="x86_64" +archs="x86_64" nopie=yes repository=nonfree restricted=yes diff --git a/srcpkgs/discord/template b/srcpkgs/discord/template index f5d7f815197..6aa5fdd8176 100644 --- a/srcpkgs/discord/template +++ b/srcpkgs/discord/template @@ -6,7 +6,7 @@ version=0.0.8 revision=1 depends="alsa-lib dbus-glib gtk+3 GConf libnotify nss libXtst libcxx libatomic" wrksrc="Discord" -only_for_archs="x86_64" +archs="x86_64" nopie=yes repository=nonfree restricted=yes diff --git a/srcpkgs/dmd-bootstrap/template b/srcpkgs/dmd-bootstrap/template index bebf451963d..262efe35be1 100644 --- a/srcpkgs/dmd-bootstrap/template +++ b/srcpkgs/dmd-bootstrap/template @@ -8,7 +8,7 @@ _gitrev_phobos=30ac23a0889dd183221ce531a057171dd45296c4 create_wrksrc=yes build_style=gnu-makefile provides="d-compiler-${version}_${revision}" -only_for_archs="x86_64 x86_64-musl i686 i686-musl" +archs="x86_64* i686*" short_desc="DMD Compiler (last C++ version for bootstrap)" maintainer="Yuxuan Shui " license="custom" diff --git a/srcpkgs/docker-credential-pass/template b/srcpkgs/docker-credential-pass/template index c882af04e86..0b3592f5fb5 100644 --- a/srcpkgs/docker-credential-pass/template +++ b/srcpkgs/docker-credential-pass/template @@ -3,7 +3,7 @@ pkgname=docker-credential-pass version=0.6.1 revision=2 wrksrc="docker-credential-helpers-${version}" -only_for_archs="x86_64 x86_64-musl ppc64le ppc64le-musl" +archs="x86_64* ppc64le*" build_style=go go_import_path="github.com/docker/docker-credential-helpers" go_package="${go_import_path}/pass/cmd" diff --git a/srcpkgs/dockstar-base/template b/srcpkgs/dockstar-base/template index 274552bfe26..1a7118ec001 100644 --- a/srcpkgs/dockstar-base/template +++ b/srcpkgs/dockstar-base/template @@ -8,5 +8,5 @@ short_desc="Void Linux Dockstar platform package" maintainer="Andrea Brancaleoni " license="Public Domain" -only_for_archs="armv5tel" +archs="armv5tel" depends="virtual?ntp-daemon kirkwood-kernel linux-firmware-network dockstar-uboot" diff --git a/srcpkgs/dockstar-uboot/template b/srcpkgs/dockstar-uboot/template index b7e957b9e36..6353288858d 100644 --- a/srcpkgs/dockstar-uboot/template +++ b/srcpkgs/dockstar-uboot/template @@ -3,7 +3,7 @@ pkgname=dockstar-uboot version=4 revision=1 wrksrc="u-boot-R${version##*.}" -only_for_archs="armv5tel" +archs="armv5tel" short_desc="(archlinuxarm) u-boot compiled for dockstar" maintainer="Andrea Brancaleoni " license="GPL-3" diff --git a/srcpkgs/dolphin-emu/template b/srcpkgs/dolphin-emu/template index b07b87e5068..e9dca3bf02d 100644 --- a/srcpkgs/dolphin-emu/template +++ b/srcpkgs/dolphin-emu/template @@ -1,5 +1,5 @@ # Template file for 'dolphin-emu' -only_for_archs="x86_64 x86_64-musl" +archs="x86_64*" pkgname=dolphin-emu version=5.0 diff --git a/srcpkgs/doom3/template b/srcpkgs/doom3/template index 262b04e58a3..4c5ad510269 100644 --- a/srcpkgs/doom3/template +++ b/srcpkgs/doom3/template @@ -12,7 +12,7 @@ skip_extraction="doom3-linux-${version}.x86.run" checksum=2f90dff20f2d3c0c47f17b3d6d45c4f0e7d27b986bf6084f21b85180cd1e03b4 # 32bit package for x86_64 built on x86 :-) -only_for_archs="i686" +archs="i686" repository="nonfree" nostrip="yes" diff --git a/srcpkgs/dssi-vst/template b/srcpkgs/dssi-vst/template index 3fa1bd91025..1e1e2473325 100644 --- a/srcpkgs/dssi-vst/template +++ b/srcpkgs/dssi-vst/template @@ -12,7 +12,7 @@ maintainer="Juan RP " license="GPL" homepage="http://breakfastquay.com/dssi-vst/" -only_for_archs=i686 +archs=i686 wrksrc="$pkgname-$_commit" distfiles="https://github.com/falkTX/dssi-vst/archive/$_commit.tar.gz" diff --git a/srcpkgs/e3/template b/srcpkgs/e3/template index 626f8072efb..68152051b31 100644 --- a/srcpkgs/e3/template +++ b/srcpkgs/e3/template @@ -4,7 +4,7 @@ version=2.82 revision=3 build_style=gnu-makefile hostmakedepends="nasm" -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" short_desc="A full-screen and user-friendly text editor" maintainer="Diogo Leal " license="GPL-2.0-or-later" diff --git a/srcpkgs/eclipse/template b/srcpkgs/eclipse/template index c176a2a3abc..063e98b58ad 100644 --- a/srcpkgs/eclipse/template +++ b/srcpkgs/eclipse/template @@ -5,7 +5,7 @@ revision=1 #code name of version _release=2018-12 wrksrc="eclipse" -only_for_archs="x86_64" +archs="x86_64" depends="virtual?java-environment unzip gtk+3 webkit2gtk libXtst hicolor-icon-theme desktop-file-utils" short_desc="IDE for Java and other languages" maintainer="Juan RP " diff --git a/srcpkgs/elasticsearch/template b/srcpkgs/elasticsearch/template index 315608c3b28..5e850fd18ee 100644 --- a/srcpkgs/elasticsearch/template +++ b/srcpkgs/elasticsearch/template @@ -3,7 +3,7 @@ pkgname=elasticsearch version=5.1.2 revision=2 wrksrc="elasticsearch-${version}" -only_for_archs="i686 x86_64" +archs="i686 x86_64" depends="virtual?java-runtime" short_desc="A distributed, open source search and analytics engine" maintainer="dota? =op " diff --git a/srcpkgs/embree/template b/srcpkgs/embree/template index 7503607eb6e..9bfc30686bd 100644 --- a/srcpkgs/embree/template +++ b/srcpkgs/embree/template @@ -2,7 +2,7 @@ pkgname=embree version=2.17.6 revision=1 -only_for_archs="x86_64" +archs="x86_64" build_style=cmake hostmakedepends="ispc" makedepends="libfreeglut-devel libXmu-devel tbb-devel MesaLib-devel libpng-devel libopenexr-devel libjpeg-turbo-devel libmagick-devel" diff --git a/srcpkgs/factor/template b/srcpkgs/factor/template index 01b6e4eb92d..17fec2007cd 100644 --- a/srcpkgs/factor/template +++ b/srcpkgs/factor/template @@ -2,7 +2,7 @@ pkgname=factor version=0.98 revision=1 -only_for_archs="i686 x86_64" +archs="i686 x86_64" build_style=gnu-makefile hostmakedepends="unzip pkg-config" makedepends="gtk+-devel gtkglext-devel" diff --git a/srcpkgs/fpc/template b/srcpkgs/fpc/template index 3abd058eb00..e3be538a313 100644 --- a/srcpkgs/fpc/template +++ b/srcpkgs/fpc/template @@ -26,7 +26,7 @@ esac # TODO: figure out cross-build and how to unwrap the ARM .tar. nocross=yes nopie=yes -only_for_archs="x86_64 x86_64-musl i686 i686-musl" +archs="x86_64* i686*" post_extract() { # relative links needed diff --git a/srcpkgs/gcc-multilib/template b/srcpkgs/gcc-multilib/template index c73e0c7e5eb..ddd0b2a2147 100644 --- a/srcpkgs/gcc-multilib/template +++ b/srcpkgs/gcc-multilib/template @@ -1,5 +1,5 @@ # Template build file for 'gcc-multilib' -only_for_archs="x86_64" +archs="x86_64" _triplet="x86_64-unknown-linux-gnu" _majorver=8.2 diff --git a/srcpkgs/gens-gs/template b/srcpkgs/gens-gs/template index 5c19728c4e8..f70319dd106 100644 --- a/srcpkgs/gens-gs/template +++ b/srcpkgs/gens-gs/template @@ -1,6 +1,6 @@ # Template file for 'gens-gs' # -only_for_archs="i686" +archs="i686" lib32mode="full" LDFLAGS="-ldl -lX11" diff --git a/srcpkgs/ghc-bin/template b/srcpkgs/ghc-bin/template index 13166bdafd8..e53bec11880 100644 --- a/srcpkgs/ghc-bin/template +++ b/srcpkgs/ghc-bin/template @@ -9,7 +9,7 @@ short_desc="Glorious Haskell Compiler - precompiled binaries" maintainer="Leah Neukirchen " license="BSD" homepage="http://www.haskell.org/ghc/" -only_for_archs="i686 x86_64 x86_64-musl" +archs="i686 x86_64*" nostrip=yes noshlibprovides=yes conflicts="ghc>=0 ghc-doc>=0" diff --git a/srcpkgs/ghdl/template b/srcpkgs/ghdl/template index f83eff25e7c..6f232216b89 100644 --- a/srcpkgs/ghdl/template +++ b/srcpkgs/ghdl/template @@ -2,7 +2,7 @@ pkgname=ghdl version=20181129 revision=1 -only_for_archs="i686 x86_64" +archs="i686 x86_64" build_style=configure configure_args="--prefix=/usr" makedepends="zlib-devel" diff --git a/srcpkgs/gns3-server/template b/srcpkgs/gns3-server/template index a1ad7c46211..97e54f8b6db 100644 --- a/srcpkgs/gns3-server/template +++ b/srcpkgs/gns3-server/template @@ -31,4 +31,4 @@ post_install() { # modules that are used to drive additional virtualization backends # for gns3. For more information, see this ticket: # https://github.com/GNS3/gns3-server/issues/970 -only_for_archs="x86_64" +archs="x86_64" diff --git a/srcpkgs/go1.4-bootstrap/template b/srcpkgs/go1.4-bootstrap/template index 69bf8915005..2a773815693 100644 --- a/srcpkgs/go1.4-bootstrap/template +++ b/srcpkgs/go1.4-bootstrap/template @@ -11,7 +11,7 @@ homepage="https://golang.org" distfiles="https://dl.google.com/go/go1.4-bootstrap-${version}.tar.gz" checksum=f4ff5b5eb3a3cae1c993723f3eab519c5bae18866b5e5f96fe1102f0cb5c3e52 -only_for_archs="x86_64 x86_64-musl i686 i686-musl" +archs="x86_64* i686*" nostrip=yes noverifyrdeps=yes diff --git a/srcpkgs/google-earth-pro/template b/srcpkgs/google-earth-pro/template index 021d0bd734a..41763ae7d25 100644 --- a/srcpkgs/google-earth-pro/template +++ b/srcpkgs/google-earth-pro/template @@ -2,7 +2,7 @@ pkgname=google-earth-pro version=7.3.2.5494 revision=1 -only_for_archs="x86_64" +archs="x86_64" depends="alsa-lib desktop-file-utils fontconfig glu gst-plugins-base1 hicolor-icon-theme libSM libXi libXrender libcups libproxy nss" short_desc="Explore the far reaches of the world" diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template index 4d22a7cec1e..be36e2cfc3c 100644 --- a/srcpkgs/gprolog/template +++ b/srcpkgs/gprolog/template @@ -3,7 +3,7 @@ pkgname=gprolog version=1.4.5 revision=1 build_wrksrc=src -only_for_archs="i686 x86_64 i686-musl x86_64-musl" +archs="i686* x86_64*" build_style=gnu-configure configure_args="--with-install-dir=/usr/lib/gprolog --with-doc-dir=/usr/share/doc/gprolog diff --git a/srcpkgs/grml-rescueboot/template b/srcpkgs/grml-rescueboot/template index 2d19536e92f..694b3370e2e 100644 --- a/srcpkgs/grml-rescueboot/template +++ b/srcpkgs/grml-rescueboot/template @@ -2,7 +2,7 @@ pkgname=grml-rescueboot version=0.5.0 revision=2 -only_for_archs="i686 x86_64" +archs="i686 x86_64" build_style="gnu-makefile" conf_files="/etc/default/grml-rescueboot" make_dirs="/boot/grml 0755 root root" diff --git a/srcpkgs/grub-customizer/template b/srcpkgs/grub-customizer/template index de9a777519c..0618183fda8 100644 --- a/srcpkgs/grub-customizer/template +++ b/srcpkgs/grub-customizer/template @@ -7,7 +7,7 @@ hostmakedepends="pkg-config" makedepends="gtkmm-devel libressl-devel libarchive-devel" depends="hicolor-icon-theme grub-utils" conf_files="/etc/grub-customizer/grub.cfg" -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" short_desc="Graphical grub2 settings manager" maintainer="Jürgen Buchmüller " license="GPL-3.0-or-later" diff --git a/srcpkgs/grub/template b/srcpkgs/grub/template index f88cf743a5f..1bdc652676a 100644 --- a/srcpkgs/grub/template +++ b/srcpkgs/grub/template @@ -14,7 +14,7 @@ homepage="https://www.gnu.org/software/grub/" distfiles="${GNU_SITE}/grub/grub-${version}.tar.xz" checksum=810b3798d316394f94096ec2797909dbf23c858e48f7b3830826b8daa06b7b0f -only_for_archs="i686 i686-musl x86_64 x86_64-musl aarch64 aarch64-musl ppc ppc-musl ppc64le ppc64le-musl ppc64-musl" +archs="i686* x86_64* aarch64* ppc ppc-musl ppc64*" nopie=yes subpackages="grub-utils" diff --git a/srcpkgs/hdapsd/template b/srcpkgs/hdapsd/template index 62720d05d7b..15804db6bf5 100644 --- a/srcpkgs/hdapsd/template +++ b/srcpkgs/hdapsd/template @@ -2,7 +2,7 @@ pkgname=hdapsd version=20141024 revision=4 -only_for_archs="i686 x86_64 i686-musl x86_64-musl" +archs="i686* x86_64*" build_style=gnu-configure short_desc="HDAPS userspace hard drive protection daemon" maintainer="Leah Neukirchen " diff --git a/srcpkgs/hopper/template b/srcpkgs/hopper/template index 10ff6fe96a9..f5557827c57 100644 --- a/srcpkgs/hopper/template +++ b/srcpkgs/hopper/template @@ -11,7 +11,7 @@ homepage="https://www.hopperapp.com" distfiles="https://d2ap6ypl1xbe4k.cloudfront.net/Hopper-v4-${version}-Linux.pkg.tar.xz" checksum=5fef6c26e00f5e12684e1c1598891704bda05fb85544643b98927ef62ef5cb8f -only_for_archs="x86_64" +archs="x86_64" restricted=yes nopie=yes diff --git a/srcpkgs/igt-gpu-tools/template b/srcpkgs/igt-gpu-tools/template index c6a0f1a364e..f0594189517 100644 --- a/srcpkgs/igt-gpu-tools/template +++ b/srcpkgs/igt-gpu-tools/template @@ -14,7 +14,7 @@ distfiles="${XORG_SITE}/app/${pkgname}-${version}.tar.xz" checksum=4d4b086c513bace5c23d0889de3f42ac3ebd3d968c64dedae6e28e006a499ad0 lib32disabled=yes -only_for_archs="i686 x86_64" +archs="i686 x86_64" post_install() { vlicense COPYING diff --git a/srcpkgs/imagescan-plugin-networkscan/template b/srcpkgs/imagescan-plugin-networkscan/template index 730e547d451..48c17ada8c0 100644 --- a/srcpkgs/imagescan-plugin-networkscan/template +++ b/srcpkgs/imagescan-plugin-networkscan/template @@ -2,7 +2,7 @@ pkgname=imagescan-plugin-networkscan version=1.1.1 revision=1 -only_for_archs="i686 x86_64" +archs="i686 x86_64" _bversion=1.3.26 _dst=ubuntu _rel=17.10 diff --git a/srcpkgs/intel-ucode/template b/srcpkgs/intel-ucode/template index b0a5e837cac..b509ce2dc7c 100644 --- a/srcpkgs/intel-ucode/template +++ b/srcpkgs/intel-ucode/template @@ -11,7 +11,7 @@ homepage="https://downloadcenter.intel.com/SearchResult.aspx?lang=eng&keyword=%2 distfiles="https://downloadmirror.intel.com/${_dlid}/eng/microcode-${version}.tgz" checksum=29f9e8dc27e6c9b6488cecd7fe2394030307799e511db2d197d9e6553a7f9e40 -only_for_archs="i686 x86_64 i686-musl x86_64-musl" +archs="i686* x86_64*" do_install() { vmkdir usr/lib/firmware/intel-ucode diff --git a/srcpkgs/ioquake3-rpi/template b/srcpkgs/ioquake3-rpi/template index 6f003045333..3235e435b20 100644 --- a/srcpkgs/ioquake3-rpi/template +++ b/srcpkgs/ioquake3-rpi/template @@ -12,7 +12,7 @@ checksum=c36132c5556b35e01950f1e9c646235033a5130f87ad776ba2bc7becf4f4f186 # XXX only for rpi create_wrksrc=yes -only_for_archs="armv6l armv6l-musl armv7l armv7l-musl" +archs="armv6l* armv7l*" hostmakedepends="pkg-config git" makedepends="SDL-devel rpi-userland-devel" diff --git a/srcpkgs/iscan-plugin-gt-s650/template b/srcpkgs/iscan-plugin-gt-s650/template index 62351522b37..fc23354059e 100644 --- a/srcpkgs/iscan-plugin-gt-s650/template +++ b/srcpkgs/iscan-plugin-gt-s650/template @@ -18,7 +18,7 @@ else fi wrksrc="iscan-gt-s650-bundle-${_bundle_version}.${_arch}.deb" distfiles="https://download2.ebz.epson.net/iscan/plugin/gt-s650/deb/${_arch}/iscan-gt-s650-bundle-${_bundle_version}.${_arch}.deb.tar.gz" -only_for_archs="i686 x86_64" +archs="i686 x86_64" do_install() { ar x plugins/*.deb diff --git a/srcpkgs/iscan/template b/srcpkgs/iscan/template index 12e6ae6d1c2..41ed3dc7fa7 100644 --- a/srcpkgs/iscan/template +++ b/srcpkgs/iscan/template @@ -16,7 +16,7 @@ homepage="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX" short_desc="EPSON Image Scan! front-end" distfiles="http://support.epson.net/linux/src/scanner/iscan/${pkgname}_${version}-${_srcrev}.tar.gz" checksum=91a6cc1571e5ec34cee067eabb35f13838e71dfeda416310ecb5b5030d49de67 -only_for_archs="i686 x86_64" +archs="i686 x86_64" post_configure() { # fix wrongly created link diff --git a/srcpkgs/ispc/template b/srcpkgs/ispc/template index 10ed8c79691..eff48d63578 100644 --- a/srcpkgs/ispc/template +++ b/srcpkgs/ispc/template @@ -2,7 +2,7 @@ pkgname=ispc version=1.10.0 revision=1 -only_for_archs="i686 x86_64" +archs="i686 x86_64" build_style=gnu-makefile hostmakedepends="clang python m4 bison flex" makedepends="ncurses-devel zlib-devel" diff --git a/srcpkgs/iucode-tool/template b/srcpkgs/iucode-tool/template index b26e2a6a38d..277773a1e06 100644 --- a/srcpkgs/iucode-tool/template +++ b/srcpkgs/iucode-tool/template @@ -2,7 +2,7 @@ pkgname=iucode-tool version=2.3.1 revision=1 -only_for_archs="i686 x86_64 i686-musl x86_64-musl" +archs="i686* x86_64*" build_style=gnu-configure short_desc="Program to manipulate microcode update collections for Intel" maintainer="Vintodrimmer " diff --git a/srcpkgs/kirkwood-kernel/template b/srcpkgs/kirkwood-kernel/template index 9c00a9428aa..4a07016ed76 100644 --- a/srcpkgs/kirkwood-kernel/template +++ b/srcpkgs/kirkwood-kernel/template @@ -24,7 +24,7 @@ nostrip=yes noverifyrdeps=yes noshlibprovides=yes -only_for_archs="armv5tel armv5tel-musl" +archs="armv5tel*" hostmakedepends="perl kmod uboot-mkimage libressl bc" makedepends="ncurses-devel" triggers="kernel-hooks" diff --git a/srcpkgs/kodi-rpi/template b/srcpkgs/kodi-rpi/template index c57213f80c8..a61b7ca8243 100644 --- a/srcpkgs/kodi-rpi/template +++ b/srcpkgs/kodi-rpi/template @@ -15,7 +15,7 @@ LDFLAGS+=" -Wl,-z,stack-size=1048576" patch_args="-Np1" nopie=yes -only_for_archs="armv6l armv6l-musl armv7l armv7l-musl" +archs="armv6l* armv7l*" hostmakedepends=" automake libtool pkg-config gperf cmake zip unzip nasm yasm diff --git a/srcpkgs/kodi/template b/srcpkgs/kodi/template index 1d4124485ba..73092d21b92 100644 --- a/srcpkgs/kodi/template +++ b/srcpkgs/kodi/template @@ -16,8 +16,8 @@ patch_args="-Np1" LDFLAGS+=" -Wl,-z,stack-size=1048576" lib32disabled=yes -only_for_archs="i686 i686-musl x86_64 x86_64-musl aarch64 aarch64-musl - ppc64le ppc64le-musl ppc64-musl" +archs="i686* x86_64* aarch64* + ppc64*" hostmakedepends=" automake libtool pkg-config gperf cmake zip unzip nasm yasm python-devel diff --git a/srcpkgs/kubernetes/template b/srcpkgs/kubernetes/template index 00d4c85036a..b564937bc4f 100644 --- a/srcpkgs/kubernetes/template +++ b/srcpkgs/kubernetes/template @@ -4,7 +4,7 @@ version=1.13.3 revision=1 build_style=go nocross=yes -only_for_archs="x86_64 x86_64-musl ppc64le ppc64le-musl" +archs="x86_64* ppc64le*" hostmakedepends="rsync git go-bindata" depends="kubectl" short_desc="Container Cluster Manager for Docker" diff --git a/srcpkgs/libcpuid/template b/srcpkgs/libcpuid/template index c5ecf39667e..85dd5329317 100644 --- a/srcpkgs/libcpuid/template +++ b/srcpkgs/libcpuid/template @@ -11,7 +11,7 @@ homepage="https://github.com/anrieff/libcpuid" distfiles="https://github.com/anrieff/libcpuid/archive/v${version}.tar.gz" checksum=263b370d154d55e3b7246e069600b045d27c512456f051e9ce3d999318b58b61 -only_for_archs="i686 x86_64 i686-musl x86_64-musl" +archs="i686* x86_64*" pre_configure() { autoreconf -fi diff --git a/srcpkgs/libexecinfo/template b/srcpkgs/libexecinfo/template index d8ee3057d7d..9e8801b02fb 100644 --- a/srcpkgs/libexecinfo/template +++ b/srcpkgs/libexecinfo/template @@ -2,6 +2,7 @@ pkgname=libexecinfo version=1.1 revision=2 +archs="*-musl" build_style=gnu-makefile short_desc="A quick-n-dirty BSD licensed clone of the GNU libc backtrace facility" maintainer="John " @@ -9,7 +10,6 @@ license="BSD-2" homepage="http://www.freshports.org/devel/libexecinfo" distfiles="http://distcache.freebsd.org/local-distfiles/itetcu/libexecinfo-${version}.tar.bz2" checksum=c9a21913e7fdac8ef6b33250b167aa1fc0a7b8a175145e26913a4c19d8a59b1f -only_for_archs="x86_64-musl i686-musl aarch64-musl armv7l-musl armv6l-musl armv5te-musl mips-musl mipsel-musl mipshf-musl mipselhf-musl ppc64le-musl ppc64-musl" do_install() { vinstall execinfo.h 644 usr/include diff --git a/srcpkgs/libglob/template b/srcpkgs/libglob/template index 99247dd0357..cffdfde56f8 100644 --- a/srcpkgs/libglob/template +++ b/srcpkgs/libglob/template @@ -2,8 +2,8 @@ pkgname=libglob version=1.0 revision=2 +archs="*-musl" build_style=gnu-makefile -only_for_archs="aarch64-musl armv6l-musl armv7l-musl i686-musl mips-musl mipshf-musl mipsel-musl mipselhf-musl x86_64-musl ppc64le-musl ppc64-musl" short_desc="BSD glob(3) implementation for the musl C library" maintainer="Juan RP " license="BSD-3-clause" diff --git a/srcpkgs/libguestfs/template b/srcpkgs/libguestfs/template index 07527ae1909..7953ce456c2 100644 --- a/srcpkgs/libguestfs/template +++ b/srcpkgs/libguestfs/template @@ -31,7 +31,7 @@ conf_files="etc/libguestfs-tools.conf nocross=yes disable_parallel_build=yes -only_for_archs="i686 x86_64 ppc64le" +archs="i686 x86_64 ppc64le" build_options="ruby python go php lua fuse" build_options_default="ruby fuse" diff --git a/srcpkgs/libieee1284/template b/srcpkgs/libieee1284/template index d14f8115f94..19a9e6c4e9f 100644 --- a/srcpkgs/libieee1284/template +++ b/srcpkgs/libieee1284/template @@ -2,7 +2,7 @@ pkgname=libieee1284 version=0.2.11 revision=4 -only_for_archs="i686 i686-musl x86_64 x86_64-musl ppc64le ppc64le-musl ppc64-musl" +archs="i686* x86_64* ppc64*" build_style=gnu-configure configure_args="--disable-static --without-python" short_desc="A library to query devices connected in parallel port" diff --git a/srcpkgs/libopenshot/template b/srcpkgs/libopenshot/template index c7ca198ca53..079055cbe1a 100644 --- a/srcpkgs/libopenshot/template +++ b/srcpkgs/libopenshot/template @@ -2,7 +2,7 @@ pkgname=libopenshot version=0.2.2 revision=2 -only_for_archs="i686 x86_64 ppc64le" +archs="i686 x86_64 ppc64le" build_style=cmake pycompile_module="openshot.py" configure_args="-DENABLE_RUBY=OFF -DUSE_SYSTEM_JSONCPP=ON" # Builds fail with Ruby-2.4.1 diff --git a/srcpkgs/librtas/template b/srcpkgs/librtas/template index 428fddff8a7..602ad206e3c 100644 --- a/srcpkgs/librtas/template +++ b/srcpkgs/librtas/template @@ -2,7 +2,7 @@ pkgname=librtas version=2.0.2 revision=1 -only_for_archs="ppc ppc-musl ppc64le ppc64le-musl ppc64-musl" +archs="ppc ppc-musl ppc64*" build_style=gnu-configure hostmakedepends="automake libtool" short_desc="Librtas library for Linux on Power systems" diff --git a/srcpkgs/libsmbios/template b/srcpkgs/libsmbios/template index 21df99da7a9..642a40c867b 100644 --- a/srcpkgs/libsmbios/template +++ b/srcpkgs/libsmbios/template @@ -17,7 +17,7 @@ checksum=ebfe18415e24bbec06d0a9ea1066c8dcd82982555373712713d7e194138650de # right order: subpackages="libsmbios-devel python3-libsmbios libsmbios-utils" -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" pre_configure() { ./autogen.sh --no-configure diff --git a/srcpkgs/libspotify/template b/srcpkgs/libspotify/template index 95a0836f591..2b6fa92d487 100644 --- a/srcpkgs/libspotify/template +++ b/srcpkgs/libspotify/template @@ -4,7 +4,7 @@ version=12.1.51 revision=1 short_desc="Spotify library for building your own streaming apps" maintainer="noah " -only_for_archs="x86_64 i686 armv6l armv7l" +archs="x86_64 i686 armv6l armv7l" wrksrc="libspotify-${version}-Linux-${XBPS_TARGET_MACHINE}-release" repository="nonfree" license="custom" diff --git a/srcpkgs/libucontext/template b/srcpkgs/libucontext/template index f77ffaab7c9..f6f06fc03a4 100644 --- a/srcpkgs/libucontext/template +++ b/srcpkgs/libucontext/template @@ -2,12 +2,12 @@ pkgname=libucontext version=0.1.3 revision=1 +archs="*-musl" short_desc="Compatibility layer providing ucontext functions" maintainer="Peter Bui " license="ISC" homepage="https://github.com/kaniini/libucontext" distfiles="https://distfiles.dereferenced.org/${pkgname}/${pkgname}-${version}.tar.xz" -only_for_archs="aarch64-musl armv5tel-musl armv6l-musl armv7l-musl i686-musl mips-musl mipshf-musl mipsel-musl mipselhf-musl x86_64-musl ppc64le-musl ppc64-musl" checksum=da530b2f4469f9adcef678b9c1bf07f2a66ea922251d9bcf13b691f09a08883e case "${XBPS_TARGET_MACHINE}" in diff --git a/srcpkgs/libump-git/template b/srcpkgs/libump-git/template index 79370abc4bf..9c42b504222 100644 --- a/srcpkgs/libump-git/template +++ b/srcpkgs/libump-git/template @@ -13,7 +13,7 @@ homepage="https://github.com/linux-sunxi/libump" distfiles="https://github.com/linux-sunxi/libump/archive/${_githash}.tar.gz" checksum=745bbb3e6a6b2b1d8caec75d2f2e884691ceefa5c2be0480baed31dba66cf450 -only_for_archs="armv7l" +archs="armv7l" provides="libump-1.0_1" replaces="libump>=0" diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template index 8f8d89ddc38..84f5439605e 100644 --- a/srcpkgs/libva-intel-driver/template +++ b/srcpkgs/libva-intel-driver/template @@ -14,7 +14,7 @@ homepage="https://01.org/linuxmedia" changelog="https://raw.githubusercontent.com/intel/intel-vaapi-driver/master/NEWS" distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz" checksum=fcc3f09291e58fd316fd015d4e1329e7e03c38cffa4651bda725d500a66aa74e -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" pre_configure() { # Only relevant if intel-gpu-tools is installed, diff --git a/srcpkgs/libvdpau-sunxi/template b/srcpkgs/libvdpau-sunxi/template index 4c130297232..80f6a285e35 100644 --- a/srcpkgs/libvdpau-sunxi/template +++ b/srcpkgs/libvdpau-sunxi/template @@ -3,7 +3,7 @@ pkgname=libvdpau-sunxi version=0.4 revision=1 build_style=gnu-makefile -only_for_archs="armv7l armv7l-musl" +archs="armv7l*" hostmakedepends="pkg-config" makedepends="libvdpau-devel" short_desc="Experimental VDPAU for Allwinner sunxi SoCs" diff --git a/srcpkgs/libx86/template b/srcpkgs/libx86/template index cc9da98454f..955ad137a51 100644 --- a/srcpkgs/libx86/template +++ b/srcpkgs/libx86/template @@ -10,7 +10,7 @@ license="Custom" maintainer="Juan RP " distfiles="http://www.codon.org.uk/~mjg59/libx86/downloads/libx86-$version.tar.gz " checksum=5bf13104cb327472b5cb65643352a9138646becacc06763088d83001d832d048 -only_for_archs="i686 x86_64 i686-musl x86_64-musl" +archs="i686* x86_64*" CFLAGS="-fPIC" diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template index aeea5ada07d..0a757995d97 100644 --- a/srcpkgs/lilo/template +++ b/srcpkgs/lilo/template @@ -2,7 +2,7 @@ pkgname=lilo version=24.2 revision=3 -only_for_archs="i686* x86_64*" +archs="i686* x86_64*" hostmakedepends="bin86" makedepends="device-mapper-devel" short_desc="Standard Linux boot loader" diff --git a/srcpkgs/linux3.16/template b/srcpkgs/linux3.16/template index 16f038f7ddc..7a5f22676ec 100644 --- a/srcpkgs/linux3.16/template +++ b/srcpkgs/linux3.16/template @@ -18,7 +18,7 @@ noverifyrdeps=yes noshlibprovides=yes nodebug=yes preserve=yes -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" makedepends="bc perl kmod" triggers="kernel-hooks" # These files could be modified when an external module is built. diff --git a/srcpkgs/linux3.18/template b/srcpkgs/linux3.18/template index 9dadef35b50..9995a493413 100644 --- a/srcpkgs/linux3.18/template +++ b/srcpkgs/linux3.18/template @@ -18,7 +18,7 @@ noverifyrdeps=yes noshlibprovides=yes nodebug=yes preserve=yes -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" makedepends="bc perl kmod" triggers="kernel-hooks" # These files could be modified when an external module is built. diff --git a/srcpkgs/linux4.14/template b/srcpkgs/linux4.14/template index cb1f54f360e..21559c4af98 100644 --- a/srcpkgs/linux4.14/template +++ b/srcpkgs/linux4.14/template @@ -17,7 +17,7 @@ noverifyrdeps=yes noshlibprovides=yes preserve=yes -only_for_archs="i686 i686-musl x86_64 x86_64-musl armv5tel armv5tel-musl armv7l armv7l-musl aarch64 aarch64-musl" +archs="i686* x86_64* armv5tel* armv7l* aarch64*" hostmakedepends="bc elfutils-devel kmod libressl-devel perl uboot-mkimage gmp-devel libmpc-devel" _kernver="${version}_${revision}" diff --git a/srcpkgs/livewallpaper/template b/srcpkgs/livewallpaper/template index b112cec56e5..89fe24abfc3 100644 --- a/srcpkgs/livewallpaper/template +++ b/srcpkgs/livewallpaper/template @@ -13,7 +13,7 @@ distfiles="$homepage/${version%.*}/${version}/+download/${pkgname}-${version}.ta checksum=f4ce97a721015b135eb675915eb306c1fb256e680d480fe13e4fe6ca81c7e04e LDFLAGS="-lX11" -only_for_archs="i686 x86_64" +archs="i686 x86_64" broken="http://build.voidlinux.eu/builders/x86_64_builder/builds/22546/steps/shell_3/logs/stdio" post_extract() { diff --git a/srcpkgs/master-pdf-editor/template b/srcpkgs/master-pdf-editor/template index a35963e243f..4a70041af61 100644 --- a/srcpkgs/master-pdf-editor/template +++ b/srcpkgs/master-pdf-editor/template @@ -3,7 +3,7 @@ pkgname=master-pdf-editor version=5.3.02 revision=1 wrksrc="master-pdf-editor-5" -only_for_archs="x86_64" +archs="x86_64" depends="desktop-file-utils" short_desc="Multifunctional PDF Editor" maintainer="Giuseppe Fierro " diff --git a/srcpkgs/mbox/template b/srcpkgs/mbox/template index 0c195310666..5c9377b67b0 100644 --- a/srcpkgs/mbox/template +++ b/srcpkgs/mbox/template @@ -14,7 +14,7 @@ license="MIT" homepage="https://pdos.csail.mit.edu/archive/mbox/" distfiles="https://github.com/tsgates/mbox/archive/$_commit.tar.gz" checksum=f650704f0cc6a9ad97eeadaa02dd156faa176d234f660f6615cc9cd2d2806fdc -only_for_archs='x86_64' +archs='x86_64' pre_configure() { autoreconf -fi diff --git a/srcpkgs/mbpfan/template b/srcpkgs/mbpfan/template index e90a206d838..645b0b0ad0e 100644 --- a/srcpkgs/mbpfan/template +++ b/srcpkgs/mbpfan/template @@ -2,7 +2,7 @@ pkgname=mbpfan version=2.1.0 revision=1 -only_for_archs="x86_64 i686 x86_64-musl i686-musl" # it's Macbook-specific and Macbooks only have these arches. +archs="x86_64* i686*" # it's Macbook-specific and Macbooks only have these arches. build_style=gnu-makefile conf_files="/etc/mbpfan.conf" short_desc="Macbook Pro Fan Control Daemon" diff --git a/srcpkgs/mcelog/template b/srcpkgs/mcelog/template index 919155a941a..72ae3c04bf8 100644 --- a/srcpkgs/mcelog/template +++ b/srcpkgs/mcelog/template @@ -2,7 +2,7 @@ pkgname=mcelog version=162 revision=1 -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" conf_files="/etc/mcelog/mcelog.conf" short_desc="Decode kernel machine check log on x86 machines" maintainer="Leah Neukirchen " diff --git a/srcpkgs/mei-amt-check/template b/srcpkgs/mei-amt-check/template index b313a540e99..5d38559229c 100644 --- a/srcpkgs/mei-amt-check/template +++ b/srcpkgs/mei-amt-check/template @@ -4,7 +4,7 @@ version=0.0.20180507 revision=1 _githash=ec921d1e0a2ac770e7835589a28b85bc2f15200c wrksrc="${pkgname}-${_githash}" -only_for_archs="i686 x86_64 i686-musl x86_64-musl" +archs="i686* x86_64*" build_style=gnu-makefile short_desc="Check whether AMT is enabled and provisioned under Linux" maintainer="Leah Neukirchen " diff --git a/srcpkgs/memtest86+/template b/srcpkgs/memtest86+/template index 7e03aebaa9a..906599db490 100644 --- a/srcpkgs/memtest86+/template +++ b/srcpkgs/memtest86+/template @@ -9,7 +9,7 @@ maintainer="Juan RP " license="GPL-2" checksum=142127b7953fbd829b1057fb64a78d3340c2b771484230a7347e94530a0d9039 -only_for_archs="i686 x86_64" +archs="i686 x86_64" nostrip=yes noverifyrdeps=yes diff --git a/srcpkgs/minisat/template b/srcpkgs/minisat/template index 54a897f60b2..84e1432e340 100644 --- a/srcpkgs/minisat/template +++ b/srcpkgs/minisat/template @@ -7,7 +7,7 @@ build_wrksrc=simp build_style=gnu-makefile make_build_args="MROOT=${XBPS_BUILDDIR}/${wrksrc} CFLAGS="-I${XBPS_BUILDDIR}/${wrksrc}" r" makedepends="zlib-devel" -only_for_archs="i686 x86_64" +archs="i686 x86_64" short_desc="A minimalistic and high-performance SAT solver" maintainer="Tai Chi Minh Ralph Eastwood " license="MIT" diff --git a/srcpkgs/msr-tools/template b/srcpkgs/msr-tools/template index 128d1abed2a..4d0e0f6e7e5 100644 --- a/srcpkgs/msr-tools/template +++ b/srcpkgs/msr-tools/template @@ -3,7 +3,7 @@ pkgname=msr-tools version=1.3 revision=1 wrksrc="${pkgname}-master" -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" build_style=gnu-makefile hostmakedepends="unzip" short_desc="Model-Specific Register (MSR) Tools" diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template index 88df69c5ec0..07c28d48ffe 100644 --- a/srcpkgs/mupen64plus/template +++ b/srcpkgs/mupen64plus/template @@ -12,7 +12,7 @@ license="GPL-2" homepage="http://www.mupen64plus.org" distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${version}/${pkgname}-bundle-src-${version}.tar.gz" checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66 -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" do_build() { sh m64p_build.sh diff --git a/srcpkgs/musl-fts/template b/srcpkgs/musl-fts/template index 7669e709266..ee1ed8ae9c5 100644 --- a/srcpkgs/musl-fts/template +++ b/srcpkgs/musl-fts/template @@ -4,7 +4,7 @@ version=1.2.7 revision=3 build_style=gnu-configure hostmakedepends="automake libtool" -only_for_archs="aarch64-musl armv6l-musl armv7l-musl i686-musl mips-musl mipshf-musl mipsel-musl mipselhf-musl x86_64-musl armv5tel-musl ppc-musl ppc64le-musl ppc64-musl" +archs="aarch64-musl armv6l-musl armv7l-musl i686-musl mips-musl mipshf-musl mipsel-musl mipselhf-musl x86_64-musl armv5tel-musl ppc-musl ppc64le-musl ppc64-musl" short_desc="Implementation of fts(3) for musl libc" maintainer="Jürgen Buchmüller " license="BSD" diff --git a/srcpkgs/musl-nscd/template b/srcpkgs/musl-nscd/template index eec5ee37cc9..0037ef0e6b4 100644 --- a/srcpkgs/musl-nscd/template +++ b/srcpkgs/musl-nscd/template @@ -2,6 +2,7 @@ pkgname=musl-nscd version=1.0.1 revision=1 +archs="*-musl" build_style=gnu-configure hostmakedepends="bison flex" short_desc="NSS to NSCD bridge for musl" @@ -11,8 +12,6 @@ homepage="https://github.com/pikhq/musl-nscd" distfiles="https://github.com/pikhq/musl-nscd/archive/v$version.tar.gz" checksum=4d2835c48c009b3d9d8fa9579d9cdf15b4d4e60543036066ee76b1854e19a005 -only_for_archs="i686-musl x86_64-musl armv5tel-musl armv6l-musl armv7l-musl aarch64-musl mips-musl mipshf-musl mipsel-musl mipselhf-musl ppc-musl ppc64le-musl ppc64-musl" - pre_install() { sed -i "s:sbin:bin:g" Makefile } diff --git a/srcpkgs/musl-obstack/template b/srcpkgs/musl-obstack/template index 6f31508e401..fc2d5d54d53 100644 --- a/srcpkgs/musl-obstack/template +++ b/srcpkgs/musl-obstack/template @@ -2,7 +2,7 @@ pkgname=musl-obstack version=1.1 revision=3 -only_for_archs="aarch64-musl armv5tel-musl armv6l-musl armv7l-musl i686-musl mips-musl mipshf-musl mipsel-musl mipselhf-musl x86_64-musl ppc-musl ppc64le-musl ppc64-musl" +archs="*-musl" build_style=gnu-configure configure_args="--disable-shared" hostmakedepends="automake libtool" diff --git a/srcpkgs/musl/template b/srcpkgs/musl/template index a550f987823..4018e252a7c 100644 --- a/srcpkgs/musl/template +++ b/srcpkgs/musl/template @@ -2,6 +2,7 @@ pkgname=musl version=1.1.21 revision=1 +archs="*-musl" build_style=gnu-configure configure_args="--prefix=/usr --disable-gcc-wrapper" conflicts="glibc>=0" @@ -15,7 +16,6 @@ checksum=c742b66f6f49c9e5f52f64d8b79fecb5a0f6e0203fca176c70ca20f6be285f44 nostrip_files="libc.so" shlib_provides="libc.so" -only_for_archs="i686-musl x86_64-musl armv5tel-musl armv6l-musl armv7l-musl aarch64-musl mips-musl mipshf-musl mipsel-musl mipselhf-musl ppc-musl ppc64le-musl ppc64-musl" post_build() { $CC $CFLAGS $LDFLAGS ${FILESDIR}/getent.c -o getent diff --git a/srcpkgs/myrddin/template b/srcpkgs/myrddin/template index e2e5396181e..77c6b9b9570 100644 --- a/srcpkgs/myrddin/template +++ b/srcpkgs/myrddin/template @@ -3,7 +3,7 @@ pkgname=myrddin version=0.3.1 revision=1 wrksrc=mc -only_for_archs="x86_64 x86_64-musl" +archs="x86_64*" build_style=configure configure_args="--prefix=/usr" make_build_target="bootstrap" diff --git a/srcpkgs/nsjail/template b/srcpkgs/nsjail/template index fee353f3689..e3fe2a8fadf 100644 --- a/srcpkgs/nsjail/template +++ b/srcpkgs/nsjail/template @@ -14,7 +14,7 @@ https://github.com/google/kafel/archive/722b93a630e53ca472a4c69f61cb3dfc44ea5041 checksum="1eb5cad7e698d467a0224614aaca04e169bde6c2cf57f2e6a01a8ad5f787bb56 49d2327c794c90aca50a9933c00d453705534b16e5f42d8c8e19c3d274f5e5f8" -only_for_archs="aarch64 aarch64-musl armv5tel armv5tel-musl armv6l armv6l-musl armv7l armv7l-musl x86_64 x86_64-musl" +archs="aarch64* armv5tel* armv6l* armv7l* x86_64*" CXXFLAGS="-Wno-format-truncation" post_extract() { diff --git a/srcpkgs/numactl/template b/srcpkgs/numactl/template index c9df7f5cb38..23ade1979d9 100644 --- a/srcpkgs/numactl/template +++ b/srcpkgs/numactl/template @@ -2,7 +2,7 @@ pkgname=numactl version=2.0.12 revision=1 -only_for_archs="i686 i686-musl x86_64 x86_64-musl ppc64le ppc64le-musl ppc64-musl" +archs="i686* x86_64* ppc64*" build_style=gnu-configure hostmakedepends="automake libtool" short_desc="Simple NUMA policy support" diff --git a/srcpkgs/nvidia340/template b/srcpkgs/nvidia340/template index 5a2c529dca0..1d1dd2f0a95 100644 --- a/srcpkgs/nvidia340/template +++ b/srcpkgs/nvidia340/template @@ -9,7 +9,7 @@ maintainer="Juan RP " license="Proprietary NVIDIA license" homepage="http://www.nvidia.com" -only_for_archs="i686 x86_64" +archs="i686 x86_64" nopie=yes repository=nonfree create_wrksrc=yes diff --git a/srcpkgs/nvidia390/template b/srcpkgs/nvidia390/template index f0a25e2b162..c82d0f9fb1e 100644 --- a/srcpkgs/nvidia390/template +++ b/srcpkgs/nvidia390/template @@ -9,7 +9,7 @@ maintainer="Juan RP " license="Proprietary NVIDIA license" homepage="http://www.nvidia.com" -only_for_archs="i686 x86_64" +archs="i686 x86_64" nopie=yes repository="nonfree" create_wrksrc=yes diff --git a/srcpkgs/obs/template b/srcpkgs/obs/template index ef04136bec7..421c61ccf59 100644 --- a/srcpkgs/obs/template +++ b/srcpkgs/obs/template @@ -6,7 +6,7 @@ _commit_hash_obs_browser="a321928756ae8ed4315d6d7b35a113e76493297c" _commit_hash_obs_vst="b0f046f0ac0c8181d018f7148c7617b577a1e085" _commit_hash_ftl_sdk="98289f7c2ed754c647d451899b3356850c0c1fa3" wrksrc="obs-studio-${version}" -only_for_archs="i686 x86_64 i686-musl x86_64-musl" +archs="i686* x86_64*" build_style=cmake configure_args="-DOBS_VERSION_OVERRIDE=${version}" hostmakedepends="pkg-config swig" diff --git a/srcpkgs/odroid-c2-base/template b/srcpkgs/odroid-c2-base/template index 9f81e09aa88..bca00aabf5d 100644 --- a/srcpkgs/odroid-c2-base/template +++ b/srcpkgs/odroid-c2-base/template @@ -8,6 +8,6 @@ short_desc="Void Linux Odroid C2 platform package" maintainer="Christian Neukirchen " license="Public Domain" -only_for_archs="aarch64 aarch64-musl" +archs="aarch64*" makedepends="base-system" depends="virtual?ntp-daemon odroid-c2-kernel odroid-c2-uboot linux-firmware-network" diff --git a/srcpkgs/odroid-c2-kernel/template b/srcpkgs/odroid-c2-kernel/template index 71a4f674d70..df72abaaae6 100644 --- a/srcpkgs/odroid-c2-kernel/template +++ b/srcpkgs/odroid-c2-kernel/template @@ -18,7 +18,7 @@ nostrip=yes noverifyrdeps=yes noshlibprovides=yes -only_for_archs="aarch64 aarch64-musl" +archs="aarch64*" hostmakedepends="perl kmod libressl bc" makedepends="ncurses-devel" triggers="kernel-hooks" diff --git a/srcpkgs/odroid-c2-uboot/template b/srcpkgs/odroid-c2-uboot/template index b11437cd524..23166fa83ac 100644 --- a/srcpkgs/odroid-c2-uboot/template +++ b/srcpkgs/odroid-c2-uboot/template @@ -4,7 +4,7 @@ version=v2015.01 revision=4 _githash=f416a769454b89c39d5b217d28bd3c9f5d1594df wrksrc="u-boot-${_githash}" -only_for_archs="aarch64 aarch64-musl" +archs="aarch64*" conf_files="/boot/boot.ini" hostmakedepends="bc" short_desc="Odroid C2 U-Boot files for SD booting" diff --git a/srcpkgs/odroid-u2-base/template b/srcpkgs/odroid-u2-base/template index 8eb6c620e01..4d4914602e1 100644 --- a/srcpkgs/odroid-u2-base/template +++ b/srcpkgs/odroid-u2-base/template @@ -8,7 +8,7 @@ short_desc="Void Linux Odroid U2 platform package" maintainer="Enno Boland " license="Public Domain" -only_for_archs="armv7l" +archs="armv7l" depends="virtual?ntp-daemon odroid-u2-kernel odroid-u2-uboot odroid-u2-boot-fw linux-firmware-network" conf_files=/etc/default/odroid-led diff --git a/srcpkgs/odroid-u2-boot-fw/template b/srcpkgs/odroid-u2-boot-fw/template index 86361fe9da7..82617d96db3 100644 --- a/srcpkgs/odroid-u2-boot-fw/template +++ b/srcpkgs/odroid-u2-boot-fw/template @@ -11,7 +11,7 @@ homepage="http://dev.odroid.com/projects/4412boot/wiki/FrontPage" distfiles="http://dev.odroid.com/projects/4412boot/wiki/FrontPage?action=download&value=boot.tar.gz" checksum="e0db737d9e49f937425e4778b0ab892623bcc389d7c26329ba2e97ae7bb475c4" -only_for_archs="armv7l" +archs="armv7l" do_install() { vinstall E4412_S.bl1.HardKernel.bin 600 boot diff --git a/srcpkgs/odroid-u2-kernel/template b/srcpkgs/odroid-u2-kernel/template index 233a1886a71..2ff1a86c6de 100644 --- a/srcpkgs/odroid-u2-kernel/template +++ b/srcpkgs/odroid-u2-kernel/template @@ -21,7 +21,7 @@ _kernver="${version}_${revision}" nostrip=yes noverifyrdeps=yes -only_for_archs="armv7l" +archs="armv7l" hostmakedepends="perl python kmod uboot-mkimage libressl elfutils bc" makedepends="ncurses-devel" depends="kmod>=11_2" diff --git a/srcpkgs/odroid-u2-uboot/template b/srcpkgs/odroid-u2-uboot/template index 2124024b874..8127c059bd7 100644 --- a/srcpkgs/odroid-u2-uboot/template +++ b/srcpkgs/odroid-u2-uboot/template @@ -12,7 +12,7 @@ homepage="https://github.com/hardkernel/u-boot" distfiles="https://github.com/hardkernel/u-boot/archive/${_githash}.tar.gz" checksum="29593e636a0d908230910522aab74c09a35b92fee71b165d088f561e85ba3e1d" -only_for_archs="armv7l" +archs="armv7l" _default_scr="boot-auto_edid.scr" diff --git a/srcpkgs/offo-hyphenation/template b/srcpkgs/offo-hyphenation/template index 970b42f3917..a96f5815adf 100644 --- a/srcpkgs/offo-hyphenation/template +++ b/srcpkgs/offo-hyphenation/template @@ -6,7 +6,7 @@ homepage="http://offo.sourceforge.net/hyphenation/" short_desc="Hypenation patterns for apache FOP - precompiled version" maintainer="Carlo Dormeletti " license="LPPL" -only_for_archs="i686 x86_64" +archs="i686 x86_64" hostmakedepends="unzip" depends="apache-fop>=1.1_2" distfiles=" diff --git a/srcpkgs/omxplayer/template b/srcpkgs/omxplayer/template index a9949cc34fd..6d113c87505 100644 --- a/srcpkgs/omxplayer/template +++ b/srcpkgs/omxplayer/template @@ -13,7 +13,7 @@ distfiles="$homepage/archive/$_commit.tar.gz" checksum=af2d9450f8947842ea8c401fe9f71eec444013ebbdee29f2ac828c9c493c1329 # XXX only rpi -only_for_archs="armv6l armv6l-musl armv7l armv7l-musl" +archs="armv6l* armv7l*" build_style=gnu-makefile hostmakedepends="curl pkg-config" makedepends="alsa-lib-devel rpi-userland-devel pcre-devel boost-devel freetype-devel ffmpeg-devel dbus-devel" diff --git a/srcpkgs/openbazaar/template b/srcpkgs/openbazaar/template index f02ef4fc015..bf0a924225e 100644 --- a/srcpkgs/openbazaar/template +++ b/srcpkgs/openbazaar/template @@ -5,7 +5,7 @@ revision=1 build_style=fetch short_desc="P2P Distributed marketplace" maintainer="ananteris " -only_for_archs="i686 x86_64" +archs="i686 x86_64" depends="nodejs" license="MIT" nostrip=yes diff --git a/srcpkgs/openshot/template b/srcpkgs/openshot/template index 2f5e71ecb8c..8bf6cb5323d 100644 --- a/srcpkgs/openshot/template +++ b/srcpkgs/openshot/template @@ -3,7 +3,7 @@ pkgname=openshot version=2.4.3 revision=2 wrksrc="${pkgname}-qt-${version}" -only_for_archs="i686 x86_64 ppc64le" +archs="i686 x86_64 ppc64le" build_style=python3-module pycompile_module="openshot_qt" hostmakedepends="python3" diff --git a/srcpkgs/openvswitch/template b/srcpkgs/openvswitch/template index d4e287cf6ac..22caef35493 100644 --- a/srcpkgs/openvswitch/template +++ b/srcpkgs/openvswitch/template @@ -2,7 +2,7 @@ pkgname=openvswitch version=2.9.2 revision=2 -only_for_archs="i686 i686-musl x86_64 x86_64-musl ppc64le ppc64le-musl ppc64-musl" +archs="i686* x86_64* ppc64*" build_style=gnu-configure configure_args="--with-rundir=/run/openvswitch" pycompile_dirs="usr/share/openvswitch/python" diff --git a/srcpkgs/opera/template b/srcpkgs/opera/template index 95d2b07d0c1..233ce9de177 100644 --- a/srcpkgs/opera/template +++ b/srcpkgs/opera/template @@ -2,7 +2,7 @@ pkgname=opera version=58.0.3135.47 revision=1 -only_for_archs="x86_64" +archs="x86_64" depends="ffmpeg desktop-file-utils hicolor-icon-theme" short_desc="Fast, secure, easy to use browser" maintainer="Diogo Leal " diff --git a/srcpkgs/oracle-jdk/template b/srcpkgs/oracle-jdk/template index f02d93524c6..13c0489058b 100644 --- a/srcpkgs/oracle-jdk/template +++ b/srcpkgs/oracle-jdk/template @@ -13,7 +13,7 @@ homepage="http://www.oracle.com/technetwork/java/javase/downloads/index.html" license="oracle" lib32disabled=yes repository="nonfree" -only_for_archs="i686 x86_64 armv6l armv7l aarch64" +archs="i686 x86_64 armv6l armv7l aarch64" depends="hicolor-icon-theme desktop-file-utils xdg-utils shared-mime-info wget" hostmakedepends="wget" provides="java-environment-${version}_1" diff --git a/srcpkgs/oracle-jre/template b/srcpkgs/oracle-jre/template index af58a6b1404..ee72dec2c00 100644 --- a/srcpkgs/oracle-jre/template +++ b/srcpkgs/oracle-jre/template @@ -13,7 +13,7 @@ homepage="http://www.oracle.com/technetwork/java/javase/downloads/index.html" license="oracle" lib32disabled=yes repository="nonfree" -only_for_archs="i686 x86_64" +archs="i686 x86_64" depends="hicolor-icon-theme desktop-file-utils xdg-utils shared-mime-info wget" hostmakedepends="wget" provides="java-runtime-${version}_1" diff --git a/srcpkgs/orientdb/template b/srcpkgs/orientdb/template index 8fad5560d27..fea95ed35e7 100644 --- a/srcpkgs/orientdb/template +++ b/srcpkgs/orientdb/template @@ -2,7 +2,7 @@ pkgname=orientdb version=2.2.29 revision=2 -only_for_archs="i686 x86_64" +archs="i686 x86_64" conf_files="/etc/${pkgname}/*" wrksrc="${pkgname}-community-${version}" depends="virtual?java-runtime" diff --git a/srcpkgs/pcc-libs/template b/srcpkgs/pcc-libs/template index 88bffa147db..af4c63df236 100644 --- a/srcpkgs/pcc-libs/template +++ b/srcpkgs/pcc-libs/template @@ -11,4 +11,4 @@ license="BSD" maintainer="Juan RP " distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/$pkgname-$version.tgz" checksum=dd4cb124da0b2edcda6ceb823c3ca8fc05919d35c89c34dec617517afe6bbfee -only_for_archs="i686 x86_64" +archs="i686 x86_64" diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template index a346e3a96ae..bc36565e88d 100644 --- a/srcpkgs/pcc/template +++ b/srcpkgs/pcc/template @@ -13,7 +13,7 @@ license="BSD" maintainer="Juan RP " distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/pcc-$version.tgz" checksum=d9e3fed84c767dcddefb6b1f854d5da8921f3f65d8bd02997743412f41474d64 -only_for_archs="i686 x86_64" +archs="i686 x86_64" pre_configure() { sed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c diff --git a/srcpkgs/pcsx2/template b/srcpkgs/pcsx2/template index b9a554cca7f..c394c6ae99b 100644 --- a/srcpkgs/pcsx2/template +++ b/srcpkgs/pcsx2/template @@ -1,5 +1,5 @@ # Template file for 'pcsx2' -only_for_archs="i686" +archs="i686" lib32mode="full" nopie=yes diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template index 4914538def5..167152de1eb 100644 --- a/srcpkgs/plan9port/template +++ b/srcpkgs/plan9port/template @@ -4,7 +4,7 @@ version=20180726 revision=1 _githash=df2d9ec9d169626cdc2a23829bb2831738215722 wrksrc="${pkgname}-${_githash}" -only_for_archs="i686 x86_64 ppc64le" # swapcontext +archs="i686 x86_64 ppc64le" # swapcontext hostmakedepends="perl" makedepends="libX11-devel libXt-devel libXext-devel freetype-devel fontconfig-devel" short_desc="Port of many Plan 9 programs to Unix-like operating systems" diff --git a/srcpkgs/playonlinux/template b/srcpkgs/playonlinux/template index 914a75ca475..8e3b2e67b3a 100644 --- a/srcpkgs/playonlinux/template +++ b/srcpkgs/playonlinux/template @@ -4,7 +4,7 @@ version=4.3.4 revision=2 wrksrc="${pkgname}" # contains pre-compiled binaries linked against glibc -only_for_archs="i686 x86_64" +archs="i686 x86_64" depends="icoutils netcat ImageMagick xterm wxPython cabextract unzip glxinfo gnupg xdg-user-dirs libXmu wget p7zip curl jq" short_desc="GUI for managing Windows programs under linux" diff --git a/srcpkgs/pogoplugv4-base/template b/srcpkgs/pogoplugv4-base/template index bd4dcd53bab..cb1428ef35e 100644 --- a/srcpkgs/pogoplugv4-base/template +++ b/srcpkgs/pogoplugv4-base/template @@ -9,5 +9,5 @@ maintainer="Michael Aldridge " license="GPL-3" # The kirkwood devices are all armv5tel based -only_for_archs="armv5tel armv5tel-musl" +archs="armv5tel*" depends="linux dracut uboot-mkimage runit-void base-voidstrap" diff --git a/srcpkgs/pony-stable/template b/srcpkgs/pony-stable/template index 5d133c344bb..b5ba95f466b 100644 --- a/srcpkgs/pony-stable/template +++ b/srcpkgs/pony-stable/template @@ -2,7 +2,7 @@ pkgname=pony-stable version=0.2.0 revision=1 -only_for_archs="x86_64" +archs="x86_64" build_style=gnu-makefile make_install_args="prefix=/usr" hostmakedepends="ponyc" diff --git a/srcpkgs/ponyc/template b/srcpkgs/ponyc/template index 7cc90660f72..c2a81810379 100644 --- a/srcpkgs/ponyc/template +++ b/srcpkgs/ponyc/template @@ -2,7 +2,7 @@ pkgname=ponyc version=0.26.0 revision=1 -only_for_archs="x86_64" +archs="x86_64" build_style=gnu-makefile hostmakedepends="llvm6.0" makedepends="zlib-devel ncurses-devel libatomic-devel" diff --git a/srcpkgs/powerpc-utils/template b/srcpkgs/powerpc-utils/template index 009beec7192..779a33a2cc8 100644 --- a/srcpkgs/powerpc-utils/template +++ b/srcpkgs/powerpc-utils/template @@ -2,7 +2,7 @@ pkgname=powerpc-utils version=1.3.6 revision=1 -only_for_archs="ppc ppc-musl ppc64le ppc64le-musl ppc64-musl" +archs="ppc ppc-musl ppc64*" build_style=gnu-configure hostmakedepends="automake libtool" makedepends="librtas-devel zlib-devel" diff --git a/srcpkgs/primus/template b/srcpkgs/primus/template index b1abaddd52e..255476f3f74 100644 --- a/srcpkgs/primus/template +++ b/srcpkgs/primus/template @@ -8,7 +8,7 @@ short_desc="Faster OpenGL offloading for Bumblebee" maintainer="Juan RP " license="ISC" homepage="https://github.com/amonakov/primus" -only_for_archs="i686 x86_64" +archs="i686 x86_64" distfiles="$homepage/archive/$_commit.tar.gz" checksum=6eb0b9fbd93c3d2add983491ae4092f68266925289126ce4055959444b18c65a wrksrc="$pkgname-$_commit" diff --git a/srcpkgs/pstate-frequency/template b/srcpkgs/pstate-frequency/template index 4453a64c214..f8f78b813ef 100644 --- a/srcpkgs/pstate-frequency/template +++ b/srcpkgs/pstate-frequency/template @@ -10,5 +10,5 @@ license="GPL-2.0-or-later" homepage="https://pyamsoft.github.io/pstate-frequency/" distfiles="https://github.com/pyamsoft/pstate-frequency/archive/${version}.tar.gz" checksum=96efcf4abe841286dc6fbb697757c49ee1d6c47240cfc91a6fd59218870963c9 -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" conf_files="/etc/pstate-frequency.d/*.plan" diff --git a/srcpkgs/quake4/template b/srcpkgs/quake4/template index bec583095cf..b60b8794e9e 100644 --- a/srcpkgs/quake4/template +++ b/srcpkgs/quake4/template @@ -12,7 +12,7 @@ skip_extraction="quake4-linux-${version}.x86.run" checksum=9203b387b1a4075a1b9ad1eb7be32b49a88141a448d9330d9cbe1f40a145bd6a # 32bit package for x86_64 built on x86 :-) -only_for_archs="i686" +archs="i686" repository="nonfree" nostrip="yes" diff --git a/srcpkgs/radeontop/template b/srcpkgs/radeontop/template index 40b4fd17fdc..5ce17ca3aae 100644 --- a/srcpkgs/radeontop/template +++ b/srcpkgs/radeontop/template @@ -2,7 +2,7 @@ pkgname=radeontop version=1.1 revision=1 -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" hostmakedepends="pkg-config" makedepends="ncurses-devel libdrm-devel libxcb-devel" short_desc="View radeon GPU utilization" diff --git a/srcpkgs/riot-desktop/template b/srcpkgs/riot-desktop/template index d811c181fb9..dda906316c6 100644 --- a/srcpkgs/riot-desktop/template +++ b/srcpkgs/riot-desktop/template @@ -3,7 +3,7 @@ pkgname=riot-desktop version=1.0.1 revision=1 wrksrc="riot-web-${version}" -only_for_archs="i686 x86_64" +archs="i686 x86_64" conf_files="/etc/${pkgname}/config.json" hostmakedepends="git nodejs" depends="c-ares ffmpeg gtk+3 http-parser libevent libxslt minizip nss re2 snappy" diff --git a/srcpkgs/rpi-base/template b/srcpkgs/rpi-base/template index b10ffcbe62a..3f60d7087a0 100644 --- a/srcpkgs/rpi-base/template +++ b/srcpkgs/rpi-base/template @@ -7,7 +7,7 @@ short_desc="Void Linux RaspberryPi base files" maintainer="Juan RP " license="Public Domain" -only_for_archs="armv6l armv6l-musl armv7l armv7l-musl aarch64 aarch64-musl" +archs="armv6l* armv7l* aarch64*" depends="virtual?ntp-daemon rpi-firmware rpi-kernel" do_install() { diff --git a/srcpkgs/rpi-userland/template b/srcpkgs/rpi-userland/template index e8c881d04ec..7c5b376122f 100644 --- a/srcpkgs/rpi-userland/template +++ b/srcpkgs/rpi-userland/template @@ -16,7 +16,7 @@ distfiles="https://github.com/raspberrypi/userland/archive/${_githash}.tar.gz" checksum=9424ffa45ef888fb61483c63fd66532c1c648e071fea72c93762efbb3c2a8669 LDFLAGS="-Wl,--no-as-needed" -only_for_archs="armv6l armv6l-musl armv7l armv7l-musl" +archs="armv6l* armv7l*" shlib_provides=" libEGL.so diff --git a/srcpkgs/rpi3-base/template b/srcpkgs/rpi3-base/template index 8f853ce2ba6..f803e9b8439 100644 --- a/srcpkgs/rpi3-base/template +++ b/srcpkgs/rpi3-base/template @@ -7,7 +7,7 @@ short_desc="Void Linux RaspberryPi3 (64 bit) base files" maintainer="Leah Neukirchen " license="Public Domain" -only_for_archs="aarch64 aarch64-musl" +archs="aarch64*" depends="virtual?ntp-daemon rpi3-firmware linux" do_install() { diff --git a/srcpkgs/rpi3-firmware/template b/srcpkgs/rpi3-firmware/template index 6007ae2605a..a7076ab3da0 100644 --- a/srcpkgs/rpi3-firmware/template +++ b/srcpkgs/rpi3-firmware/template @@ -5,7 +5,7 @@ _gitshort="${_githash:0:7}" pkgname=rpi3-firmware version=20170113 revision=1 -only_for_archs="aarch64 aarch64-musl" +archs="aarch64*" wrksrc="firmware-${_githash}" short_desc="Firmware files for the Raspberry Pi 3 (git ${_gitshort})" maintainer="Leah Neukirchen " diff --git a/srcpkgs/rr/template b/srcpkgs/rr/template index 27e8bcfdb3f..001cb216719 100644 --- a/srcpkgs/rr/template +++ b/srcpkgs/rr/template @@ -4,7 +4,7 @@ version=5.2.0 revision=3 build_style=cmake configure_args="-DBUILD_TESTS=OFF -DCMAKE_CXX_STANDARD=14" -only_for_archs="i686 x86_64" +archs="i686 x86_64" hostmakedepends="pkg-config python" makedepends="python-pexpect zlib-devel capnproto-devel" short_desc="Nondeterministic debugger" diff --git a/srcpkgs/rstudio/template b/srcpkgs/rstudio/template index b176db7d346..102bad3222c 100644 --- a/srcpkgs/rstudio/template +++ b/srcpkgs/rstudio/template @@ -2,7 +2,7 @@ pkgname=rstudio version=1.1.463 revision=1 -only_for_archs="i686 x86_64" +archs="i686 x86_64" build_style=cmake make_install_args="INSTALL_ROOT=${DESTDIR} \ PREFIX=/usr" diff --git a/srcpkgs/ryzen-stabilizator/template b/srcpkgs/ryzen-stabilizator/template index f169dbceb4d..8eb0ce8886a 100644 --- a/srcpkgs/ryzen-stabilizator/template +++ b/srcpkgs/ryzen-stabilizator/template @@ -6,7 +6,7 @@ _commit=90a2f7adc94baa484cbf2590455fb1f4a25126d8 wrksrc="${pkgname}-${_commit}" build_style=go hostmakedepends="git" -only_for_archs="i686 x86_64 i686-musl x86_64-musl" +archs="i686* x86_64*" go_import_path="github.com/qrwteyrutiyoup/ryzen-stabilizator" short_desc="Simple Go program to control an AMD Ryzen processor" maintainer="Orphaned " diff --git a/srcpkgs/samsung-unified-driver/template b/srcpkgs/samsung-unified-driver/template index 72ce85d6027..3ddf426e2ff 100644 --- a/srcpkgs/samsung-unified-driver/template +++ b/srcpkgs/samsung-unified-driver/template @@ -3,7 +3,7 @@ pkgname=samsung-unified-driver version=1.00.37 revision=3 create_wrksrc=yes -only_for_archs="i686 x86_64" +archs="i686 x86_64" repository=nonfree depends="cups ghostscript libusb-compat sane" short_desc="Unified Linux Driver for Samsung printers and scanners" diff --git a/srcpkgs/sauerbraten/template b/srcpkgs/sauerbraten/template index bf8492785cf..bb0c9b8acb9 100644 --- a/srcpkgs/sauerbraten/template +++ b/srcpkgs/sauerbraten/template @@ -17,7 +17,7 @@ checksum=45c20521e3e56374490b2d9112a211538e801cf0161197f35476b30b7b58a78e restricted="Very large - not worth storing on current Void infrastructure" # Build is only supported on i686 and x86_64, and enet doesn't cross compile -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" post_install() { diff --git a/srcpkgs/sbcl/template b/srcpkgs/sbcl/template index 5209f4d8229..1cd0227976d 100644 --- a/srcpkgs/sbcl/template +++ b/srcpkgs/sbcl/template @@ -2,7 +2,7 @@ pkgname=sbcl version=1.5.0 revision=1 -archs="i686 x86_64 x86_64-musl armv7l aarch64" +archs="i686 x86_64* armv7l aarch64" hostmakedepends="iana-etc" makedepends="zlib-devel" diff --git a/srcpkgs/sc3-plugins/template b/srcpkgs/sc3-plugins/template index fc40680330b..6011f319709 100644 --- a/srcpkgs/sc3-plugins/template +++ b/srcpkgs/sc3-plugins/template @@ -2,7 +2,7 @@ pkgname=sc3-plugins version=3.9.1 revision=1 -only_for_archs="i686 x86_64" +archs="i686 x86_64" build_style=cmake configure_args="-DSC_PATH=$XBPS_BUILDDIR/${pkgname}/SuperCollider-Source -DSUPERNOVA=ON" hostmakedepends="pkg-config git" diff --git a/srcpkgs/sdcc/template b/srcpkgs/sdcc/template index f752bebc0fb..096fb3e897a 100644 --- a/srcpkgs/sdcc/template +++ b/srcpkgs/sdcc/template @@ -2,7 +2,7 @@ pkgname=sdcc version=3.8.0 revision=1 -only_for_archs="i686 x86_64 x86_64-musl" +archs="i686 x86_64*" build_style=gnu-configure hostmakedepends="flex bison gputils" makedepends="boost-devel zlib-devel" diff --git a/srcpkgs/seabios/template b/srcpkgs/seabios/template index 99ec26b1630..c8bc570796b 100644 --- a/srcpkgs/seabios/template +++ b/srcpkgs/seabios/template @@ -4,7 +4,7 @@ version=1.12.0 revision=1 build_style=gnu-makefile hostmakedepends="python3" -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" short_desc="OSS implementation of a 16-bit x86 BIOS" maintainer="Jürgen Buchmüller " license="LGPL-3.0-or-later" diff --git a/srcpkgs/skype/template b/srcpkgs/skype/template index a1e6295eb02..0aaea9ddef5 100644 --- a/srcpkgs/skype/template +++ b/srcpkgs/skype/template @@ -4,7 +4,7 @@ pkgname=skype reverts="8.30.76.41_1" version=8.34.0.78 revision=1 -only_for_archs="x86_64" +archs="x86_64" repository="nonfree" build_style="fetch" nostrip="yes" diff --git a/srcpkgs/skype_oss_wrapper/template b/srcpkgs/skype_oss_wrapper/template index 206b92b6be1..1453eeba627 100644 --- a/srcpkgs/skype_oss_wrapper/template +++ b/srcpkgs/skype_oss_wrapper/template @@ -2,7 +2,7 @@ pkgname=skype_oss_wrapper version=0.1 revision=1 -only_for_archs="i686" +archs="i686" lib32mode="full" short_desc="Fake libpulse.so library that mimics pulseaudio behavior for skype" maintainer="Christian Neukirchen " diff --git a/srcpkgs/slack-desktop/template b/srcpkgs/slack-desktop/template index 016e8cc68ed..8d525b9abdc 100644 --- a/srcpkgs/slack-desktop/template +++ b/srcpkgs/slack-desktop/template @@ -2,7 +2,7 @@ pkgname=slack-desktop version=3.3.7 revision=1 -only_for_archs="x86_64" +archs="x86_64" short_desc="Messaging app for teams" maintainer="Diogo Leal " license="Proprietary" diff --git a/srcpkgs/soulseekqt/template b/srcpkgs/soulseekqt/template index e5cb83c1da2..444fef1ae0b 100644 --- a/srcpkgs/soulseekqt/template +++ b/srcpkgs/soulseekqt/template @@ -22,7 +22,7 @@ repository="nonfree" hostmakedepends="wget" depends="libXext fontconfig libXrender libSM alsa-lib" create_wrksrc=yes -only_for_archs="i686 x86_64" +archs="i686 x86_64" nopie=yes # wget seems to be more efficient to deal with dropbox diff --git a/srcpkgs/steam/template b/srcpkgs/steam/template index caaef68540d..d0c560dca84 100644 --- a/srcpkgs/steam/template +++ b/srcpkgs/steam/template @@ -3,7 +3,7 @@ pkgname=steam version=1.0.0.59 revision=1 wrksrc=steam -only_for_archs="i686 x86_64" +archs="i686 x86_64" depends="zenity xz curl dbus freetype gdk-pixbuf hicolor-icon-theme desktop-file-utils liberation-fonts-ttf" short_desc="Digital distribution client bootstrap package - Valve's steam client" maintainer="Juan RP " diff --git a/srcpkgs/stepmania/template b/srcpkgs/stepmania/template index a967495d070..9ec2c4c2421 100644 --- a/srcpkgs/stepmania/template +++ b/srcpkgs/stepmania/template @@ -17,7 +17,7 @@ checksum=df79bcadd69d4ed60cf560d45386ec275181343495ffd744c3ff8f73c83d4755 # Upstream has stated that only x86 hardware can meed the performance # constraints and that musl is not supported due to interop issues # with Windows -only_for_archs="i686 x86_64" +archs="i686 x86_64" post_install() { vlicense Docs/Licenses.txt diff --git a/srcpkgs/sublime-merge/template b/srcpkgs/sublime-merge/template index 0e7884886df..2c298b2329d 100644 --- a/srcpkgs/sublime-merge/template +++ b/srcpkgs/sublime-merge/template @@ -3,7 +3,7 @@ pkgname=sublime-merge version=1103 revision=1 wrksrc=sublime_merge -only_for_archs="x86_64" +archs="x86_64" depends="libpng gtk+ hicolor-icon-theme desktop-file-utils" short_desc="New Git client, from the makers of Sublime Text" maintainer="Adelmo Junior " diff --git a/srcpkgs/sublime-text3/template b/srcpkgs/sublime-text3/template index b5d857871a0..6fd4b808e58 100644 --- a/srcpkgs/sublime-text3/template +++ b/srcpkgs/sublime-text3/template @@ -16,7 +16,7 @@ license="Propietary" short_desc="Sophisticated text editor for code, markup and prose" repository="nonfree" -only_for_archs="i686 x86_64" +archs="i686 x86_64" wrksrc="sublime_text_3" nopie=yes diff --git a/srcpkgs/subuser/template b/srcpkgs/subuser/template index e325062c284..50444246b29 100644 --- a/srcpkgs/subuser/template +++ b/srcpkgs/subuser/template @@ -2,7 +2,7 @@ pkgname=subuser version=0.6.2 revision=2 -only_for_archs="x86_64 x86_64-musl" +archs="x86_64*" build_style=python3-module hostmakedepends="python3-setuptools" depends="docker python3-setuptools" diff --git a/srcpkgs/sun7i-kernel/template b/srcpkgs/sun7i-kernel/template index 33e2ff5003a..72d803349ea 100644 --- a/srcpkgs/sun7i-kernel/template +++ b/srcpkgs/sun7i-kernel/template @@ -25,7 +25,7 @@ _kernver="${version}_${revision}" nostrip=yes noverifyrdeps=yes -only_for_archs="armv7l armv7l-musl" +archs="armv7l*" hostmakedepends="perl python kmod uboot-mkimage libressl bc" makedepends="ncurses-devel" triggers="kernel-hooks" diff --git a/srcpkgs/sunxi-mali/template b/srcpkgs/sunxi-mali/template index 78add21a996..05a56b27f58 100644 --- a/srcpkgs/sunxi-mali/template +++ b/srcpkgs/sunxi-mali/template @@ -10,7 +10,7 @@ maintainer="Juan RP " license="MIT" homepage="https://github.com/linux-sunxi/sunxi-mali" nostrip=yes -only_for_archs="armv7l" +archs="armv7l" provides="libEGL-1.0_1 libGLES-1.0_1" replaces="libEGL>=0 libGLES>=0" diff --git a/srcpkgs/supertuxkart/template b/srcpkgs/supertuxkart/template index 7894a2bc61f..8218bd9d515 100644 --- a/srcpkgs/supertuxkart/template +++ b/srcpkgs/supertuxkart/template @@ -2,7 +2,7 @@ pkgname=supertuxkart version=0.9.3 revision=1 -only_for_archs="i686 i686-musl x86_64 x86_64-musl ppc64le ppc64le-musl ppc64-musl" +archs="i686* x86_64* ppc64*" build_style=cmake hostmakedepends="pkg-config" makedepends="libgomp-devel libjpeg-turbo-devel libpng-devel diff --git a/srcpkgs/swars/template b/srcpkgs/swars/template index 5b90aebc5b9..b75daf00e4f 100644 --- a/srcpkgs/swars/template +++ b/srcpkgs/swars/template @@ -1,7 +1,7 @@ # Template file for 'swars' # # limited to x86 (32bit) -only_for_archs="i686" +archs="i686" lib32mode="full" pkgname=swars diff --git a/srcpkgs/sysdig/template b/srcpkgs/sysdig/template index 1b5170e94a9..2b008325bc4 100644 --- a/srcpkgs/sysdig/template +++ b/srcpkgs/sysdig/template @@ -2,7 +2,7 @@ pkgname=sysdig version=0.24.2 revision=1 -only_for_archs="i686 x86_64 ppc64le" +archs="i686 x86_64 ppc64le" build_style=cmake configure_args="-DSYSDIG_VERSION=${version} -DUSE_BUNDLED_DEPS=OFF -DUSE_BUNDLED_B64=ON -DUSE_BUNDLED_JQ=ON -DBUILD_DRIVER=OFF" diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template index fcaab6fc9d9..c18035918fb 100644 --- a/srcpkgs/syslinux/template +++ b/srcpkgs/syslinux/template @@ -11,7 +11,7 @@ license="GPL-2.0-or-later" homepage="http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project" distfiles="${KERNEL_SITE}/utils/boot/${pkgname}/${pkgname}-${version}.tar.xz" checksum=26d3986d2bea109d5dc0e4f8c4822a459276cf021125e8c9f23c3cca5d8c850e -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" nopie=yes pre_build() { diff --git a/srcpkgs/systemtap/template b/srcpkgs/systemtap/template index 04bb62e09d6..209a70f57bc 100644 --- a/srcpkgs/systemtap/template +++ b/srcpkgs/systemtap/template @@ -2,7 +2,7 @@ pkgname=systemtap version=4.0 revision=1 -only_for_archs="i686 x86_64 armv6l armv7l aarch64 ppc64le" +archs="i686 x86_64 armv6l armv7l aarch64 ppc64le" build_style=gnu-configure hostmakedepends="python" makedepends="elfutils-devel" diff --git a/srcpkgs/tbb/template b/srcpkgs/tbb/template index c72a4755227..6136135ee33 100644 --- a/srcpkgs/tbb/template +++ b/srcpkgs/tbb/template @@ -2,6 +2,7 @@ pkgname=tbb version=2019.U3 revision=1 +archs="i686* x86_64* armv7l* aarch64* ppc64le* ppc64" # version rewrite: 2017_U7 (upstream) => 2017.7 (xbps) _ver=${version/./_} wrksrc="${pkgname}-${_ver}" @@ -13,8 +14,6 @@ homepage="https://www.threadingbuildingblocks.org" distfiles="https://github.com/01org/tbb/archive/${_ver}.tar.gz" checksum=b2244147bc8159cdd8f06a38afeb42f3237d3fc822555499d7ccfbd4b86f8ece -only_for_archs="i686-musl x86_64-musl armv7l-musl aarch64-musl i686 x86_64 armv7l aarch64 ppc64le ppc64le-musl ppc64" - case "$XBPS_TARGET_MACHINE" in armv7l*) make_build_args="arch=armv7" diff --git a/srcpkgs/teamspeak3/template b/srcpkgs/teamspeak3/template index 1c65d781386..cd08fda3aa5 100644 --- a/srcpkgs/teamspeak3/template +++ b/srcpkgs/teamspeak3/template @@ -4,7 +4,7 @@ version=3.2.3 revision=1 wrksrc=teamspeak3 create_wrksrc=yes -only_for_archs="i686 x86_64" +archs="i686 x86_64" short_desc="Popular proprietary voice chat for gaming" maintainer="Tai Chi Minh Ralph Eastwood " license="Proprietary" diff --git a/srcpkgs/texlive2013-bin/template b/srcpkgs/texlive2013-bin/template index 302acc0c40c..d899818ecd3 100644 --- a/srcpkgs/texlive2013-bin/template +++ b/srcpkgs/texlive2013-bin/template @@ -9,7 +9,7 @@ short_desc="TeX Live 2013 Binary distribution through tl-install" depends="cairo pixman graphite t1lib gd poppler libsigsegv zziplib libpng libjpeg-turbo freetype icu harfbuzz wget perl ghostscript" -only_for_archs="i686 x86_64" +archs="i686 x86_64" distfiles="ftp://ftp.tug.org/texlive/historic/${version}/tlnet-final/install-tl-unx.tar.gz" checksum="8b200e78b87899349404bdc58b47241291ba7a74846b816a926b02c2fe20aca7" create_wrksrc=yes diff --git a/srcpkgs/thermald/template b/srcpkgs/thermald/template index c490a263f70..ba6786c6d99 100644 --- a/srcpkgs/thermald/template +++ b/srcpkgs/thermald/template @@ -4,7 +4,7 @@ version=1.8 revision=1 _pkgname=thermal_daemon wrksrc="${_pkgname}-${version}" -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" build_style=gnu-configure hostmakedepends="automake pkg-config glib-devel" makedepends="dbus-glib-devel libxml2-devel libglib-devel libgomp-devel" diff --git a/srcpkgs/thunderbird/template b/srcpkgs/thunderbird/template index 2435c618b13..4248fdd9490 100644 --- a/srcpkgs/thunderbird/template +++ b/srcpkgs/thunderbird/template @@ -12,7 +12,7 @@ license="MPL-2.0, GPL-2.0-or-later, LGPL-2.1-or-later" distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.xz" checksum=4b5260c069c018c966bd00d5e05a8f2fa3a639bc20614910e46b7e9af89545af -only_for_archs="i686 i686-musl x86_64 x86_64-musl ppc64le ppc64le-musl ppc64-musl" +archs="i686* x86_64* ppc64*" lib32disabled=yes hostmakedepends="autoconf213 unzip zip pkg-config perl python yasm rust cargo diff --git a/srcpkgs/toggle-ht/template b/srcpkgs/toggle-ht/template index 9ce1ab9a7bf..0e6d5a20b31 100644 --- a/srcpkgs/toggle-ht/template +++ b/srcpkgs/toggle-ht/template @@ -2,7 +2,7 @@ pkgname=toggle-ht version=0.5.2 revision=1 -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" depends="bash coreutils" short_desc="Toggle hyperthreading on x86 systems" maintainer="Andy Weidenbaum " diff --git a/srcpkgs/tp_smapi-dkms/template b/srcpkgs/tp_smapi-dkms/template index 48e589e370f..4a711af14ec 100644 --- a/srcpkgs/tp_smapi-dkms/template +++ b/srcpkgs/tp_smapi-dkms/template @@ -3,7 +3,7 @@ pkgname=tp_smapi-dkms version=0.43 revision=1 wrksrc=tp_smapi-${version} -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" short_desc="IBM ThinkPad hardware functions driver" maintainer="Leah Neukirchen " license="GPL-2" diff --git a/srcpkgs/tpacpi-bat/template b/srcpkgs/tpacpi-bat/template index 7e5050b2474..59b39817b20 100644 --- a/srcpkgs/tpacpi-bat/template +++ b/srcpkgs/tpacpi-bat/template @@ -2,7 +2,7 @@ pkgname=tpacpi-bat version=3.1 revision=2 -only_for_archs="i686 x86_64 x86_64-musl" +archs="i686 x86_64*" depends="acpi_call-dkms perl" short_desc="ThinkPad ACPI Battery Util using acpi_call" maintainer="Daniel A. Maierhofer " diff --git a/srcpkgs/tracebox/template b/srcpkgs/tracebox/template index 742e3219004..dd6cb8a75ee 100644 --- a/srcpkgs/tracebox/template +++ b/srcpkgs/tracebox/template @@ -6,7 +6,7 @@ _click_ver=2.0.1 _crafter_git=3db70ab6fd62ade25de7328aaf8e9ba92696c92e _crafter_ver=0.3.3git build_style=gnu-configure -only_for_archs="i686 x86_64" +archs="i686 x86_64" hostmakedepends="automake pkg-config libtool unzip" makedepends="libpcap-devel json-c-devel lua-devel" short_desc="A middlebox detection tool" diff --git a/srcpkgs/turbovnc/template b/srcpkgs/turbovnc/template index 02a60b2cd86..07e9326488a 100644 --- a/srcpkgs/turbovnc/template +++ b/srcpkgs/turbovnc/template @@ -17,7 +17,7 @@ distfiles="${SOURCEFORGE_SITE}/turbovnc/${pkgname}-${version}.tar.gz" checksum=d8c710dcf2128c235f8f203ec77b306c56b25d61134b47aeb55acaab4c2d3a61 conf_files="/etc/turbovncserver.conf /etc/turbovncserver-security.conf" -only_for_archs="i686 i686-musl x86_64 x86_64-musl ppc64le ppc64le-musl ppc64-musl" +archs="i686* x86_64* ppc64*" conflicts="tigervnc>=0" # Need this to make define struct ucred with musl diff --git a/srcpkgs/unicorn/template b/srcpkgs/unicorn/template index cfedc816a36..317e261ae88 100644 --- a/srcpkgs/unicorn/template +++ b/srcpkgs/unicorn/template @@ -2,7 +2,7 @@ pkgname=unicorn version=1.0.1 revision=2 -only_for_archs="x86_64 x86_64-musl i686 i686-musl" +archs="x86_64* i686*" hostmakedepends="python-devel python3-devel python-setuptools python3-setuptools" short_desc="Lightweight multi-platform, multi-architecture CPU emulator framework" maintainer="Orphaned " diff --git a/srcpkgs/upwork/template b/srcpkgs/upwork/template index aaac097f914..52a42afa5db 100644 --- a/srcpkgs/upwork/template +++ b/srcpkgs/upwork/template @@ -4,7 +4,7 @@ version=5.1.0.562 revision=1 _rawver=${version//./_} _hashver="f3wgs5ljinabm69t" -only_for_archs="x86_64" +archs="x86_64" depends="alsa-lib gtk+ GConf gdk-pixbuf nss libXtst libXScrnSaver" short_desc="Desktop Upwork app" maintainer="Arthur Evstifeev " diff --git a/srcpkgs/usbarmory-base/template b/srcpkgs/usbarmory-base/template index 59e1236a205..e3c771ca409 100644 --- a/srcpkgs/usbarmory-base/template +++ b/srcpkgs/usbarmory-base/template @@ -7,7 +7,7 @@ maintainer="Enno Boland " license="Public Domain" homepage="http://www.voidlinux.eu" -only_for_archs="armv7l armv7l-musl" +archs="armv7l*" depends="virtual?ntp-daemon usbarmory-u-boot usbarmory-kernel" do_install() { diff --git a/srcpkgs/usbarmory-kernel/template b/srcpkgs/usbarmory-kernel/template index 73d5c5200b9..3311152ae99 100644 --- a/srcpkgs/usbarmory-kernel/template +++ b/srcpkgs/usbarmory-kernel/template @@ -18,7 +18,7 @@ nostrip=yes noverifyrdeps=yes noshlibprovides=yes -only_for_archs="armv7l armv7l-musl" +archs="armv7l*" hostmakedepends="perl kmod uboot-mkimage libressl bc" makedepends="ncurses-devel" triggers="kernel-hooks" diff --git a/srcpkgs/usbarmory-u-boot/template b/srcpkgs/usbarmory-u-boot/template index 6624f8b96cf..7ff1e45c3f0 100644 --- a/srcpkgs/usbarmory-u-boot/template +++ b/srcpkgs/usbarmory-u-boot/template @@ -11,7 +11,7 @@ homepage="https://github.com/hardkernel/u-boot" distfiles="ftp://ftp.denx.de/pub/u-boot/u-boot-$version.tar.bz2" checksum="0a1a70df586655f527befa6f12e184e96ed61b126e5a567382321b17200f5d60" -only_for_archs="armv7l armv7l-musl" +archs="armv7l*" do_configure() { make distclean diff --git a/srcpkgs/vagrant/template b/srcpkgs/vagrant/template index 41544fd730a..c57581bdd7d 100644 --- a/srcpkgs/vagrant/template +++ b/srcpkgs/vagrant/template @@ -13,7 +13,7 @@ distfiles="https://github.com/mitchellh/${pkgname}/archive/v${version}.tar.gz" checksum=7a2f15b58549080562168f6bcab6d1461540b42ad35bf1f0d33f2c64317d00c8 nocross=yes -only_for_archs="i686 x86_64" +archs="i686 x86_64" post_extract() { sed -i 's|\,\ "<\ 2\.5"||g' $pkgname.gemspec diff --git a/srcpkgs/vbetool/template b/srcpkgs/vbetool/template index 61adf399fed..4e7771c61ea 100644 --- a/srcpkgs/vbetool/template +++ b/srcpkgs/vbetool/template @@ -2,7 +2,7 @@ pkgname=vbetool version=1.1 revision=5 -only_for_archs="i686 x86_64" +archs="i686 x86_64" build_style=gnu-configure make_build_args="LIBS=-lpci" makedepends="zlib-devel libx86-devel pciutils-devel" diff --git a/srcpkgs/virtualbox-ose/template b/srcpkgs/virtualbox-ose/template index 5d14c646d44..9dda13b4b33 100644 --- a/srcpkgs/virtualbox-ose/template +++ b/srcpkgs/virtualbox-ose/template @@ -13,7 +13,7 @@ checksum=f80b0c68182c946fb74ada8034960c38159ad91085b153da1277e4f191af6e1f nopie=yes lib32disabled=yes -only_for_archs="x86_64" +archs="x86_64" hostmakedepends="acpica-utils dev86 perl pkg-config qt5-tools yasm" makedepends="device-mapper-devel docbook-xsl gsoap-devel libcap-devel libcurl-devel diff --git a/srcpkgs/vivaldi/template b/srcpkgs/vivaldi/template index d7f6dd1ad5e..42beb81b4af 100644 --- a/srcpkgs/vivaldi/template +++ b/srcpkgs/vivaldi/template @@ -3,7 +3,7 @@ pkgname=vivaldi version=2.2.1388.34 revision=1 _release=1 -only_for_archs="i686 x86_64" +archs="i686 x86_64" depends="desktop-file-utils hicolor-icon-theme" short_desc="Advanced browser made with the power user in mind" maintainer="Diogo Leal " diff --git a/srcpkgs/void-repo-multilib/template b/srcpkgs/void-repo-multilib/template index 6c46aec267e..810236f72ab 100644 --- a/srcpkgs/void-repo-multilib/template +++ b/srcpkgs/void-repo-multilib/template @@ -3,7 +3,7 @@ pkgname=void-repo-multilib version=6 revision=2 build_style=meta -only_for_archs="x86_64" +archs="x86_64" short_desc="Void Linux drop-in file for the multilib repository" maintainer="Juan RP " license="Public Domain" diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template index 83e0a4d4525..396c3f0d73d 100644 --- a/srcpkgs/vpcs/template +++ b/srcpkgs/vpcs/template @@ -12,7 +12,7 @@ homepage="https://sourceforge.net/projects/vpcs" distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz" checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993 -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" pre_build() { case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/warsow/template b/srcpkgs/warsow/template index 132f1b6cecf..347dcf71281 100644 --- a/srcpkgs/warsow/template +++ b/srcpkgs/warsow/template @@ -19,7 +19,7 @@ homepage="http://www.warsow.net/" distfiles="http://mirror.null.one/warsow_${version/./}_sdk.tar.gz" checksum=99c88bc08f5e6055d28534de6e84fc204026dda51dc31e22caca1977f199453a -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" do_install() { # Move Compiled Data to Destination Directory diff --git a/srcpkgs/wine/template b/srcpkgs/wine/template index 38180473ba9..a81d15c8bfc 100644 --- a/srcpkgs/wine/template +++ b/srcpkgs/wine/template @@ -14,7 +14,7 @@ checksum=3db9b50f061087e7ec115a47e44d662a5b8a7fdb44264e637795508a185f0fb4 nopie_files="/usr/bin/wine" lib32mode=full -only_for_archs=i686 +archs=i686 hostmakedepends="pkg-config flex prelink" makedepends="gettext-devel lcms2-devel zlib-devel ncurses-devel diff --git a/srcpkgs/wineasio/template b/srcpkgs/wineasio/template index 54334ae475c..be569776220 100644 --- a/srcpkgs/wineasio/template +++ b/srcpkgs/wineasio/template @@ -2,8 +2,8 @@ pkgname=wineasio version=0.9.2 revision=6 +archs="i686" repository="nonfree" -only_for_archs=i686 build_style=gnu-makefile create_wrksrc=yes build_wrksrc=${pkgname} diff --git a/srcpkgs/winusb/template b/srcpkgs/winusb/template index 314c49b67d4..53e8cfe08ed 100644 --- a/srcpkgs/winusb/template +++ b/srcpkgs/winusb/template @@ -2,7 +2,7 @@ pkgname=winusb version=1.0.11 revision=10 -only_for_archs="i686 x86_64 i686-musl x86_64-musl" +archs="i686* x86_64*" build_style=gnu-configure configure_args="--with-wx-config=wx-config-gtk3" hostmakedepends="pkg-config" diff --git a/srcpkgs/wps-office/template b/srcpkgs/wps-office/template index 2d7ba478739..bc0b90f7cfa 100644 --- a/srcpkgs/wps-office/template +++ b/srcpkgs/wps-office/template @@ -16,7 +16,7 @@ nopie=yes _disturl=http://kdl.cc.ksosoft.com/wps-community/download/6757 -only_for_archs="i686 x86_64" +archs="i686 x86_64" if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then _arch=x86_64 checksum=0280d3e5a3b0c524f54076db6a904a6fee68b19075f6b879b5d2473622d4627e diff --git a/srcpkgs/x86info/template b/srcpkgs/x86info/template index 549d6fee96b..e007eee0827 100644 --- a/srcpkgs/x86info/template +++ b/srcpkgs/x86info/template @@ -2,7 +2,7 @@ pkgname=x86info version=1.30 revision=1 -only_for_archs="x86_64 x86_64-musl i686 i686-musl" +archs="x86_64* i686*" build_style=gnu-makefile hostmakedepends="python3" makedepends="pciutils-devel" diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template index b3065e89e05..7b18e02e377 100644 --- a/srcpkgs/xastir/template +++ b/srcpkgs/xastir/template @@ -3,7 +3,7 @@ pkgname=xastir version=2.1.0 revision=1 wrksrc="Xastir-Release-${version}" -only_for_archs="i686 x86_64 ppc64le" +archs="i686 x86_64 ppc64le" build_style=gnu-configure makedepends="libXrender-devel libXt-devel libXp-devel libcurl-devel pcre-devel lesstif-devel libax25-devel" short_desc="X Amateur Station Tracking and Information Reporting" diff --git a/srcpkgs/xen/template b/srcpkgs/xen/template index 865a81b388e..b277471e425 100644 --- a/srcpkgs/xen/template +++ b/srcpkgs/xen/template @@ -4,7 +4,7 @@ version=4.10.1 revision=1 # Latest revision from https://ipxe.org/ (2018-09-22) _git_tag_ipxe=133f4c47baef6002b2ccb4904a035cda2303c6e5 -only_for_archs="x86_64 x86_64-musl" +archs="x86_64*" nopie=yes configure_args="$(vopt_enable stubdom) --with-system-seabios=/usr/share/seabios/bios.bin" hostmakedepends="acpica-utils automake bison fig2dev ghostscript git ocaml diff --git a/srcpkgs/xf86-input-vmmouse/template b/srcpkgs/xf86-input-vmmouse/template index 11df1b29a72..61e593228ec 100644 --- a/srcpkgs/xf86-input-vmmouse/template +++ b/srcpkgs/xf86-input-vmmouse/template @@ -14,7 +14,7 @@ license="MIT" distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2" checksum=0af558957ac1be1b2863712c2475de8f4d7f14921fd01ded2e2fde4921b19319 -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" post_install() { vlicense COPYING diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template index dbd5f4cb1ca..8e45a8ba5df 100644 --- a/srcpkgs/xf86-video-amdgpu/template +++ b/srcpkgs/xf86-video-amdgpu/template @@ -3,7 +3,7 @@ pkgname=xf86-video-amdgpu version=18.1.0 revision=1 lib32disabled=yes -only_for_archs="i686 i686-musl x86_64 x86_64-musl ppc64le ppc64le-musl ppc64-musl ppc ppc-musl" +archs="i686* x86_64* ppc64* ppc ppc-musl" build_style=gnu-configure hostmakedepends="pkg-config" makedepends="xorgproto eudev-libudev-devel libpciaccess-devel diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template index 1b9f2858d4f..eb97da03f6a 100644 --- a/srcpkgs/xf86-video-ati/template +++ b/srcpkgs/xf86-video-ati/template @@ -3,7 +3,7 @@ pkgname=xf86-video-ati version=18.1.0 revision=1 lib32disabled=yes -only_for_archs="i686 i686-musl x86_64 x86_64-musl ppc ppc-musl ppc64le ppc64le-musl ppc64-musl" +archs="i686* x86_64* ppc ppc-musl ppc64*" build_style=gnu-configure hostmakedepends="pkg-config" makedepends="xorgproto eudev-libudev-devel libpciaccess-devel diff --git a/srcpkgs/xf86-video-fbturbo-sunxi/template b/srcpkgs/xf86-video-fbturbo-sunxi/template index 6af290a77f3..9affd3224b0 100644 --- a/srcpkgs/xf86-video-fbturbo-sunxi/template +++ b/srcpkgs/xf86-video-fbturbo-sunxi/template @@ -14,7 +14,7 @@ homepage="http://github.com/ssvb/xf86-video-fbturbo" distfiles="https://github.com/ssvb/xf86-video-fbturbo/archive/${version}.tar.gz" checksum=10411686de0a9d8b2cde300b0d68e9f1d22e3611470d357ef3afc337f123ca0f -only_for_archs="armv7l" +archs="armv7l" conflicts="xf86-video-fbturbo>=0" LDFLAGS="-Wl,-z,lazy" diff --git a/srcpkgs/xf86-video-fbturbo/template b/srcpkgs/xf86-video-fbturbo/template index f6793155810..2252aedc815 100644 --- a/srcpkgs/xf86-video-fbturbo/template +++ b/srcpkgs/xf86-video-fbturbo/template @@ -10,7 +10,7 @@ maintainer="Juan RP " distfiles="https://github.com/ssvb/xf86-video-fbturbo/archive/${version}.tar.gz" checksum=10411686de0a9d8b2cde300b0d68e9f1d22e3611470d357ef3afc337f123ca0f -only_for_archs="armv6l armv6l-musl armv7l armv7l-musl" +archs="armv6l* armv7l*" hostmakedepends="pkg-config xorg-server-devel" makedepends="libXrandr-devel xorg-server-devel" depends="virtual?xserver-abi-video-24_1" diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template index f1ac9d912cd..75714ae6f12 100644 --- a/srcpkgs/xf86-video-intel/template +++ b/srcpkgs/xf86-video-intel/template @@ -4,7 +4,7 @@ version=2.99.917.847 revision=1 _commit=25c9a2fcc83ae7252a178b42262da383e59df744 lib32disabled=yes -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" build_style=gnu-configure configure_args="--with-default-dri=3" hostmakedepends="git automake libtool pkg-config xorg-util-macros" diff --git a/srcpkgs/xf86-video-nouveau/template b/srcpkgs/xf86-video-nouveau/template index d1c2a5b3378..2159bfeb1f1 100644 --- a/srcpkgs/xf86-video-nouveau/template +++ b/srcpkgs/xf86-video-nouveau/template @@ -3,7 +3,7 @@ pkgname=xf86-video-nouveau version=1.0.16 revision=1 build_style=gnu-configure -only_for_archs="i686 i686-musl x86_64 x86_64-musl ppc ppc-musl ppc64le ppc64le-musl ppc64-musl" +archs="i686* x86_64* ppc ppc-musl ppc64*" hostmakedepends="pkg-config" makedepends="eudev-libudev-devel libdrm-devel xorg-server-devel" depends="virtual?xserver-abi-video-24_1 mesa-nouveau-dri" diff --git a/srcpkgs/xf86-video-vmware/template b/srcpkgs/xf86-video-vmware/template index 7beaba053f8..d634cf22a2f 100644 --- a/srcpkgs/xf86-video-vmware/template +++ b/srcpkgs/xf86-video-vmware/template @@ -3,7 +3,7 @@ pkgname=xf86-video-vmware version=13.3.0 revision=1 lib32disabled=yes -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +archs="i686* x86_64*" build_style=gnu-configure configure_args="--enable-vmwarectrl-client" hostmakedepends="pkg-config" diff --git a/srcpkgs/xvba-video/template b/srcpkgs/xvba-video/template index ef36cbf6869..2e621e4b5e9 100644 --- a/srcpkgs/xvba-video/template +++ b/srcpkgs/xvba-video/template @@ -8,7 +8,7 @@ short_desc="AMDs XvBA backend for VA-API hardware video acceleration" maintainer="John Galt " license="Proprietary AMD license" homepage="http://www.amd.com" -only_for_archs="i686 x86_64" +archs="i686 x86_64" repository="nonfree" distfiles="https://launchpad.net/ubuntu/+archive/primary/+files/xvba-video_0.7.8.orig.tar.gz" checksum=e4bea33edaf73b1c164f76295ac77fc1fb9f4c4a8269fc756937f00454bfd50f diff --git a/srcpkgs/yandex-disk/template b/srcpkgs/yandex-disk/template index 6258496c239..9f5eac00752 100644 --- a/srcpkgs/yandex-disk/template +++ b/srcpkgs/yandex-disk/template @@ -2,7 +2,7 @@ pkgname=yandex-disk version=0.1.5.1010 revision=1 -only_for_archs="i686 x86_64" +archs="i686 x86_64" short_desc="Console client for Yandex.Disk" maintainer="Alexander Mamay " license="Proprietary" diff --git a/srcpkgs/zsnes/template b/srcpkgs/zsnes/template index faad99a496a..d5945ac4fbe 100644 --- a/srcpkgs/zsnes/template +++ b/srcpkgs/zsnes/template @@ -1,7 +1,7 @@ # Template file for 'zsnes' # # 32bit -only_for_archs="i686" +archs="i686" lib32mode="full" wrksrc="zsnes_1_51" build_wrksrc="src"