Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] grilo: update to 0.3.16
@ 2024-02-28  5:34 chrysos349
  2024-02-28  5:55 ` oreo639
                   ` (28 more replies)
  0 siblings, 29 replies; 30+ messages in thread
From: chrysos349 @ 2024-02-28  5:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 760 bytes --]

There is a new pull request by chrysos349 against master on the void-packages repository

https://github.com/chrysos349/void-packages grilo
https://github.com/void-linux/void-packages/pull/48982

grilo: update to 0.3.16
split into a separate pr, according to @oreo639's recommendation (https://github.com/void-linux/void-packages/pull/48752#issuecomment-1968076680).

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl x
  - armv7l x
  - armv6l-musl x

A patch file from https://github.com/void-linux/void-packages/pull/48982.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-grilo-48982.patch --]
[-- Type: text/x-diff, Size: 3884 bytes --]

From 6854cc21b497eceb643709a4d5fa3cf2036691c3 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Wed, 28 Feb 2024 08:33:51 +0300
Subject: [PATCH] grilo: update to 0.3.16

---
 .../grilo/patches/fix-pkgconfig-files.patch   | 40 +++++++++++++++++++
 srcpkgs/grilo/template                        | 22 ++++++----
 2 files changed, 55 insertions(+), 7 deletions(-)
 create mode 100644 srcpkgs/grilo/patches/fix-pkgconfig-files.patch

diff --git a/srcpkgs/grilo/patches/fix-pkgconfig-files.patch b/srcpkgs/grilo/patches/fix-pkgconfig-files.patch
new file mode 100644
index 00000000000000..8c662407d1fe78
--- /dev/null
+++ b/srcpkgs/grilo/patches/fix-pkgconfig-files.patch
@@ -0,0 +1,40 @@
+--- a/libs/net/meson.build
++++ b/libs/net/meson.build
+@@ -52,6 +52,7 @@
+     description: 'Grilo networking helpers for plug-ins',
+     version: grlnet_version,
+     variables: [
++        'datadir=' + datadir_for_pc_file,
+         'girdir=' + girdir_for_pc_file,
+         'typelibdir=' + typelibdir_for_pc_file,
+         'soupapiversion=' + soup_api_version,
+--- a/libs/pls/meson.build
++++ b/libs/pls/meson.build
+@@ -42,6 +42,7 @@
+     description: 'Grilo playlist utility',
+     version: grlpls_version,
+     variables: [
++        'datadir=' + datadir_for_pc_file,
+         'girdir=' + girdir_for_pc_file,
+         'typelibdir=' + typelibdir_for_pc_file,
+     ],
+--- a/meson.build
++++ b/meson.build
+@@ -88,6 +88,7 @@
+ localedir = join_paths(prefix, get_option('localedir'))
+ datadir_unprefixed = get_option('datadir')
+ datadir = join_paths(prefix, datadir_unprefixed)
++datadir_for_pc_file = join_paths('${prefix}', datadir_unprefixed)
+ 
+ girdir = join_paths(datadir, 'gir-1.0')
+ girdir_for_pc_file = join_paths('${datadir}', 'gir-1.0')
+--- a/src/meson.build
++++ b/src/meson.build
+@@ -117,6 +117,7 @@
+     description: 'Grilo Framework for multimedia developers',
+     version: grilo_version,
+     variables: [
++        'datadir=' + datadir_for_pc_file,
+         'girdir=' + girdir_for_pc_file,
+         'typelibdir=' + typelibdir_for_pc_file,
+         'plugindir=' + plugins_dir_for_pc_file,
diff --git a/srcpkgs/grilo/template b/srcpkgs/grilo/template
index e47ec38542a50c..7bcdfe595cf02b 100644
--- a/srcpkgs/grilo/template
+++ b/srcpkgs/grilo/template
@@ -1,25 +1,30 @@
 # Template file for 'grilo'
 pkgname=grilo
-version=0.3.13
+version=0.3.16
 revision=1
 build_style=meson
 build_helper="gir"
 configure_args="$(vopt_bool gir enable-introspection) $(vopt_bool gir enable-vala)
- -Denable-gtk-doc=false"
-hostmakedepends="gettext pkg-config glib-devel $(vopt_if gir vala)"
-makedepends="gtk+3-devel libxml2-devel libsoup-devel liboauth-devel
+ $(vopt_bool gtk_doc enable-gtk-doc)"
+hostmakedepends="gettext pkg-config glib-devel $(vopt_if gir vala)
+ $(vopt_if gtk_doc gtk-doc)"
+makedepends="gtk+3-devel libxml2-devel libsoup3-devel liboauth-devel
  totem-pl-parser-devel"
 short_desc="Framework focused on making media discovery and browsing easy"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="LGPL-2.1-or-later"
-homepage="http://live.gnome.org/Grilo"
+homepage="https://wiki.gnome.org/Projects/Grilo"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
-checksum=d14837f22341943ed8a189d9f0827a17016b802d18d0ed080e1413de0fdc927b
+checksum=884580e8c5ece280df23aa63ff5234b7d48988a404df7d6bfccd1e77b473bd96
 
 # Package build options
-build_options="gir"
+build_options="gir gtk_doc"
 build_options_default="gir"
 
+if [ -z "$CROSS_BUILD" ]; then
+	build_options_default+=" gtk_doc"
+fi
+
 grilo-devel_package() {
 	depends="${makedepends} grilo>=${version}_${revision}"
 	short_desc+=" - development files"
@@ -31,5 +36,8 @@ grilo-devel_package() {
 		fi
 		vmove usr/lib/pkgconfig
 		vmove "usr/lib/*.so"
+		if [ "$build_option_gtk_doc" ]; then
+			vmove usr/share/gtk-doc
+		fi
 	}
 }

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2024-02-29  6:31 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-28  5:34 [PR PATCH] grilo: update to 0.3.16 chrysos349
2024-02-28  5:55 ` oreo639
2024-02-28  6:00 ` [PR PATCH] [Updated] " chrysos349
2024-02-28  6:01 ` grilo{,-plugins}: " chrysos349
2024-02-28  7:02 ` oreo639
2024-02-28  7:21 ` [PR PATCH] [Updated] " chrysos349
2024-02-28  7:31 ` [PR REVIEW] " oreo639
2024-02-28  7:38 ` chrysos349
2024-02-28  7:39 ` chrysos349
2024-02-28  7:44 ` oreo639
2024-02-28  7:47 ` oreo639
2024-02-28  7:48 ` oreo639
2024-02-28  7:49 ` oreo639
2024-02-28  7:51 ` oreo639
2024-02-28  7:54 ` oreo639
2024-02-28  7:54 ` oreo639
2024-02-28  7:55 ` oreo639
2024-02-28  8:01 ` oreo639
2024-02-28  8:05 ` oreo639
2024-02-28  9:01 ` [PR PATCH] [Updated] " chrysos349
2024-02-28 11:46 ` [PR REVIEW] " chrysos349
2024-02-28 22:32 ` oreo639
2024-02-28 22:32 ` oreo639
2024-02-28 22:35 ` oreo639
2024-02-28 22:36 ` oreo639
2024-02-28 22:37 ` oreo639
2024-02-28 22:37 ` oreo639
2024-02-29  5:14 ` [PR PATCH] [Updated] " chrysos349
2024-02-29  5:15 ` [PR REVIEW] " chrysos349
2024-02-29  6:31 ` [PR PATCH] [Merged]: " oreo639

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).