aboutsummaryrefslogtreecommitdiff
path: root/lumina-xconfig/lumina-xconfig.pro
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-02-23 16:48:07 -0500
committerKen Moore <ken@pcbsd.org>2015-02-23 16:48:07 -0500
commit0ed5c5d0388f826468cfa8fde1acf65395596e8c (patch)
treed415eef78d1068042fbe4038f36b24ab055092ed /lumina-xconfig/lumina-xconfig.pro
parentAdd an option in lumina-fm to enable/disable loading file thumbnails. (diff)
downloadlumina-0ed5c5d0388f826468cfa8fde1acf65395596e8c.tar.gz
lumina-0ed5c5d0388f826468cfa8fde1acf65395596e8c.tar.bz2
lumina-0ed5c5d0388f826468cfa8fde1acf65395596e8c.zip
Add a new utility to the lumina source tree: lumina-xconfig
This utility is a front-end to the xrandr utility, and provides the ability to probe/manage various numbers of monitors. NOTE: This utility is *not* tied into the build yet. I still want to do a bit more testing before enabling this by default.
Diffstat (limited to 'lumina-xconfig/lumina-xconfig.pro')
-rw-r--r--lumina-xconfig/lumina-xconfig.pro106
1 files changed, 106 insertions, 0 deletions
diff --git a/lumina-xconfig/lumina-xconfig.pro b/lumina-xconfig/lumina-xconfig.pro
new file mode 100644
index 00000000..9b15459b
--- /dev/null
+++ b/lumina-xconfig/lumina-xconfig.pro
@@ -0,0 +1,106 @@
+
+QT += core gui
+greaterThan(QT_MAJOR_VERSION, 4): QT += widgets network
+
+TARGET = lumina-xconfig
+isEmpty(PREFIX) {
+ PREFIX = /usr/local
+}
+target.path = $$PREFIX/bin
+
+isEmpty(LIBPREFIX) {
+ LIBPREFIX = $$PREFIX/lib
+}
+
+TEMPLATE = app
+
+SOURCES += main.cpp \
+ mainUI.cpp
+
+HEADERS += mainUI.h
+
+FORMS += mainUI.ui
+
+# RESOURCES+= lumina-config.qrc
+
+INCLUDEPATH += ../libLumina $$PREFIX/include
+
+LIBS += -L../libLumina -L$$LIBPREFIX -lLuminaUtils
+
+isEmpty(QT5LIBDIR) {
+ QT5LIBDIR = $$PREFIX/lib/qt5
+}
+
+LRELEASE = $$QT5LIBDIR/bin/lrelease
+
+
+QMAKE_LIBDIR = ../libLumina
+DEPENDPATH += ../libLumina
+
+TRANSLATIONS = i18n/lumina-xconfig_af.ts \
+ i18n/lumina-xconfig_ar.ts \
+ i18n/lumina-xconfig_az.ts \
+ i18n/lumina-xconfig_bg.ts \
+ i18n/lumina-xconfig_bn.ts \
+ i18n/lumina-xconfig_bs.ts \
+ i18n/lumina-xconfig_ca.ts \
+ i18n/lumina-xconfig_cs.ts \
+ i18n/lumina-xconfig_cy.ts \
+ i18n/lumina-xconfig_da.ts \
+ i18n/lumina-xconfig_de.ts \
+ i18n/lumina-xconfig_el.ts \
+ i18n/lumina-xconfig_en_GB.ts \
+ i18n/lumina-xconfig_en_ZA.ts \
+ i18n/lumina-xconfig_es.ts \
+ i18n/lumina-xconfig_et.ts \
+ i18n/lumina-xconfig_eu.ts \
+ i18n/lumina-xconfig_fa.ts \
+ i18n/lumina-xconfig_fi.ts \
+ i18n/lumina-xconfig_fr.ts \
+ i18n/lumina-xconfig_fr_CA.ts \
+ i18n/lumina-xconfig_gl.ts \
+ i18n/lumina-xconfig_he.ts \
+ i18n/lumina-xconfig_hi.ts \
+ i18n/lumina-xconfig_hr.ts \
+ i18n/lumina-xconfig_hu.ts \
+ i18n/lumina-xconfig_id.ts \
+ i18n/lumina-xconfig_is.ts \
+ i18n/lumina-xconfig_it.ts \
+ i18n/lumina-xconfig_ja.ts \
+ i18n/lumina-xconfig_ka.ts \
+ i18n/lumina-xconfig_ko.ts \
+ i18n/lumina-xconfig_lt.ts \
+ i18n/lumina-xconfig_lv.ts \
+ i18n/lumina-xconfig_mk.ts \
+ i18n/lumina-xconfig_mn.ts \
+ i18n/lumina-xconfig_ms.ts \
+ i18n/lumina-xconfig_mt.ts \
+ i18n/lumina-xconfig_nb.ts \
+ i18n/lumina-xconfig_nl.ts \
+ i18n/lumina-xconfig_pa.ts \
+ i18n/lumina-xconfig_pl.ts \
+ i18n/lumina-xconfig_pt.ts \
+ i18n/lumina-xconfig_pt_BR.ts \
+ i18n/lumina-xconfig_ro.ts \
+ i18n/lumina-xconfig_ru.ts \
+ i18n/lumina-xconfig_sk.ts \
+ i18n/lumina-xconfig_sl.ts \
+ i18n/lumina-xconfig_sr.ts \
+ i18n/lumina-xconfig_sv.ts \
+ i18n/lumina-xconfig_sw.ts \
+ i18n/lumina-xconfig_ta.ts \
+ i18n/lumina-xconfig_tg.ts \
+ i18n/lumina-xconfig_th.ts \
+ i18n/lumina-xconfig_tr.ts \
+ i18n/lumina-xconfig_uk.ts \
+ i18n/lumina-xconfig_uz.ts \
+ i18n/lumina-xconfig_vi.ts \
+ i18n/lumina-xconfig_zh_CN.ts \
+ i18n/lumina-xconfig_zh_HK.ts \
+ i18n/lumina-xconfig_zh_TW.ts \
+ i18n/lumina-xconfig_zu.ts
+
+dotrans.path=$$PREFIX/share/Lumina-DE/i18n/
+dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$$PREFIX/share/Lumina-DE/i18n/
+
+INSTALLS += target dotrans
bgstack15