Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1:Update
wxmp3gain
wxmp3gain-makefile.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wxmp3gain-makefile.patch of Package wxmp3gain
Index: wxmp3gain/makefile =================================================================== --- wxmp3gain.orig/makefile +++ wxmp3gain/makefile @@ -9,26 +9,26 @@ INSTALL_SHARE_DIR = $(DESTDIR)$(PREFIX)/ APP_SHARE_DIR = $(INSTALL_SHARE_DIR)/$(APP_NAME) DOC_SHARE_DIR = $(INSTALL_SHARE_DIR)/doc/$(APP_NAME) -COMMON_COMPILE_FLAGS = -Wall -ansi -pthread -O2 +COMMON_COMPILE_FLAGS = -Wall -ansi -pthread -O2 $(RPM_OPT_FLAGS) -std=c++11 COMMON_LINK_FLAGS = -pthread -s CPPFLAGS = $(COMMON_COMPILE_FLAGS) `wx-config --cxxflags --debug=no --unicode=yes` LINKFLAGS = $(COMMON_LINK_FLAGS) `wx-config --libs std,aui --debug=no --unicode=yes` all: - @g++ $(CPPFLAGS) -c $(SRC_DIR)/*.cpp - @g++ -o $(APP_NAME) *.o $(LINKFLAGS) + g++ $(CPPFLAGS) -c $(SRC_DIR)/*.cpp + g++ -o $(APP_NAME) *.o $(LINKFLAGS) - @mkdir -p ./resource/msg/cs/ - @mkdir -p ./resource/msg/de/ - @mkdir -p ./resource/msg/es/ - @mkdir -p ./resource/msg/pt_BR/ - @mkdir -p ./resource/msg/ru/ - @msgfmt ./msg/cs.po -o ./resource/msg/cs/$(APP_NAME).mo - @msgfmt ./msg/de.po -o ./resource/msg/de/$(APP_NAME).mo - @msgfmt ./msg/es.po -o ./resource/msg/es/$(APP_NAME).mo - @msgfmt ./msg/pt_BR.po -o ./resource/msg/pt_BR/$(APP_NAME).mo - @msgfmt ./msg/ru.po -o ./resource/msg/ru/$(APP_NAME).mo + mkdir -p ./resource/msg/cs/ + mkdir -p ./resource/msg/de/ + mkdir -p ./resource/msg/es/ + mkdir -p ./resource/msg/pt_BR/ + mkdir -p ./resource/msg/ru/ + msgfmt ./msg/cs.po -o ./resource/msg/cs/$(APP_NAME).mo + msgfmt ./msg/de.po -o ./resource/msg/de/$(APP_NAME).mo + msgfmt ./msg/es.po -o ./resource/msg/es/$(APP_NAME).mo + msgfmt ./msg/pt_BR.po -o ./resource/msg/pt_BR/$(APP_NAME).mo + msgfmt ./msg/ru.po -o ./resource/msg/ru/$(APP_NAME).mo clean: @rm -f *.o *.depend *.layout @@ -38,29 +38,25 @@ clean: @rm -f $(APP_NAME) install: - @mkdir -p $(INSTALL_BIN_DIR) - @cp $(APP_NAME) $(INSTALL_BIN_DIR) + mkdir -p $(INSTALL_BIN_DIR) + cp $(APP_NAME) $(INSTALL_BIN_DIR) - @mkdir -p $(APP_SHARE_DIR) - @cp -r ./resource $(APP_SHARE_DIR) + mkdir -p $(APP_SHARE_DIR) + cp -r ./resource $(APP_SHARE_DIR) - @mkdir -p $(DOC_SHARE_DIR) - @cp -r ./docs/* $(DOC_SHARE_DIR) - - @mkdir -p $(INSTALL_SHARE_DIR)/icons/hicolor/32x32/apps - @mkdir -p $(INSTALL_SHARE_DIR)/icons/hicolor/48x48/apps - @mkdir -p $(INSTALL_SHARE_DIR)/icons/hicolor/64x64/apps - @mkdir -p $(INSTALL_SHARE_DIR)/icons/hicolor/128x128/apps - @mkdir -p $(INSTALL_SHARE_DIR)/menu - @mkdir -p $(INSTALL_SHARE_DIR)/pixmaps - @mkdir -p $(INSTALL_SHARE_DIR)/applications - @cp ./debian/menu/icon32x32.png $(INSTALL_SHARE_DIR)/icons/hicolor/32x32/apps/$(APP_NAME).png - @cp ./debian/menu/icon48x48.png $(INSTALL_SHARE_DIR)/icons/hicolor/48x48/apps/$(APP_NAME).png - @cp ./debian/menu/icon64x64.png $(INSTALL_SHARE_DIR)/icons/hicolor/64x64/apps/$(APP_NAME).png - @cp ./debian/menu/icon128x128.png $(INSTALL_SHARE_DIR)/icons/hicolor/128x128/apps/$(APP_NAME).png - @cp ./debian/menu/icon.xpm $(INSTALL_SHARE_DIR)/pixmaps/$(APP_NAME).xpm - @cp ./debian/menu/$(APP_NAME) $(INSTALL_SHARE_DIR)/menu/$(APP_NAME) - @cp ./debian/menu/$(APP_NAME).desktop $(INSTALL_SHARE_DIR)/applications/$(APP_NAME).desktop + mkdir -p $(INSTALL_SHARE_DIR)/icons/hicolor/32x32/apps + mkdir -p $(INSTALL_SHARE_DIR)/icons/hicolor/48x48/apps + mkdir -p $(INSTALL_SHARE_DIR)/icons/hicolor/64x64/apps + mkdir -p $(INSTALL_SHARE_DIR)/icons/hicolor/128x128/apps + mkdir -p $(INSTALL_SHARE_DIR)/menu + mkdir -p $(INSTALL_SHARE_DIR)/pixmaps + mkdir -p $(INSTALL_SHARE_DIR)/applications + cp ./debian/menu/icon32x32.png $(INSTALL_SHARE_DIR)/icons/hicolor/32x32/apps/$(APP_NAME).png + cp ./debian/menu/icon48x48.png $(INSTALL_SHARE_DIR)/icons/hicolor/48x48/apps/$(APP_NAME).png + cp ./debian/menu/icon64x64.png $(INSTALL_SHARE_DIR)/icons/hicolor/64x64/apps/$(APP_NAME).png + cp ./debian/menu/icon128x128.png $(INSTALL_SHARE_DIR)/icons/hicolor/128x128/apps/$(APP_NAME).png + cp ./debian/menu/icon.xpm $(INSTALL_SHARE_DIR)/pixmaps/$(APP_NAME).xpm + cp ./debian/menu/$(APP_NAME).desktop $(INSTALL_SHARE_DIR)/applications/$(APP_NAME).desktop uninstall: @rm -f $(INSTALL_BIN_DIR)/$(APP_NAME)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor