-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contrib/clapper: new package (0.6.0)
- Loading branch information
1 parent
cddb1e8
commit 537180e
Showing
4 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
clapper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ignore = ["*.[13579].*"] |