summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste DURAND <baptiste.durand@open.eurogiciel.org>2014-01-22 12:29:41 +0100
committerBaptiste DURAND <baptiste.durand@open.eurogiciel.org>2014-01-22 12:32:13 +0100
commitb4858745948d63cf70a9c10eaf3af12bf910a39c (patch)
tree8c8e6d35880f454d92201e834a7e64bfe3c23d94
parent85d5ea2eb54e4367fd18e8194af2da3b81d24aa1 (diff)
downloaddesktop-skin-b4858745948d63cf70a9c10eaf3af12bf910a39c.tar.gz
desktop-skin-b4858745948d63cf70a9c10eaf3af12bf910a39c.tar.bz2
desktop-skin-b4858745948d63cf70a9c10eaf3af12bf910a39c.zip
Fix dependencies issue for 32 bits arch build
Do not include alsamixer binaries for 32 Arch build. This binaries are built for x86_64 arch Change-Id: I04ae99269c311372f14ec4ba04b2e3f8c738cff1 Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
-rw-r--r--packaging/desktop-skin.spec10
1 files changed, 7 insertions, 3 deletions
diff --git a/packaging/desktop-skin.spec b/packaging/desktop-skin.spec
index 5aa352b..44bc78c 100644
--- a/packaging/desktop-skin.spec
+++ b/packaging/desktop-skin.spec
@@ -4,7 +4,7 @@ Name: desktop-skin
Summary: Provides desktop-skin.
Version: 2.0
Group: Applications
-License: GPL-2.0+
+License: GPL-2.0+
Release: 1
@@ -21,11 +21,13 @@ Provides desktop-skin.
%build
%install
-mkdir -p %{buildroot}%{_libdir}/alsa
-install -m 644 Sound/asound.state %{buildroot}%{_libdir}/alsa
mkdir -p %{buildroot}%{_bindir}
+%ifarch == x86_64
+mkdir -p %{buildroot}%{_libdir}/alsa
+install -m 644 Sound/asound.state %{buildroot}%{_libdir}/alsa
install -m 755 Sound/alsamixer %{buildroot}%{_bindir}
+%endif
install -m 755 Script/launch_cam.sh %{buildroot}%{_bindir}
install -m 755 Script/launch_video.sh %{buildroot}%{_bindir}
@@ -50,8 +52,10 @@ install -m 644 weston/weston.ini %{buildroot}%{_sysconfdir}/xdg/weston
chown -R app:app %{USERHOME}
%files
+%ifarch == x86_64
%{_libdir}/alsa/asound.state
%{_bindir}/alsamixer
+%endif
%{_bindir}/launch_cam.sh
%{_bindir}/launch_video.sh