[arch-commits] Commit in kde-gtk-config/repos/extra-x86_64 (3 files)
Antonio Rojas
arojas at archlinux.org
Tue Jul 30 16:43:12 UTC 2019
Date: Tuesday, July 30, 2019 @ 16:43:11
Author: arojas
Revision: 358768
archrelease: copy trunk to extra-x86_64
Added:
kde-gtk-config/repos/extra-x86_64/PKGBUILD
(from rev 358767, kde-gtk-config/trunk/PKGBUILD)
kde-gtk-config/repos/extra-x86_64/kde-gtk-config-pango-1.44.patch
(from rev 358767, kde-gtk-config/trunk/kde-gtk-config-pango-1.44.patch)
Deleted:
kde-gtk-config/repos/extra-x86_64/PKGBUILD
---------------------------------+
PKGBUILD | 87 ++++++++++++++++++++------------------
kde-gtk-config-pango-1.44.patch | 40 +++++++++++++++++
2 files changed, 86 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-07-30 16:43:01 UTC (rev 358767)
+++ PKGBUILD 2019-07-30 16:43:11 UTC (rev 358768)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=kde-gtk-config
-pkgver=5.16.3
-pkgrel=1
-pkgdesc='GTK2 and GTK3 Configurator for KDE'
-arch=(x86_64)
-url='https://www.kde.org/workspaces/plasmadesktop/'
-license=(LGPL)
-depends=(systemsettings gtk3)
-makedepends=(extra-cmake-modules gtk2)
-optdepends=('gtk2: GTK2 apps support')
-groups=(plasma)
-source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig})
-sha256sums=('0477b3763e85acd2780306e0fd3fe309ee86805a512d0d3b150cab24c5153fd6'
- 'SKIP')
-validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E' # Jonathan Riddell <jr at jriddell.org>
- '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah <bshah at kde.org>
- 'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson <davidedmundson at kde.org>
- '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart at gmail.com>
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
- cmake ../$pkgname-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DCMAKE_INSTALL_LIBEXECDIR=lib \
- -DBUILD_TESTING=OFF
- make
-}
-
-package() {
- cd build
- make DESTDIR="$pkgdir" install
-}
Copied: kde-gtk-config/repos/extra-x86_64/PKGBUILD (from rev 358767, kde-gtk-config/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-07-30 16:43:11 UTC (rev 358768)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kde-gtk-config
+pkgver=5.16.4
+pkgrel=1
+pkgdesc='GTK2 and GTK3 Configurator for KDE'
+arch=(x86_64)
+url='https://www.kde.org/workspaces/plasmadesktop/'
+license=(LGPL)
+depends=(systemsettings gtk3)
+makedepends=(extra-cmake-modules gtk2)
+optdepends=('gtk2: GTK2 apps support')
+groups=(plasma)
+source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig}
+ kde-gtk-config-pango-1.44.patch)
+sha256sums=('c271b1caebac0837483af7ae11d2e4786a7770ff85753f1a3da4c8d28681111c'
+ 'SKIP'
+ 'd91a3474d524686941f772b127c49e312adabe8ee2a44c9308061110b91173c8')
+validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E' # Jonathan Riddell <jr at jriddell.org>
+ '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah <bshah at kde.org>
+ 'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson <davidedmundson at kde.org>
+ '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart at gmail.com>
+
+prepare() {
+ mkdir -p build
+
+ cd $pkgname-$pkgver
+ patch -p1 -i ../kde-gtk-config-pango-1.44.patch # Fix build with pango 1.44
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_INSTALL_LIBEXECDIR=lib \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Copied: kde-gtk-config/repos/extra-x86_64/kde-gtk-config-pango-1.44.patch (from rev 358767, kde-gtk-config/trunk/kde-gtk-config-pango-1.44.patch)
===================================================================
--- kde-gtk-config-pango-1.44.patch (rev 0)
+++ kde-gtk-config-pango-1.44.patch 2019-07-30 16:43:11 UTC (rev 358768)
@@ -0,0 +1,40 @@
+diff --git a/cmake/modules/FindGTK3.cmake b/cmake/modules/FindGTK3.cmake
+index f178523..b5a6efb 100644
+--- a/cmake/modules/FindGTK3.cmake
++++ b/cmake/modules/FindGTK3.cmake
+@@ -110,6 +110,24 @@ FIND_LIBRARY(
+ PANGO_LIBRARY NAMES pango-1.0
+ HINTS ${PC_PANGO_LIBDIR} ${PC_PANGO_LIBRARY_DIRS})
+
++#
++# harfbuzz
++#
++if(PC_PANGO_VERSION VERSION_EQUAL 1.44 OR PC_PANGO_VERSION VERSION_GREATER 1.44)
++ PKG_CHECK_MODULES(PC_HARFBUZZ REQUIRED harfbuzz)
++
++ SET(HARFBUZZ_DEFINITIONS ${PC_HARFBUZZ_CXXFLAGS_OTHER})
++
++ FIND_PATH(
++ HARFBUZZ_INCLUDE_DIR hb.h
++ HINTS ${PC_HARFBUZZ_INCLUDEDIR} ${PC_HARFBUZZ_INCLUDE_DIRS}
++ PATH_SUFFIXES harfbuzz)
++
++ FIND_LIBRARY(
++ HARFBUZZ_LIBRARY NAMES harfbuzz
++ HINTS ${PC_HARFBUZZ_LIBDIR} ${PC_HARFBUZZ_LIBRARY_DIRS})
++endif()
++
+ #
+ # cairo
+ #
+@@ -163,8 +181,8 @@ FIND_LIBRARY(
+ #result
+ #
+ #
+-SET(GTK3_LIBRARY_DIRS ${GTK3_LIBRARY} ${GLIB2_LIBRARY} ${PANGO_LIBRARY} ${CAIRO_LIBRARY} ${GDKPIXBUF_LIBRARY} ${ATK_LIBRARY})
+-SET(GTK3_INCLUDE_DIRS ${GTK3_INCLUDE_DIR} ${GLIB2_INCLUDE_DIR} ${GIO2_INCLUDE_DIR} ${PANGO_INCLUDE_DIR} ${CAIRO_INCLUDE_DIR} ${GDKPIXBUF_INCLUDE_DIR} ${ATK_INCLUDE_DIR})
++SET(GTK3_LIBRARY_DIRS ${GTK3_LIBRARY} ${GLIB2_LIBRARY} ${PANGO_LIBRARY} ${HARFBUZZ_LIBRARY} ${CAIRO_LIBRARY} ${GDKPIXBUF_LIBRARY} ${ATK_LIBRARY})
++SET(GTK3_INCLUDE_DIRS ${GTK3_INCLUDE_DIR} ${GLIB2_INCLUDE_DIR} ${GIO2_INCLUDE_DIR} ${HARFBUZZ_INCLUDE_DIR} ${PANGO_INCLUDE_DIR} ${CAIRO_INCLUDE_DIR} ${GDKPIXBUF_INCLUDE_DIR} ${ATK_INCLUDE_DIR})
+
+ INCLUDE(FindPackageHandleStandardArgs)
+
More information about the arch-commits
mailing list