From 788508d38fd015468ef68fa7e1e4d5b05a37b22b62c33cc83a6c35d932eabc54 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 13 Oct 2021 10:36:23 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:Factory/java-1_8_0-openjdk?expand=0&rev=384 --- java-1_8_0-openjdk.spec | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/java-1_8_0-openjdk.spec b/java-1_8_0-openjdk.spec index 61e8faa..a0bc0a0 100644 --- a/java-1_8_0-openjdk.spec +++ b/java-1_8_0-openjdk.spec @@ -56,11 +56,6 @@ %else %global with_improved_font_rendering 0 %endif -%if 0%{?suse_version} >= 1140 -%global with_pulseaudio 1 -%else -%global with_pulseaudio 0 -%endif %if 0%{?suse_version} >= 1220 %global with_system_lcms 1 %else @@ -297,11 +292,6 @@ Requires: openssl %if %{with_systemtap} BuildRequires: systemtap-sdt-devel %endif -# pulse audio requirements -%if %{with_pulseaudio} -BuildRequires: libpulse-devel >= 0.9.11 -BuildRequires: pulseaudio >= 0.9.11 -%endif %if %{with_system_pcsc} BuildRequires: pcsc-lite-devel %endif @@ -583,25 +573,6 @@ for PEM in %{_sysconfdir}/ssl/certs/*.pem; do done %endif -%if %{with_pulseaudio} -# Build the pulseaudio plugin -pushd icedtea-sound-%{icedtea_sound_version} -%configure \ - --with-jdk-home=$JAVA_HOME \ - --disable-docs -make %{?_smp_mflags} -cp icedtea-sound.jar $JAVA_HOME/jre/lib/ext/ -cp build/native/libicedtea-sound.so $JAVA_HOME/jre/lib/%{archinstall}/ -echo "#Config file to enable PulseAudio support" > $JAVA_HOME/jre/lib/pulseaudio.properties -echo "" >> $JAVA_HOME/jre/lib/pulseaudio.properties -echo "javax.sound.sampled.Clip=org.classpath.icedtea.pulseaudio.PulseAudioMixerProvider" >> $JAVA_HOME/jre/lib/pulseaudio.properties -echo "javax.sound.sampled.Port=org.classpath.icedtea.pulseaudio.PulseAudioMixerProvider" >> $JAVA_HOME/jre/lib/pulseaudio.properties -echo "javax.sound.sampled.SourceDataLine=org.classpath.icedtea.pulseaudio.PulseAudioMixerProvider" >> $JAVA_HOME/jre/lib/pulseaudio.properties -echo "javax.sound.sampled.TargetDataLine=org.classpath.icedtea.pulseaudio.PulseAudioMixerProvider" >> $JAVA_HOME/jre/lib/pulseaudio.properties -echo "" >> $JAVA_HOME/jre/lib/pulseaudio.properties -popd -%endif - # Check debug symbols are present and can identify code SERVER_JVM="$JAVA_HOME/jre/lib/%{archinstall}/server/libjvm.so" if [ -f "$SERVER_JVM" ] ; then