generated from ext/template
feat(project): configure
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
2945b8c4c2
commit
2f69d35595
6 changed files with 56 additions and 24 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[submodule "upstream"]
|
||||
path = upstream
|
||||
url = https://github.com/Alexays/Waybar
|
||||
|
|
@ -1,8 +1,28 @@
|
|||
# use specific image if relevant (rust, golang)
|
||||
FROM ubuntu:24.04
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y make \
|
||||
# other packages to build \
|
||||
|
||||
|
||||
apt-get install -y curl \
|
||||
cmake \
|
||||
meson \
|
||||
clang-tidy \
|
||||
gobject-introspection \
|
||||
libpipewire-0.3-dev \
|
||||
libsndio-dev \
|
||||
libdbusmenu-gtk3-dev \
|
||||
libevdev-dev \
|
||||
libfmt-dev \
|
||||
libgirepository1.0-dev \
|
||||
libgtk-3-dev \
|
||||
libgtkmm-3.0-dev \
|
||||
libinput-dev \
|
||||
libjsoncpp-dev \
|
||||
libmpdclient-dev \
|
||||
libnl-3-dev \
|
||||
libnl-genl-3-dev \
|
||||
libpulse-dev \
|
||||
libsigc++-2.0-dev \
|
||||
libspdlog-dev \
|
||||
libwayland-dev \
|
||||
scdoc \
|
||||
upower \
|
||||
libxkbregistry-dev
|
||||
|
|
|
|||
10
Makefile
10
Makefile
|
|
@ -1,16 +1,14 @@
|
|||
|
||||
package = mypackage.deb
|
||||
package = waybar-main.deb
|
||||
|
||||
.PHONY: compile
|
||||
compile:
|
||||
cd upstream && echo compile
|
||||
cd upstream && meson setup build && ninja -C build
|
||||
|
||||
.PHONY: dpkg
|
||||
dpkg:
|
||||
mkdir -p deb-package/usr/bin/
|
||||
cp upstream/bin deb-package/usr/bin/
|
||||
cp upstream/build/waybar deb-package/usr/bin/
|
||||
chmod -R o-w deb-package/
|
||||
sed -i "s|%date%|`date +%Y%m%d`|g" deb-package/DEBIAN/control
|
||||
sed -i "s|%hash%|$(commit_abbrev)|g" deb-package/DEBIAN/control
|
||||
sed -i "s|%date%|`date +%Y%m%d%H%M%S`|g" deb-package/DEBIAN/control
|
||||
dpkg-deb --build deb-package/ $(package)
|
||||
@curl --user CIBot:$(password) --upload-file $(package) $(CI_FORGE_URL)/api/packages/$(CI_REPO_OWNER)/debian/pool/noble/main/upload
|
||||
|
|
|
|||
19
README.md
19
README.md
|
|
@ -1,6 +1,15 @@
|
|||
# Template for external project package building
|
||||
# Unofficial dpkg waybar build from main branch
|
||||
|
||||
- git submodule add <https://repo.example.com/external/repo.git> upstream
|
||||
- Makefile: change package name & compile / dpkg target instructions
|
||||
- Dockerfile.builder: required deb packages / base image
|
||||
- deb-package/DEBIAN/control: Package name, depends, conflict & description
|
||||
waybar is a highly customizable Wayland bar:
|
||||
|
||||
- <https://github.com/Alexays/Waybar>
|
||||
|
||||
All credit to Alexays and other contributors of this great project!
|
||||
|
||||
This repo provide semi-automatic build of main branch to ubuntu 24.04 (noble)
|
||||
dpkg package:
|
||||
|
||||
<https://forge.e5150.fr/ext/waybar>
|
||||
|
||||
License file in this repo only apply to build & packaging step files, waybar is
|
||||
licensed as MIT License, see upstream project for details.
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
Package: mypackage-main
|
||||
Version: 0.0.1~git%date%.%hash%-1
|
||||
Package: waybar-main
|
||||
Version: 0.0.1~git%date%-1
|
||||
Section: base
|
||||
Priority: optional
|
||||
Architecture: amd64
|
||||
Maintainer: pips <pips@e5150.fr>
|
||||
Homepage: https://example.com
|
||||
Suggests: suggeted-packages
|
||||
Depends: depends (>= X.Y.Z), packages (>= X.Y)
|
||||
Conflicts: package-from-official-repo
|
||||
Description: Description of mypackage
|
||||
Auto packaging of mypackage following main dev branch
|
||||
Homepage: https://forge.e5150.fr/ext/waybar
|
||||
Depends: libatkmm-1.6-1v5 (>= 2.28.4), libc6 (>= 2.38), libcairomm-1.0-1v5 (>= 1.14.5), libdate-tz3 (>= 3.0.1), libdbusmenu-gtk3-4 (>= 0.4.2), libevdev2 (>= 0.9.1), libfmt9 (>= 9.1.0+ds1), libgcc-s1 (>= 4.3), libglib2.0-0t64 (>= 2.79.0), libglibmm-2.4-1t64 (>= 2.66.7), libgtk-3-0t64 (>= 3.21.4), libgtk-layer-shell0 (>= 0.1.0), libgtkmm-3.0-1t64 (>= 3.24.8), libinput10 (>= 0.15.0), libjack-jackd2-0 (>= 1.9.10+20150825) | libjack-0.125, libjsoncpp25 (>= 1.9.5), libmpdclient2t64 (>= 2.0), libnl-3-200 (>= 3.2.27), libnl-genl-3-200 (>= 3.2.7), libplayerctl2 (>= 2.4.1), libpulse0 (>= 0.99.1), libsigc++-2.0-0v5 (>= 2.8.0), libsndio7.0 (>= 1.8.1), libspdlog1.12-fmt9, libstdc++6 (>= 13.1), libudev1 (>= 183), libupower-glib3 (>= 0.99.8), libwayland-client0 (>= 1.20.0), libwireplumber-0.4-0 (>= 0.3.95), libxkbregistry0 (>= 1.0.0), init-system-helpers (>= 1.52)
|
||||
Suggests: fonts-font-awesome, libappindicator3-1
|
||||
Conflicts: waybar
|
||||
Replaces: waybar
|
||||
Description: waybar build from main
|
||||
Auto packaging of waybar following main dev branch
|
||||
|
|
|
|||
1
upstream
Submodule
1
upstream
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 41de8964f1e3278edf07902ad68ca5e01e7abeeb
|
||||
Loading…
Add table
Add a link
Reference in a new issue