Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

projectM: fix GUI applications for cross. #25502

Merged
merged 1 commit into from
Oct 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 9 additions & 8 deletions srcpkgs/projectM/template
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Template file for 'projectM'
pkgname=projectM
version=3.1.7
revision=2
revision=3
build_style=gnu-configure
configure_args="--datadir=/usr/libexec"
hostmakedepends="pkg-config qt5-host-tools automake libtool which"
build_helper=qmake
configure_args="--datadir=/usr/libexec --enable-qt --enable-pulseaudio
--enable-jack --enable-sdl"
hostmakedepends="pkg-config qt5-host-tools automake libtool which qt5-qmake
qt5-tools-devel"
makedepends="pulseaudio-devel alsa-lib-devel glew-devel ftgl-devel libXext-devel
SDL2-devel gtkglext-devel jack-devel qt5-tools-devel libvisual-devel glm
MesaLib-devel glu-devel"
Expand All @@ -21,11 +24,9 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
fi

post_install() {
if [ ! "$CROSS_BUILD" ]; then
# fix location of desktop files
# TODO: find out why these files aren't generated for the cross build
mv $DESTDIR/usr/libexec/{applications,icons} $DESTDIR/usr/share
fi
# fix location of desktop files
vmkdir usr/share
mv $DESTDIR/usr/libexec/{applications,icons} $DESTDIR/usr/share
}

projectM-devel_package() {
Expand Down