audacity/audacity-2.0.2-docdir.patch
Dave Plater a1981e47ad Accepting request 132109 from home:RedDwarf:branches:multimedia:apps
- Update to version 2.0.2
  * A significant bug that caused clicks on split lines has been fixed
  * There are improvements to several toolbars and to some Nyquist effects
- Update to version 2.0.1
  * Keyboard shortcuts can now be allocated to effects
  * Nyquist plug-ins can be added to Chains
- Run spec-cleaner
- Use pkgconfig() style BuildRequires
- Remove conditionals for unsupported openSUSE versions
- Remove taglib build dependency. Not used any more
- Remove libsamplerate dependency. Upstream prefers included libresample
- Remove custom icon. Upstream already has a transparent version.
- Add audacity-2.0.2-docdir.patch patch
- Don't delete MIME type icon. Instead put it in %{_datadir}/icons/hicolor/48x48/mimetypes/application-x-audacity-project.xpm
- Add %icon_theme_cache_post, %mime_database_post and %desktop_database_post to %post
- Recommend libmp3lame0, libavformat52, libavcodec52 and libavutil50

OBS-URL: https://build.opensuse.org/request/show/132109
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=62
2012-08-31 08:44:27 +00:00

26 lines
949 B
Diff

Index: Makefile.in
===================================================================
--- Makefile.in.orig
+++ Makefile.in
@@ -10,6 +10,7 @@ MANDIR= @mandir@
AUDACITY_NAME = @AUDACITY_NAME@
EXTRAINSTALLTARGETS= @EXTRAINSTALLTARGETS@
EXTRAUNINSTALLTARGETS= @EXTRAUNINSTALLTARGETS@
+DOCDIR= @docdir@
.PHONY: all
all: audacity help/audacity.1.gz
@@ -31,9 +32,9 @@ install: audacity $(EXTRAINSTALLTARGETS)
$(INSTALL) -m 755 audacity $(DESTDIR)$(BINDIR)/$(AUDACITY_NAME)
# install docs
- $(INSTALL) -d $(DESTDIR)$(DATADIR)/doc/$(AUDACITY_NAME)
- $(INSTALL) -m 644 README.txt $(DESTDIR)$(DATADIR)/doc/$(AUDACITY_NAME)/README.txt
- $(INSTALL) -m 644 LICENSE.txt $(DESTDIR)$(DATADIR)/doc/$(AUDACITY_NAME)/LICENSE.txt
+ $(INSTALL) -d $(DESTDIR)$(DOCDIR)/
+ $(INSTALL) -m 644 README.txt $(DESTDIR)$(DOCDIR)/README.txt
+ $(INSTALL) -m 644 LICENSE.txt $(DESTDIR)$(DOCDIR)/LICENSE.txt
# install manpage
$(INSTALL) -d $(DESTDIR)$(MANDIR)/man1