You are not logged in.

#1 2017-01-25 18:34:22

omni
Member
Registered: 2015-09-14
Posts: 8

[Request] Latte Dock

Hello,

Latte is a dock based on plasma frameworks that provides an elegant and intuitive experience for your tasks and plasmoids.
Can someone please write a PKGBUID for this very awsome piece of software?

https://github.com/psifidotos/Latte-Dock



thnks in advance

Offline

#2 2017-01-25 20:59:57

mis
Member
Registered: 2016-03-16
Posts: 234

Re: [Request] Latte Dock

Just uploaded to AUR.

Offline

#3 2017-01-25 21:47:15

omni
Member
Registered: 2015-09-14
Posts: 8

Re: [Request] Latte Dock

Offline

#4 2017-01-25 22:06:18

mis
Member
Registered: 2016-03-16
Posts: 234

Re: [Request] Latte Dock

I've seen that too. The PKGBUILD I've uploaded is for the latest tagged release. set(KF5_LOCALE_PREFIX "kf5/") was added later to CMakeLists.txt

Offline

#5 2017-01-25 22:23:18

omni
Member
Registered: 2015-09-14
Posts: 8

Re: [Request] Latte Dock

In this release you have no translations and latte in plasma autostart isnt working. Can you use latest master? 
and for the name would be plasma-latte-dock-git better.

Offline

#6 2017-01-25 22:32:58

mis
Member
Registered: 2016-03-16
Posts: 234

Re: [Request] Latte Dock

Since the application's name is Latte-Dock I think the package should be named just latte-dock as well. (or latte-dock-git for the git version)

Currently I'm not interested in maintaining a git version of the package. Shouldn't be that hard to create one.

Offline

#7 2017-01-26 09:34:01

mis
Member
Registered: 2016-03-16
Posts: 234

Re: [Request] Latte Dock

Ok, here is a git version.

pkgname=latte-dock-git
pkgver=0.5.91.r22.ga37c827
pkgrel=1
pkgdesc='A dock based on plasma frameworks'
arch=('i686' 'x86_64')
url='https://github.com/psifidotos/Latte-Dock'
license=('GPL3')
depends=('qt5-base' 'qt5-declarative' 'qt5-x11extras' 'kiconthemes' 'kdbusaddons'
         'kxmlgui' 'kdeclarative' 'plasma-framework' 'plasma-desktop')
makedepends=('git' 'cmake' 'extra-cmake-modules' 'python')
conflicts=('latte-dock')
source=("git+https://github.com/psifidotos/Latte-Dock.git")
sha256sums=('SKIP')

pkgver() {
  cd Latte-Dock

  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd Latte-Dock

  mkdir build && cd build

  cmake .. \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release
  make
}

package() {
  cd Latte-Dock/build

  make DESTDIR="$pkgdir" install
}

Note that the issue you mentioned earlier was already fixed. So the current install instructions on github are outdated.

Last edited by mis (2017-01-26 10:05:16)

Offline

#8 2017-01-26 11:20:31

omni
Member
Registered: 2015-09-14
Posts: 8

Re: [Request] Latte Dock

mis wrote:

Note that the issue you mentioned earlier was already fixed. So the current install instructions on github are outdated.

yes i wondered already that the PKGBUILD contains nothing to point  locale to the right directory... but its working.
As you say, the issue is fixed.

Would there be a problem if i maintain this PKGBUILD and upload it to AUR? If i understand right, the only thing to do is changing the pkgver regularly...

Offline

#9 2017-01-26 14:49:21

mis
Member
Registered: 2016-03-16
Posts: 234

Re: [Request] Latte Dock

No problem. For a git package you don't need to update the pkgver. It's done by the pkgver() function when you build the package.
But you should test from time to time if it still builds. It's possible that changes in master require adjustments in the PKGBUILD. Like the changes of set(KF5_LOCALE_PREFIX "kf5/") for example.

Last edited by mis (2017-01-26 14:58:42)

Offline

#10 2017-01-26 17:27:24

omni
Member
Registered: 2015-09-14
Posts: 8

Re: [Request] Latte Dock

allright, uploaded it.   thank you!

Offline

Board footer

Powered by FluxBB