RPM Packaging: patch kaffeine

pull/3/head
François Andriot 11 years ago
parent a2030eb3a5
commit a67bf0c2e7

@ -24,7 +24,7 @@ i18n: gwenview-i18n k3b-i18n koffice-i18n tde-i18n
# Dependencies # Dependencies
arts: tqtinterface arts: tqtinterface esound
$(call buildpkg,dependencies/arts) $(call buildpkg,dependencies/arts)
avahi-tqt: tqtinterface avahi-tqt: tqtinterface
@ -122,6 +122,12 @@ tdewebdev: tdebase tdesdk
$(call buildpkg,tdewebdev) $(call buildpkg,tdewebdev)
# 3rd party libraries and tools # 3rd party libraries and tools
esound:
# Build on Mageia only
ifneq ($(wildcard /etc/mageia-release),)
$(call buildpkg,3rdparty/esound)
endif
htdig: htdig:
$(call buildpkg,3rdparty/htdig) $(call buildpkg,3rdparty/htdig)

@ -12,6 +12,7 @@ case ${PKGNAME} in
"trinity-"*) PKGNAME="${PKGNAME#trinity-}";; "trinity-"*) PKGNAME="${PKGNAME#trinity-}";;
"qt3") [ -r /etc/mandriva-release ] && PKGNAME="qt3-common";; "qt3") [ -r /etc/mandriva-release ] && PKGNAME="qt3-common";;
"curl") PKGNAME="trinity-libcurl";; "curl") PKGNAME="trinity-libcurl";;
"esound") PKGNAME="$(rpm -E %_lib)esound";;
esac esac
VERSION=$(LC_ALL=C rpm -q --qf "%{version}-%{release}" trinity-${PKGNAME} 2>/dev/null) VERSION=$(LC_ALL=C rpm -q --qf "%{version}-%{release}" trinity-${PKGNAME} 2>/dev/null)

@ -222,6 +222,17 @@ Requires: indexhtml
%define tde_aboutpage /usr/share/mga/about/index.html %define tde_aboutpage /usr/share/mga/about/index.html
%endif %endif
# Mageia 4 Theme
%if 0%{?mgaversion} == 4
Requires: mageia-theme-Default
%define tde_bg /usr/share/mga/backgrounds/default.jpg
%define tde_starticon %{tde_datadir}/oxygen/scalable/mgabutton.svg
Requires: indexhtml
%define tde_aboutlabel Mageia 4
%define tde_aboutpage /usr/share/mga/about/index.html
%endif
# Mandriva 2011 Theme: "rosa" # Mandriva 2011 Theme: "rosa"
%if "%{distribution}" == "Mandriva Linux" && "%{?mdkversion}" == "201100" %if "%{distribution}" == "Mandriva Linux" && "%{?mdkversion}" == "201100"
Requires: mandriva-theme Requires: mandriva-theme

Loading…
Cancel
Save