diff options
author | Nicola Vitale <nivit@FreeBSD.org> | 2018-01-21 20:14:47 +0000 |
---|---|---|
committer | Nicola Vitale <nivit@FreeBSD.org> | 2018-01-21 20:14:47 +0000 |
commit | 21a36131a245e773326c3952bc8a318b9de7be69 (patch) | |
tree | 3e09ff520fb77bd0f00b8f0a979db8f166abfc17 /deskutils/flameshot/files | |
parent | 930823782ec2d6a7649b74ae83d194b3dff3d4fb (diff) | |
download | ports-21a36131a245e773326c3952bc8a318b9de7be69.tar.gz ports-21a36131a245e773326c3952bc8a318b9de7be69.zip |
Notes
Diffstat (limited to 'deskutils/flameshot/files')
-rw-r--r-- | deskutils/flameshot/files/patch-flameshot.pro | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/deskutils/flameshot/files/patch-flameshot.pro b/deskutils/flameshot/files/patch-flameshot.pro new file mode 100644 index 000000000000..71fdd772e3fa --- /dev/null +++ b/deskutils/flameshot/files/patch-flameshot.pro @@ -0,0 +1,35 @@ +--- flameshot.pro.orig 2017-12-20 13:41:48 UTC ++++ flameshot.pro +@@ -177,27 +177,27 @@ unix: { + packaging { + USRPATH = /usr + } else { +- USRPATH = /usr/local ++ USRPATH = %%LOCALBASE%% + } + + target.path = $${BASEDIR}$${USRPATH}/bin/ + +- qmfile.path = $${BASEDIR}/usr/share/flameshot/translations/ ++ qmfile.path = $${BASEDIR}$${USRPATH}/share/flameshot/translations/ + qmfile.files = $${TRANSLATIONS_FILES} + +- dbus.path = $${BASEDIR}/usr/share/dbus-1/interfaces/ ++ dbus.path = $${BASEDIR}$${USRPATH}/share/dbus-1/interfaces/ + dbus.files = dbus/org.dharkael.Flameshot.xml + + icon.path = $${BASEDIR}$${USRPATH}/share/icons/ + icon.files = img/flameshot.png + +- completion.path = /usr/share/bash-completion/completions/ ++ completion.path = $${BASEDIR}$${USRPATH}/share/bash-completion/completions/ + completion.files = docs/bash-completion/flameshot + + desktopentry.path = $${BASEDIR}$${USRPATH}/share/applications + desktopentryinit.path = $${BASEDIR}$${USRPATH}/share/applications + desktopentryconfig.path = $${BASEDIR}$${USRPATH}/share/applications +- servicedbus.path = $${BASEDIR}/usr/share/dbus-1/services/ ++ servicedbus.path = $${BASEDIR}$${USRPATH}/share/dbus-1/services/ + + packaging { + desktopentry.files = docs/desktopEntry/package/flameshot.desktop |