mirror of
https://github.com/theCheeseboard/thedesk.git
synced 2025-01-22 18:32:09 -05:00
Add RPM .spec file
This commit is contained in:
parent
9d576f9f58
commit
d3a162fd86
18 changed files with 117 additions and 1 deletions
58
dist/thedesk-blueprint.spec
vendored
Executable file
58
dist/thedesk-blueprint.spec
vendored
Executable file
|
@ -0,0 +1,58 @@
|
|||
Name: thedesk-blueprint
|
||||
Version: beta2
|
||||
Release: 1%{?dist}
|
||||
Summary: Desktop Environment built on Qt
|
||||
|
||||
License: GPLv3+
|
||||
URL: https://github.com/vicr123/thedesk
|
||||
Source0: https://github.com/vicr123/thedesk/archive/%{version}.tar.gz
|
||||
|
||||
|
||||
%if 0%{?fedora} == 32
|
||||
BuildRequires: make qt5-devel the-libs-blueprint-devel libtdesktopenvironment-blueprint-devel libX11-devel libXi-devel xorg-x11-drv-libinput-devel kf5-networkmanager-qt-devel pulseaudio-qt-devel polkit-qt5-devel libtwebservices-blueprint-devel
|
||||
Requires: qt5 kwin the-libs-blueprint libtdesktopenvironment-blueprint libX11 libXi kf5-networkmanager-qt pulseaudio-qt accountsservice contemporary-widgets contemporary-icons ttf-contemporary polkit-qt5 libtwebservices-blueprint
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora} >= 33
|
||||
BuildRequires: make qt5-qtbase-devel the-libs-blueprint-devel libtdesktopenvironment-blueprint-devel libX11-devel libXi-devel xorg-x11-drv-libinput-devel kf5-networkmanager-qt-devel pulseaudio-qt-devel polkit-qt5-devel libtwebservices-blueprint-devel
|
||||
Requires: qt5-qtbase kwin the-libs-blueprint libtdesktopenvironment-blueprint libX11 libXi kf5-networkmanager-qt pulseaudio-qt accountsservice contemporary-widgets-blueprint contemporary-icons ttf-contemporary polkit-qt5 libtwebservices-blueprint
|
||||
%endif
|
||||
|
||||
%define debug_package %{nil}
|
||||
%define _unpackaged_files_terminate_build 0
|
||||
|
||||
%description
|
||||
Desktop Environment built on Qt
|
||||
|
||||
%prep
|
||||
%setup
|
||||
|
||||
%build
|
||||
mkdir build
|
||||
cd build
|
||||
qmake-qt5 ..
|
||||
make
|
||||
|
||||
%install
|
||||
cd build
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%{_bindir}/*
|
||||
%{_datarootdir}/*
|
||||
%{_libdir}/*.so*
|
||||
%{_libdir}/td-polkitagent
|
||||
%{_libdir}/thedesk/plugins/*.so
|
||||
%{_libdir}/qt5/plugins/platformthemes/*.so
|
||||
%{_includedir}/*
|
||||
%{_sysconfdir}/*
|
||||
|
||||
%changelog
|
||||
* Sun May 3 2020 Victor Tran
|
||||
-
|
58
dist/thedesk.spec
vendored
Normal file
58
dist/thedesk.spec
vendored
Normal file
|
@ -0,0 +1,58 @@
|
|||
Name: thedesk
|
||||
Version: beta2
|
||||
Release: 1%{?dist}
|
||||
Summary: Desktop Environment built on Qt
|
||||
|
||||
License: GPLv3+
|
||||
URL: https://github.com/vicr123/thedesk
|
||||
Source0: https://github.com/vicr123/thedesk/archive/%{version}.tar.gz
|
||||
|
||||
|
||||
%if 0%{?fedora} == 32
|
||||
BuildRequires: make qt5-devel the-libs-devel libtdesktopenvironment-devel libX11-devel libXi-devel xorg-x11-drv-libinput-devel kf5-networkmanager-qt-devel pulseaudio-qt-devel polkit-qt5-devel libtwebservices-devel
|
||||
Requires: qt5 kwin the-libs libtdesktopenvironment libX11 libXi kf5-networkmanager-qt pulseaudio-qt accountsservice contemporary-widgets contemporary-icons ttf-contemporary polkit-qt5 libtwebservices
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora} >= 33
|
||||
BuildRequires: make qt5-qtbase-devel the-libs-devel libtdesktopenvironment-devel libX11-devel libXi-devel xorg-x11-drv-libinput-devel kf5-networkmanager-qt-devel pulseaudio-qt-devel polkit-qt5-devel libtwebservices-devel
|
||||
Requires: qt5-qtbase kwin the-libs libtdesktopenvironment libX11 libXi kf5-networkmanager-qt pulseaudio-qt accountsservice contemporary-widgets contemporary-icons ttf-contemporary polkit-qt5 libtwebservices
|
||||
%endif
|
||||
|
||||
%define debug_package %{nil}
|
||||
%define _unpackaged_files_terminate_build 0
|
||||
|
||||
%description
|
||||
Desktop Environment built on Qt
|
||||
|
||||
%prep
|
||||
%setup
|
||||
|
||||
%build
|
||||
mkdir build
|
||||
cd build
|
||||
qmake-qt5 ..
|
||||
make
|
||||
|
||||
%install
|
||||
cd build
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%{_bindir}/*
|
||||
%{_datarootdir}/*
|
||||
%{_libdir}/*.so*
|
||||
%{_libdir}/td-polkitagent
|
||||
%{_libdir}/thedesk/plugins/*.so
|
||||
%{_libdir}/qt5/plugins/platformthemes/*.so
|
||||
%{_includedir}/*
|
||||
%{_sysconfdir}/*
|
||||
|
||||
%changelog
|
||||
* Sun May 3 2020 Victor Tran
|
||||
-
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -50,6 +50,7 @@ ArrangeWidget::ArrangeWidget(SystemScreen* screen, QWidget* parent) :
|
|||
|
||||
d->popover = new tPopover(this);
|
||||
d->popover->setDismissable(false);
|
||||
d->popover->setPerformBlur(false);
|
||||
d->popover->setPopoverSide(tPopover::Bottom);
|
||||
d->popover->setPopoverWidth(SC_DPI(600));
|
||||
connect(d->popover, &tPopover::dismissed, this, &ArrangeWidget::deleteLater);
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -15,7 +15,6 @@
|
|||
<source>%n seconds</source>
|
||||
<translation>
|
||||
<numerusform>%n saniye</numerusform>
|
||||
<numerusform>%n saniye</numerusform>
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue