Projects
Multimedia
selene
selene-fix-makefile.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File selene-fix-makefile.patch of Package selene
--- a/src/makefile +++ b/src/makefile @@ -1,11 +1,13 @@ -prefix=/usr +prefix?=/usr bindir=$(prefix)/bin sharedir=$(prefix)/share +libdir?=$(prefix)/lib localedir=$(sharedir)/locale launcherdir=$(sharedir)/applications mandir=$(sharedir)/man man1dir=$(mandir)/man1 -CFLAGS=--std=c99 +CFLAGS+=--Wall -std=c99 +LDFLAGS+=-lm app_name=selene app_fullname=Selene @@ -21,10 +23,10 @@ define_symbols=$(shell { echo "${gtk3_sy all: #build binaries - valac -X -D'GETTEXT_PACKAGE="${app_name}"' --Xcc="-lm" -X -Wl,-rpath,/usr/share/${app_name}/libs ${define_symbols} "Main.vala" "Utility.vala" "MainWindow.vala" "AppConfigWindow.vala" "EncoderConfigWindow.vala" "EncoderStatusWindow.vala" "FileInfoWindow.vala" "AboutWindow.vala" "DonationWindow.vala" "CustomMessageDialog.vala" "SimpleProgressWindow.vala" "ColumnSelectionDialog.vala" "BatchEditWindow.vala" "MediaFile.vala" "MediaPlayer.vala" "ScriptFile.vala" "MediaPlayerWindow.vala" "XidHelper.vala" "TreeViewColumnManager.vala" "ColumnSelectionBox.vala" -o ${app_name} --pkg glib-2.0 --pkg gio-unix-2.0 --pkg posix --pkg gtk+-3.0 --pkg gee-0.8 --pkg json-glib-1.0 --pkg gdk-x11-3.0 + valac -X -D'GETTEXT_PACKAGE="${app_name}"' $(foreach FLAG,$(CFLAGS) $(LDFLAGS),"--Xcc=$(FLAG)") ${define_symbols} "Main.vala" "Utility.vala" "MainWindow.vala" "AppConfigWindow.vala" "EncoderConfigWindow.vala" "EncoderStatusWindow.vala" "FileInfoWindow.vala" "AboutWindow.vala" "DonationWindow.vala" "CustomMessageDialog.vala" "SimpleProgressWindow.vala" "ColumnSelectionDialog.vala" "BatchEditWindow.vala" "MediaFile.vala" "MediaPlayer.vala" "ScriptFile.vala" "MediaPlayerWindow.vala" "XidHelper.vala" "TreeViewColumnManager.vala" "ColumnSelectionBox.vala" -o ${app_name} --pkg glib-2.0 --pkg gio-unix-2.0 --pkg posix --pkg gtk+-3.0 --pkg gee-0.8 --pkg json-glib-1.0 --pkg gdk-x11-3.0 #--pkg gdk-x11-3.0 - #valac -X -D'GETTEXT_PACKAGE=ffmpeg-builder' --Xcc="-lm" -X -Wl,-rpath,/usr/share/${app_name}/libs "Main.vala" "Utility.vala" "FFmpegBuilder.vala" "CustomMessageDialog.vala" -o ${app_name} --pkg glib-2.0 --pkg gio-unix-2.0 --pkg posix --pkg gtk+-3.0 --pkg gee-0.8 --pkg json-glib-1.0 --pkg libvte + #valac -X -D'GETTEXT_PACKAGE=ffmpeg-builder' $(foreach FLAG,$(CFLAGS) $(LDFLAGS),"--Xcc=$(FLAG)") "Main.vala" "Utility.vala" "FFmpegBuilder.vala" "CustomMessageDialog.vala" -o ${app_name} --pkg glib-2.0 --pkg gio-unix-2.0 --pkg posix --pkg gtk+-3.0 --pkg gee-0.8 --pkg json-glib-1.0 --pkg libvte #update translation template xgettext --language=C --keyword=_ --copyright-holder='Tony George (teejee2008@gmail.com)' --package-name='${app_name}' --package-version='2.2' --msgid-bugs-address='teejee2008@gmail.com' --escape --sort-output -o ../${app_name}.pot *.vala @@ -48,7 +51,7 @@ install: #shared files cp -dpr --no-preserve=ownership -t "$(DESTDIR)$(sharedir)/${app_name}" ./share/${app_name}/* - chmod --recursive 0755 $(DESTDIR)$(sharedir)/${app_name}/* + chmod -R a-rwx,u+rwX,g+rwX,o+rX $(DESTDIR)$(sharedir)/${app_name}/* #launcher install -m 0755 ${app_name}.desktop "$(DESTDIR)$(launcherdir)"
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.