Skip to content

Commit

Permalink
antimicrox: update to 3.2.5
Browse files Browse the repository at this point in the history
chore: remove antimicro from common/shlibs
chore: include old antimicrox libs in removed packages
refactor: musl-specific flags
  • Loading branch information
IcedQuinn authored and classabbyamp committed Oct 27, 2022
1 parent 2f069ca commit b61e657
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 20 deletions.
1 change: 0 additions & 1 deletion common/shlibs
Expand Up @@ -3949,7 +3949,6 @@ libnotcurses-core.so.3 notcurses-3.0.5_1
libnotcurses++.so.3 notcurses-3.0.5_1
libnotcurses-ffi.so.3 notcurses-3.0.5_1
libevemu.so.3 evemu-2.7.0_1
libantilib.so.1 libantimicrox-3.1.2_1
libinih.so.0 inih-52_1
libpcaudio.so.0 pcaudiolib-1.1_1
libdcerpc-samr.so.0 samba-4.13.2_1
Expand Down
24 changes: 7 additions & 17 deletions srcpkgs/antimicrox/template
@@ -1,6 +1,6 @@
# Template file for 'antimicrox'
pkgname=antimicrox
version=3.1.3
version=3.3.1
revision=1
build_style=cmake
hostmakedepends="pkg-config extra-cmake-modules itstool gettext qt5-qmake
Expand All @@ -11,24 +11,14 @@ short_desc="Map keyboard buttons and mouse controls to a gamepad"
maintainer="fosslinux <fosslinux@aussies.space>"
license="GPL-3.0-or-later"
homepage="https://github.com/AntiMicroX/antimicrox"
changelog="https://raw.githubusercontent.com/AntiMicroX/antimicrox/master/CHANGELOG.md"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=53c6b0e6c8ea8c3a5527b56e1ad052eae983ba36abfc090769c6164bc5f342dd
checksum=df1df587691568190a1cfa024f85e842c3883f9c58e6a7e883d42976584f728d

libantimicrox_package() {
short_desc+=" - libraries"
pkg_install() {
vmove usr/lib/*.so.*
}
}

libantimicrox-devel_package() {
depends="libantimicrox>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/*.so
vmove usr/include
}
}
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" libexecinfo-devel"
configure_args+=" -DCMAKE_EXE_LINKER_FLAGS=-lexecinfo"
fi

antimicro_package() {
build_style=meta
Expand Down
1 change: 0 additions & 1 deletion srcpkgs/libantimicrox

This file was deleted.

1 change: 0 additions & 1 deletion srcpkgs/libantimicrox-devel

This file was deleted.

2 changes: 2 additions & 0 deletions srcpkgs/removed-packages/template
Expand Up @@ -248,6 +248,8 @@ replaces="
key-mon<=1.17_5
laditools<=1.1.0_3
libapp<=20140527_2
libantimicrox<=3.1.3_1
libantimicrox-devel<=3.1.3_1
libco-devel<=20_1
libco<=20_1
libdbusmenu-qt<=0.9.2_4
Expand Down

0 comments on commit b61e657

Please sign in to comment.