Skip to content

Commit

Permalink
contrib/clapper: new package (0.6.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
nekopsykose committed Jun 23, 2024
1 parent cddb1e8 commit 537180e
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 0 deletions.
1 change: 1 addition & 0 deletions contrib/clapper-devel
11 changes: 11 additions & 0 deletions contrib/clapper/patches/alwaysopt.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/meson.build
+++ b/meson.build
@@ -34,7 +34,7 @@
optimization = get_option('optimization')

clapper_libdir = join_paths(prefix, libdir, clapper_api_name)
-build_optimized = optimization in ['2', '3', 's']
+build_optimized = true

gst_dep = dependency('gstreamer-1.0',
version: gst_req,
40 changes: 40 additions & 0 deletions contrib/clapper/template.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
pkgname = "clapper"
pkgver = "0.6.0"
pkgrel = 0
build_style = "meson"
# avoid .a gst
configure_args = ["-Ddefault_library=shared"]
hostmakedepends = [
"desktop-file-utils",
"gettext",
"gobject-introspection",
"meson",
"pkgconf",
"vala",
]
makedepends = [
"gst-plugins-base-devel",
"glib-devel",
"gstreamer-devel",
"libadwaita-devel",
"libmicrodns-devel",
"libsoup-devel",
]
pkgdesc = "Simple media player"
maintainer = "psykose <alice@ayaya.dev>"
license = "GPL-3.0-or-later"
url = "https://rafostar.github.io/clapper"
source = (
f"https://github.com/Rafostar/clapper/archive/refs/tags/{pkgver}.tar.gz"
)
sha256 = "65cc76afe6fc11058855d98058b6f371e557ea4f29f2f6bf4e0178b6978585de"
# FIXME: clapper gst upload plugin has a needed on libgstclapper.so in here, and
# it fails to load without explicit rpath
tool_flags = {"LDFLAGS": ["-Wl,--rpath=/usr/lib/gstreamer-1.0"]}
# gobject-introspection
options = ["!cross"]


@subpackage("clapper-devel")
def _devel(self):
return self.default_devel()
1 change: 1 addition & 0 deletions contrib/clapper/update.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignore = ["*.[13579].*"]

0 comments on commit 537180e

Please sign in to comment.