tint2: split tint2conf out, build with -O2
Split tint2conf out to remove gtk+ dependency.
This commit is contained in:
parent
1c6d359c3a
commit
abd8ca7bd7
2 changed files with 17 additions and 2 deletions
|
@ -1,10 +1,11 @@
|
|||
# Template file for 'tint2'
|
||||
pkgname=tint2
|
||||
version=16.7
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="tint2-v${version}"
|
||||
build_style=cmake
|
||||
hostmakedepends="pkg-config"
|
||||
configure_args="-DCMAKE_BUILD_TYPE=None"
|
||||
hostmakedepends="pkg-config gettext"
|
||||
makedepends="gtk+-devel imlib2-devel librsvg-devel libXcomposite-devel
|
||||
libXdamage-devel libXinerama-devel libXrandr-devel startup-notification-devel"
|
||||
depends="desktop-file-utils"
|
||||
|
@ -15,3 +16,16 @@ homepage="https://gitlab.com/o9000/tint2"
|
|||
changelog="https://gitlab.com/o9000/tint2/blob/master/ChangeLog"
|
||||
distfiles="https://gitlab.com/o9000/tint2/-/archive/v${version}/tint2-v${version}.tar.bz2"
|
||||
checksum=ae2512355614014465f6aff36c98e2ed448998c44533157e4bace21c6c979f65
|
||||
|
||||
tint2conf_package() {
|
||||
short_desc+=" - configuration tools"
|
||||
depends="tint2>=${version}_${revision}"
|
||||
conflicts="tint2<=16.7_1"
|
||||
pkg_install() {
|
||||
vmove usr/bin/tint2conf
|
||||
vmove usr/share/applications/tint2conf.desktop
|
||||
vmove usr/share/icons/hicolor/scalable/apps/tint2conf.svg
|
||||
vmove usr/share/locale
|
||||
vmove usr/share/mime
|
||||
}
|
||||
}
|
||||
|
|
1
srcpkgs/tint2conf
Symbolic link
1
srcpkgs/tint2conf
Symbolic link
|
@ -0,0 +1 @@
|
|||
tint2
|
Loading…
Reference in a new issue