File: peony-share.pro

package info (click to toggle)
peony-extensions 3.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 792 kB
  • sloc: cpp: 4,086; sh: 15; makefile: 4
file content (40 lines) | stat: -rw-r--r-- 920 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
QT += core gui widgets concurrent

TARGET = peony-share
TEMPLATE = lib

DEFINES += PEONYSHARE_LIBRARY

include(../common.pri)

PKGCONFIG += peony
CONFIG += link_pkgconfig \
          c++11 \
	  plugin \
	  debug

#DESTDIR += ../testdir

SOURCES += net-usershare-helper.cpp \
           share-page.cpp \
	   share-properties-page-plugin.cpp

HEADERS += net-usershare-helper.h \
           share-page.h \
	   share-properties-page-plugin.h

TRANSLATIONS += translations/peony-share-extension_cs.ts \
                translations/peony-share-extension_tr.ts \
                translations/peony-share-extension_zh_CN.ts

RESOURCES += resources.qrc

target.path = $$[QT_INSTALL_LIBS]/peony-extensions

polkit1.files = $$PWD/org.freedesktop.peony-share.policy
polkit1.path = /usr/share/polkit-1/actions/

polkitbin.files = $$PWD/peony-share
polkitbin.path = /usr/share/peony-extensions/

INSTALLS += target polkit1 polkitbin