Skip to content

Debian-12: building and installing #16

Description

@kolAflash

Base instructions: https://github.com/zzag/kwin-effects-cube#building-from-git

There are additional dependencies needed for qtquick3d.

And I don't like to do sudo make install "wildly" putting files into /usr.
This will build DEB packages which can be installed using dpkg -i ....

mkdir -p kwin-effects-cube_2.0.0-1_amd64/DEBIAN
mv -i usr/ kwin-effects-cube_2.0.0-1_amd64/
vi kwin-effects-cube_2.0.0-1_amd64/DEBIAN/control
----------
Maintainer: Alice <alice@example.net>
Homepage: https://github.com/zzag/kwin-effects-cube
Section: kde
Priority: optional
Version: 2.0.0
Package: kwin-effects-cube
Architecture: amd64
Depends: kwin
Description: 3D cube effect for KDE Plasma desktop.
 This is a basic desktop cube effect for KWin.
 It's primarily intended to help you impress your friends with what one can do on "Linux."
 This package is a rewrite of the original effects which got deprecated.
----------
dpkg-deb --build --root-owner-group kwin-effects-cube_2.0.0-1_amd64
sudo apt install qtbase5-private-dev qtdeclarative5-private-dev
wget 'https://download.qt.io/official_releases/qt/5.15/5.15.10/submodules/qtquick3d-everywhere-opensource-src-5.15.10.tar.xz'
tar -xf qtquick3d-everywhere-opensource-src-5.15.10.tar.xz
cd qtquick3d-everywhere-src-5.15.10
qmake qtquick3d.pro
make -j$(nproc)
INSTALL_ROOT=/without/root/writeable/path make install
mkdir -p qtquick3d_5.15.10-1_amd64/DEBIAN
mv -i usr/ qtquick3d_5.15.10-1_amd64/
vi qtquick3d_5.15.10-1_amd64/DEBIAN/control
----------
Maintainer: Alice <alice@example.net>
Version: 5.15.10
Package: qtquick3d
Architecture: amd64
Description: qtquick3d
----------
dpkg-deb --build --root-owner-group qtquick3d_5.15.10-1_amd64

See also: https://bugs.kde.org/show_bug.cgi?id=438883#c68

 

P.S.
Thanks @zzag
Wishing peace, democracy and freedom for the people of your country!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions